sinatra-router 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/sinatra/router.rb +1 -1
  2. metadata +2 -2
@@ -80,7 +80,7 @@ module Sinatra
80
80
  status, headers, response = app.call(env)
81
81
 
82
82
  # if we got a pass, keep trying routes
83
- return nil if headers["X-Cascade"] == "pass"
83
+ next if headers["X-Cascade"] == "pass"
84
84
 
85
85
  return status, headers, response
86
86
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-router
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-31 00:00:00.000000000 Z
12
+ date: 2013-03-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra