diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fd43cf2..20b0d6b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: fail-fast: false matrix: ruby: ['2.7'] - rails: ['5.2'] + rails: ['5.2', '6.1', '7.1'] env: BUNDLE_GEMFILE: 'gemfiles/rails_${{ matrix.rails }}.gemfile' steps: diff --git a/Appraisals b/Appraisals index 5ebeb19..a49a62c 100644 --- a/Appraisals +++ b/Appraisals @@ -4,3 +4,13 @@ appraise 'rails-5.2' do gem 'activesupport', '~> 5.2.0' gem 'railties', '~> 5.2.0' end + +appraise 'rails-6.1' do + gem 'activesupport', '~> 6.1.0' + gem 'railties', '~> 6.1.0' +end + +appraise 'rails-7.1' do + gem 'activesupport', '~> 7.1.0' + gem 'railties', '~> 7.1.0' +end diff --git a/CHANGELOG.md b/CHANGELOG.md index 72b2f14..b080b4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ### next -* TODO: Replace this bullet point with an actual description of a change. +* Added CI tests for Rails 6.1 and 7.1 (#39) ### 1.6.0 diff --git a/gemfiles/rails_6.1.gemfile b/gemfiles/rails_6.1.gemfile new file mode 100644 index 0000000..9c5a259 --- /dev/null +++ b/gemfiles/rails_6.1.gemfile @@ -0,0 +1,24 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "appraisal", "~> 2.4" +gem "bundler", "~> 2.3" +gem "countless", "~> 1.1" +gem "factory_bot", "~> 6.2", "< 6.4.5" +gem "guard-rspec", "~> 4.7" +gem "railties", "~> 6.1.0" +gem "rake", "~> 13.0" +gem "redcarpet", "~> 3.5" +gem "rspec", "~> 3.12" +gem "rubocop", "~> 1.28" +gem "rubocop-rails", "~> 2.14" +gem "rubocop-rspec", "~> 2.10" +gem "simplecov", ">= 0.22" +gem "timecop", ">= 0.9.6" +gem "vcr", "~> 6.0" +gem "yard", ">= 0.9.28" +gem "yard-activesupport-concern", ">= 0.0.1" +gem "activesupport", "~> 6.1.0" + +gemspec path: "../" diff --git a/gemfiles/rails_7.1.gemfile b/gemfiles/rails_7.1.gemfile new file mode 100644 index 0000000..bffdff5 --- /dev/null +++ b/gemfiles/rails_7.1.gemfile @@ -0,0 +1,24 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "appraisal", "~> 2.4" +gem "bundler", "~> 2.3" +gem "countless", "~> 1.1" +gem "factory_bot", "~> 6.2", "< 6.4.5" +gem "guard-rspec", "~> 4.7" +gem "railties", "~> 7.1.0" +gem "rake", "~> 13.0" +gem "redcarpet", "~> 3.5" +gem "rspec", "~> 3.12" +gem "rubocop", "~> 1.28" +gem "rubocop-rails", "~> 2.14" +gem "rubocop-rspec", "~> 2.10" +gem "simplecov", ">= 0.22" +gem "timecop", ">= 0.9.6" +gem "vcr", "~> 6.0" +gem "yard", ">= 0.9.28" +gem "yard-activesupport-concern", ">= 0.0.1" +gem "activesupport", "~> 7.1.0" + +gemspec path: "../"