Permalink
Browse files

Cleanup gemspec

  • Loading branch information...
1 parent aceedbb commit 0b646b165f8e05f6eede2a94a81ee542a510bd4e @sferik sferik committed Sep 6, 2011
Showing with 24 additions and 52 deletions.
  1. +21 −52 gemcutter.gemspec
  2. +3 −0 lib/gemcutter/version.rb
View
@@ -1,65 +1,34 @@
-Gem::Specification.new do |s|
- s.name = %q{gemcutter}
- s.version = "0.7.0"
+# encoding: utf-8
+require File.expand_path('../lib/gemcutter/version', __FILE__)
- s.authors = ["Nick Quaranto"]
- s.date = %q{2011-02-26}
- s.description = %q{Adds several commands to RubyGems for managing gems and more on RubyGems.org.}
- s.email = %q{nick@quaran.to}
- s.files = [
- "MIT-LICENSE",
- "Rakefile",
- "lib/rubygems/commands/migrate_command.rb",
- "lib/rubygems/commands/tumble_command.rb",
- "lib/rubygems/commands/webhook_command.rb",
- "lib/rubygems/commands/yank_command.rb",
- "lib/rubygems_plugin.rb",
- "test/helper.rb",
- "test/webhook_command_test.rb",
- "test/yank_command_test.rb"
- ]
- s.homepage = %q{http://rubygems.org}
- s.post_install_message = %q{
+Gem::Specification.new do |gem|
+ gem.add_development_dependency 'activesupport', '>= 0'
+ gem.add_development_dependency 'i18n', '>= 0'
+ gem.add_development_dependency 'rake', '>= 0'
+ gem.add_development_dependency 'rr', '>= 0'
+ gem.add_development_dependency 'shoulda', '>= 0'
+ gem.add_development_dependency 'webmock', '>= 0'
+ gem.authors = ["Nick Quaranto"]
+ gem.description = %q{Adds several commands to RubyGems for managing gems and more on RubyGems.org.}
+ gem.email = ['nick@quaran.to']
+ gem.files = Dir['Gemfile', 'MIT-LICENSE', 'README.md', 'Rakefile', 'lib/**/*', 'test/**/*']
+ gem.homepage = 'http://rubygems.org'
+ gem.name = 'gemcutter'
+ gem.post_install_message = %q{
========================================================================
Thanks for installing Gemcutter! You can now run:
gem push merged into RubyGems 1.3.6
gem owner merged into RubyGems 1.3.6
gem webhook register urls to be pinged when gems are pushed
- gem yank remove a specific version of a gem from RubyGems.org
+ gem yank remove a specific version of a gem from RubyGemgem.org
========================================================================
}
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.5.2}
- s.summary = %q{Commands to interact with RubyGems.org}
-
- 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_development_dependency("activesupport", [">= 0"])
- s.add_development_dependency("i18n", [">= 0"])
- s.add_development_dependency("rake", [">= 0"])
- s.add_development_dependency("rr", [">= 0"])
- s.add_development_dependency("shoulda", [">= 0"])
- s.add_development_dependency("webmock", [">= 0"])
- else
- s.add_dependency("activesupport", [">= 0"])
- s.add_dependency("i18n", [">= 0"])
- s.add_dependency("rake", [">= 0"])
- s.add_dependency("rr", [">= 0"])
- s.add_dependency("shoulda", [">= 0"])
- s.add_dependency("webmock", [">= 0"])
- end
- else
- s.add_dependency("activesupport", [">= 0"])
- s.add_dependency("i18n", [">= 0"])
- s.add_dependency("rake", [">= 0"])
- s.add_dependency("rr", [">= 0"])
- s.add_dependency("shoulda", [">= 0"])
- s.add_dependency("webmock", [">= 0"])
- end
+ gem.require_paths = ['lib']
+ gem.summary = %q{Commands to interact with RubyGems.org}
+ gem.test_files = Dir['test/**/*']
+ gem.version = Gemcutter::VERSION.dup
end
@@ -0,0 +1,3 @@
+module Gemcutter
+ VERSION = '0.7.0'.freeze unless defined? ::Gemcutter::VERSION
+end

0 comments on commit 0b646b1

Please sign in to comment.