Skip to content

Commit

Permalink
Tests: newer Rubies need a gem to get test/unit
Browse files Browse the repository at this point in the history
Thanks for reporting: @strzibny in #48, @ggilder in #50,
@davidcornu in #58, and @SamMolokanov in #60.

References #57.
  • Loading branch information
chrisk committed Jun 13, 2017
1 parent 48208f9 commit 40af388
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fakeweb.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ Gem::Specification.new do |s|
s.add_development_dependency "json", ["~> 1.7"]
end

if RUBY_VERSION >= "2.2.0"
# Test::Unit is no longer distributed with Ruby as of 2.2.0
s.add_development_dependency "test-unit", ["~> 3.2.4"]
end

if RUBY_PLATFORM == "java"
s.add_development_dependency "jruby-openssl", ["~> 0.8"]
Expand Down

0 comments on commit 40af388

Please sign in to comment.