ralipay 2.0.0 → 2.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e26d6b6be75cf675ea3f45be20a3c3c19fb872e
4
- data.tar.gz: bac3081e027abaca474b97d580bba955fde3442c
3
+ metadata.gz: 1578ede43795a1e0e1c2b8d5a7a2f95ae5b6b38b
4
+ data.tar.gz: e055b1783418cef5169ef813bb545ede8a18ee75
5
5
  SHA512:
6
- metadata.gz: ef23cdd4fc18774115e557884915af3414ed1a69a594a7dfb548edac6f31bfbf30db6d8936e1ca94ce2d084e15d6c785dd639cdb6acdea63a71405f94588ecb9
7
- data.tar.gz: f93e780a7af61d8e4eaa4286cb19adf865bc0b4a81f559d9b37c659a0e9f8adcbd21deab411481f349243bea05304fc16b7349429a3bd396d785cfd70242d7f4
6
+ metadata.gz: fb4a4f17bcaea31caf5029772e096d6c96296ca53f7b6b2b357157bd824da0e403fc9f4db824c1abf979a3c42e02333cf01397c7835afa7e64a3d681212632ed
7
+ data.tar.gz: fe428b5cce7a000a51ec551d045c0547936821777f31488e643ce6d916e2e743924eb0f8dbd1adb2d8f67c3a5613096f5c452c45a5c135efe010fcfd9c89afed
@@ -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] + '&notify_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] + '&notify_id=' + origin_params[:notify_id]).read
336
336
  if response == 'true'
@@ -1,3 +1,3 @@
1
1
  module Ralipay
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
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.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-09 00:00:00.000000000 Z
11
+ date: 2013-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler