0.0
The project is in a healthy, maintained state
Ruby gem for integrating Sia Skynet into Ruby apps
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Project Readme

Skynet gem

Gem Version

Library for integrating Skynet into Ruby applications

Installation

Gem

gem install ruby-skynet

Bundle

bundle add ruby-skynet

Gemfile

gem 'ruby-skynet', '~> 1.3'

Docs

The documentation can be viewed from here

Example

require 'skynet'

# Upload
upload = Skynet.upload_file('src.jpg')
puts upload
#=> Upload successful, skylink: ABC123

# Download
download = Skynet.download_file("test/src.jpg", skylink)
puts download
#=> Download successful!

For more see examples.md

Run unit test

rake spec

Generate document

rake rdoc

Regenerate document

rake rerdoc

Branches

Every branch should update the ruby-skynet.gemspec with the new version & date