recurly 2.3.1 → 2.3.2
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 +7 -0
- data/README.md +1 -2
- data/lib/recurly/account.rb +1 -0
- data/lib/recurly/billing_info.rb +3 -2
- data/lib/recurly/subscription.rb +1 -0
- data/lib/recurly/version.rb +1 -1
- metadata +23 -31
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f86fa47fb0bde59dcd98d13ccc11c4d44d3e6c37
|
4
|
+
data.tar.gz: 46f292d77c78a884f6c3c03298c0c436a97f64d0
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b4c17e5e01d426a5d403603cb55f51a46f0f264b6612dfda51893391d32d8da4480455a742cf0dd7bff2394db02f29948d14253eaf6bc101bf47e52a7fb1eeb4
|
7
|
+
data.tar.gz: 0cb1ab1632b852481f23b9f59524c7fa1a8a8764180d28956252be6bfae96525d42592e24cb01af856bfc8cea71077b67c15510236580615a04d38bdf5e134e2
|
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.3.
|
15
|
+
gem 'recurly', '~> 2.3.2'
|
16
16
|
```
|
17
17
|
|
18
18
|
Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
|
@@ -33,7 +33,6 @@ If you're not using Rails, use the following template:
|
|
33
33
|
``` ruby
|
34
34
|
Recurly.subdomain = ENV['RECURLY_SUBDOMAIN']
|
35
35
|
Recurly.api_key = ENV['RECURLY_API_KEY']
|
36
|
-
Recurly.js.private_key = ENV['RECURLY_JS_PRIVATE_KEY']
|
37
36
|
```
|
38
37
|
|
39
38
|
Configure the client library with
|
data/lib/recurly/account.rb
CHANGED
data/lib/recurly/billing_info.rb
CHANGED
@@ -26,12 +26,13 @@ module Recurly
|
|
26
26
|
first_six
|
27
27
|
last_four
|
28
28
|
paypal_billing_agreement_id
|
29
|
+
amazon_billing_agreement_id
|
29
30
|
number
|
30
31
|
verification_value
|
31
32
|
token_id
|
32
33
|
)
|
33
34
|
|
34
|
-
# @return ["credit_card", "paypal", nil] The type of billing info.
|
35
|
+
# @return ["credit_card", "paypal", "amazon", nil] The type of billing info.
|
35
36
|
attr_reader :type
|
36
37
|
|
37
38
|
# @return [String]
|
@@ -39,7 +40,7 @@ module Recurly
|
|
39
40
|
attributes = self.class.attribute_names
|
40
41
|
case type
|
41
42
|
when 'credit_card'
|
42
|
-
attributes -= %w(paypal_billing_agreement_id)
|
43
|
+
attributes -= %w(paypal_billing_agreement_id amazon_billing_agreement_id)
|
43
44
|
when 'paypal'
|
44
45
|
attributes -= %w(
|
45
46
|
card_type year month start_year start_month issue_number
|
data/lib/recurly/subscription.rb
CHANGED
data/lib/recurly/version.rb
CHANGED
metadata
CHANGED
@@ -1,65 +1,58 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recurly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
5
|
-
prerelease:
|
4
|
+
version: 2.3.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Recurly
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2014-
|
11
|
+
date: 2014-09-10 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rake
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 0.9.2
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 0.9.2
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: minitest
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - ~>
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 2.6.1
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- - ~>
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 2.6.1
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: webmock
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- - ~>
|
45
|
+
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: 1.7.6
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- - ~>
|
52
|
+
- - "~>"
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: 1.7.6
|
62
|
-
description:
|
55
|
+
description: 'An API client library for Recurly: http://recurly.com'
|
63
56
|
email: support@recurly.com
|
64
57
|
executables:
|
65
58
|
- recurly
|
@@ -67,17 +60,20 @@ extensions: []
|
|
67
60
|
extra_rdoc_files:
|
68
61
|
- README.md
|
69
62
|
files:
|
63
|
+
- README.md
|
64
|
+
- bin/recurly
|
70
65
|
- lib/ecurly.rb
|
71
66
|
- lib/rails/generators/recurly/config_generator.rb
|
72
67
|
- lib/rails/recurly.rb
|
68
|
+
- lib/recurly.rb
|
73
69
|
- lib/recurly/account.rb
|
74
70
|
- lib/recurly/add_on.rb
|
75
71
|
- lib/recurly/address.rb
|
76
72
|
- lib/recurly/adjustment.rb
|
77
73
|
- lib/recurly/all.rb
|
74
|
+
- lib/recurly/api.rb
|
78
75
|
- lib/recurly/api/errors.rb
|
79
76
|
- lib/recurly/api/net_http_adapter.rb
|
80
|
-
- lib/recurly/api.rb
|
81
77
|
- lib/recurly/billing_info.rb
|
82
78
|
- lib/recurly/coupon.rb
|
83
79
|
- lib/recurly/helper.rb
|
@@ -86,48 +82,44 @@ files:
|
|
86
82
|
- lib/recurly/money.rb
|
87
83
|
- lib/recurly/plan.rb
|
88
84
|
- lib/recurly/redemption.rb
|
85
|
+
- lib/recurly/resource.rb
|
89
86
|
- lib/recurly/resource/errors.rb
|
90
87
|
- lib/recurly/resource/pager.rb
|
91
|
-
- lib/recurly/resource.rb
|
92
|
-
- lib/recurly/subscription/add_ons.rb
|
93
88
|
- lib/recurly/subscription.rb
|
89
|
+
- lib/recurly/subscription/add_ons.rb
|
94
90
|
- lib/recurly/subscription_add_on.rb
|
95
91
|
- lib/recurly/tax_detail.rb
|
96
|
-
- lib/recurly/transaction/errors.rb
|
97
92
|
- lib/recurly/transaction.rb
|
93
|
+
- lib/recurly/transaction/errors.rb
|
98
94
|
- lib/recurly/version.rb
|
95
|
+
- lib/recurly/xml.rb
|
99
96
|
- lib/recurly/xml/nokogiri.rb
|
100
97
|
- lib/recurly/xml/rexml.rb
|
101
|
-
- lib/recurly/xml.rb
|
102
|
-
- lib/recurly.rb
|
103
|
-
- README.md
|
104
|
-
- bin/recurly
|
105
98
|
homepage: https://github.com/recurly/recurly-client-ruby
|
106
99
|
licenses:
|
107
100
|
- MIT
|
101
|
+
metadata: {}
|
108
102
|
post_install_message:
|
109
103
|
rdoc_options:
|
110
|
-
- --main
|
104
|
+
- "--main"
|
111
105
|
- README.md
|
112
106
|
require_paths:
|
113
107
|
- lib
|
114
108
|
required_ruby_version: !ruby/object:Gem::Requirement
|
115
|
-
none: false
|
116
109
|
requirements:
|
117
|
-
- -
|
110
|
+
- - ">="
|
118
111
|
- !ruby/object:Gem::Version
|
119
112
|
version: 1.9.3
|
120
113
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
114
|
requirements:
|
123
|
-
- -
|
115
|
+
- - ">="
|
124
116
|
- !ruby/object:Gem::Version
|
125
117
|
version: '0'
|
126
118
|
requirements: []
|
127
119
|
rubyforge_project:
|
128
|
-
rubygems_version:
|
120
|
+
rubygems_version: 2.4.1
|
129
121
|
signing_key:
|
130
|
-
specification_version:
|
122
|
+
specification_version: 4
|
131
123
|
summary: Recurly API Client
|
132
124
|
test_files: []
|
133
125
|
has_rdoc: true
|