soar_smaak 0.1.14 → 0.1.15

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: 4dd32ee9f3d23dfb851a6c6ba5c708744dca471a
4
- data.tar.gz: d2af9080f9efe8c2b594e0b6e7058f9176a1efac
3
+ metadata.gz: 8b89ea4aee4907dd26a0b73d62b5bf3303e1a674
4
+ data.tar.gz: b22a9dfa32d7c0d3d5938841ef0f8a5a95f1b9b2
5
5
  SHA512:
6
- metadata.gz: ba0d899a12ad7ae065abe67bb7a4b9308dba6497007b225901670cfcff82487ae51bbee398ad5719841431adb6a23cfa128a1a9b42507790b28274748288d685
7
- data.tar.gz: 61771b192cd935d8635e938e8c251f729f62ef6455bd4007c587f6ab10561afbd80640e4a202180f75ae62d768b42e8f54d57d382fbf79d729a757e6b3a6bf98
6
+ metadata.gz: 3be351b65351e81f1ba96acd210ace4518ae3e3ac3230e7e5bc6ed0ef2cbfc0dcdd44370bf6cb33fa12e71b186baa0c641a261e5f05728c2ae11897345467fba
7
+ data.tar.gz: aeafaa52b575133bc7801b1e8ae4311e0771eddcd7b368146f5e279a208ed1b169b46a492e86215d2d145ddb3fac1b0948bf7e5955be8490ba5e6d92f250e26f
@@ -29,7 +29,7 @@ module SoarSmaak
29
29
  rescue => ex
30
30
  return [500, {"Content-Type" => "text/html"}, ['Unable to route request on SMAAK route. Was your request a SMAAK request?']]
31
31
  end
32
- return [403, {}, [" 403 - Not authorized"]] if not auth_message.identifier
32
+ return [403, {}, [" 403 - Not authorized"]] if not auth_message or not auth_message.identifier
33
33
  @auditing.debug("Smaak: request authorized for #{auth_message.identifier}")
34
34
  env["rack.input"] = body
35
35
  else
@@ -24,9 +24,9 @@ module SoarSmaak
24
24
 
25
25
  def debug(message)
26
26
  if SoarSmaak::SecureService::auditing.nil?
27
- SoarSmaak::SecureService::auditing.debug(message)
28
- else
29
27
  puts message
28
+ else
29
+ SoarSmaak::SecureService::auditing.debug(message)
30
30
  end
31
31
  end
32
32
 
@@ -1,3 +1,3 @@
1
1
  module SoarSmaak
2
- VERSION = "0.1.14"
2
+ VERSION = "0.1.15"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soar_smaak
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernst Van Graan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-07-25 00:00:00.000000000 Z
11
+ date: 2016-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack