restpack-web 0.1.12 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,6 +3,8 @@ require 'restpack-core-client'
3
3
  module RestPack
4
4
  module Web
5
5
  class App
6
+ set :session_secret, 'secret'
7
+
6
8
  def initialize(app, options = {})
7
9
  p "RestPack::Web::App.initialize"
8
10
  @app = app
@@ -20,6 +22,8 @@ module RestPack
20
22
  host = env["SERVER_NAME"]
21
23
  p "RestPack App for #{host}"
22
24
 
25
+
26
+
23
27
  p "Session: #{env['rack.session']}"
24
28
  p "Session: #{env['rack.session'].inspect}"
25
29
  p "userid: #{env['rack.session'][:user_id]}"
@@ -1,5 +1,5 @@
1
1
  module RestPack
2
2
  module Web
3
- VERSION = "0.1.12"
3
+ VERSION = "0.1.13"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restpack-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: