Skip to content

Commit

Permalink
update changelog and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sairamsrinivasan committed Jun 19, 2024
1 parent 9257601 commit d9f28d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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 (Next)

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

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 d9f28d6

Please sign in to comment.