Skip to content

Commit

Permalink
Add support for Mongoid 9 (#83)
Browse files Browse the repository at this point in the history
* Add support for Mongoid 9

* Update CHANGELOG.md

Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>

* Update CHANGELOG.md

* Add matrix entries for mongodb 4, 5, and 6

---------

Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
  • Loading branch information
asgerb and dblock authored Nov 19, 2024
1 parent 380485d commit 0926fa0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ jobs:
- { ruby: '3.0', mongodb: '4.4', gemfile: 'mongoid-8.0' }
- { ruby: '3.1', mongodb: '4.4', gemfile: 'mongoid-8.0' }
- { ruby: '3.2', mongodb: '4.4', gemfile: 'mongoid-8.0' }
- { ruby: '3.1', mongodb: '4', gemfile: 'mongoid-9.0' }
- { ruby: '3.1', mongodb: '5', gemfile: 'mongoid-9.0' }
- { ruby: '3.1', mongodb: '6', gemfile: 'mongoid-9.0' }
- { ruby: '3.2', mongodb: '4', gemfile: 'mongoid-9.0' }
- { ruby: '3.2', mongodb: '5', gemfile: 'mongoid-9.0' }
- { ruby: '3.2', mongodb: '6', gemfile: 'mongoid-9.0' }
- { ruby: '3.3', mongodb: '4', gemfile: 'mongoid-9.0' }
- { ruby: '3.3', mongodb: '5', gemfile: 'mongoid-9.0' }
- { ruby: '3.3', mongodb: '6', gemfile: 'mongoid-9.0' }
name: test (ruby=${{ matrix.entry.ruby }}, mongodb=${{ matrix.entry.mongodb }}), gemfile=${{ matrix.entry.gemfile }})
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.entry.gemfile }}.gemfile
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
### Unreleased - TBD

* [#83](https://github.com/mongoid/mongoid-grid_fs/pull/83): Add support for Mongoid 9 - [@asgerb](https://github.com/asgerb).
* Your contribution here.

### 2.5.0 (2023/01/19)
Expand Down
6 changes: 6 additions & 0 deletions gemfiles/mongoid-9.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source 'https://rubygems.org'

gem 'mongoid', '~> 9.0.0'
gem 'rails', '~> 7.0'

gemspec path: '../'
2 changes: 1 addition & 1 deletion mongoid-grid_fs.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rubocop', '~> 1.36.0'

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

0 comments on commit 0926fa0

Please sign in to comment.