recurly 2.0.4 → 2.0.5
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.
- data/README.markdown +2 -2
- data/bin/recurly +2 -3
- data/lib/recurly/account.rb +1 -1
- data/lib/recurly/coupon.rb +1 -1
- data/lib/recurly/plan.rb +1 -1
- data/lib/recurly/resource.rb +1 -1
- data/lib/recurly/version.rb +1 -1
- metadata +16 -16
data/README.markdown
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.0.
|
15
|
+
gem 'recurly', '~> 2.0.5'
|
16
16
|
```
|
17
17
|
|
18
18
|
Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
|
@@ -62,7 +62,7 @@ Instructions and examples are available on
|
|
62
62
|
[Recurly's documentation site](http://docs.recurly.com/api/basics).
|
63
63
|
|
64
64
|
Recurly's gem API is available
|
65
|
-
[here](http://rubydoc.info/gems/recurly/2.0.
|
65
|
+
[here](http://rubydoc.info/gems/recurly/2.0.5/frames).
|
66
66
|
|
67
67
|
|
68
68
|
## Contributing
|
data/bin/recurly
CHANGED
@@ -50,9 +50,8 @@ Recurly.api_key = options[:api_key] || ENV['RECURLY_API_KEY']
|
|
50
50
|
include Recurly
|
51
51
|
|
52
52
|
require 'logger'
|
53
|
-
Recurly.logger = Logger.new
|
54
|
-
|
55
|
-
)
|
53
|
+
Recurly.logger = Logger.new STDOUT
|
54
|
+
Recurly.logger.level = options[:verbose] ? Logger::DEBUG : Logger::INFO
|
56
55
|
|
57
56
|
require 'irb'
|
58
57
|
require 'irb/completion'
|
data/lib/recurly/account.rb
CHANGED
@@ -10,7 +10,7 @@ module Recurly
|
|
10
10
|
scope :past_due, :state => :past_due
|
11
11
|
|
12
12
|
# @macro [attach] has_many
|
13
|
-
# @return [Pager<Resource>,
|
13
|
+
# @return [Pager<Resource>, []] A pager that yields $1 for persisted
|
14
14
|
# accounts; an empty array otherwise.
|
15
15
|
has_many :adjustments
|
16
16
|
has_many :invoices
|
data/lib/recurly/coupon.rb
CHANGED
data/lib/recurly/plan.rb
CHANGED
data/lib/recurly/resource.rb
CHANGED
@@ -689,7 +689,7 @@ module Recurly
|
|
689
689
|
value.to_xml options.merge(:builder => node)
|
690
690
|
when Array
|
691
691
|
value.each { |e| node.add_element Helper.singularize(key), e }
|
692
|
-
when Hash
|
692
|
+
when Hash, Recurly::Money
|
693
693
|
value.each_pair { |k, v| node.add_element k.to_s, v }
|
694
694
|
else
|
695
695
|
node.text = value
|
data/lib/recurly/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recurly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-11-
|
12
|
+
date: 2011-11-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
16
|
-
requirement: &
|
16
|
+
requirement: &70183197314660 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.9.2
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70183197314660
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: bundler
|
27
|
-
requirement: &
|
27
|
+
requirement: &70183197313940 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.1.pre.10
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70183197313940
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: minitest
|
38
|
-
requirement: &
|
38
|
+
requirement: &70183197313440 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 2.6.1
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70183197313440
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: webmock
|
49
|
-
requirement: &
|
49
|
+
requirement: &70183197312820 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 1.7.6
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70183197312820
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: guard-minitest
|
60
|
-
requirement: &
|
60
|
+
requirement: &70183197312160 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 0.4.0
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70183197312160
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rb-fsevent
|
71
|
-
requirement: &
|
71
|
+
requirement: &70183197311660 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: 0.4.3.1
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70183197311660
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: growl_notify
|
82
|
-
requirement: &
|
82
|
+
requirement: &70183197311200 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ~>
|
@@ -87,7 +87,7 @@ dependencies:
|
|
87
87
|
version: 0.0.1
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70183197311200
|
91
91
|
description: ! 'An API client library for Recurly: http://recurly.com'
|
92
92
|
email: support@recurly.com
|
93
93
|
executables:
|