Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Releases: storj-archived/ruby-libstorj

v2.0.0

21 Mar 00:29
v2.0.0
Compare
Choose a tag to compare
v2.0.0 Pre-release
Pre-release

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

21 Mar 00:27
v1.0.2
Compare
Choose a tag to compare
v1.0.2 Pre-release
Pre-release
v1.0.2

v1.0.0

21 Mar 00:27
v1.0.0
Compare
Choose a tag to compare
v1.0.0 Pre-release
Pre-release
v1.0.0