Permalink
Browse files

Shift to gemspec2

  • Loading branch information...
1 parent 60e69cc commit 2558e21184ac20af7540bf85892e6e63e7c627e9 @raggi committed Jan 2, 2011
Showing with 61 additions and 21 deletions.
  1. +7 −2 Rakefile
  2. +54 −19 async_sinatra.gemspec
View
@@ -1,15 +1,20 @@
#!/usr/bin/env rake
require 'hoe'
-Hoe.plugin :doofus, :git, :minitest, :gemspec, :rubyforge
+Hoe.plugin :doofus, :git, :minitest, :gemspec2, :rubyforge
Hoe.spec 'async_sinatra' do
developer 'raggi', 'raggi@rubyforge.org'
+ extra_deps << %w[rack >=1.2.1]
+ extra_deps << %w[sinatra >=1.0]
+
extra_dev_deps << %w(hoe-doofus >=1.0)
extra_dev_deps << %w(hoe-seattlerb >=1.2)
extra_dev_deps << %w(hoe-git >=1.3)
- extra_dev_deps << %w(hoe-gemspec >=1.0)
+ extra_dev_deps << %w(hoe-gemspec2 >=1.0)
+ extra_dev_deps << %w(rdoc)
+ extra_dev_deps << %w(eventmachine >=0.12.11)
self.extra_rdoc_files = FileList["**/*.rdoc"]
self.history_file = "CHANGELOG.rdoc"
View
@@ -2,39 +2,74 @@
Gem::Specification.new do |s|
s.name = %q{async_sinatra}
- s.version = "0.3.0"
+ s.version = "0.4.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["James Tucker"]
- s.date = %q{2010-09-07}
- s.description = %q{Asynchronous response API for Sinatra}
- s.email = %q{raggi@rubyforge.org}
- s.extra_rdoc_files = ["README.rdoc"]
- s.files = ["README.rdoc", "Rakefile", "examples/basic.ru", "lib/sinatra/async.rb", "lib/sinatra/async/test.rb", "test/test_async.rb"]
- s.homepage = %q{http://libraggi.rubyforge.org/async_sinatra}
- s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Async Sinatra", "--main", "README.rdoc"]
+ s.authors = ["raggi"]
+ s.cert_chain = ["/Users/raggi/.gem/gem-public_cert.pem"]
+ s.date = %q{2011-01-02}
+ s.description = %q{A Sinatra plugin to provide convenience whilst performing asynchronous
+responses inside of the Sinatra framework running under async webservers.
+
+To properly utilise this package, some knowledge of EventMachine and/or
+asynchronous patterns is recommended.
+
+Currently, supporting servers include:
+
+* Thin
+* Rainbows
+* Zbatery}
+ s.email = ["raggi@rubyforge.org"]
+ s.extra_rdoc_files = ["Manifest.txt", "CHANGELOG.rdoc", "README.rdoc"]
+ s.files = ["CHANGELOG.rdoc", "Manifest.txt", "README.rdoc", "Rakefile", "examples/basic.ru", "lib/async_sinatra.rb", "lib/sinatra/async.rb", "lib/sinatra/async/test.rb", "test/test_async.rb"]
+ s.homepage = %q{ by James Tucker}
+ s.rdoc_options = ["--main", "README.rdoc"]
s.require_paths = ["lib"]
s.rubyforge_project = %q{libraggi}
- s.rubygems_version = %q{1.3.7}
- s.summary = %q{Asynchronous response API for Sinatra}
+ s.rubygems_version = %q{1.4.1}
+ s.signing_key = %q{/Users/raggi/.gem/gem-private_key.pem}
+ s.summary = %q{A Sinatra plugin to provide convenience whilst performing asynchronous responses inside of the Sinatra framework running under async webservers}
s.test_files = ["test/test_async.rb"]
if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 2
+ s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<rack>, [">= 1.2.1"])
s.add_runtime_dependency(%q<sinatra>, [">= 1.0"])
- s.add_development_dependency(%q<rdoc>, [">= 2.4.1"])
- s.add_development_dependency(%q<rake>, [">= 0.8.3"])
+ s.add_development_dependency(%q<minitest>, [">= 1.6.0"])
+ s.add_development_dependency(%q<rubyforge>, [">= 2.0.4"])
+ s.add_development_dependency(%q<hoe-doofus>, [">= 1.0"])
+ s.add_development_dependency(%q<hoe-seattlerb>, [">= 1.2"])
+ s.add_development_dependency(%q<hoe-git>, [">= 1.3"])
+ s.add_development_dependency(%q<hoe-gemspec2>, [">= 1.0"])
+ s.add_development_dependency(%q<rdoc>, [">= 0"])
+ s.add_development_dependency(%q<eventmachine>, [">= 0.12.11"])
+ s.add_development_dependency(%q<hoe>, [">= 2.8.0"])
else
+ s.add_dependency(%q<rack>, [">= 1.2.1"])
s.add_dependency(%q<sinatra>, [">= 1.0"])
- s.add_dependency(%q<rdoc>, [">= 2.4.1"])
- s.add_dependency(%q<rake>, [">= 0.8.3"])
+ s.add_dependency(%q<minitest>, [">= 1.6.0"])
+ s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
+ s.add_dependency(%q<hoe-doofus>, [">= 1.0"])
+ s.add_dependency(%q<hoe-seattlerb>, [">= 1.2"])
+ s.add_dependency(%q<hoe-git>, [">= 1.3"])
+ s.add_dependency(%q<hoe-gemspec2>, [">= 1.0"])
+ s.add_dependency(%q<rdoc>, [">= 0"])
+ s.add_dependency(%q<eventmachine>, [">= 0.12.11"])
+ s.add_dependency(%q<hoe>, [">= 2.8.0"])
end
else
+ s.add_dependency(%q<rack>, [">= 1.2.1"])
s.add_dependency(%q<sinatra>, [">= 1.0"])
- s.add_dependency(%q<rdoc>, [">= 2.4.1"])
- s.add_dependency(%q<rake>, [">= 0.8.3"])
+ s.add_dependency(%q<minitest>, [">= 1.6.0"])
+ s.add_dependency(%q<rubyforge>, [">= 2.0.4"])
+ s.add_dependency(%q<hoe-doofus>, [">= 1.0"])
+ s.add_dependency(%q<hoe-seattlerb>, [">= 1.2"])
+ s.add_dependency(%q<hoe-git>, [">= 1.3"])
+ s.add_dependency(%q<hoe-gemspec2>, [">= 1.0"])
+ s.add_dependency(%q<rdoc>, [">= 0"])
+ s.add_dependency(%q<eventmachine>, [">= 0.12.11"])
+ s.add_dependency(%q<hoe>, [">= 2.8.0"])
end
end

0 comments on commit 2558e21

Please sign in to comment.