suweller / mongoid-autoinc

⬆ Auto incrementing fields for Mongoid documents
MIT License
62 stars 44 forks source link

Please update compatible version to mongoid 6.1.0 #33

Closed jackbit closed 7 years ago

jackbit commented 7 years ago

I found this problem when installing newest version.

Bundler could not find compatible versions for gem "mongoid":
  In snapshot (Gemfile.lock):
    mongoid (= 6.1.0)

  In Gemfile:
    mongoid (~> 6.1.0)

    mongoid-autoinc (~> 6.0.0) was resolved to 6.0.0, which depends on
      mongoid (~> 6.0.0.rc0)

Running 'bundle update' will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
suweller commented 7 years ago

You're right. I've published with the gemspec change recommended in your code snippet.

https://rubygems.org/gems/mongoid-autoinc/versions/6.0.1