rack-mount 0.6.7 → 0.6.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -132,12 +132,6 @@ module Rack::Mount
132
132
  else
133
133
  break
134
134
  end
135
-
136
- if index + 1 == parts.size
137
- segments << join_buffer(buf, regexp) if buf
138
- buf = nil
139
- break
140
- end
141
135
  end
142
136
 
143
137
  while segments.length > 0 && (segments.last.nil? || segments.last == '')
@@ -20,7 +20,7 @@ module Rack::Mount
20
20
  old_script_name = env[SCRIPT_NAME].dup
21
21
 
22
22
  begin
23
- env[PATH_INFO] = Utils.normalize_path(env[PATH_INFO].sub(prefix, EMPTY_STRING))
23
+ env[PATH_INFO] = env[PATH_INFO].sub(prefix, EMPTY_STRING)
24
24
  env[PATH_INFO] = EMPTY_STRING if env[PATH_INFO] == SLASH
25
25
  env[SCRIPT_NAME] = Utils.normalize_path(env[SCRIPT_NAME].to_s + prefix)
26
26
  @app.call(env)
@@ -1,3 +1,3 @@
1
1
  module Rack::Mount
2
- Version = '0.6.7'
2
+ Version = '0.6.8'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-mount
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 7
10
- version: 0.6.7
9
+ - 8
10
+ version: 0.6.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Joshua Peek