Skip to content

Commit

Permalink
Add support for Mongoid 9.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed Sep 7, 2024
1 parent 16a4f60 commit d660cd3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
- { ruby: '3.1', mongodb: '4.4', mongoid: '8' }
- { ruby: '3.2', mongodb: '5.0', mongoid: '8' }
- { ruby: '3.2', mongodb: '6.0', mongoid: '8' }
- { ruby: '3.2', mongodb: '7.0', mongoid: '8' }
- { ruby: '3.3', mongodb: '6.0', mongoid: '9' }
- { ruby: '3.3', mongodb: '7.0', mongoid: '9' }
name: test (ruby=${{ matrix.entry.ruby }}, mongodb=${{ matrix.entry.mongodb }}), mongoid=${{ matrix.entry.mongoid }})
env:
MONGOID_VERSION: ${{ matrix.entry.mongoid }}
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* [#42](https://github.com/mongoid/mongoid-scroll/pull/42): Add `first_cursor` - [@GCorbel](https://github.com/GCorbel).
* [#43](https://github.com/mongoid/mongoid-scroll/pull/43): Add `current_cursor` - [@GCorbel](https://github.com/GCorbel).
* [#44](https://github.com/mongoid/mongoid-scroll/pull/44): Drop support for Mogoid 5 and Mongo Ruby Driver - [@dblock](https://github.com/dblock).
* [#45](https://github.com/mongoid/mongoid-scroll/pull/45): Add support for Mogoid 9 - [@dblock](https://github.com/dblock).
* Your contribution here.

### 1.0.1 (2023/03/15)
Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
require 'database_cleaner'
require 'mongoid-scroll'

Time.zone ||= 'EST'

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each do |f|
require f
end
Expand Down
2 changes: 2 additions & 0 deletions spec/support/feed/embedded_item.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require_relative 'item'

module Feed
class EmbeddedItem
include Mongoid::Document
Expand Down

0 comments on commit d660cd3

Please sign in to comment.