Skip to content

Commit

Permalink
Drop support to all unsupported Ruby and Rails versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Jan 4, 2023
1 parent 7025dd6 commit e70964f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 51 deletions.
36 changes: 2 additions & 34 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,45 +6,13 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ 2.5, 2.6, 2.7 ]
rails: [ '5.2', '6.0', '6.1' ]
ruby: [ '2.7', '3.0', '3.1', 'head', 'truffleruby' ]
rails: [ '6.1', '7.0', 'main' ]
include:
- ruby: '2.7'
rails: '7.0'
- ruby: '2.7'
rails: 'main'
- ruby: '3.0'
rails: '6.0'
- ruby: '3.0'
rails: '6.1'
- ruby: '3.0'
rails: '7.0'
- ruby: '3.0'
rails: 'main'
- ruby: '3.1'
rails: '6.1'
- ruby: '3.1'
rails: '7.0'
- ruby: '3.1'
rails: 'main'
- ruby: '3.2'
rails: '7.0'
- ruby: '3.2'
rails: 'main'
- ruby: head
rails: '6.0'
- ruby: head
rails: '6.1'
- ruby: head
rails: 'main'
- ruby: truffleruby
rails: '6.0'
- ruby: truffleruby
rails: '6.1'
- ruby: truffleruby
rails: '7.0'
- ruby: truffleruby
rails: 'main'

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.rails }}.gemfile
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PATH
remote: .
specs:
globalid (1.0.0)
activesupport (>= 5.2)
activesupport (>= 6.1)

GEM
remote: https://rubygems.org/
Expand Down
4 changes: 1 addition & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ task :default => :test

Rake::TestTask.new do |t|
t.libs << 'test'
t.test_files = FileList.new('test/cases/**/*_test.rb') do |fl|
fl.exclude('test/cases/pattern_matching_test.rb') if RUBY_VERSION < '2.7'
end
t.test_files = FileList['test/cases/**/*_test.rb']
t.verbose = true
t.warning = true
end
6 changes: 0 additions & 6 deletions gemfiles/rails_5.2.gemfile

This file was deleted.

6 changes: 0 additions & 6 deletions gemfiles/rails_6.0.gemfile

This file was deleted.

2 changes: 1 addition & 1 deletion globalid.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |s|
s.files = Dir['MIT-LICENSE', 'README.md', 'lib/**/*']
s.require_path = 'lib'

s.add_runtime_dependency 'activesupport', '>= 5.2'
s.add_runtime_dependency 'activesupport', '>= 6.1'

s.add_development_dependency 'rake'

Expand Down

0 comments on commit e70964f

Please sign in to comment.