stripe 1.29.0 → 1.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/History.txt +4 -0
- data/VERSION +1 -1
- data/lib/stripe/util.rb +1 -6
- data/lib/stripe/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: 0b9e8f6bee77355210ab7840518f5431fa5f6d64
|
|
4
|
+
data.tar.gz: 41d8c8947f222064f0828654a4c50a427e4e1c1c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1a8cb17d34c2059cea9e03130a8f866bf69f97e50c7b7a9db0d7996e303dad9a6513cd912aac2f761201564b1bd00796dda984244d88bc843f6c544662eead7b
|
|
7
|
+
data.tar.gz: 424ec01caad2a38b43e2655381ccad190fba4e7fc8bfb1e46111b181d364273de0215e07b6bd6773a1557b9267eb054d0d91b1ae464c68b726fa2f1573c1edca
|
data/History.txt
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.29.
|
|
1
|
+
1.29.1
|
data/lib/stripe/util.rb
CHANGED
|
@@ -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
|
-
|
|
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)
|
data/lib/stripe/version.rb
CHANGED
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.
|
|
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-
|
|
12
|
+
date: 2015-10-06 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rest-client
|