sepafm 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sepa/banks/op/op_response.rb +4 -2
- data/lib/sepa/version.rb +1 -1
- data/test/sepa/sepa_test.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: 2e8cd0f6ded38879c6bc80cf8317c1408961a78a
|
4
|
+
data.tar.gz: 489811f606bd70d7d09e9f4dcc6b9631eb0bf768
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b95273482e6874dccadc4efc346f7da897291302457c6e1e6752f3fbca627317c079a276bcf198f630ba3df433ccb50a5e2da5382e3d6ec9181b7b2749b9fcb
|
7
|
+
data.tar.gz: b623ef3633002ee4744d42e9680cca7df051ee541784e3bdba61c01b0ac04b86cd0e220debd95953a41905552086c4c45ba5ba5c21497980e61aa6d35336cd7a
|
@@ -58,13 +58,15 @@ module Sepa
|
|
58
58
|
|
59
59
|
# Checks whether the certificate embedded in the response soap has been signed with OP's
|
60
60
|
# root certificate. The check is skipped in test environment, because a different root
|
61
|
-
# certificate is used
|
61
|
+
# certificate is used. The check is also skipped for certificate requests because they are not
|
62
|
+
# signed
|
62
63
|
#
|
63
64
|
# @return [true] if certificate is trusted
|
64
65
|
# @return [false] if certificate fails to verify
|
65
66
|
# @see DanskeResponse#certificate_is_trusted?
|
66
67
|
def certificate_is_trusted?
|
67
|
-
return true if environment == :test
|
68
|
+
return true if environment == :test || BYPASS_COMMANDS.include?(command)
|
69
|
+
|
68
70
|
verify_certificate_against_root_certificate(certificate, OP_ROOT_CERTIFICATE)
|
69
71
|
end
|
70
72
|
|
data/lib/sepa/version.rb
CHANGED
data/test/sepa/sepa_test.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sepafm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joni Kanerva
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-12-
|
13
|
+
date: 2015-12-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activemodel
|