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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 63ece19e8382a4ffc71ae575a9209746b3c70c3b
4
- data.tar.gz: d2228eeb439fd3981fbd0e28a7c2ccc41799d7fd
3
+ metadata.gz: ee3df6530ace9f0f0d51dd17c594399f3704c3fd
4
+ data.tar.gz: e9c9b03bf87b50a12025d85e0582872765208673
5
5
  SHA512:
6
- metadata.gz: ce27bd08cf451a1b88ec0f3fab5ddeba2f9ab6e649dcbb83b8ee47c16f2e3c3eb97aba8183ecb107c23d2526aca84eeb88790c77cb8132b8e3369c9bf67ccb89
7
- data.tar.gz: cba3a104818e15dce63c1c59d1e3977ce9c168e5ea448fdfa5366633e6ffbd98ba960187468836a472910c538619f4d701a8977024e878eb71aec06b0c294e5c
6
+ metadata.gz: 64769f6c387051f59b6b017823e69c6690c4c8c498659c132439a8c5dea94191f80175d782e61ad7fcf24ac5c7425bfbee8e29bf09949209c277757dda9e04f5
7
+ data.tar.gz: 766ce3bd8bf192da62a146bef5ba3db48634e1ae4f65727509f92d33d955d194929a1fa3492595f3da54cd166ca1749b363ee076a75c0bd7ac1419ac1a7f480a
@@ -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
@@ -1,3 +1,3 @@
1
1
  module PayuAPI
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
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.2
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-09 00:00:00.000000000 Z
11
+ date: 2016-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-initializer