Browse files

try working around ruby-head issue

  • Loading branch information...
1 parent 6d41659 commit 2991618e0344d0147a282699e54ba3b27136f823 @phoet committed Jul 6, 2012
Showing with 8 additions and 1 deletion.
  1. +1 −1 .travis.yml
  2. +7 −0 spec/spec_helper.rb
View
2 .travis.yml
@@ -12,4 +12,4 @@ rvm:
- ree
branches:
only:
- - develop
+ - develop
View
7 spec/spec_helper.rb
@@ -1,3 +1,10 @@
+# WORKAROUND (ps) for http://travis-ci.org/#!/phoet/asin/jobs/1794039
+require "net/http"
+unless Net.const_defined? :HTTPSession
+ puts "monkeypatching Net::HTTPSession"
+ class Net::HTTPSession < Net::HTTP::HTTPSession; end
+end
+
require 'rspec'
require 'asin'
require 'asin/client' # is somehow needed for jruby

0 comments on commit 2991618

Please sign in to comment.