diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 3a7d401..7ed5030 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -17,7 +17,7 @@ jobs: strategy: matrix: ruby-version: ['3.0', '3.1', '3.2', '3.3'] - gemfile: [rails_7.0, rails_7.1] + gemfile: [rails_7.0, rails_7.1, rails_7.2] postgres-version: ['16'] channel: ['stable'] @@ -48,11 +48,18 @@ jobs: gemfile: rails_7.1 postgres-version: '16' channel: 'experimental' + - ruby-version: 'head' + gemfile: rails_7.2 + postgres-version: '16' + channel: 'experimental' - ruby-version: 'head' gemfile: rails_edge postgres-version: '16' channel: 'experimental' + exclude: + - ruby-version: '3.0' + gemfile: rails_7.2 env: BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile TEST_CONFIG: ./spec/config.github.yml diff --git a/.rubocop.yml b/.rubocop.yml index 2d7444d..a77863e 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -55,7 +55,7 @@ Rails/ApplicationRecord: Rails/Date: Enabled: false -RSpec/FilePath: +Rails/FilePath: Enabled: false Rails/RakeEnvironment: diff --git a/Appraisals b/Appraisals index 1fe448b..0c6c3ee 100644 --- a/Appraisals +++ b/Appraisals @@ -8,6 +8,10 @@ appraise 'rails-7.1' do gem 'rails', '~> 7.1.0' end +appraise 'rails-7.2' do + gem 'rails', '~> 7.2.0.beta2' +end + appraise 'rails-edge' do gem 'rails', git: 'https://github.com/rails/rails.git', branch: 'main' end diff --git a/gemfiles/rails_7.2.gemfile b/gemfiles/rails_7.2.gemfile new file mode 100644 index 0000000..8b5644f --- /dev/null +++ b/gemfiles/rails_7.2.gemfile @@ -0,0 +1,23 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "appraisal" +gem "aruba" +gem "bundler" +gem "byebug" +gem "fuubar" +gem "hirb" +gem "pry" +gem "rails", "~> 7.2.0.beta2" +gem "rake" +gem "rspec" +gem "simplecov" +gem "rubocop", require: false +gem "rubocop-packaging", require: false +gem "rubocop-performance", require: false +gem "rubocop-rails", require: false +gem "rubocop-rake", require: false +gem "rubocop-rspec", require: false + +gemspec path: "../"