Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jul 5, 2019
1 parent 14b1a97 commit 39e2df2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
17 changes: 7 additions & 10 deletions .rultor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,21 @@ assets:
install: |-
export GEM_HOME=~/.ruby
export GEM_PATH=$GEM_HOME:$GEM_PATH
bundle install
release:
script: |-
bundle install
rake
bundle exec rake
rm -rf *.gem
sed -i "s/0\.0\.0/${tag}/g" zold-ruby-sdk.gemspec
git add zold-ruby-sdk.gemspec
git commit -m "Version set to ${tag}"
gem build zold-ruby-sdk.gemspec
chmod 0600 ../rubygems.yml
gem push *.gem --config-file ../rubygems.yml
commanders:
- yegor256
architect:
- yegor256
merge:
commanders: []
script: |-
bundle install
rake
deploy: {}
bundle exec rake
deploy:
script: |-
echo 'There is nothing to deploy'
exit -1
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ install:
script:
- pdd -f /dev/null
- export RUBYOPT="-W0"
- rake --quiet
- bundle exec rake --quiet
after_success:
- "bash <(curl -s https://codecov.io/bash)"
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ There are other languages too: [Java SDK](https://github.com/amihaiemil/zold-jav

First, you install it:

```
```bash
gem install zold-ruby-sdk
```

Expand Down Expand Up @@ -67,7 +67,7 @@ txns = wts.find(id: '123', details: /pizza/)

That's it.

# How to contribute
## How to contribute

Read [these guidelines](https://www.yegor256.com/2014/04/15/github-guidelines.html).
Make sure you build is green before you contribute
Expand All @@ -76,7 +76,7 @@ your pull request. You will need to have [Ruby](https://www.ruby-lang.org/en/) 2

```
$ bundle update
$ rake
$ bundle exec rake
```

If it's clean and you don't see any error messages, submit your pull request.

0 comments on commit 39e2df2

Please sign in to comment.