rack-mount 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
data/lib/rack/mount/utils.rb
CHANGED
@@ -99,7 +99,7 @@ module Rack::Mount
|
|
99
99
|
module_function :normalize_extended_expression
|
100
100
|
|
101
101
|
def parse_regexp(regexp)
|
102
|
-
cache =
|
102
|
+
cache = @@_parse_regexp_cache ||= {}
|
103
103
|
|
104
104
|
if expression = cache[regexp]
|
105
105
|
return expression
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-mount
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Peek
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
12
|
+
date: 2010-01-10 00:00:00 -06:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|