allpay 0.0.3 → 0.0.4

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: 64e6c1550a7f62813b4c677be23a08dc2589f4eb
4
- data.tar.gz: 0ffe470c0c7ac180bbcd77c116904312c821e723
3
+ metadata.gz: 9b3a0957cdad73d9724b4d7106ba3f8124e14dd3
4
+ data.tar.gz: 43b9aeec0c8649e309f7b54ecd36a4a35c90b853
5
5
  SHA512:
6
- metadata.gz: 304f8b9d6e9dcd422c0b4360bd08023f46248a580811e1f81da4a65804c5011c71a471d74193a720fd3c14ba13b280a688b8d8d90ea681d0e2b9050cfb2d2ed6
7
- data.tar.gz: 52208ee5c01f2aec4537d0a1e99f6b19614fcc025a9556cb6bfb74701835cfa7ca8957e091ba499d9637cbbfec75e2574ed7262644d327f0edf7aadecce0cd4c
6
+ metadata.gz: cccf241c5d0c56716d7d57a4cebb83e449906f66a5fcb2068e9a35e67d77e8a78846018f15a06ab7c5c56dad4896d17b33c9af8844f3b61e28e46a7143a3345c
7
+ data.tar.gz: f2153042784c7a9d194b7152f39b83599a66a93ff4b966e1e015642372823a51065da23112e27b04c3e22907141fef8f9b82e8fcdfb6bb765738197bb4236f96
@@ -35,7 +35,7 @@ module Allpay
35
35
  'MerchantID' => merchant_id,
36
36
  'MerchantTradeNo' => options[:merchant_trade_no] || SecureRandom.hex(10),
37
37
  'MerchantTradeDate' => options[:merchant_trade_date] || Time.now.strftime('%Y/%m/%d %H:%M:%S'),
38
- 'TradeAmount' => options[:trade_amount] || 10000,
38
+ 'TradeAmount' => options[:trade_amount] || 0,
39
39
  'ExpireDate' => options[:expire_date] || '7',
40
40
  'BankName' => options[:bank_name] || "CHINATRUST",
41
41
  'ReplyURL' => options[:reply_url] || "",
@@ -1,3 +1,3 @@
1
1
  module Allpay
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: allpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - odin1in