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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8056fc6015345ded3d9c2baa486fba05eb194007
4
- data.tar.gz: a5ea96ebc7a49118092a9da20d2ec62c67f37fe6
3
+ metadata.gz: 615971adab741e3ada83a3ab5d5dc00552a651eb
4
+ data.tar.gz: 7c25904c92d18fcd7b4ec580c02b7e03e6a5803c
5
5
  SHA512:
6
- metadata.gz: d44276b4d6a7ca35e8a8eb5d8e9070eb31047d9f79f3638d620e78867d124d4d8f6ad3147f78e9fa2bedd89cc8564f4d86717d4c7bf87091f0df1d2d7d688bac
7
- data.tar.gz: 778377d64a1572a29a6ac9f62d1624a302b03e0e3da2bb2760d2367495c4ae87134920cfa7eaf80eda2f806699423fc08706fc5185ea5d2713eb2bef9fab7f44
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.5'
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 + URI.escape(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}"
@@ -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
 
@@ -2,7 +2,7 @@ module Recurly
2
2
  module Version
3
3
  MAJOR = 2
4
4
  MINOR = 3
5
- PATCH = 5
5
+ PATCH = 6
6
6
  PRE = nil
7
7
 
8
8
  VERSION = [MAJOR, MINOR, PATCH, PRE].compact.join('.').freeze
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.5
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-10-30 00:00:00.000000000 Z
11
+ date: 2014-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake