cobrato-client 1.1.6 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +2 -2
- data/README.md +13 -0
- data/lib/cobrato/entities/credit_card.rb +2 -0
- data/lib/cobrato/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 6d638cae9b15ffee16e933b6637167cfe8bea70af2faccdce9421259ad1016f1
|
|
4
|
+
data.tar.gz: d55a9f8269fda8cd8a6e44927c28224fd3764a2e4bf8f1e146e2da09f37931df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e36d847e38d49f486a365a4d298b83266380c67edee8f1f6a5696209c00ce608363e04f6a80be10a96abd21b1350f30e5445e184597f2c1f4c4e8230fa930def
|
|
7
|
+
data.tar.gz: 269e774a8b356c223814877a84c775919563186129beed0f2da988035f58f3ceef7757ea152390f4234e451141decf75ee408f970541a6f79e5a2c684db55de7
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -293,6 +293,19 @@ When you call `client.payees.destroy(1)`, an event `cobrato.payees.destroy` will
|
|
|
293
293
|
- cobrato.charge_templates.create
|
|
294
294
|
- cobrato.charge_templates.destroy
|
|
295
295
|
|
|
296
|
+
## Release
|
|
297
|
+
To release a new version, update the version number in `lib/cobrato/version.rb`, add the version in `CHANGELOG.md`, run `bundle install` and commit & push the changes to the repository.
|
|
298
|
+
|
|
299
|
+
If this is your first time publishing a RubyGem in your local device, you will have to download your credentials. To do this, follow the instructions in your [profile page in RubyGems](https://rubygems.org/profile/edit) or just type the following in your command line, replacing `$username` with your RubyGems username.
|
|
300
|
+
|
|
301
|
+
```bash
|
|
302
|
+
$ curl -u $username https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials; chmod 0600 ~/.gem/credentials
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
Then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). Make sure you have publishing rights for the gem on RubyGems beforehand, though.
|
|
306
|
+
|
|
307
|
+
After publishing the new version, add a `released` label to each pull request included in the release.
|
|
308
|
+
|
|
296
309
|
## Contributing
|
|
297
310
|
|
|
298
311
|
1. Fork it ( https://github.com/[my-github-username]/cobrato-client-ruby/fork )
|
data/lib/cobrato/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cobrato-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marcio Ricardo Santos
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: exe
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2019-
|
|
13
|
+
date: 2019-04-16 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: typhoeus
|
|
@@ -253,8 +253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
253
253
|
- !ruby/object:Gem::Version
|
|
254
254
|
version: '0'
|
|
255
255
|
requirements: []
|
|
256
|
-
|
|
257
|
-
rubygems_version: 2.6.14.3
|
|
256
|
+
rubygems_version: 3.0.1
|
|
258
257
|
signing_key:
|
|
259
258
|
specification_version: 4
|
|
260
259
|
summary: This is the official Ruby client for the Cobrato API.
|