recurly 2.4.10 → 2.4.11
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 +22 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c2c21b91dc3ba421140a359ab9dbb0a8291bad0
|
4
|
+
data.tar.gz: c985331495da681099e599b01495a773fa3df2b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e7b40644f1468705ed27a6144975b64e18f82583a487bac9d91779764d400b69e19209722880f8efbc757eb875b762d1c60d748f422a8d8cdaa514334279cb6
|
7
|
+
data.tar.gz: 03179e3a3908339a38b86579d71ab933f949e7ec36420d992bdc1540a75a9bc270cc8c8b7fd54c18a1c81b3fa76d65545f22e70807c11e791ff82e7d74b934ee
|
data/README.md
CHANGED
@@ -12,7 +12,7 @@ Recurly is packaged as a Ruby gem. We recommend you install it with
|
|
12
12
|
[Bundler](http://gembundler.com/) by adding the following line to your Gemfile:
|
13
13
|
|
14
14
|
``` ruby
|
15
|
-
gem 'recurly', '~> 2.4.
|
15
|
+
gem 'recurly', '~> 2.4.11'
|
16
16
|
```
|
17
17
|
|
18
18
|
Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
|
data/lib/recurly/resource.rb
CHANGED
@@ -596,9 +596,12 @@ module Recurly
|
|
596
596
|
return if response.body.to_s.length.zero?
|
597
597
|
fresh = self.class.from_response response
|
598
598
|
else
|
599
|
-
|
600
|
-
|
601
|
-
|
599
|
+
options = {:etag => (etag unless changed?)}
|
600
|
+
fresh = if @href
|
601
|
+
self.class.from_response API.get(@href, {}, options)
|
602
|
+
else
|
603
|
+
self.class.find(to_param, options)
|
604
|
+
end
|
602
605
|
end
|
603
606
|
fresh and copy_from fresh
|
604
607
|
persist! true
|
data/lib/recurly/version.rb
CHANGED
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recurly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.11
|
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
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.9.2
|
20
20
|
type: :development
|
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: 0.9.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: minitest
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 2.6.1
|
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: 2.6.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: webmock
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 1.7.6
|
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: 1.7.6
|
55
55
|
description: 'An API client library for Recurly: http://recurly.com'
|
@@ -60,20 +60,17 @@ extensions: []
|
|
60
60
|
extra_rdoc_files:
|
61
61
|
- README.md
|
62
62
|
files:
|
63
|
-
- README.md
|
64
|
-
- bin/recurly
|
65
63
|
- lib/ecurly.rb
|
66
64
|
- lib/rails/generators/recurly/config_generator.rb
|
67
65
|
- lib/rails/recurly.rb
|
68
|
-
- lib/recurly.rb
|
69
66
|
- lib/recurly/account.rb
|
70
67
|
- lib/recurly/add_on.rb
|
71
68
|
- lib/recurly/address.rb
|
72
69
|
- lib/recurly/adjustment.rb
|
73
70
|
- lib/recurly/all.rb
|
74
|
-
- lib/recurly/api.rb
|
75
71
|
- lib/recurly/api/errors.rb
|
76
72
|
- lib/recurly/api/net_http_adapter.rb
|
73
|
+
- lib/recurly/api.rb
|
77
74
|
- lib/recurly/billing_info.rb
|
78
75
|
- lib/recurly/coupon.rb
|
79
76
|
- lib/recurly/helper.rb
|
@@ -82,18 +79,17 @@ files:
|
|
82
79
|
- lib/recurly/money.rb
|
83
80
|
- lib/recurly/plan.rb
|
84
81
|
- lib/recurly/redemption.rb
|
85
|
-
- lib/recurly/resource.rb
|
86
82
|
- lib/recurly/resource/association.rb
|
87
83
|
- lib/recurly/resource/errors.rb
|
88
84
|
- lib/recurly/resource/pager.rb
|
89
|
-
- lib/recurly/
|
85
|
+
- lib/recurly/resource.rb
|
90
86
|
- lib/recurly/subscription/add_ons.rb
|
87
|
+
- lib/recurly/subscription.rb
|
91
88
|
- lib/recurly/subscription_add_on.rb
|
92
89
|
- lib/recurly/tax_detail.rb
|
93
|
-
- lib/recurly/transaction.rb
|
94
90
|
- lib/recurly/transaction/errors.rb
|
91
|
+
- lib/recurly/transaction.rb
|
95
92
|
- lib/recurly/version.rb
|
96
|
-
- lib/recurly/webhook.rb
|
97
93
|
- lib/recurly/webhook/account_notification.rb
|
98
94
|
- lib/recurly/webhook/billing_info_updated_notification.rb
|
99
95
|
- lib/recurly/webhook/canceled_account_notification.rb
|
@@ -118,33 +114,38 @@ files:
|
|
118
114
|
- lib/recurly/webhook/transaction_notification.rb
|
119
115
|
- lib/recurly/webhook/updated_subscription_notification.rb
|
120
116
|
- lib/recurly/webhook/void_payment_notification.rb
|
121
|
-
- lib/recurly/
|
117
|
+
- lib/recurly/webhook.rb
|
122
118
|
- lib/recurly/xml/nokogiri.rb
|
123
119
|
- lib/recurly/xml/rexml.rb
|
120
|
+
- lib/recurly/xml.rb
|
121
|
+
- lib/recurly.rb
|
122
|
+
- README.md
|
123
|
+
- bin/recurly
|
124
124
|
homepage: https://github.com/recurly/recurly-client-ruby
|
125
125
|
licenses:
|
126
126
|
- MIT
|
127
127
|
metadata: {}
|
128
128
|
post_install_message:
|
129
129
|
rdoc_options:
|
130
|
-
-
|
130
|
+
- --main
|
131
131
|
- README.md
|
132
132
|
require_paths:
|
133
133
|
- lib
|
134
134
|
required_ruby_version: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- -
|
136
|
+
- - '>='
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 1.9.3
|
139
139
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
140
|
requirements:
|
141
|
-
- -
|
141
|
+
- - '>='
|
142
142
|
- !ruby/object:Gem::Version
|
143
143
|
version: '0'
|
144
144
|
requirements: []
|
145
145
|
rubyforge_project:
|
146
|
-
rubygems_version: 2.
|
146
|
+
rubygems_version: 2.0.14.1
|
147
147
|
signing_key:
|
148
148
|
specification_version: 4
|
149
149
|
summary: Recurly API Client
|
150
150
|
test_files: []
|
151
|
+
has_rdoc: true
|