RubyGems Navigation menu

mongoid-history 0.0.1

In frustration of Mongoid::Versioning, I created this plugin for tracking historical changes for any document, including embedded ones. It achieves this by storing all history tracks in a single collection that you define. (See Usage for more details) Embedded documents are referenced by storing an association path, which is an array of document_name and document_id fields starting from the top most parent document and down to the embedded document that should track history. This plugin implements multi-user undo, which allows users to undo any history change in any order. Undoing a document also creates a new history track. This is great for auditing and preventing vandalism, but it is probably not suitable for use cases such as a wiki.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.8.5 - September 18, 2021 (51.5 KB)
  2. 0.8.3 - June 17, 2020 (50 KB)
  3. 0.8.2 - December 02, 2019 (49 KB)
  4. 0.8.1 - June 28, 2018 (47 KB)
  5. 0.8.0 - January 16, 2018 (47.5 KB)
  6. 0.0.1 - March 05, 2011 (11 KB)
Show all versions (45 total)

Runtime Dependencies (2):

easy_diff >= 0
mongoid ~> 2.0.0.rc.7

Development Dependencies (8):

bundler ~> 1.0.0
jeweler ~> 1.5.2
rcov >= 0
reek ~> 1.2.8
roodi ~> 2.1.0
rspec ~> 2.3.0
yard ~> 0.6.0

Owners:

Authors:

  • Aaron Qian

SHA 256 checksum:

64de1e02697791f023bf47354886693dcaf6099386fc04b4d1f2b94beba94065

Total downloads 4,953,160

For this version 3,239

Licenses:

N/A

Required Ruby Version: None

Links: