Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 23 lines (17 sloc) 1.08 KB
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "has_moderated/version"
# Describe your gem and declare its dependencies: do |s| = "has_moderated"
s.version = HasModerated::VERSION
s.authors = ["Jan Berdajs"] = [""]
s.homepage = ""
s.summary = "Moderate fields or entire model instances."
s.description = "Moderated fields or whole model instances are serialized and saved into a separate moderations table. The moderation can then be accepted and the changes will be applied to the model. This way, lookups for existing, accepted fields or entries will be much faster than if using something like Papertrail, since the changes that have not yet been accepted are stored outside of the model table - in the moderations table."
s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"]
s.test_files = Dir["test/**/*"]
s.add_dependency "rails", ">=3.0.0"
s.add_development_dependency "sqlite3"
Jump to Line
Something went wrong with that request. Please try again.