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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c7d9c799d702dde9e2e14032f93ffb44637867d
4
- data.tar.gz: 66a787c9d9ea3139c8570d08bd8dd3e277ba4515
3
+ metadata.gz: 2cc39b2e2768e978b5c19847e49b62e5010f5910
4
+ data.tar.gz: bcbe7c8abe12f46f39f1d18e3119c312b691e6c7
5
5
  SHA512:
6
- metadata.gz: a5105f548d8339faf2b6562d28f74769048baa4e020f2f5ce5b6219f5bd1b2f7e5bed1102b8294155a705054635e659e52ad4936f030648ce9b7aaf9820e7675
7
- data.tar.gz: faf357d8741f8c62cf5ba7906d5c0c839a3d973751256f743857d5ad7f0bea040d809da7da07ccea446ee87305de65ed7d19abf8f9b099af29819124a48856c8
6
+ metadata.gz: afde818d0831a49453938608e226bca5eaddff258ce4eb51b726ed73cc4b7a11e35e065a53e73b1e111159cb2171537aa2f5e430e08868368fe12aa56a72ee1d
7
+ data.tar.gz: d9a3c00e3a39c8454f758853155e51aebf304e464932d17cd88aa0144905aed5b44752757e95245ea701141ad99255763ac119ef223c1d01c2518fcc20f327d4
@@ -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")
@@ -1,3 +1,3 @@
1
1
  module SoarSmaak
2
- VERSION = "0.1.16"
2
+ VERSION = "0.1.17"
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.16
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-19 00:00:00.000000000 Z
11
+ date: 2016-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack