rack-auth-simples 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  module Rack
2
2
  module Auth
3
3
  class Simples
4
- VERSION = "0.0.5"
4
+ VERSION = "0.0.6"
5
5
  end
6
6
  end
7
7
  end
@@ -62,7 +62,7 @@ module Rack
62
62
 
63
63
  if @exceptions.any?
64
64
  @exceptions.each do |ex|
65
- ex = Regexp.new "^#{Regexp.escape ex}" if ex.is_a? String
65
+ ex = Regexp.new "^#{Regexp.escape ex}$" if ex.is_a? String
66
66
  return app.call(env) if ex =~ env['PATH_INFO']
67
67
  end
68
68
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-auth-simples
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: