Skip to content

Commit

Permalink
Merge pull request #316 from ifad/chore/update-rubocop-config
Browse files Browse the repository at this point in the history
Test against Rails 7.2
  • Loading branch information
tagliala authored Jun 15, 2024
2 parents 4fc6125 + cde0d3a commit 1a5d522
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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']

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Rails/ApplicationRecord:
Rails/Date:
Enabled: false

RSpec/FilePath:
Rails/FilePath:
Enabled: false

Rails/RakeEnvironment:
Expand Down
4 changes: 4 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -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
23 changes: 23 additions & 0 deletions gemfiles/rails_7.2.gemfile
Original file line number Diff line number Diff line change
@@ -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: "../"

0 comments on commit 1a5d522

Please sign in to comment.