chargify_api_ares 1.4.10 → 1.4.11

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: fb3a765f7ae0b2bd024cdf2c561b17c789b33899
4
- data.tar.gz: d5e151269cdba78b80704bba7c35b015232b189d
3
+ metadata.gz: 77d53cc4ef9430fb907b3dfd83dc0de647bacfe5
4
+ data.tar.gz: e328ecfcf84ddcac2bae42a2b43378168586ef9f
5
5
  SHA512:
6
- metadata.gz: 173677c5ddacf124ddb5d7bcaa070d1ce86e3092908065bfed05db10704346ddcd5532c68ec2effdbade023c311c40ec653ee14b6a40b7350a2f477c83bb964c
7
- data.tar.gz: a0a72b1b94e6b7cacf96f1435b452700142954958d9b53c7ec0acce9459189e3a44c2c40b9843f833e6dbfab2873e933e94b46d7fe6c14fafc3820abe7121722
6
+ metadata.gz: 42b701c11e5a39066db949d953728b1a8e7fc2322b52657e7aa809dd17e8287279bd8fd5f5168426a590971b0b6a79343f2be01493eaa17930af7b1db77a1fb7
7
+ data.tar.gz: f48e1a1249ba3b8dd630ec700594e4b87777aadd2f0c2056868cc7273a1c4490d04da7b0c5fa3b151cded5c58aab0acd8ff25fa5e7847972415ec6e668e2a10d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chargify_api_ares (1.4.7)
4
+ chargify_api_ares (1.4.11)
5
5
  activeresource (>= 3.2.16)
6
6
 
7
7
  GEM
@@ -67,4 +67,4 @@ DEPENDENCIES
67
67
  vcr
68
68
 
69
69
  BUNDLED WITH
70
- 1.12.5
70
+ 1.14.3
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.4.11 / May 12, 2017
2
+
3
+ * Add Subscription Retry [PR 155](https://github.com/chargify/chargify_api_ares/pull/155) and [PR 145](https://github.com/chargify/chargify_api_ares/pull/145) by @gotchahn
4
+
1
5
  ## 1.4.7 / August 22 2016
2
6
 
3
7
  * Adding Invoice Payment creation [PR 138] (https://github.com/chargify/chargify_api_ares/pull/138) by @carsonreinke
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.7'
5
5
 
6
6
  s.name = 'chargify_api_ares'
7
- s.version = '1.4.10'
7
+ s.version = '1.4.11'
8
8
  s.date = '2017-05-12'
9
9
  s.summary = 'A Chargify API wrapper for Ruby using ActiveResource'
10
10
  s.description = ''
@@ -68,3 +68,6 @@ subscription.product_change('new-handle', true)
68
68
 
69
69
  # Cancel a delayed product change
70
70
  subscription.cancel_delayed_product_change
71
+
72
+ # Retry a past-due subscription
73
+ subscription.retry
@@ -102,6 +102,12 @@ module Chargify
102
102
  end
103
103
  end
104
104
 
105
+ def retry
106
+ process_capturing_errors do
107
+ put :retry
108
+ end
109
+ end
110
+
105
111
  def reset_balance
106
112
  process_capturing_errors do
107
113
  put :reset_balance
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chargify_api_ares
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.10
4
+ version: 1.4.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chargify Development Team
@@ -268,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
268
268
  version: '0'
269
269
  requirements: []
270
270
  rubyforge_project:
271
- rubygems_version: 2.4.8
271
+ rubygems_version: 2.2.3
272
272
  signing_key:
273
273
  specification_version: 3
274
274
  summary: A Chargify API wrapper for Ruby using ActiveResource
@@ -303,4 +303,3 @@ test_files:
303
303
  - spec/resources/usage_spec.rb
304
304
  - spec/spec_helper.rb
305
305
  - spec/support/fake_resource.rb
306
- has_rdoc: