Browse files

Minor change to simplify gemspec and take gem version from VERSION file.

  • Loading branch information...
1 parent 57c63c0 commit 3d9b7371132c0b6ac964bf4b79c2d353c44ab4c6 @jfairbairn committed Mar 28, 2013
Showing with 9 additions and 33 deletions.
  1. +1 −1 VERSION
  2. +8 −32 em-net-http.gemspec
View
2 VERSION
@@ -1 +1 @@
-0.3.8
+0.3.9
View
40 em-net-http.gemspec
@@ -2,11 +2,10 @@
Gem::Specification.new do |s|
s.name = %q{em-net-http}
- s.version = "0.3.8"
+ s.version = File.read(File.expand_path('VERSION', File.dirname(__FILE__))).strip
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["James Fairbairn"]
- s.date = %q{2011-09-12}
s.description = %q{Monkeypatching Net::HTTP to use em-http-request under the hood.}
s.email = %q{james@netlagoon.com}
s.extra_rdoc_files = [
@@ -32,37 +31,14 @@ Gem::Specification.new do |s|
]
s.homepage = %q{http://github.com/jfairbairn/em-net-http}
s.require_paths = ["lib"]
- s.rubygems_version = %q{1.8.10}
s.summary = %q{Non-blocking replacement for Net::HTTP, for use in EventMachine}
- 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_runtime_dependency(%q<rake>, [">= 0"])
- s.add_runtime_dependency(%q<eventmachine>, [">= 0.12.10"])
- s.add_runtime_dependency(%q<addressable>, [">= 0"])
- s.add_runtime_dependency(%q<em-http-request>, [">= 0.2.10"])
- s.add_development_dependency(%q<rspec>, ["~> 2.5"])
- s.add_development_dependency(%q<mimic>, [">= 0.3.0"])
- s.add_development_dependency(%q<weary>, [">= 0"])
- else
- s.add_dependency(%q<rake>, [">= 0"])
- s.add_dependency(%q<eventmachine>, [">= 0.12.10"])
- s.add_dependency(%q<addressable>, [">= 0"])
- s.add_dependency(%q<em-http-request>, [">= 0.2.10"])
- s.add_dependency(%q<rspec>, ["~> 2.5"])
- s.add_dependency(%q<mimic>, [">= 0.3.0"])
- s.add_dependency(%q<weary>, [">= 0"])
- end
- else
- s.add_dependency(%q<rake>, [">= 0"])
- s.add_dependency(%q<eventmachine>, [">= 0.12.10"])
- s.add_dependency(%q<addressable>, [">= 0"])
- s.add_dependency(%q<em-http-request>, [">= 0.2.10"])
- s.add_dependency(%q<rspec>, ["~> 2.5"])
- s.add_dependency(%q<mimic>, [">= 0.3.0"])
- s.add_dependency(%q<weary>, [">= 0"])
- end
+ s.add_runtime_dependency(%q<rake>, [">= 0"])
+ s.add_runtime_dependency(%q<eventmachine>, [">= 0.12.10"])
+ s.add_runtime_dependency(%q<addressable>, [">= 0"])
+ s.add_runtime_dependency(%q<em-http-request>, [">= 0.2.10"])
+ s.add_development_dependency(%q<rspec>, ["~> 2.5"])
+ s.add_development_dependency(%q<mimic>, [">= 0.3.0"])
+ s.add_development_dependency(%q<weary>, [">= 0"])
end

0 comments on commit 3d9b737

Please sign in to comment.