diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f23a759..bddc983 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,16 +12,27 @@ jobs: strategy: fail-fast: false matrix: - ruby: [2.6, 2.7, 3.0] + ruby: ['2.6', '2.7', '3.0', '3.1', '3.2'] gemfile: - gemfiles/rails_5_2.gemfile - gemfiles/rails_6_0.gemfile - gemfiles/rails_6_1.gemfile - gemfiles/rails_7_0.gemfile + - gemfiles/rails_7_1.gemfile exclude: - - ruby: 3.0 + - ruby: '3.2' gemfile: gemfiles/rails_5_2.gemfile - - ruby: 2.6 + - ruby: '3.1' + gemfile: gemfiles/rails_5_2.gemfile + - ruby: '3.0' + gemfile: gemfiles/rails_5_2.gemfile + - ruby: '2.7' + gemfile: gemfiles/rails_7_1.gemfile + - ruby: '2.7' + gemfile: gemfiles/rails_7_0.gemfile + - ruby: '2.6' + gemfile: gemfiles/rails_7_1.gemfile + - ruby: '2.6' gemfile: gemfiles/rails_7_0.gemfile steps: diff --git a/.rubocop.yml b/.rubocop.yml index 1762fd7..4b51c7c 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,9 +2,6 @@ inherit_gem: betterlint: - config/default.yml -Gemspec/DevelopmentDependencies: - Enabled: false - AllCops: NewCops: enable TargetRubyVersion: 2.6 diff --git a/Appraisals b/Appraisals index 87af99c..f0ce2b4 100644 --- a/Appraisals +++ b/Appraisals @@ -13,3 +13,7 @@ end appraise 'rails-7-0' do gem 'railties', '~> 7.0.0' end + +appraise 'rails-7-1' do + gem 'railties', '~> 7.1.0' +end diff --git a/Gemfile b/Gemfile index fa75df1..d90e5d5 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,9 @@ source 'https://rubygems.org' gemspec + +gem 'appraisal', '~> 2.2.0' +gem 'betterlint' +gem 'rails' +gem 'rspec' +gem 'timecop', '~> 0.9.1' diff --git a/gemfiles/rails_5_2.gemfile b/gemfiles/rails_5_2.gemfile index 8b2627f..61cf07d 100644 --- a/gemfiles/rails_5_2.gemfile +++ b/gemfiles/rails_5_2.gemfile @@ -2,6 +2,11 @@ source "https://rubygems.org" +gem "appraisal", "~> 2.2.0" +gem "betterlint" +gem "rails" gem "railties", "~> 5.2.0" +gem "rspec" +gem "timecop", "~> 0.9.1" gemspec path: "../" diff --git a/gemfiles/rails_6_0.gemfile b/gemfiles/rails_6_0.gemfile index 4cd55a8..d3aec0d 100644 --- a/gemfiles/rails_6_0.gemfile +++ b/gemfiles/rails_6_0.gemfile @@ -2,6 +2,11 @@ source "https://rubygems.org" +gem "appraisal", "~> 2.2.0" +gem "betterlint" +gem "rails" gem "railties", "~> 6.0.0" +gem "rspec" +gem "timecop", "~> 0.9.1" gemspec path: "../" diff --git a/gemfiles/rails_6_1.gemfile b/gemfiles/rails_6_1.gemfile index 4c467fe..8cc80c5 100644 --- a/gemfiles/rails_6_1.gemfile +++ b/gemfiles/rails_6_1.gemfile @@ -2,6 +2,11 @@ source "https://rubygems.org" +gem "appraisal", "~> 2.2.0" +gem "betterlint" +gem "rails" gem "railties", "~> 6.1.0" +gem "rspec" +gem "timecop", "~> 0.9.1" gemspec path: "../" diff --git a/gemfiles/rails_7_0.gemfile b/gemfiles/rails_7_0.gemfile index 495c72d..99ed58a 100644 --- a/gemfiles/rails_7_0.gemfile +++ b/gemfiles/rails_7_0.gemfile @@ -2,6 +2,11 @@ source "https://rubygems.org" +gem "appraisal", "~> 2.2.0" +gem "betterlint" +gem "rails" gem "railties", "~> 7.0.0" +gem "rspec" +gem "timecop", "~> 0.9.1" gemspec path: "../" diff --git a/gemfiles/rails_7_1.gemfile b/gemfiles/rails_7_1.gemfile new file mode 100644 index 0000000..a70ebad --- /dev/null +++ b/gemfiles/rails_7_1.gemfile @@ -0,0 +1,12 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "appraisal", "~> 2.2.0" +gem "betterlint" +gem "rails" +gem "railties", "~> 7.1.0" +gem "rspec" +gem "timecop", "~> 0.9.1" + +gemspec path: "../" diff --git a/lib/uncruft/version.rb b/lib/uncruft/version.rb index e16b8aa..c605261 100644 --- a/lib/uncruft/version.rb +++ b/lib/uncruft/version.rb @@ -1,3 +1,3 @@ module Uncruft - VERSION = '0.3.3'.freeze + VERSION = '0.3.4'.freeze end diff --git a/uncruft.gemspec b/uncruft.gemspec index 6b8e395..9501730 100644 --- a/uncruft.gemspec +++ b/uncruft.gemspec @@ -20,10 +20,4 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 2.6.0' s.add_dependency 'railties', '>= 5.2.0' - - s.add_development_dependency 'appraisal', '~> 2.2.0' - s.add_development_dependency 'betterlint' - s.add_development_dependency 'rails' - s.add_development_dependency 'rspec', '~> 3.7.0' - s.add_development_dependency 'timecop', '~> 0.9.1' end