action_not_found 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module ActionNotFound
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -15,7 +15,7 @@ module ActionNotFound
15
15
 
16
16
  def formatted_action_not_found(formatted, base_path)
17
17
  formatted.each do |route|
18
- route =~ /\)\s(.*?)#(.*?)$/
18
+ route =~ /\)\s+(.*?)#(.*?)$/
19
19
  controller_path = base_path.join("#{$1}_controller.rb")
20
20
  begin
21
21
  unless File.readlines(controller_path).grep(/def\s#{$2}/).size > 0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_not_found
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -88,7 +88,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
88
88
  version: '0'
89
89
  segments:
90
90
  - 0
91
- hash: -1734792636968528438
91
+ hash: 4500087227086101627
92
92
  required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  none: false
94
94
  requirements:
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  version: '0'
98
98
  segments:
99
99
  - 0
100
- hash: -1734792636968528438
100
+ hash: 4500087227086101627
101
101
  requirements: []
102
102
  rubyforge_project:
103
103
  rubygems_version: 1.8.24