Skip to content

Commit

Permalink
Drop support for older versions of Rails (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
santib authored Mar 5, 2021
1 parent 6f9c27c commit 157ae80
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 16 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,23 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
gemfile: [rails_4.0.0.gemfile, rails_5.0.0.gemfile, rails_5.2.3.gemfile, rails_6.0.0.gemfile, rails_6.1.0.gemfile, rails_main.gemfile]
ruby_version: [2.4, 2.5, 2.6, 2.7]
gemfile: [rails_5.2.0.gemfile, rails_6.0.0.gemfile, rails_6.1.0.gemfile, rails_main.gemfile]
ruby_version: [2.3, 2.4, 2.5, 2.6, 2.7]
exclude:
- gemfile: rails_main.gemfile
ruby_version: 2.3
- gemfile: rails_main.gemfile
ruby_version: 2.4
- gemfile: rails_main.gemfile
ruby_version: 2.5
- gemfile: rails_main.gemfile
ruby_version: 2.6
- gemfile: rails_6.0.0.gemfile
ruby_version: 2.3
- gemfile: rails_6.0.0.gemfile
ruby_version: 2.4
- gemfile: rails_6.1.0.gemfile
ruby_version: 2.3
- gemfile: rails_6.1.0.gemfile
ruby_version: 2.4
env:
Expand Down
6 changes: 0 additions & 6 deletions spec/gemfiles/rails_4.0.0.gemfile

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ source 'https://rubygems.org'

gemspec path: '../..'

gem 'rails', '~> 5.0.0'
gem 'rails', '~> 5.2.0'
5 changes: 0 additions & 5 deletions spec/gemfiles/rails_5.2.3.gemfile

This file was deleted.

4 changes: 2 additions & 2 deletions yaaf.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Gem::Specification.new do |spec|
spec.files = Dir['LICENSE.txt', 'README.md', 'lib/**/*']
spec.require_paths = ['lib']

spec.add_dependency 'activemodel', ['>= 4', '< 7']
spec.add_dependency 'activerecord', ['>= 4', '< 7']
spec.add_dependency 'activemodel', ['>= 5.2', '< 7']
spec.add_dependency 'activerecord', ['>= 5.2', '< 7']

spec.add_development_dependency 'database_cleaner-active_record', '~> 1.8.0'
spec.add_development_dependency 'rake', '~> 13.0.1'
Expand Down

0 comments on commit 157ae80

Please sign in to comment.