Skip to content

Commit

Permalink
test against mongodb 6 and 7
Browse files Browse the repository at this point in the history
remove lock files

update changelog and readme

update changelog remove mongodb 8
  • Loading branch information
sairamsrinivasan committed Jun 23, 2024
1 parent 644230e commit 549c1fd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,20 @@ jobs:
- { ruby: "3.0", gemfile: 'mongoid_8', mongodb: "5.0" }
- { ruby: "3.1", gemfile: 'mongoid_8', mongodb: "5.0" }
- { ruby: "3.1", gemfile: 'mongoid_9', mongodb: "5.0" }
- { ruby: "2.6", gemfile: 'mongoid_6', mongodb: "6.0" }
- { ruby: "2.6", gemfile: 'mongoid_7', mongodb: "6.0" }
- { ruby: "2.6", gemfile: 'mongoid_7', mongodb: "6.0" }
- { ruby: "2.7", gemfile: 'mongoid_7', mongodb: "6.0" }
- { ruby: "3.0", gemfile: 'mongoid_8', mongodb: "6.0" }
- { ruby: "3.1", gemfile: 'mongoid_8', mongodb: "6.0" }
- { ruby: "3.1", gemfile: 'mongoid_9', mongodb: "6.0" }
- { ruby: "2.6", gemfile: 'mongoid_6', mongodb: "7.0" }
- { ruby: "2.6", gemfile: 'mongoid_7', mongodb: "7.0" }
- { ruby: "2.6", gemfile: 'mongoid_7', mongodb: "7.0" }
- { ruby: "2.7", gemfile: 'mongoid_7', mongodb: "7.0" }
- { ruby: "3.0", gemfile: 'mongoid_8', mongodb: "7.0" }
- { ruby: "3.1", gemfile: 'mongoid_8', mongodb: "7.0" }
- { ruby: "3.1", gemfile: 'mongoid_9', mongodb: "7.0" }
steps:
- name: Set up MongoDB ${{ matrix.entry.mongodb }}
uses: supercharge/[email protected]
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
### 1.0.0 (2024/06/19)

* [#17](https://github.com/mongoid/mongoid-compatibility/pull/17): Test MongoDB 6 and 7 - [@saisrinivasan](https://github.com/SairamSrinivasan).
* [#16](https://github.com/mongoid/mongoid-compatibility/pull/16): Add support for Mongoid 9 - [@saisrinivasan](https://github.com/SairamSrinivasan).

### 0.6.0 (2022/08/18)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Mongoid::Compatibility::Version.mongoid8?
# => is this Mongoid 8.x?
```

Instead of checking for Mongoid 6 and 7 and 8, use `newer` and `older` helpers.
Instead of checking specifically for a specific version, use `newer` and `older` helpers. For example:

``` ruby
Mongoid::Compatibility::Version.mongoid6_or_newer?
Expand Down

0 comments on commit 549c1fd

Please sign in to comment.