Permalink
Browse files

removed explicit "then" statements for efficiency/conciseness and "sp…

…ec/benchmark.rb" from test_files array to prevent bundler error
  • Loading branch information...
1 parent 2e88f99 commit 9bb2d24b213e4e78987fb3bc5b321dac7b71428a @razic-test razic-test committed May 23, 2010
Showing with 2 additions and 3 deletions.
  1. +2 −3 webmock.gemspec
View
@@ -86,7 +86,6 @@ Gem::Specification.new do |s|
s.rubygems_version = %q{1.3.6}
s.summary = %q{Library for stubbing HTTP requests in Ruby.}
s.test_files = [
- "spec/benchmark.rb",
"spec/httpclient_spec.rb",
"spec/httpclient_spec_helper.rb",
"spec/net_http_spec.rb",
@@ -114,11 +113,11 @@ Gem::Specification.new do |s|
"test/test_webmock.rb"
]
- if s.respond_to? :specification_version then
+ if s.respond_to? :specification_version
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0')
s.add_runtime_dependency(%q<addressable>, [">= 2.1.1"])
s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
s.add_development_dependency(%q<httpclient>, [">= 2.1.5.2"])

0 comments on commit 9bb2d24

Please sign in to comment.