recurly 2.3.5 → 2.3.6
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/api/net_http_adapter.rb +1 -1
- data/lib/recurly/resource.rb +2 -0
- 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: 615971adab741e3ada83a3ab5d5dc00552a651eb
|
4
|
+
data.tar.gz: 7c25904c92d18fcd7b4ec580c02b7e03e6a5803c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8be25bb57334058861bfa5ca01f2049cc311f7bc5e39545679214eb1c33fabe8484219cd6378c8978fec260befd6625e46ee766c88d579c66ca0c828f40ca3dc
|
7
|
+
data.tar.gz: 6cf9096016733377b9fb59ba7041945cdd763638add7827924a74904a82f94ffbda1887fafb5bb83a244856b16a61ff998698bd8326b731f324fa9a3901f1995
|
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.6'
|
16
16
|
```
|
17
17
|
|
18
18
|
Recurly will automatically use [Nokogiri](http://nokogiri.org/) (for a nice
|
@@ -36,7 +36,7 @@ module Recurly
|
|
36
36
|
head = headers.dup
|
37
37
|
head.update options[:head] if options[:head]
|
38
38
|
head.delete_if { |_, value| value.nil? }
|
39
|
-
uri = base_uri +
|
39
|
+
uri = base_uri + uri
|
40
40
|
if options[:params] && !options[:params].empty?
|
41
41
|
pairs = options[:params].map { |key, value|
|
42
42
|
"#{CGI.escape key.to_s}=#{CGI.escape value.to_s}"
|
data/lib/recurly/resource.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'date'
|
2
|
+
require 'erb'
|
2
3
|
|
3
4
|
module Recurly
|
4
5
|
# The base class for all Recurly resources (e.g. {Account}, {Subscription},
|
@@ -184,6 +185,7 @@ module Recurly
|
|
184
185
|
# Recurly::Account.member_path "code" # => "accounts/code"
|
185
186
|
# Recurly::Account.member_path nil # => "accounts"
|
186
187
|
def member_path uuid
|
188
|
+
uuid = ERB::Util.url_encode(uuid) if uuid
|
187
189
|
[collection_path, uuid].compact.join '/'
|
188
190
|
end
|
189
191
|
|
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.3.
|
4
|
+
version: 2.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|