constant-redefinition.gemspec in constant-redefinition-1.0.0 vs constant-redefinition.gemspec in constant-redefinition-1.1.0

- old
+ new

@@ -1,61 +1,22 @@ -# 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__) Gem::Specification.new do |s| - s.name = %q{constant-redefinition} - s.version = "1.0.0" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["David Czarnecki"] - s.date = %q{2010-12-02} + s.name = "constant-redefinition" + s.version = "1.1.0" + s.authors = ["David Czarnecki"] + s.email = ["me@davidczarnecki.com"] + s.homepage = "https://github.com/czarneckid/constant-redefinition" + s.summary = %q{Allows you to define constants if not defined on an object and redefine constants without warning} s.description = %q{Allows you to define constants if not defined on an object and redefine constants without warning} - s.email = %q{czarneckid@acm.org} - s.extra_rdoc_files = [ - "LICENSE.txt", - "README.rdoc" - ] - s.files = [ - ".document", - "Gemfile", - "Gemfile.lock", - "LICENSE.txt", - "README.rdoc", - "Rakefile", - "VERSION", - "constant-redefinition.gemspec", - "lib/constant-redefinition.rb", - "test/helper.rb", - "test/test_constant-redefinition.rb" - ] - s.homepage = %q{http://github.com/czarneckid/constant-redefinition} - s.licenses = ["MIT"] - s.require_paths = ["lib"] - s.rubygems_version = %q{1.3.7} - s.summary = %q{Allows you to define constants if not defined on an object and redefine constants without warning} - s.test_files = [ - "test/helper.rb", - "test/test_constant-redefinition.rb" - ] - if s.respond_to? :specification_version then - current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION - s.specification_version = 3 + s.rubyforge_project = "constant-redefinition" - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_development_dependency(%q<bundler>, ["~> 1.0.0"]) - s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"]) - s.add_development_dependency(%q<rcov>, [">= 0"]) - else - s.add_dependency(%q<bundler>, ["~> 1.0.0"]) - s.add_dependency(%q<jeweler>, ["~> 1.5.1"]) - s.add_dependency(%q<rcov>, [">= 0"]) - end - else - s.add_dependency(%q<bundler>, ["~> 1.0.0"]) - s.add_dependency(%q<jeweler>, ["~> 1.5.1"]) - s.add_dependency(%q<rcov>, [">= 0"]) - 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('rake') + s.add_development_dependency('rspec') +end