mongoid-metastamp
mongoid-metastamp copied to clipboard
Mongoid 3 support
With the drastic change of syntax and api in the newer version, this library would not work out of box.
I just found this gem and would like to use it with Mongoid 3.1.4. Will Mongoid 3 support be available anytime soon? If not, are there any other projects similar to this one?
Hi @monfresh. Unfortunately, I have not had time to keep up with the latest changes to Mongoid and I'm guessing things are broken due to changes in the Timestamp modules. However, the logic should all still be good and it woud just need to be fixed to work with newest mongoid. My advice would be to pull master and see how close it is. And I'd happily accept any pull requests to bring it up to date. Thanks!
Is this gem being actively maintained? It looks like it could be on the verge of abandonment.
I went to implement the example usage and got this incompatibility. Then it dawned on me that the library must be out-of-date. It looks like the last update was two years ago.
Bundler could not find compatible versions for gem "mongoid":
In Gemfile:
mongoid-metastamp (>= 0) ruby depends on
mongoid (~> 2.1) ruby
mongoid (4.0.0.beta1)
Any chance of changing the dependency? Thanks!
@stevenkolstad Just changing the dependency wont fix the larger issue of the the library depending on and API that no longer exists in mongoid. Newer versions of Mongoid no longer have this interface https://github.com/sporkd/mongoid-metastamp/blob/master/lib/mongoid/metastamp/time.rb#L6-L7
If you want to figure out where this functionality now exists in mongoid and submit a pull request, I'd be happy to make you a maintainer. I'd love to do it, but my schedule does not currently permit.