Sha256: 7f5c0996fd3d0663eff2c34666674c7154a437692abcf15c3f1aa5c5dacba70a

Contents?: true

Size: 371 Bytes

Versions: 24

Compression:

Stored size: 371 Bytes

Contents

require "msgpack/version"

if defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby" # This is same with `/java/ =~ RUBY_VERSION`
  require "java"
  require "msgpack/msgpack.jar"
  org.msgpack.jruby.MessagePackLibrary.new.load(JRuby.runtime, false)
else
  begin
    require "msgpack/#{RUBY_VERSION[/\d+.\d+/]}/msgpack"
  rescue LoadError
    require "msgpack/msgpack"
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
msgpack-0.6.2-x64-mingw32 lib/msgpack.rb
msgpack-0.6.2-x86-mingw32 lib/msgpack.rb
msgpack-0.6.2-java lib/msgpack.rb
msgpack-0.6.2 lib/msgpack.rb
msgpack-0.6.1-x64-mingw32 lib/msgpack.rb
msgpack-0.6.1-x86-mswin32-60 lib/msgpack.rb
msgpack-0.6.1-java lib/msgpack.rb
msgpack-0.6.1 lib/msgpack.rb
msgpack-0.6.0-x64-mingw32 lib/msgpack.rb
msgpack-0.6.0-x86-mswin32-60 lib/msgpack.rb
msgpack-0.6.0-java lib/msgpack.rb
msgpack-0.6.0 lib/msgpack.rb
msgpack-0.5.12-java lib/msgpack.rb
msgpack-0.5.12 lib/msgpack.rb
msgpack-0.5.12-x86-mingw32 lib/msgpack.rb
msgpack-0.6.0pre1-x64-mingw32 lib/msgpack.rb
msgpack-0.6.0pre1-x86-mingw32 lib/msgpack.rb
msgpack-0.6.0pre1-java lib/msgpack.rb
msgpack-0.6.0pre1 lib/msgpack.rb
msgpack-0.5.11-java lib/msgpack.rb