git ssb

0+

dangerousbeans / %aPBe2k3ugtjBr4rrsU1…



Commit 2ac2410deb27e880966a93dd0aaf1552491f6d3a

1.8 does not define RUBY_ENGINE

Aman Gupta committed on 2/20/2011, 12:57:06 AM
Parent: 763e5998f45879428aae9adab12d5697f073b713

Files changed

lib/bcrypt.rbchanged
lib/bcrypt.rbView
@@ -5,9 +5,9 @@
55 else
66 require "openssl"
77 end
88
9-if RUBY_ENGINE == "maglev"
9+if defined?(RUBY_ENGINE) and RUBY_ENGINE == "maglev"
1010 require 'bcrypt_engine'
1111 else
1212 require 'bcrypt_ext'
1313 end

Built with git-ssb-web