soar_smaak 0.1.16 → 0.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/soar_smaak/router.rb +2 -0
- data/lib/soar_smaak/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: 2cc39b2e2768e978b5c19847e49b62e5010f5910
|
4
|
+
data.tar.gz: bcbe7c8abe12f46f39f1d18e3119c312b691e6c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afde818d0831a49453938608e226bca5eaddff258ce4eb51b726ed73cc4b7a11e35e065a53e73b1e111159cb2171537aa2f5e430e08868368fe12aa56a72ee1d
|
7
|
+
data.tar.gz: d9a3c00e3a39c8454f758853155e51aebf304e464932d17cd88aa0144905aed5b44752757e95245ea701141ad99255763ac119ef223c1d01c2518fcc20f327d4
|
data/lib/soar_smaak/router.rb
CHANGED
@@ -31,6 +31,8 @@ module SoarSmaak
|
|
31
31
|
end
|
32
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
|
+
session = request.session
|
35
|
+
session['user'] = auth_message.identifier if session
|
34
36
|
env["rack.input"] = body
|
35
37
|
else
|
36
38
|
@auditing.debug("routing non-smaak request")
|
data/lib/soar_smaak/version.rb
CHANGED
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.
|
4
|
+
version: 0.1.17
|
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-08-
|
11
|
+
date: 2016-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|