recurly 2.4.8 → 2.4.9
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/README.md +1 -1
- data/lib/recurly/resource.rb +5 -1
- data/lib/recurly/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 943c4e504f2072cb4a6c55ca21595dec92c1dc41
|
4
|
+
data.tar.gz: fd52ef67b6eb268843d2e39e4f51ae61d64c099b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d5f59a05dc2d8de819345e8273fea982a5e477776efdc72142579e5b7505f11a80c55214669e7ed82009781e745d7b4df2c237ffae1e1272be35c5fdff86116
|
7
|
+
data.tar.gz: 9c980c2b23526ccf4863ec5a4e212ed798021345ec90253e624b6dc629cc16e2d63a4cbac866c61ca1f09c598504564476efb85fcb2878e5b1362b6be9febd1d
|
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.9'
|
16
16
|
```
|
17
17
|
|
18
18
|
Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
|
data/lib/recurly/resource.rb
CHANGED
@@ -478,7 +478,11 @@ module Recurly
|
|
478
478
|
associations << Association.new(:has_many, collection_name.to_s, options)
|
479
479
|
associations_helper.module_eval do
|
480
480
|
define_method collection_name do
|
481
|
-
self[collection_name]
|
481
|
+
if self[collection_name]
|
482
|
+
self[collection_name]
|
483
|
+
else
|
484
|
+
attributes[collection_name] = []
|
485
|
+
end
|
482
486
|
end
|
483
487
|
if options.key?(:readonly) && options[:readonly] == false
|
484
488
|
define_method "#{collection_name}=" do |collection|
|
data/lib/recurly/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|