Skip to content
Newer
Older
100755 33 lines (26 sloc) 1.48 KB
1ae68b3 @mrbrdo first commit
authored
1 $:.push File.expand_path("../lib", __FILE__)
2
3 # Maintain your gem's version:
4 require "has_moderated/version"
5
6 # Describe your gem and declare its dependencies:
7 Gem::Specification.new do |s|
8 s.name = "has_moderated"
9 s.version = HasModerated::VERSION
10 s.authors = ["Jan Berdajs"]
11 s.email = ["mrbrdo@gmail.com"]
f9cefb6 @mrbrdo update readme and gemspec homepage
authored
12 s.homepage = "https://github.com/mrbrdo/has_moderated"
1ae68b3 @mrbrdo first commit
authored
13 s.summary = "Moderate fields or entire model instances."
14 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."
15
16 s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"]
40c340a @mrbrdo nicer test setup
authored
17 s.test_files = Dir["spec/has_moderated/*_spec.rb"]
1ae68b3 @mrbrdo first commit
authored
18
de61b20 @mrbrdo support Rails 3.0-3.1
authored
19 s.add_dependency "rails", ">=3.0.0"
1ae68b3 @mrbrdo first commit
authored
20
40c340a @mrbrdo nicer test setup
authored
21 s.add_development_dependency 'sqlite3'
e071a1d @mrbrdo refactor tests
authored
22 s.add_development_dependency 'rspec', ">=2.11"
310e10d @mrbrdo remove ruby-debug so we can build on ruby 1.9.x
authored
23 s.add_development_dependency 'pry'
49bfadc @mrbrdo move dev dependencies to gemspec (except carrierwave, not working fro…
authored
24 s.add_development_dependency 'rmagick'
6edbaaf @mrbrdo use growl notifications for testing
authored
25 s.add_development_dependency 'growl'
40c340a @mrbrdo nicer test setup
authored
26 s.add_development_dependency 'database_cleaner'
27 s.add_development_dependency 'carrierwave'
49bfadc @mrbrdo move dev dependencies to gemspec (except carrierwave, not working fro…
authored
28
29 s.add_development_dependency 'spork'
30 s.add_development_dependency 'guard-spork'
31 s.add_development_dependency 'guard-rspec'
1ae68b3 @mrbrdo first commit
authored
32 end
Something went wrong with that request. Please try again.