rack-case-insensitive-routes 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,9 @@ module Rack
7
7
  end
8
8
 
9
9
  def call(env)
10
- env['PATH_INFO'] = env['PATH_INFO'].downcase
10
+ unless env['PATH_INFO'] =~ /assets/
11
+ env['PATH_INFO'] = env['PATH_INFO'].downcase
12
+ end
11
13
  @app.call(env)
12
14
  end
13
15
  end
@@ -2,7 +2,7 @@ module Rack
2
2
  module Case
3
3
  module Insensitive
4
4
  module Routes
5
- VERSION = "0.0.1"
5
+ VERSION = "0.0.2"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-case-insensitive-routes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-10-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70286842816900 !ruby/object:Gem::Requirement
16
+ requirement: &70162079802140 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70286842816900
24
+ version_requirements: *70162079802140
25
25
  description: downcase all incoming paths to the router
26
26
  email:
27
27
  - electronicbattleweapon7@gmail.com
@@ -51,7 +51,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
51
51
  version: '0'
52
52
  segments:
53
53
  - 0
54
- hash: 1818580715606846185
54
+ hash: -1705789909244197415
55
55
  required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  none: false
57
57
  requirements:
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
60
  version: '0'
61
61
  segments:
62
62
  - 0
63
- hash: 1818580715606846185
63
+ hash: -1705789909244197415
64
64
  requirements: []
65
65
  rubyforge_project:
66
66
  rubygems_version: 1.8.11