Skip to content

Commit

Permalink
Lock cancancan to 3.5.x as 3.6 doesn't work in Ruby 2.6 and JRuby 9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mshibuya committed Jul 6, 2024
1 parent 13da4f0 commit aa6ae5c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ appraise 'rails-6.0' do
gem 'devise', '~> 4.7'

group :test do
gem 'cancancan', '~> 3.0'
gem 'cancancan', ['~> 3.0', '< 3.6']
gem 'kt-paperclip'
gem 'pundit', '~> 2.1.0'
gem 'rspec-rails', '>= 4.0.0.beta2'
Expand Down Expand Up @@ -40,7 +40,7 @@ appraise 'rails-6.1' do
gem 'devise', '~> 4.7'

group :test do
gem 'cancancan', '~> 3.2'
gem 'cancancan', ['~> 3.2', '< 3.6']
gem 'kt-paperclip'
gem 'rspec-rails', '>= 4.0.0.beta2'
gem 'shrine', '~> 3.0'
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_6.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ group :development, :test do
end

group :test do
gem "cancancan", "~> 3.0"
gem "cancancan", ["~> 3.0", "< 3.6"]
gem "carrierwave", [">= 2.0.0.rc", "< 3"]
gem "cuprite"
gem "database_cleaner-active_record", ">= 2.0", require: false
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_6.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ group :development, :test do
end

group :test do
gem "cancancan", "~> 3.2"
gem "cancancan", ["~> 3.2", "< 3.6"]
gem "carrierwave", [">= 2.0.0.rc", "< 3"]
gem "cuprite"
gem "database_cleaner-active_record", ">= 2.0", require: false
Expand Down

0 comments on commit aa6ae5c

Please sign in to comment.