unitpay 1.0.0 → 1.0.1

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: a28c1859c1ef131cc7118cdbbd555cc7b06855e7
4
- data.tar.gz: 508c16d2a0b4bf63b405119c9c1bcfc58eab2529
3
+ metadata.gz: 2985237c3bc106609d9f78ea42ebbb15bb72178d
4
+ data.tar.gz: c6d8dba876f39b465293d7942bd0472b5b051b7c
5
5
  SHA512:
6
- metadata.gz: f78db710b3b230e3be7d7ab232821890b27831a546aa6338976df483315f66615cae19834c6bd6909d5b783080286cada168e5206123c2ce099fc58fd990f141
7
- data.tar.gz: 28b557d8bbfd3fe5594db24fc72eee568188dbf3df914f91623400807853a671763c428e1825c5f3418202a4b4ca7f4d1b08e8135a72c1615fefe869b68d053d
6
+ metadata.gz: f5eebc9af8276080d573e1b58b71f8aeba405534b406eea93ed3756b5b09f93d085f81eb6ba27537351e0ad7a199e1963cfa4b8af427b9edf07f9ec7255926b2
7
+ data.tar.gz: 4de15a3abbfb805cfa7e8c7a3233afad6599cfab0d63eff03bb6d51198dccb1f77c4d3b4a6e55e0111edb006df783e8b7ee0c10f9e5ad2aff4865708e6713027
@@ -24,6 +24,7 @@ module Unitpay
24
24
  end
25
25
 
26
26
  def valid_action_signature?(method, params)
27
+ return false if params.nil? || params[:signature].nil?
27
28
  params[:signature] == calculate_action_sign(method, params)
28
29
  end
29
30
 
@@ -1,3 +1,3 @@
1
1
  module Unitpay
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unitpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ssnikolay
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-21 00:00:00.000000000 Z
11
+ date: 2016-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler