Sha256: 714bf6730c544e1be9a030c971b95d31e0e40dcc45a9862ab58a2557457cfecb

Contents?: true

Size: 1.84 KB

Versions: 1

Compression:

Stored size: 1.84 KB

Contents

# -*- encoding: utf-8 -*-
$LOAD_PATH.push File.expand_path("../lib", __FILE__)
require "acts_as_archival/version"

Gem::Specification.new do |gem|
  gem.name        = "acts_as_archival"
  gem.summary     = %q{Atomic archiving/unarchiving for ActiveRecord-based apps}
  gem.version     = ActsAsArchival::VERSION
  gem.authors     = ["Joel Meador",
                     "Michael Kuehl",
                     "Matthew Gordon",
                     "Vojtech Salbaba",
                     "David Jones",
                     "Dave Woodward"]
  gem.email       = ["joel@expectedbehavior.com",
                     "michael@expectedbehavior.com",
                     "matt@expectedbehavior.com"]
  gem.homepage    = "http://expectedbehavior.com"

  gem.files         = `git ls-files`.split("\n")
  gem.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  gem.require_paths = ["lib"]

  gem.add_dependency "activerecord"

  gem.add_development_dependency "activesupport"
  gem.add_development_dependency "assertions-eb"
  gem.add_development_dependency "rake"
  gem.add_development_dependency "mysql2"
  gem.add_development_dependency "highline"
  gem.add_development_dependency "rr"
  gem.add_development_dependency "database_cleaner"

  gem.description = <<-END
We had the problem that acts_as_paranoid and similar plugins/gems always work on
a record by record basis and made it very difficult to restore records
atomically (or archive them, for that matter).

Because the archive and unarchive methods are in transactions, and every
archival record involved gets the same archive number upon archiving, you can
easily restore or remove an entire set of records without having to worry about
partial deletion or restoration.

Additionally, other plugins generally screw with how destroy/delete work.  We
don't because we actually want to be able to destroy records.
END
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
acts_as_archival-0.4.0 acts_as_archival.gemspec