deferrable.gemspec in deferrable-0.1.0 vs deferrable.gemspec in deferrable-0.2.0
- old
+ new
@@ -1,50 +1,21 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
-# -*- encoding: utf-8 -*-
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-Gem::Specification.new do |s|
- s.name = %q{deferrable}
- s.version = "0.1.0"
+Gem::Specification.new do |gem|
+ gem.name = "deferrable"
+ gem.version = IO.read('VERSION')
+ gem.authors = ["Justin Balthrop"]
+ gem.email = ["git@justinbalthrop.com"]
+ gem.description = %q{Simple mechanism for deferred execution of a block}
+ gem.summary = gem.description
+ gem.homepage = "https://github.com/ninjudd/deferrable"
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Justin Balthrop"]
- s.date = %q{2009-11-20}
- s.description = %q{Simple mechanism for deferred execution of a block}
- s.email = %q{code@justinbalthrop}
- s.extra_rdoc_files = [
- "LICENSE",
- "README.rdoc"
- ]
- s.files = [
- ".gitignore",
- "LICENSE",
- "README.rdoc",
- "Rakefile",
- "VERSION",
- "deferrable.gemspec",
- "lib/deferrable.rb",
- "test/deferrable_test.rb",
- "test/test_helper.rb"
- ]
- s.homepage = %q{http://github.com/ninjudd/deferrable}
- s.rdoc_options = ["--charset=UTF-8"]
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.5}
- s.summary = %q{Simple mechanism for deferred execution of a block}
- s.test_files = [
- "test/deferrable_test.rb",
- "test/test_helper.rb"
- ]
+ gem.add_development_dependency 'shoulda', '3.0.1'
+ gem.add_development_dependency 'mocha'
+ gem.add_development_dependency 'rake'
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
-
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
- else
- end
- else
- end
+ gem.files = `git ls-files`.split($/)
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
+ gem.require_paths = ["lib"]
end
-