Skip to content
Browse files

Remove RUBY_PLATFORM conditional from gemspec

This conditional is of no use. The gem specification generated is not
dynamic and will always contain these gems. In order to support JRuby
properly we'll need to create a separate gemspec.
  • Loading branch information...
1 parent 432f8f5 commit 666a77d146f9bb1ffaef7fcd684f1a7307896a29 @jcf jcf committed May 18, 2011
Showing with 5 additions and 7 deletions.
  1. +5 −7 webmock.gemspec
View
12 webmock.gemspec
@@ -16,14 +16,12 @@ Gem::Specification.new do |s|
s.add_dependency 'addressable', '~> 2.2', '> 2.2.5'
s.add_dependency 'crack', '>=0.1.7'
- s.add_development_dependency 'rspec', '>= 2.0.0'
- s.add_development_dependency 'httpclient', '>= 2.1.5.2'
- unless RUBY_PLATFORM =~ /java/
- s.add_development_dependency 'patron', '>= 0.4.9'
- s.add_development_dependency 'em-http-request', '>= 0.2.14'
- s.add_development_dependency 'curb', '>= 0.7.8'
- end
+ s.add_development_dependency 'rspec', '>= 2.0.0'
+ s.add_development_dependency 'httpclient', '>= 2.1.5.2'
+ s.add_development_dependency 'patron', '>= 0.4.9'
+ s.add_development_dependency 'em-http-request', '>= 0.2.14'
+ s.add_development_dependency 'curb', '>= 0.7.8'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")

0 comments on commit 666a77d

Please sign in to comment.
Something went wrong with that request. Please try again.