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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 8ac5ca7b37c9302b28e0cae1d9a550cb1a8b93c4
4
- data.tar.gz: daedcec12de88a421d1ffa5e7bd1e6458b217512
2
+ SHA256:
3
+ metadata.gz: 6d638cae9b15ffee16e933b6637167cfe8bea70af2faccdce9421259ad1016f1
4
+ data.tar.gz: d55a9f8269fda8cd8a6e44927c28224fd3764a2e4bf8f1e146e2da09f37931df
5
5
  SHA512:
6
- metadata.gz: 6978ca5f0e98d7a101c86fa475a9a8355f2ff7eec02c7abddf0abad6ad4b9c9a6519645a1e037cfa1bc77ccf21dca7c13663d2d719be887cf92a12b20acb61fa
7
- data.tar.gz: aa131ef2cdb3e2e11b616abb11b35745b5da454eb09ec4b6f7fa7bf784fadb89926452f1e44c588386b0f54f1c834bb1d7b0633c43ac1fb9ae49a82e13edadfe
6
+ metadata.gz: e36d847e38d49f486a365a4d298b83266380c67edee8f1f6a5696209c00ce608363e04f6a80be10a96abd21b1350f30e5445e184597f2c1f4c4e8230fa930def
7
+ data.tar.gz: 269e774a8b356c223814877a84c775919563186129beed0f2da988035f58f3ceef7757ea152390f4234e451141decf75ee408f970541a6f79e5a2c684db55de7
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Next version
4
4
 
5
+ ## v1.1.7
6
+
7
+ - Add `token` attribute to CreditCard
8
+ - Add `national_identifier` attribute to CreditCard
9
+
5
10
  ## v1.1.6
6
11
 
7
12
  - Add `logo` and `logo_url` attributes to PaymentGatewayConfig
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cobrato-client (1.1.6)
4
+ cobrato-client (1.1.7)
5
5
  multi_json (~> 1.11)
6
6
  typhoeus (~> 0.8.0)
7
7
  virtus (~> 1.0.5)
@@ -84,4 +84,4 @@ DEPENDENCIES
84
84
  vcr (~> 2.9)
85
85
 
86
86
  BUNDLED WITH
87
- 1.16.6
87
+ 1.17.2
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 )
@@ -15,6 +15,8 @@ module Cobrato
15
15
  attribute :avs_zipcode, String
16
16
  attribute :payer_id, Integer
17
17
  attribute :charge_config_id, Integer
18
+ attribute :token, String
19
+ attribute :national_identifier, String
18
20
  end
19
21
  end
20
22
  end
@@ -1,3 +1,3 @@
1
1
  module Cobrato
2
- VERSION = '1.1.6'
2
+ VERSION = '1.1.7'
3
3
  end
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.6
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-02-06 00:00:00.000000000 Z
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
- rubyforge_project:
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.