# Spearly SDK Ruby Spearly SDK for Ruby. ## Install Add this line to your application's `Gemfile`: ```ruby gem 'spearly-sdk-ruby', '~> x.y.z', require: 'spearly' ``` And then execute: ```sh bundle install ``` Or install it manually: ```sh gem install spearly-sdk-ruby ``` ## Publish ### Increment version ```sh vim lib/spearly/version.rb ``` ### Build ```sh rake build ``` ### Push to RubyGems ```sh new_version=$(ruby -e "require 'spearly/version'; puts Spearly::VERSION") gem push pkg/spearly-sdk-ruby-$new_version.gem ``` ## Contribute ### New version commit ```sh new_version=$(ruby -e "require 'spearly/version'; puts Spearly::VERSION") git commit -m "v$new_version" git tag -a v$new_version -m "Release $new_version" ```