Permalink
Browse files

Merge pull request #26 from philipmw/rubinius

Fix marshaling on Rubinius; add Rubinius to auto-tested Rubies
  • Loading branch information...
2 parents 31089f0 + f5d4750 commit 2ee99b64de1b9d0dd0e444e3c8c77d94c90cd035 @philipmw philipmw committed Dec 11, 2015
Showing with 6 additions and 0 deletions.
  1. +1 −0 .travis.yml
  2. +5 −0 lib/promise.rb
View
@@ -4,4 +4,5 @@ rvm:
- 2.1.6
- 2.2.3
- jruby-head
+ - rbx-2
sudo: false
View
@@ -92,6 +92,11 @@ def self._load(obj)
::Marshal.load(obj)
end
+ # https://github.com/rubinius/rubinius/issues/3527
+ def __class__
+ ::Promise
+ end
+
private
def raise(klass, message = nil)

0 comments on commit 2ee99b6

Please sign in to comment.