Skip to content

Commit ae33bef

Browse files
committed
Add support for Mongoid 9
1 parent 380485d commit ae33bef

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

Diff for: .github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ jobs:
1515
- { ruby: '3.0', mongodb: '4.4', gemfile: 'mongoid-8.0' }
1616
- { ruby: '3.1', mongodb: '4.4', gemfile: 'mongoid-8.0' }
1717
- { ruby: '3.2', mongodb: '4.4', gemfile: 'mongoid-8.0' }
18+
- { ruby: '3.1', mongodb: '7.3', gemfile: 'mongoid-9.0' }
19+
- { ruby: '3.2', mongodb: '7.3', gemfile: 'mongoid-9.0' }
20+
- { ruby: '3.3', mongodb: '7.3', gemfile: 'mongoid-9.0' }
1821
name: test (ruby=${{ matrix.entry.ruby }}, mongodb=${{ matrix.entry.mongodb }}), gemfile=${{ matrix.entry.gemfile }})
1922
env:
2023
BUNDLE_GEMFILE: gemfiles/${{ matrix.entry.gemfile }}.gemfile

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
### Unreleased - TBD
22

3+
* Add support for Mongoid 9 - [@asgerb](https://github.com/asgerb)
34
* Your contribution here.
45

56
### 2.5.0 (2023/01/19)

Diff for: gemfiles/mongoid-9.0.gemfile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source 'https://rubygems.org'
2+
3+
gem 'mongoid', '~> 9.0.0'
4+
gem 'rails', '~> 7.0'
5+
6+
gemspec path: '../'

Diff for: mongoid-grid_fs.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
2424
spec.add_development_dependency 'rubocop', '~> 1.36.0'
2525

2626
spec.add_dependency 'mime-types', '>= 1.0', '< 4.0'
27-
spec.add_dependency 'mongoid', '>= 3.0', '< 9.0'
27+
spec.add_dependency 'mongoid', '>= 3.0', '< 10.0'
2828
end

0 commit comments

Comments
 (0)