diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bd10658..3e93b61 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 781d226..13089fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 4d14578..4b62501 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -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 diff --git a/spec/support/feed/embedded_item.rb b/spec/support/feed/embedded_item.rb index e088236..337c2f1 100644 --- a/spec/support/feed/embedded_item.rb +++ b/spec/support/feed/embedded_item.rb @@ -1,3 +1,5 @@ +require_relative 'item' + module Feed class EmbeddedItem include Mongoid::Document