Sha256: 3315955e7fc21f5934dd759354181510be41cffba5b6e2408770c5cf0fdcba81

Contents?: true

Size: 907 Bytes

Versions: 3

Compression:

Stored size: 907 Bytes

Contents

# 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
```

## Contribute
### Increment version
```sh
vim lib/spearly/version.rb
```

### Update CHANGELOG
```sh
vim CHANGELOG.md
```

### Update Gemfile.lock
```sh
bundle install
```

### New version commit
```sh
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 --tags
```

## Publish
### Build
```sh
bundle exec rake build
```

### Push to RubyGems
```sh
new_version=$(ruby -e "require './lib/spearly/version'; puts Spearly::VERSION")

gem push pkg/spearly-sdk-ruby-$new_version.gem
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spearly-sdk-ruby-0.11.2 README.md
spearly-sdk-ruby-0.11.1 README.md
spearly-sdk-ruby-0.11.0 README.md