recurly 2.8.0.rc1 → 2.8.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of recurly might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/recurly/invoice.rb +4 -0
- data/lib/recurly/resource/pager.rb +5 -0
- data/lib/recurly/version.rb +1 -1
- metadata +33 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2a9f88641c58780c5ee3962916de3a0a97a63cc
|
4
|
+
data.tar.gz: d101b8874a3abeeae49b4e1d94694157bc016ddf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 443d0bd8cf6d9f0269ead3ae60d546ffd34ebc9c3a473de6b9e7e3f70273b077322c1f19ef655d0410b30cde1d9f8d9012e35ab7e5a8d0156c0dc5032a4301fa
|
7
|
+
data.tar.gz: 38fea9635c984696cdeb3cd692bcc0445fc1315a55e3fd385e56bc53683d95f4dc5ac6cd57ef407213f0d35273fde743a103c5347e5c3d4101f84e88f405dabd
|
data/lib/recurly/invoice.rb
CHANGED
@@ -20,6 +20,10 @@ module Recurly
|
|
20
20
|
# @return [Invoice]
|
21
21
|
belongs_to :original_invoice, class_name: 'Invoice'
|
22
22
|
|
23
|
+
# This will only be present if the invoice has > 500 line items
|
24
|
+
# @return [Adjustment]
|
25
|
+
has_many :all_line_items, class_name: :Adjustment
|
26
|
+
|
23
27
|
# @return [Redemption]
|
24
28
|
has_many :redemptions
|
25
29
|
|
@@ -55,6 +55,11 @@ module Recurly
|
|
55
55
|
@collection = @count = nil
|
56
56
|
end
|
57
57
|
|
58
|
+
# @return [Boolean] whether or not the xml element is present
|
59
|
+
def any?
|
60
|
+
!@uri.nil?
|
61
|
+
end
|
62
|
+
|
58
63
|
# @return [String] The URI of the paginated resource.
|
59
64
|
def uri
|
60
65
|
@uri ||= resource_class.collection_path
|
data/lib/recurly/version.rb
CHANGED
metadata
CHANGED
@@ -1,139 +1,139 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recurly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.8.0.
|
4
|
+
version: 2.8.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.6.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 1.6.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 11.1.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 11.1.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: minitest
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 5.8.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 5.8.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: addressable
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 2.4.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 2.4.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: webmock
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 1.24.6
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - ~>
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 1.24.6
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: redcarpet
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: yard
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: racc
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- -
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: pry
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- -
|
129
|
+
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
description: 'An API client library for Recurly: http://recurly.com'
|
@@ -144,18 +144,21 @@ extensions: []
|
|
144
144
|
extra_rdoc_files:
|
145
145
|
- README.md
|
146
146
|
files:
|
147
|
+
- README.md
|
148
|
+
- bin/recurly
|
147
149
|
- lib/ecurly.rb
|
148
150
|
- lib/rails/generators/recurly/config_generator.rb
|
149
151
|
- lib/rails/recurly.rb
|
152
|
+
- lib/recurly.rb
|
150
153
|
- lib/recurly/account.rb
|
151
154
|
- lib/recurly/account_balance.rb
|
152
155
|
- lib/recurly/add_on.rb
|
153
156
|
- lib/recurly/address.rb
|
154
157
|
- lib/recurly/adjustment.rb
|
155
158
|
- lib/recurly/all.rb
|
159
|
+
- lib/recurly/api.rb
|
156
160
|
- lib/recurly/api/errors.rb
|
157
161
|
- lib/recurly/api/net_http_adapter.rb
|
158
|
-
- lib/recurly/api.rb
|
159
162
|
- lib/recurly/billing_info.rb
|
160
163
|
- lib/recurly/coupon.rb
|
161
164
|
- lib/recurly/delivery.rb
|
@@ -169,20 +172,21 @@ files:
|
|
169
172
|
- lib/recurly/money.rb
|
170
173
|
- lib/recurly/plan.rb
|
171
174
|
- lib/recurly/redemption.rb
|
175
|
+
- lib/recurly/resource.rb
|
172
176
|
- lib/recurly/resource/association.rb
|
173
177
|
- lib/recurly/resource/errors.rb
|
174
178
|
- lib/recurly/resource/pager.rb
|
175
|
-
- lib/recurly/resource.rb
|
176
179
|
- lib/recurly/shipping_address.rb
|
177
|
-
- lib/recurly/subscription/add_ons.rb
|
178
180
|
- lib/recurly/subscription.rb
|
181
|
+
- lib/recurly/subscription/add_ons.rb
|
179
182
|
- lib/recurly/subscription_add_on.rb
|
180
183
|
- lib/recurly/tax_detail.rb
|
181
184
|
- lib/recurly/tax_type.rb
|
182
|
-
- lib/recurly/transaction/errors.rb
|
183
185
|
- lib/recurly/transaction.rb
|
186
|
+
- lib/recurly/transaction/errors.rb
|
184
187
|
- lib/recurly/usage.rb
|
185
188
|
- lib/recurly/version.rb
|
189
|
+
- lib/recurly/webhook.rb
|
186
190
|
- lib/recurly/webhook/account_notification.rb
|
187
191
|
- lib/recurly/webhook/billing_info_updated_notification.rb
|
188
192
|
- lib/recurly/webhook/canceled_account_notification.rb
|
@@ -209,38 +213,33 @@ files:
|
|
209
213
|
- lib/recurly/webhook/transaction_notification.rb
|
210
214
|
- lib/recurly/webhook/updated_subscription_notification.rb
|
211
215
|
- lib/recurly/webhook/void_payment_notification.rb
|
212
|
-
- lib/recurly/
|
216
|
+
- lib/recurly/xml.rb
|
213
217
|
- lib/recurly/xml/nokogiri.rb
|
214
218
|
- lib/recurly/xml/rexml.rb
|
215
|
-
- lib/recurly/xml.rb
|
216
|
-
- lib/recurly.rb
|
217
|
-
- README.md
|
218
|
-
- bin/recurly
|
219
219
|
homepage: https://github.com/recurly/recurly-client-ruby
|
220
220
|
licenses:
|
221
221
|
- MIT
|
222
222
|
metadata: {}
|
223
223
|
post_install_message:
|
224
224
|
rdoc_options:
|
225
|
-
- --main
|
225
|
+
- "--main"
|
226
226
|
- README.md
|
227
227
|
require_paths:
|
228
228
|
- lib
|
229
229
|
required_ruby_version: !ruby/object:Gem::Requirement
|
230
230
|
requirements:
|
231
|
-
- -
|
231
|
+
- - ">="
|
232
232
|
- !ruby/object:Gem::Version
|
233
233
|
version: 1.9.3
|
234
234
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
235
235
|
requirements:
|
236
|
-
- -
|
236
|
+
- - ">"
|
237
237
|
- !ruby/object:Gem::Version
|
238
238
|
version: 1.3.1
|
239
239
|
requirements: []
|
240
240
|
rubyforge_project:
|
241
|
-
rubygems_version: 2.
|
241
|
+
rubygems_version: 2.5.1
|
242
242
|
signing_key:
|
243
243
|
specification_version: 4
|
244
244
|
summary: Recurly API Client
|
245
245
|
test_files: []
|
246
|
-
has_rdoc: true
|