qiwi-pay 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/qiwi-pay/payment_operation.rb +1 -1
- data/lib/qiwi-pay/signature.rb +4 -0
- data/lib/qiwi-pay/version.rb +1 -1
- data/lib/qiwi-pay/wpf/auth_operation.rb +1 -1
- data/spec/qiwi-pay/signature_spec.rb +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9764c1135cab1afcb4477834f4aa25175bf120a343a5a79996012cc0939a1ce
|
4
|
+
data.tar.gz: dfe175d31db79f93187e8ec29ea79153e615e27f093aa9b4da56ad9a700af0eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d12c73a17f4e67c052c700bd37843b06a0f6c7a8db854a9e00a73786e95f7afc2bb3ff46da9b231d628b1585645e714ddd9cc45e0c4a291ca265773080d23a4
|
7
|
+
data.tar.gz: e5a5c977e243c5e39ee751e17ddd08acaece3f053742e2edf478c6b82794fb447e73ede4730a77647ee928d4c6705c605b2528a860ed135935b7b2fccce6def6
|
data/Gemfile.lock
CHANGED
data/lib/qiwi-pay/signature.rb
CHANGED
data/lib/qiwi-pay/version.rb
CHANGED
@@ -21,6 +21,18 @@ RSpec.describe QiwiPay::Signature do
|
|
21
21
|
params['sign'] = 'sign2'
|
22
22
|
expect(subject).to eq 'abc|asd|b|cdf|zzz'
|
23
23
|
end
|
24
|
+
|
25
|
+
it 'should ignore `cheque` parameter' do
|
26
|
+
params[:cheque] = 'cheque1'
|
27
|
+
params['cheque'] = 'cheque2'
|
28
|
+
expect(subject).to eq 'abc|asd|b|cdf|zzz'
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'should ignore `merchant_cheque` parameter' do
|
32
|
+
params[:merchant_cheque] = 'cheque1'
|
33
|
+
params['merchant_cheque'] = 'cheque2'
|
34
|
+
expect(subject).to eq 'abc|asd|b|cdf|zzz'
|
35
|
+
end
|
24
36
|
end
|
25
37
|
|
26
38
|
describe '#sign' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qiwi-pay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Klimenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|