Skip to content

Commit 2cb8ef9

Browse files
authored
Merge pull request #130 from thinreports/drop-ruby2.7-support
Drop ruby2.7 support
2 parents 4cee5e9 + 17226c3 commit 2cb8ef9

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
name: Test
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [ main, dev ]
6+
pull_request:
47

58
jobs:
69
setup:
710
name: Ruby ${{ matrix.ruby }}
811

912
runs-on: ubuntu-latest
1013

11-
# Run this build only on either pull request or push.
12-
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
13-
1414
strategy:
1515
matrix:
1616
ruby:
17-
- "2.7"
1817
- "3.0"
1918
- "3.1"
2019
- "3.2"

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## main (Unreleased)
22

3+
* Drop Ruby 2.7 support
4+
35
## 0.13.1
46

57
Bug fixes:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A Ruby library for [Thinreports](https://github.com/thinreports/thinreports).
99

1010
### Supported Versions
1111

12-
- Ruby 2.7, 3.0, 3.1, 3.2
12+
- Ruby 3.0, 3.1, 3.2
1313
- Prawn 2.4+
1414

1515
## Installation

thinreports.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
1515
s.license = 'MIT'
1616
s.metadata = { 'rubygems_mfa_required' => 'true' }
1717

18-
s.required_ruby_version = '>= 2.7.0'
18+
s.required_ruby_version = Gem::Requirement.new('>= 3.0.0')
1919

2020
s.files = Dir.chdir(File.expand_path('..', __FILE__)) do
2121
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^test/}) }

0 commit comments

Comments
 (0)