Skip to content

Commit

Permalink
Merge e78a409 into e83f968
Browse files Browse the repository at this point in the history
  • Loading branch information
p-mongo committed Jun 11, 2020
2 parents e83f968 + e78a409 commit a2b6c57
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -12,7 +12,8 @@ env:
- MONGOID_VERSION=4
- MONGOID_VERSION=5
- MONGOID_VERSION=6
- MONGOID_VERSION=7
- MONGOID_VERSION=70
- MONGOID_VERSION=71
- MONGOID_VERSION=HEAD

rvm:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
@@ -1,6 +1,7 @@
### 0.8.3 (Next)

* Your contribution here.
* [#243](https://github.com/mongoid/mongoid-history/pull/243): Support Mongoid 7.1 - [@p](https://github.com/p).
* [#236](https://github.com/mongoid/mongoid-history/pull/236): Fix Ruby 2.7 keyword argument warnings - [@vasilysn](https://github.com/vasilysn).
* [#237](https://github.com/mongoid/mongoid-history/pull/237): Fix tracking subclasses with additional fields - [@getaroom](https://github.com/getaroom).
* [#239](https://github.com/mongoid/mongoid-history/pull/239): Optimize `modified_attributes_for_create` 6-7x - [@getaroom](https://github.com/getaroom).
Expand Down
12 changes: 7 additions & 5 deletions Gemfile
Expand Up @@ -5,17 +5,19 @@ gemspec
case version = ENV['MONGOID_VERSION'] || '~> 7.0.0'
when 'HEAD'
gem 'mongoid', github: 'mongodb/mongoid'
when /\b7/
when '7.1'
gem 'mongoid', '~> 7.1.0'
when '7.0'
gem 'mongoid', '~> 7.0.0'
when /\b6/
when '6'
gem 'mongoid', '~> 6.0.0'
when /\b5/
when '5'
gem 'mongoid', '~> 5.0'
gem 'mongoid-observers', '~> 0.2.0'
when /\b4/
when '4'
gem 'mongoid', '~> 4.0'
gem 'mongoid-observers', '~> 0.2.0'
when /\b3/
when '3'
gem 'mongoid', '~> 3.1.7'
else
gem 'mongoid', version
Expand Down
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -13,7 +13,9 @@ This gem also implements multi-user undo, which allows users to undo any history
Install
-------

This gem supports Mongoid 3, 4, 5 on Ruby 1.9.3 or newer and Mongoid 6 and 7 on Ruby 2.2.2+. Add it to your `Gemfile` or run `gem install mongoid-history`.
This gem supports Mongoid 3, 4, 5 on Ruby 1.9.3 or newer and Mongoid
6, and 7.0 and 7.1 on Ruby 2.2.2+. Add it to your `Gemfile` or run
`gem install mongoid-history`.

```ruby
gem 'mongoid-history'
Expand Down

0 comments on commit a2b6c57

Please sign in to comment.