mastercard_api_core 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mastercard/core/util.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 67c30ddd3e3dba043ac66ca44b1d6e51ae9af256
4
- data.tar.gz: aaa506eb13f5daadd7dbfa2d91074ae244530de0
3
+ metadata.gz: fccd8bb4ecc7687736857f6f602e65a3bd65166a
4
+ data.tar.gz: c5fca322f40cc286d53dec2526c3cc88c4f4d44e
5
5
  SHA512:
6
- metadata.gz: 5758d15e7d61656353cd88d82dd5fabd056dacb2c5895b58e080b8a024a46d6c4a8cb7ebf9d22676b836aba24554a4e4f4805183ad9342247cbb10446b510685
7
- data.tar.gz: deb424db559d761e42b409b9c4e2a561b2afad7ce0fb55875c6c90739e2e8faacd89934044b996438d62b1313f28a2532a11ecba97756a31969b15602753c862
6
+ metadata.gz: 32cfb589624d3e9ee8e6212dd7cfa2ad8fc4cdd77a3b3b93f98fc6af2f50e129998442fd1812fd77f3b36c538224377f27cfce1cebf19cb4b6d7bec90cea0437
7
+ data.tar.gz: 348dcedd35ddde92589db4218c16d3bc33c9bf9a3e27c6846b5d64728ce02781cfd0c684e7b7d35823e484004e5c3373922709315626801b52c31fc8df7cbe7c
@@ -65,8 +65,8 @@ module MasterCard
65
65
 
66
66
  normalizedParams[key] = value
67
67
  end
68
-
69
- return normalizedParams.map{ |k,v| "#{CGI.escape(k.to_s)}=#{CGI.escape(v.to_s)}"}.join("&")
68
+ normalizedParams = normalizedParams.map{ |k,v| "#{CGI.escape(k.to_s)}=#{CGI.escape(v.to_s)}"}.join("&")
69
+ return normalizedParams.gsub("+","%20")
70
70
  end
71
71
 
72
72
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mastercard_api_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - MasterCard Worldwide