payu_api 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/payu_api.rb +1 -1
- data/lib/payu_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee3df6530ace9f0f0d51dd17c594399f3704c3fd
|
4
|
+
data.tar.gz: e9c9b03bf87b50a12025d85e0582872765208673
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64769f6c387051f59b6b017823e69c6690c4c8c498659c132439a8c5dea94191f80175d782e61ad7fcf24ac5c7425bfbee8e29bf09949209c277757dda9e04f5
|
7
|
+
data.tar.gz: 766ce3bd8bf192da62a146bef5ba3db48634e1ae4f65727509f92d33d955d194929a1fa3492595f3da54cd166ca1749b363ee076a75c0bd7ac1419ac1a7f480a
|
data/lib/payu_api.rb
CHANGED
@@ -24,7 +24,7 @@ module PayuAPI
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def self.signature_valid?(body:, headers:, second_key:)
|
27
|
-
signature = BuildSignature(body: body, second_key: second_key).call
|
27
|
+
signature = BuildSignature.new(body: body, second_key: second_key).call
|
28
28
|
headers['OpenPayU-Signature'] == signature
|
29
29
|
end
|
30
30
|
end
|
data/lib/payu_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: payu_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roman Khrebtov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-initializer
|