RubyGems Navigation menu

undo 0.1.0

Undo reverts operation made upon object. It stores the object state before the mutator operation and allows to restore this state later. Undo uses adapters for storage (Redis, ActiveRecord, etc) and custom serializers (ActiveRecord, Virtus, etc). It is very lightweight solution that can be used as well with heavy ActiveRecord as with simple Hash or Virtus objects. No database required: store data as it suites you.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.0.0 - May 11, 2014 (11 KB)
  2. 0.1.1 - March 16, 2014 (10.5 KB)
  3. 0.1.0 - March 13, 2014 (10 KB)
  4. 0.0.3 - February 16, 2014 (9.5 KB)
  5. 0.0.2 - February 16, 2014 (10 KB)
Show all versions (14 total)

Runtime Dependencies (1):

virtus ~> 1.0

Development Dependencies (3):

bundler ~> 1.5
rake >= 0
rspec >= 3.0.0.beta1

Owners:

Authors:

  • Alexander Paramonov

SHA 256 checksum:

612bcc585daab692c9c23eb93885b8bec76101e84452af9dd5b25afeb032525f

Total downloads 17,019

For this version 2,363

License:

MIT

Required Ruby Version: None

Links: