Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support to Rails < 6.1 and unsupported Ruby versions #153

Merged
merged 2 commits into from
Jan 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.0', '5.1', '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.1.0)
activesupport (>= 5.0)
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
7 changes: 0 additions & 7 deletions gemfiles/rails_5.0.gemfile

This file was deleted.

6 changes: 0 additions & 6 deletions gemfiles/rails_5.1.gemfile

This file was deleted.

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.0'
s.add_runtime_dependency 'activesupport', '>= 6.1'

s.add_development_dependency 'rake'

Expand Down