recurly 2.9.1 → 2.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/recurly/resource.rb +6 -3
- data/lib/recurly/version.rb +1 -1
- metadata +32 -45
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6452867dd69330b585dbb5d03e743be85e30c120
|
4
|
+
data.tar.gz: 49d72019ce6b966986467d8ac92ffa3221a189d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62e54473a5796a7cf54bad8f6845038e8a222647f43a20829df5879e3a7f2273b16e3868f0007cee1ff0fbcffd1b3cd479097ec5f7b14a4e52c972fb332fefec
|
7
|
+
data.tar.gz: 2d4ddf83281109329005663be4fc1fbe878226406bbaef269e2b419e329908b2201bb20abcb3ca86db046629087ecef6c9143f82b67ef8a3e4206e073a701b21
|
data/README.md
CHANGED
@@ -14,7 +14,7 @@ Recurly is packaged as a Ruby gem. We recommend you install it with
|
|
14
14
|
[Bundler](http://gembundler.com/) by adding the following line to your Gemfile:
|
15
15
|
|
16
16
|
``` ruby
|
17
|
-
gem 'recurly', '~> 2.9.
|
17
|
+
gem 'recurly', '~> 2.9.2'
|
18
18
|
```
|
19
19
|
|
20
20
|
Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
|
data/lib/recurly/resource.rb
CHANGED
@@ -634,9 +634,12 @@ module Recurly
|
|
634
634
|
return if response.body.to_s.length.zero?
|
635
635
|
fresh = self.class.from_response response
|
636
636
|
else
|
637
|
-
|
638
|
-
|
639
|
-
|
637
|
+
options = {:etag => (etag unless changed?)}
|
638
|
+
fresh = if @href
|
639
|
+
self.class.from_response API.get(@href, {}, options)
|
640
|
+
else
|
641
|
+
self.class.find(to_param, options)
|
642
|
+
end
|
640
643
|
end
|
641
644
|
fresh and copy_from fresh
|
642
645
|
persist! true
|
data/lib/recurly/version.rb
CHANGED
metadata
CHANGED
@@ -1,139 +1,125 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recurly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: nokogiri
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 1.7.1
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 1.7.1
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: rake
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
|
-
- -
|
17
|
+
- - ~>
|
32
18
|
- !ruby/object:Gem::Version
|
33
19
|
version: 11.1.0
|
34
20
|
type: :development
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
|
-
- -
|
24
|
+
- - ~>
|
39
25
|
- !ruby/object:Gem::Version
|
40
26
|
version: 11.1.0
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: minitest
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
|
-
- -
|
31
|
+
- - ~>
|
46
32
|
- !ruby/object:Gem::Version
|
47
33
|
version: 5.8.0
|
48
34
|
type: :development
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
|
-
- -
|
38
|
+
- - ~>
|
53
39
|
- !ruby/object:Gem::Version
|
54
40
|
version: 5.8.0
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: addressable
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
|
-
- -
|
45
|
+
- - ~>
|
60
46
|
- !ruby/object:Gem::Version
|
61
47
|
version: 2.4.0
|
62
48
|
type: :development
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
|
-
- -
|
52
|
+
- - ~>
|
67
53
|
- !ruby/object:Gem::Version
|
68
54
|
version: 2.4.0
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: webmock
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
|
-
- -
|
59
|
+
- - ~>
|
74
60
|
- !ruby/object:Gem::Version
|
75
61
|
version: 2.3.2
|
76
62
|
type: :development
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
|
-
- -
|
66
|
+
- - ~>
|
81
67
|
- !ruby/object:Gem::Version
|
82
68
|
version: 2.3.2
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: redcarpet
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
|
-
- -
|
73
|
+
- - '>='
|
88
74
|
- !ruby/object:Gem::Version
|
89
75
|
version: '0'
|
90
76
|
type: :development
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
|
-
- -
|
80
|
+
- - '>='
|
95
81
|
- !ruby/object:Gem::Version
|
96
82
|
version: '0'
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: yard
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
100
86
|
requirements:
|
101
|
-
- -
|
87
|
+
- - '>='
|
102
88
|
- !ruby/object:Gem::Version
|
103
89
|
version: '0'
|
104
90
|
type: :development
|
105
91
|
prerelease: false
|
106
92
|
version_requirements: !ruby/object:Gem::Requirement
|
107
93
|
requirements:
|
108
|
-
- -
|
94
|
+
- - '>='
|
109
95
|
- !ruby/object:Gem::Version
|
110
96
|
version: '0'
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
98
|
name: racc
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
114
100
|
requirements:
|
115
|
-
- -
|
101
|
+
- - '>='
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: '0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
107
|
requirements:
|
122
|
-
- -
|
108
|
+
- - '>='
|
123
109
|
- !ruby/object:Gem::Version
|
124
110
|
version: '0'
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: pry
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
128
114
|
requirements:
|
129
|
-
- -
|
115
|
+
- - '>='
|
130
116
|
- !ruby/object:Gem::Version
|
131
117
|
version: '0'
|
132
118
|
type: :development
|
133
119
|
prerelease: false
|
134
120
|
version_requirements: !ruby/object:Gem::Requirement
|
135
121
|
requirements:
|
136
|
-
- -
|
122
|
+
- - '>='
|
137
123
|
- !ruby/object:Gem::Version
|
138
124
|
version: '0'
|
139
125
|
description: 'An API client library for Recurly: http://recurly.com'
|
@@ -144,21 +130,18 @@ extensions: []
|
|
144
130
|
extra_rdoc_files:
|
145
131
|
- README.md
|
146
132
|
files:
|
147
|
-
- README.md
|
148
|
-
- bin/recurly
|
149
133
|
- lib/ecurly.rb
|
150
134
|
- lib/rails/generators/recurly/config_generator.rb
|
151
135
|
- lib/rails/recurly.rb
|
152
|
-
- lib/recurly.rb
|
153
136
|
- lib/recurly/account.rb
|
154
137
|
- lib/recurly/account_balance.rb
|
155
138
|
- lib/recurly/add_on.rb
|
156
139
|
- lib/recurly/address.rb
|
157
140
|
- lib/recurly/adjustment.rb
|
158
141
|
- lib/recurly/all.rb
|
159
|
-
- lib/recurly/api.rb
|
160
142
|
- lib/recurly/api/errors.rb
|
161
143
|
- lib/recurly/api/net_http_adapter.rb
|
144
|
+
- lib/recurly/api.rb
|
162
145
|
- lib/recurly/billing_info.rb
|
163
146
|
- lib/recurly/coupon.rb
|
164
147
|
- lib/recurly/delivery.rb
|
@@ -172,21 +155,20 @@ files:
|
|
172
155
|
- lib/recurly/money.rb
|
173
156
|
- lib/recurly/plan.rb
|
174
157
|
- lib/recurly/redemption.rb
|
175
|
-
- lib/recurly/resource.rb
|
176
158
|
- lib/recurly/resource/association.rb
|
177
159
|
- lib/recurly/resource/errors.rb
|
178
160
|
- lib/recurly/resource/pager.rb
|
161
|
+
- lib/recurly/resource.rb
|
179
162
|
- lib/recurly/shipping_address.rb
|
180
|
-
- lib/recurly/subscription.rb
|
181
163
|
- lib/recurly/subscription/add_ons.rb
|
164
|
+
- lib/recurly/subscription.rb
|
182
165
|
- lib/recurly/subscription_add_on.rb
|
183
166
|
- lib/recurly/tax_detail.rb
|
184
167
|
- lib/recurly/tax_type.rb
|
185
|
-
- lib/recurly/transaction.rb
|
186
168
|
- lib/recurly/transaction/errors.rb
|
169
|
+
- lib/recurly/transaction.rb
|
187
170
|
- lib/recurly/usage.rb
|
188
171
|
- lib/recurly/version.rb
|
189
|
-
- lib/recurly/webhook.rb
|
190
172
|
- lib/recurly/webhook/account_notification.rb
|
191
173
|
- lib/recurly/webhook/billing_info_updated_notification.rb
|
192
174
|
- lib/recurly/webhook/canceled_account_notification.rb
|
@@ -213,33 +195,38 @@ files:
|
|
213
195
|
- lib/recurly/webhook/transaction_notification.rb
|
214
196
|
- lib/recurly/webhook/updated_subscription_notification.rb
|
215
197
|
- lib/recurly/webhook/void_payment_notification.rb
|
216
|
-
- lib/recurly/
|
198
|
+
- lib/recurly/webhook.rb
|
217
199
|
- lib/recurly/xml/nokogiri.rb
|
218
200
|
- lib/recurly/xml/rexml.rb
|
201
|
+
- lib/recurly/xml.rb
|
202
|
+
- lib/recurly.rb
|
203
|
+
- README.md
|
204
|
+
- bin/recurly
|
219
205
|
homepage: https://github.com/recurly/recurly-client-ruby
|
220
206
|
licenses:
|
221
207
|
- MIT
|
222
208
|
metadata: {}
|
223
209
|
post_install_message:
|
224
210
|
rdoc_options:
|
225
|
-
-
|
211
|
+
- --main
|
226
212
|
- README.md
|
227
213
|
require_paths:
|
228
214
|
- lib
|
229
215
|
required_ruby_version: !ruby/object:Gem::Requirement
|
230
216
|
requirements:
|
231
|
-
- -
|
217
|
+
- - '>='
|
232
218
|
- !ruby/object:Gem::Version
|
233
219
|
version: 1.9.3
|
234
220
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
235
221
|
requirements:
|
236
|
-
- -
|
222
|
+
- - '>='
|
237
223
|
- !ruby/object:Gem::Version
|
238
224
|
version: '0'
|
239
225
|
requirements: []
|
240
226
|
rubyforge_project:
|
241
|
-
rubygems_version: 2.
|
227
|
+
rubygems_version: 2.0.14.1
|
242
228
|
signing_key:
|
243
229
|
specification_version: 4
|
244
230
|
summary: Recurly API Client
|
245
231
|
test_files: []
|
232
|
+
has_rdoc: true
|