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