stripe 1.29.0 → 1.29.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cad15842f509a5f748f5e644a3932ea8b45ae480
4
- data.tar.gz: defecc310910f380f32d973ec2c1032b08e85a51
3
+ metadata.gz: 0b9e8f6bee77355210ab7840518f5431fa5f6d64
4
+ data.tar.gz: 41d8c8947f222064f0828654a4c50a427e4e1c1c
5
5
  SHA512:
6
- metadata.gz: 0776d66e4e13d87f2b5478e24cd00e4e00c4990bf7cf2f0e652e6f052cb17c7e90c0e4514f8ab7daa485b33751acf79fa11d6a1d5908d5536f2a63d7fdf2fc3a
7
- data.tar.gz: 0e1e2e41df59fb7ec775240b279a4bde6087883d37024b6f01794ccdc0ab91aaa100b39c35b06e5f8242f246f9e8d3ff8dd9795ed12ceab9a69404b2dbaca2ea
6
+ metadata.gz: 1a8cb17d34c2059cea9e03130a8f866bf69f97e50c7b7a9db0d7996e303dad9a6513cd912aac2f761201564b1bd00796dda984244d88bc843f6c544662eead7b
7
+ data.tar.gz: 424ec01caad2a38b43e2655381ccad190fba4e7fc8bfb1e46111b181d364273de0215e07b6bd6773a1557b9267eb054d0d91b1ae464c68b726fa2f1573c1edca
@@ -1,3 +1,7 @@
1
+ === 1.29.1 2015-10-06
2
+
3
+ * Fix bug where ampersands were not being properly encoded
4
+
1
5
  === 1.29.0 2015-10-05
2
6
 
3
7
  * Add pagination helpers `#auto_paging_each`, `#previous_page`, and `#next_page`
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.29.1
@@ -1,5 +1,3 @@
1
- require "webrick"
2
-
3
1
  module Stripe
4
2
  module Util
5
3
  def self.objects_to_ids(h)
@@ -95,10 +93,7 @@ module Stripe
95
93
  end
96
94
 
97
95
  def self.url_encode(key)
98
- # Unfortunately, URI.escape was deprecated. Here we use a method from
99
- # WEBrick instead given that it's a fairly close approximation (credit to
100
- # the AWS Ruby SDK for coming up with the technique).
101
- WEBrick::HTTPUtils.escape(key.to_s).gsub('%5B', '[').gsub('%5D', ']')
96
+ URI.escape(key.to_s, Regexp.new("[^#{URI::PATTERN::UNRESERVED}]"))
102
97
  end
103
98
 
104
99
  def self.flatten_params(params, parent_key=nil)
@@ -1,3 +1,3 @@
1
1
  module Stripe
2
- VERSION = '1.29.0'
2
+ VERSION = '1.29.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.29.0
4
+ version: 1.29.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Boucher
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-10-05 00:00:00.000000000 Z
12
+ date: 2015-10-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client