diff options
Diffstat (limited to 'ext/digest/md5')
-rw-r--r-- | ext/digest/md5/lib/md5.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ext/digest/md5/lib/md5.rb b/ext/digest/md5/lib/md5.rb new file mode 100644 index 0000000000..3748f9d187 --- /dev/null +++ b/ext/digest/md5/lib/md5.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: false + +require 'digest' + +if RUBY_ENGINE == 'jruby' + JRuby::Util.load_ext("org.jruby.ext.digest.MD5") +else + require 'digest/md5.so' +end |