Sha256: 6c1303b00d45db312a2d985996bd0e59cc156441d0bd3b4a4e8d9a22d308a991
Contents?: true
Size: 442 Bytes
Versions: 1
Compression:
Stored size: 442 Bytes
Contents
require "rbnacl/libsodium/version" module RbNaCl module Libsodium sodiumlib_dir = File.expand_path("../../../vendor/libsodium/dist/lib/", __FILE__) sodiumlib_filename = case RUBY_DESCRIPTION when /darwin/ then "libsodium.dylib" when /Windows|(win|mingw)32/ then "libsodium.dll" else "libsodium.so" end ::RBNACL_LIBSODIUM_GEM_LIB_PATH = File.join(sodiumlib_dir, sodiumlib_filename) end end require "rbnacl"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rbnacl-libsodium-1.0.9 | lib/rbnacl/libsodium.rb |