cobrato-client 0.9.1 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a03e8cb49a6b3d6526198d3b1c88fb54a684e7d
4
- data.tar.gz: 33e0284247a3ce3286cabffac9b5a3888b268311
3
+ metadata.gz: b0dedf1658bbec65391691c7902bb6bce6916504
4
+ data.tar.gz: 432a9f26dc192d6c078d74ff8b3f8538de11caeb
5
5
  SHA512:
6
- metadata.gz: 64c623ecc269256bc35dfac275ee04d64aba32db8d98149ead1929f8285adf6417a2e073e4445ace0bf79f939721da4ec1d6b31fffb27d51c8519e27119b3d73
7
- data.tar.gz: 7e696196bb4b1f552b4b3bf317e2906f34dbce7f8d5ba8af9c047f8280f59d3d68a1f21e3f3a2ee5742636a87cc3cfcf51b9cf80504b9ea35bd67d2438524d62
6
+ metadata.gz: 462bbf327aca89ac85b5d7fbc56f604b32ae9aec490ba2dbde67c64fc4982eca4e72211ebeff5e0367c43d89ecb6d658ac8a1650411dabde21d00e6f8fc0e464
7
+ data.tar.gz: de3756d1bb4ea659905cd13b651a84834eb8a3c0e8535f9f5483f104fd695e922478282a2f0eb4ce5ce0cd4f38268a6a023f789eef967d024dd0907a85ce7fd4
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.10.0
4
+
5
+ - Add charges#renew endpoint
6
+
7
+ ## v0.9.1
8
+
9
+ - Add `canceled_at` to `Charge`
10
+
3
11
  ## v0.9.0
4
12
 
5
13
  - Attribute `payer_emails` from `Charge` renamed to `notification_emails`
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cobrato-client (0.9.1)
4
+ cobrato-client (0.10.0)
5
5
  multi_json (~> 1.11.1)
6
6
  typhoeus (~> 0.7.2)
7
7
  virtus (~> 1.0.5)
@@ -29,7 +29,7 @@ GEM
29
29
  equalizer (0.0.11)
30
30
  ethon (0.9.0)
31
31
  ffi (>= 1.3.0)
32
- ffi (1.9.10)
32
+ ffi (1.9.14)
33
33
  ice_nine (0.11.2)
34
34
  json (1.8.3)
35
35
  method_source (0.8.2)
@@ -40,7 +40,13 @@ module Cobrato
40
40
  end
41
41
  end
42
42
 
43
+ def renew(id, params)
44
+ http.put("#{resource_base_path}/#{id}/renew", { body: params }) do |response|
45
+ respond_with_entity(response)
46
+ end
47
+ end
48
+
43
49
  notify :receive, :undo_receive, :cancel
44
50
  end
45
51
  end
46
- end
52
+ end
@@ -1,3 +1,3 @@
1
1
  module Cobrato
2
- VERSION = '0.9.1'
2
+ VERSION = '0.10.0'
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: 0.9.1
4
+ version: 0.10.0
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: 2016-09-09 00:00:00.000000000 Z
13
+ date: 2016-09-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: typhoeus