unitpay 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: 5f80e17e37ec40c85f65d7db95d2081bfa69d3d1
4
- data.tar.gz: 2df24e17305806bb4930decbe2ad3322cdc6dbe7
3
+ metadata.gz: acfaaf225e410fc5732ed5d3385fd98adcf506ed
4
+ data.tar.gz: 16755b706b4e6e6401d83d48dca515c5ee6901b8
5
5
  SHA512:
6
- metadata.gz: e05e226f14007a31c53ca259fd8f808639dc24efde617e718e4f844c5da1d6f3e09a9ab15608d3463c7206812832ea96ce25b824ecd82476b785f5fdbe083db3
7
- data.tar.gz: 985a56a9a39e6358802242e29007d5ddcd590bedb0a84e6427debf9506f28d4afc10016b81e4caa8c411cb9ad91d35d82baf4ea3b4a0f386f7007d6ffe8dc188
6
+ metadata.gz: cd50c6d01f2670b9a5883eb8dff649c5f2e404a7b7a980d5a62a65f4f4720217ec30504b2581966c916a0112eba75ecdcb518b66fcd933f096849acf68622415
7
+ data.tar.gz: 59973bf3b76a38f870726714a766a546eb00cd7a38cd715ac18faf7615799f7bfca2c6f5816709599efccb69eb6377558752327365ce3040ca4f2722f4c429c0
@@ -16,14 +16,7 @@ module Unitpay
16
16
  end
17
17
 
18
18
  def params_for_widget(sum, account, desc)
19
- {
20
- publicKey: public_key,
21
- sum: sum,
22
- account: account,
23
- desc: desc,
24
- currency: 'RUB',
25
- sign: calculate_sign(sum, account, desc)
26
- }
19
+ main_params(sum, account, desc).merge(publicKey: public_key)
27
20
  end
28
21
 
29
22
  def valid_sign?(current_sign, sum, account, desc)
@@ -1,3 +1,3 @@
1
1
  module Unitpay
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: unitpay
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
  - ssnikolay