restpack-web 0.0.6 → 0.0.7

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.
@@ -1,12 +1,12 @@
1
1
  module RestPack
2
2
  module Web
3
3
  class App
4
- def initialize(app, settings = {})
5
- p "RestPack::Web::App.initialize"
4
+ def initialize(app)#, settings = {})
5
+ #p "RestPack::Web::App.initialize"
6
6
  @app = app
7
- @settings = settings
7
+ # @settings = settings
8
8
 
9
- p "settings: #{settings}"
9
+ # p "settings: #{settings}"
10
10
  end
11
11
 
12
12
  def call(env)
@@ -14,7 +14,7 @@ module RestPack
14
14
  host = env["SERVER_NAME"]
15
15
 
16
16
  env["restpack"][:host] = host #TODO: GJ: add some magic
17
- env["restpack"][:settings] = @settings
17
+ #env["restpack"][:settings] = @settings
18
18
 
19
19
  @app.call(env)
20
20
  end
@@ -1,5 +1,5 @@
1
1
  module RestPack
2
2
  module Web
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
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.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: