Skip to content

Commit df21fea

Browse files
authored
Merge pull request #5251 from rmosolgo/update-mongoid
Update to Mongoid 8 and 9
2 parents 7c22263 + 15a09fd commit df21fea

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ jobs:
8080
- run: bundle exec rake compile
8181
- run: bundle exec rake test
8282
- run: git fetch --no-tags --prune --unshallow origin +refs/heads/*:refs/remotes/origin/*
83+
if: ${{ !!matrix.coverage }}
8384
- run: bundle exec pronto run -f github_pr -c origin/${{ github.base_ref }}
8485
if: ${{ !!matrix.coverage }}
8586
env:
@@ -139,8 +140,8 @@ jobs:
139140
fail-fast: false
140141
matrix:
141142
gemfile:
142-
- gemfiles/mongoid_6.gemfile
143-
- gemfiles/mongoid_7.gemfile
143+
- gemfiles/mongoid_9.gemfile
144+
- gemfiles/mongoid_8.gemfile
144145
runs-on: ubuntu-latest
145146
services:
146147
mongodb:
@@ -152,6 +153,6 @@ jobs:
152153
- uses: actions/checkout@v4
153154
- uses: ruby/setup-ruby@v1
154155
with:
155-
ruby-version: 2.7
156+
ruby-version: 3.4
156157
bundler-cache: true
157158
- run: bundle exec rake compile test
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@ gem "bootsnap"
77
gem "ruby-prof", platform: :ruby
88
gem "pry"
99
gem "pry-stack_explorer", platform: :ruby
10-
gem "mongoid", "~> 7.0"
11-
if RUBY_VERSION >= "3.0"
12-
gem "libev_scheduler"
13-
gem "evt"
14-
end
10+
gem "mongoid", "~> 8.0"
11+
gem "libev_scheduler"
12+
gem "evt"
13+
gem "async"
1514
gem "fiber-storage"
1615
gem "concurrent-ruby", "1.3.4"
1716

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@ gem "bootsnap"
66
gem "ruby-prof", platform: :ruby
77
gem "pry"
88
gem "pry-stack_explorer", platform: :ruby
9-
gem "mongoid", "~> 6.4.1"
10-
if RUBY_VERSION >= "3.0"
11-
gem "libev_scheduler"
12-
gem "evt"
13-
end
9+
gem "mongoid", "~> 9.0"
10+
gem "libev_scheduler"
11+
gem "evt"
12+
gem "async"
1413
gem "fiber-storage"
1514

1615
gemspec path: "../"

0 commit comments

Comments
 (0)