rack-mount 0.5.1 → 0.5.2

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/rack/mount/route_set.rb +1 -1
  2. metadata +2 -2
@@ -25,7 +25,7 @@ module Rack::Mount
25
25
  def initialize(options = {}, &block)
26
26
  @request_class = options.delete(:request_class) || Rack::Request
27
27
  @valid_conditions = begin
28
- conditions = @request_class.instance_methods(false)
28
+ conditions = @request_class.public_instance_methods
29
29
  conditions.map! { |m| m.to_sym }
30
30
  conditions
31
31
  end
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.5.1
4
+ version: 0.5.2
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-02-15 00:00:00 -06:00
12
+ date: 2010-02-18 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency