ralipay 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ralipay.rb +4 -4
- data/lib/ralipay/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: 1578ede43795a1e0e1c2b8d5a7a2f95ae5b6b38b
|
4
|
+
data.tar.gz: e055b1783418cef5169ef813bb545ede8a18ee75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb4a4f17bcaea31caf5029772e096d6c96296ca53f7b6b2b357157bd824da0e403fc9f4db824c1abf979a3c42e02333cf01397c7835afa7e64a3d681212632ed
|
7
|
+
data.tar.gz: fe428b5cce7a000a51ec551d045c0547936821777f31488e643ce6d916e2e743924eb0f8dbd1adb2d8f67c3a5613096f5c452c45a5c135efe010fcfd9c89afed
|
data/lib/ralipay.rb
CHANGED
@@ -287,7 +287,7 @@ module Ralipay
|
|
287
287
|
sign = gets[:sign]
|
288
288
|
gets = Ralipay::Common::para_filter(gets)
|
289
289
|
for_sign = Ralipay::Common::create_link_string(gets)
|
290
|
-
for_sign = CGI.unescape for_sign
|
290
|
+
#for_sign = CGI.unescape for_sign
|
291
291
|
sign == Ralipay::Common::md5_sign(for_sign + $global_configs[:key])
|
292
292
|
end
|
293
293
|
|
@@ -297,7 +297,7 @@ module Ralipay
|
|
297
297
|
sign = gets[:sign]
|
298
298
|
gets = Ralipay::Common::para_filter(gets)
|
299
299
|
for_sign = Ralipay::Common::create_link_string(gets)
|
300
|
-
for_sign = CGI.unescape for_sign
|
300
|
+
#for_sign = CGI.unescape for_sign
|
301
301
|
if sign == Ralipay::Common::md5_sign(for_sign + $global_configs[:key])
|
302
302
|
origin_params
|
303
303
|
else
|
@@ -313,7 +313,7 @@ module Ralipay
|
|
313
313
|
sign = posts[:sign]
|
314
314
|
posts = Ralipay::Common::para_filter(posts)
|
315
315
|
for_sign = Ralipay::Common::create_link_string(posts)
|
316
|
-
for_sign = CGI.unescape for_sign
|
316
|
+
#for_sign = CGI.unescape for_sign
|
317
317
|
if sign == Ralipay::Common::md5_sign(for_sign + $global_configs[:key])
|
318
318
|
response = open('http://notify.alipay.com/trade/notify_query.do?' + 'partner=' + $global_configs[:partner] + '¬ify_id=' + origin_params[:notify_id]).read
|
319
319
|
response == 'true'
|
@@ -330,7 +330,7 @@ module Ralipay
|
|
330
330
|
sign = posts[:sign]
|
331
331
|
posts = Ralipay::Common::para_filter(posts)
|
332
332
|
for_sign = Ralipay::Common::create_link_string(posts)
|
333
|
-
for_sign = CGI.unescape for_sign
|
333
|
+
#for_sign = CGI.unescape for_sign
|
334
334
|
if sign == Ralipay::Common::md5_sign(for_sign + $global_configs[:key])
|
335
335
|
response = open('http://notify.alipay.com/trade/notify_query.do?' + 'partner=' + $global_configs[:partner] + '¬ify_id=' + origin_params[:notify_id]).read
|
336
336
|
if response == 'true'
|
data/lib/ralipay/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ralipay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- RaymondChou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|