Sha256: 218c9754b397753a2ad79f43122c1ebf7c3b5e8ac9667fc3bac0782f7615da5a
Contents?: true
Size: 1.34 KB
Versions: 3
Compression:
Stored size: 1.34 KB
Contents
# coding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'undo/version' Gem::Specification.new do |spec| spec.name = "undo" spec.version = Undo::VERSION spec.authors = ["Alexander Paramonov"] spec.email = ["alexander.n.paramonov@gmail.com"] spec.summary = %q{Reverts operation made upon object} spec.description = %q{ 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. } spec.homepage = "http://github.com/AlexParamonov/undo" spec.license = "MIT" spec.files = `git ls-files -z`.split("\x0") spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] spec.add_dependency "virtus", "~> 1.0" spec.add_development_dependency "bundler", "~> 1.5" spec.add_development_dependency "rake" spec.add_development_dependency "rspec", ">= 3.0.0.beta1" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
undo-0.1.1 | undo.gemspec |
undo-0.1.0 | undo.gemspec |
undo-0.0.3 | undo.gemspec |