struggle 1.4.0 → 1.4.1

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: 68f728a5c07b423ef59b480f033b77e46bc6997e
4
- data.tar.gz: 1332ba0c0e124ed7553387e2273a185a17b55db9
3
+ metadata.gz: d57e362537309d714e491badfc03e7beb4a1cb1c
4
+ data.tar.gz: e8eeea48b196e69ef9760bb55ede6f423cd281fb
5
5
  SHA512:
6
- metadata.gz: f91492c32042a41b477184150ab4b51fee5839bd859db1133e17046dde5c94ad7750c536643541c9d9a5fb93fb76ae3a42f3d381bf5a7765f4d233c363c3dfea
7
- data.tar.gz: ec3dfbfdbdba4db96141b053e42f794de1988833e7f24308f54452acc953068778f8cf0b363a425f28d17e4223975eeaafa7f755d7a2cd38aec8e3cfaf75e8cc
6
+ metadata.gz: c3f94f46bb9f2afd8f2d236bcd66c78df63af908ac8dbe138eea25f50ba7a7817cc9120deafd892f4ac6aa69632f780973bce7cfd5d3f6486d29422e6780d1a4
7
+ data.tar.gz: cea68869e0c166599897a8e8c6500b66cc4a41d8653ccef5e984be4563e7748a8f63357fd73b2104a637b89406da9c9008d897c9065c0970b5d8ff2732ba22b0
@@ -51,7 +51,7 @@ module Struggle
51
51
  # 20(表示支付成功)
52
52
  # 30(表示支付失败)
53
53
  if v_pstatus=="20" && v_md5str==Digest::MD5.hexdigest(v_oid+v_pstatus+v_amount+v_moneytype+key)
54
- return params["v_oid"]
54
+ return {code: params["v_oid"], amount: v_amount}
55
55
  else
56
56
  return nil
57
57
  end
data/struggle.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'struggle'
3
- s.version = '1.4.0'
4
- s.date = '2015-07-15'
3
+ s.version = '1.4.1'
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;"
7
7
  s.authors = ["lean"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: struggle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - lean
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-15 00:00:00.000000000 Z
11
+ date: 2015-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: iconv