kashiwamochi.gemspec in kashiwamochi-0.2.0 vs kashiwamochi.gemspec in kashiwamochi-0.2.1

- old
+ new

@@ -1,83 +1,26 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' # -*- encoding: utf-8 -*- +$:.push File.expand_path("../lib", __FILE__) +require "kashiwamochi/version" Gem::Specification.new do |s| - s.name = "kashiwamochi" - s.version = "0.2.0" + s.name = "kashiwamochi" + s.version = Kashiwamochi::VERSION + s.authors = ["mashiro"] + s.email = ["mail@mashiro.org"] + s.homepage = "" + s.summary = %q{Minimal searchng extension for Rails 3} + s.description = %q{Searching form and sorting query builder} - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["mashiro"] - s.date = "2011-11-04" - s.description = "Minimal searchng extension for Rails 3" - s.email = "mail@mashiro.org" - s.extra_rdoc_files = [ - "LICENSE.txt", - "README.md" - ] - s.files = [ - ".document", - ".rspec", - "Gemfile", - "LICENSE.txt", - "README.md", - "Rakefile", - "VERSION", - "kashiwamochi.gemspec", - "lib/kashiwamochi.rb", - "lib/kashiwamochi/action_controller.rb", - "lib/kashiwamochi/action_view.rb", - "lib/kashiwamochi/configuration.rb", - "lib/kashiwamochi/query.rb", - "lib/kashiwamochi/railtie.rb", - "lib/kashiwamochi/search.rb", - "lib/kashiwamochi/sort.rb", - "spec/fake_app.rb", - "spec/helpers/action_view_spec.rb", - "spec/kashiwamochi/action_controller_spec.rb", - "spec/kashiwamochi/config_spec.rb", - "spec/kashiwamochi/query_spec.rb", - "spec/kashiwamochi/sort_spec.rb", - "spec/spec_helper.rb" - ] - s.homepage = "http://github.com/mashiro/kashiwamochi" - s.licenses = ["MIT"] + s.rubyforge_project = "kashiwamochi" + + 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"] - s.rubygems_version = "1.8.10" - s.summary = "Minimal searching extension for Rails 3" - 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<railties>, ["~> 3.0"]) - s.add_development_dependency(%q<activerecord>, ["~> 3.0"]) - s.add_development_dependency(%q<sqlite3>, ["~> 1.3.4"]) - s.add_development_dependency(%q<rspec>, ["~> 2.7.0"]) - s.add_development_dependency(%q<rspec-rails>, ["~> 2.7.0"]) - s.add_development_dependency(%q<bundler>, ["~> 1.0.11"]) - s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"]) - s.add_development_dependency(%q<rcov>, ["~> 0.9.11"]) - else - s.add_dependency(%q<railties>, ["~> 3.0"]) - s.add_dependency(%q<activerecord>, ["~> 3.0"]) - s.add_dependency(%q<sqlite3>, ["~> 1.3.4"]) - s.add_dependency(%q<rspec>, ["~> 2.7.0"]) - s.add_dependency(%q<rspec-rails>, ["~> 2.7.0"]) - s.add_dependency(%q<bundler>, ["~> 1.0.11"]) - s.add_dependency(%q<jeweler>, ["~> 1.6.4"]) - s.add_dependency(%q<rcov>, ["~> 0.9.11"]) - end - else - s.add_dependency(%q<railties>, ["~> 3.0"]) - s.add_dependency(%q<activerecord>, ["~> 3.0"]) - s.add_dependency(%q<sqlite3>, ["~> 1.3.4"]) - s.add_dependency(%q<rspec>, ["~> 2.7.0"]) - s.add_dependency(%q<rspec-rails>, ["~> 2.7.0"]) - s.add_dependency(%q<bundler>, ["~> 1.0.11"]) - s.add_dependency(%q<jeweler>, ["~> 1.6.4"]) - s.add_dependency(%q<rcov>, ["~> 0.9.11"]) - end + s.add_dependency "railties", "~> 3.0" + s.add_development_dependency "activerecord", "~> 3.0" + s.add_development_dependency "sqlite3" + s.add_development_dependency "rspec" + s.add_development_dependency "rspec-rails" end -