This repository has been archived by the owner on Jul 2, 2021. It is now read-only.
Releases: storj-archived/ruby-libstorj
Releases · storj-archived/ruby-libstorj
v2.0.0
Breaking changes:
-
LibStorj::Env.new
now takes a hash instead of an array.You can now pass a string containing the path to a yaml file (following the structure in options.example.yml) directly to the
Env.new
method:require 'ruby-libstorj' storj = LibStorj::Env.new(path: <some/path/to/a.yaml>)
Alternatively, you can pass a hash of
FFI
structs:require 'ruby-libstorj' # initialize structs bridge = LibStorj::Ext::Storj::BridgeOptions.new http = LibStorj::Ext::Storj::HttpOptions.new encrypt = LibStorj::Ext::Storj::EncryptOptions.new log = LibStorj::Ext::Storj::LogOptions.new # manipulate structs # ... options = { bridge_options: bridge } storj = LibStorj::Env.new(*options)
v1.0.2
v1.0.2
v1.0.0
v1.0.0