common_name.gemspec in common_name-0.1.5 vs common_name.gemspec in common_name-0.1.6

- old
+ new

@@ -1,55 +1,25 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command # -*- encoding: utf-8 -*- +$:.push File.expand_path('../lib', __FILE__) +require 'common_name/version' Gem::Specification.new do |s| - s.name = %q{common_name} - s.version = "0.1.5" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Seamus Abshere"] - s.date = %q{2010-03-30} + s.name = "common_name" + s.version = CommonName::VERSION + s.platform = Gem::Platform::RUBY + s.authors = ['Seamus Abshere', 'Derek Kastner'] + s.email = ["seamus@abshere.net"] + s.homepage = 'http://github.com/seamusabshere/common_name' + s.summary = %q{Provides methods like User.common_name (#=> "user") and User.common_plural_symbol (#=> :users)} s.description = %q{Provides methods like User.common_name (#=> "user") and User.common_plural_symbol (#=> :users) so that you don't have to chain humanize/downcase/etc. etc.'} - s.email = %q{seamus@abshere.net} - s.extra_rdoc_files = [ - "LICENSE", - "README.rdoc" - ] - s.files = [ - ".document", - ".gitignore", - "LICENSE", - "README.rdoc", - "Rakefile", - "VERSION", - "common_name.gemspec", - "lib/common_name.rb", - "test/common_name_test.rb", - "test/test_helper.rb" - ] - s.homepage = %q{http://github.com/seamusabshere/common_name} - s.rdoc_options = ["--charset=UTF-8"] - s.require_paths = ["lib"] - s.rubyforge_project = %q{commonname} - s.rubygems_version = %q{1.3.6} - s.summary = %q{DRY up humanize/downcase/underscore/pluralize/to_sym/etc for names that we use all the time.} - s.test_files = [ - "test/common_name_test.rb", - "test/test_helper.rb" - ] - if s.respond_to? :specification_version then - current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION - s.specification_version = 3 + s.rubyforge_project = "commonname" - if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q<activesupport>, [">= 2.3.4"]) - else - s.add_dependency(%q<activesupport>, [">= 2.3.4"]) - end - else - s.add_dependency(%q<activesupport>, [">= 2.3.4"]) - end -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"] + + s.add_development_dependency 'bundler' + s.add_development_dependency 'shoulda' + s.add_runtime_dependency 'activesupport', '>= 2.3.4' +end \ No newline at end of file