RubyGems Navigation menu

undo 0.0.2

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 (5):

bundler ~> 1.5
pry >= 0
pry-plus >= 0
rake >= 0
rspec >= 3.0.0.beta1

Owners:

Authors:

  • Alexander Paramonov

SHA 256 checksum:

1ee7477312cc10b47aac6d0a095a4f9d391f4a385d25d2b6a53c3e304e15d6de

Total downloads 16,966

For this version 2,379

License:

MIT

Required Ruby Version: None

Links: