Skip to content

Commit

Permalink
Test against Mongoid 8
Browse files Browse the repository at this point in the history
  • Loading branch information
mshibuya committed Nov 28, 2023
1 parent 9a50b9e commit cb2edd3
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@ jobs:
orm: mongoid
adapter: sqlite3
asset: sprockets
- ruby: "3.1"
gemfile: gemfiles/rails_7.0.gemfile
orm: mongoid
adapter: sqlite3
asset: sprockets
- ruby: "3.2"
gemfile: gemfiles/rails_7.1.gemfile
orm: mongoid
adapter: sqlite3
asset: sprockets
- ruby: jruby-9.3
gemfile: gemfiles/rails_6.1.gemfile
orm: active_record
Expand Down
18 changes: 18 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,15 @@ appraise 'rails-7.0' do
gem 'pg', '>= 1.0.0', platforms: :ruby
gem 'paper_trail', '>= 12.0'
end

group :mongoid do
gem 'mongoid', '~> 8.0'
gem 'kaminari-mongoid'
gem 'mongoid-paperclip', '>= 0.0.8', require: 'mongoid_paperclip'
gem 'carrierwave-mongoid', '>= 0.6.3', require: 'carrierwave/mongoid'
gem 'cancancan-mongoid'
gem 'shrine-mongoid', '~> 1.0'
end
end

appraise 'rails-7.1' do
Expand All @@ -103,6 +112,15 @@ appraise 'rails-7.1' do
gem 'pg', '>= 1.0.0', platforms: :ruby
gem 'paper_trail', '>= 12.0'
end

group :mongoid do
gem 'mongoid', '~> 8.0'
gem 'kaminari-mongoid'
gem 'mongoid-paperclip', '>= 0.0.8', require: 'mongoid_paperclip'
gem 'carrierwave-mongoid', '>= 0.6.3', require: 'carrierwave/mongoid'
gem 'cancancan-mongoid'
gem 'shrine-mongoid', '~> 1.0'
end
end

appraise 'composite_primary_keys' do
Expand Down
9 changes: 9 additions & 0 deletions gemfiles/rails_7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,13 @@ group :test do
gem "shrine", "~> 3.0"
end

group :mongoid do
gem "mongoid", "~> 8.0"
gem "kaminari-mongoid"
gem "mongoid-paperclip", ">= 0.0.8", require: "mongoid_paperclip"
gem "carrierwave-mongoid", ">= 0.6.3", require: "carrierwave/mongoid"
gem "cancancan-mongoid"
gem "shrine-mongoid", "~> 1.0"
end

gemspec path: "../"
9 changes: 9 additions & 0 deletions gemfiles/rails_7.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,13 @@ group :test do
gem "shrine", "~> 3.0"
end

group :mongoid do
gem "mongoid", "~> 8.0"
gem "kaminari-mongoid"
gem "mongoid-paperclip", ">= 0.0.8", require: "mongoid_paperclip"
gem "carrierwave-mongoid", ">= 0.6.3", require: "carrierwave/mongoid"
gem "cancancan-mongoid"
gem "shrine-mongoid", "~> 1.0"
end

gemspec path: "../"

0 comments on commit cb2edd3

Please sign in to comment.