mongoid_likes.gemspec in mongoid_likes-0.1.0 vs mongoid_likes.gemspec in mongoid_likes-0.1.1

- old
+ new

@@ -1,151 +1,27 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' # -*- encoding: utf-8 -*- +# -*- encoding: utf-8 -*- +$:.push File.expand_path('../lib', __FILE__) +require 'mongoid_likes/version' + Gem::Specification.new do |s| - s.name = "mongoid_likes" - s.version = "0.1.0" + s.name = 'mongoid_likes' + s.version = Mongoid::Likes::Version::STRING + s.platform = Gem::Platform::RUBY + s.authors = ['Ullrich Schäfer'] + s.email = ['ullrich@seidbereit.de'] + s.homepage = 'https://github.com/stigi/mongoid_likes' + s.summary = %q{Add likeing ability to Mongoid documents} + s.description = %q{Add liking ability to Mongoid documents. Also adds the inverse relation} - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Ullrich Sch\u{e4}fer"] - s.date = "2012-04-06" - s.description = "Add liking ability to Mongoid documents. Also adds the inverse relation" - s.email = "ullrich@seidbereit.de" - s.files = [ - ".gitignore", - ".rbenv-gemsets", - ".rbenv-version", - ".rvmrc", - ".travis.yml", - ".watchr", - "Gemfile", - "Rakefile", - "Readme.md", - "app/models/mongoid_likes/like.rb", - "lib/mongoid_likes.rb", - "lib/mongoid_likes/helper.rb", - "lib/mongoid_likes/likeable.rb", - "lib/mongoid_likes/liker.rb", - "lib/mongoid_likes/version.rb", - "mongoid_likes.gemspec", - "spec/mongoid/models/track.rb", - "spec/mongoid/models/user.rb", - "spec/mongoid/mongoid_likes/likes_spec.rb", - "spec/spec_helper.rb" - ] - s.homepage = "http://github.com/stigi/mongoid_likes" - s.require_paths = ["lib", "app"] - s.rubygems_version = "1.8.21" - s.summary = "Add likeing ability to Mongoid documents" - s.test_files = ["spec/mongoid/models/track.rb", "spec/mongoid/models/user.rb", "spec/mongoid/mongoid_likes/likes_spec.rb", "spec/spec_helper.rb"] + s.add_development_dependency 'rspec', '~> 2.5' + s.add_development_dependency 'rake' + s.add_dependency 'mongoid', '~> 2.0' + s.add_dependency 'bson_ext', '~> 1.4' + s.add_dependency 'activesupport' - if s.respond_to? :specification_version then - s.specification_version = 3 - - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q<rake>, [">= 0"]) - s.add_runtime_dependency(%q<jeweler>, [">= 0"]) - s.add_runtime_dependency(%q<mongoid_likes>, [">= 0"]) - s.add_development_dependency(%q<jeweler>, [">= 0"]) - s.add_development_dependency(%q<jeweler>, [">= 0"]) - s.add_development_dependency(%q<jeweler>, [">= 0"]) - s.add_development_dependency(%q<rspec>, ["~> 2.5"]) - s.add_development_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_development_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_development_dependency(%q<rspec>, ["~> 2.5"]) - s.add_development_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_development_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_development_dependency(%q<rspec>, ["~> 2.5"]) - s.add_development_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_development_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_development_dependency(%q<rspec>, ["~> 2.5"]) - s.add_development_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_development_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_development_dependency(%q<rspec>, ["~> 2.5"]) - s.add_development_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_development_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_development_dependency(%q<rspec>, ["~> 2.5"]) - s.add_development_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_development_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_development_dependency(%q<rspec>, ["~> 2.5"]) - s.add_development_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_development_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_development_dependency(%q<rspec>, ["~> 2.5"]) - s.add_development_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_development_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_development_dependency(%q<rspec>, ["~> 2.5"]) - s.add_development_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_development_dependency(%q<bson_ext>, ["~> 1.4"]) - else - s.add_dependency(%q<rake>, [">= 0"]) - s.add_dependency(%q<jeweler>, [">= 0"]) - s.add_dependency(%q<mongoid_likes>, [">= 0"]) - s.add_dependency(%q<jeweler>, [">= 0"]) - s.add_dependency(%q<jeweler>, [">= 0"]) - s.add_dependency(%q<jeweler>, [">= 0"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - end - else - s.add_dependency(%q<rake>, [">= 0"]) - s.add_dependency(%q<jeweler>, [">= 0"]) - s.add_dependency(%q<mongoid_likes>, [">= 0"]) - s.add_dependency(%q<jeweler>, [">= 0"]) - s.add_dependency(%q<jeweler>, [">= 0"]) - s.add_dependency(%q<jeweler>, [">= 0"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - s.add_dependency(%q<rspec>, ["~> 2.5"]) - s.add_dependency(%q<mongoid>, ["~> 2.0"]) - s.add_dependency(%q<bson_ext>, ["~> 1.4"]) - end + s.files = `git ls-files`.split("\n") + s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } + s.require_paths = ['lib', 'app'] end -