useless 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
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: