useless 0.0.8 → 0.0.9

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.
data/lib/useless/rack.rb CHANGED
@@ -38,6 +38,8 @@ module Useless
38
38
  end
39
39
 
40
40
  def call(env)
41
+ map = @map
42
+
41
43
  ::Rack::Builder.app do
42
44
  use Middleware::Exceptions
43
45
  use Low::Rack::RequestId
@@ -52,7 +54,7 @@ module Useless
52
54
  use Middleware::Authentication::QueryString
53
55
  use Middleware::Authentication::RequestHeader
54
56
 
55
- run Low::Rack::SubdomainMap.new(Base.new, @map)
57
+ run Low::Rack::SubdomainMap.new(Base.new, map)
56
58
  end.call(env)
57
59
  end
58
60
 
@@ -1,3 +1,3 @@
1
1
  module Useless
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: useless
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: