struggle 1.4.1 → 1.4.2

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: d57e362537309d714e491badfc03e7beb4a1cb1c
4
- data.tar.gz: e8eeea48b196e69ef9760bb55ede6f423cd281fb
3
+ metadata.gz: 493ee67240e333425983862b26e09992f790ac4c
4
+ data.tar.gz: 478b22a3c1ae9bbf4a801242fa2034dbd353fa8a
5
5
  SHA512:
6
- metadata.gz: c3f94f46bb9f2afd8f2d236bcd66c78df63af908ac8dbe138eea25f50ba7a7817cc9120deafd892f4ac6aa69632f780973bce7cfd5d3f6486d29422e6780d1a4
7
- data.tar.gz: cea68869e0c166599897a8e8c6500b66cc4a41d8653ccef5e984be4563e7748a8f63357fd73b2104a637b89406da9c9008d897c9065c0970b5d8ff2732ba22b0
6
+ metadata.gz: ca9f73094ab238e160073f244709e7e6c52f776548bb579d2df3c992ae2f83d9e56abddf96133afc7f6d4fb5293ae45c6df472b110dc7f9ab15f465f2f80dc9d
7
+ data.tar.gz: 994c2e5bd308cf77ac80bc6690e68bdf46cb4bbe307ab1980b599f7821e6993d49fecf581ec757f30a5935a6121213a49636407fb760481e11200022d2863d30
@@ -50,7 +50,7 @@ module Struggle
50
50
  v_moneytype = params["v_moneytype"]
51
51
  # 20(表示支付成功)
52
52
  # 30(表示支付失败)
53
- if v_pstatus=="20" && v_md5str==Digest::MD5.hexdigest(v_oid+v_pstatus+v_amount+v_moneytype+key)
53
+ if v_pstatus=="20" && v_md5str==Digest::MD5.hexdigest(v_oid+v_pstatus+v_amount+v_moneytype+key).upcase
54
54
  return {code: params["v_oid"], amount: v_amount}
55
55
  else
56
56
  return nil
data/struggle.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'struggle'
3
- s.version = '1.4.1'
3
+ s.version = '1.4.2'
4
4
  s.date = '2015-07-28'
5
5
  s.summary = "struggle!"
6
6
  s.description = "vcode,fileupload,pager,func,logistic,pay_gateway,tmagick,html_extend;"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: struggle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - lean