Bill-route_name_for 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,7 +40,7 @@ module RouteNameFor
40
40
 
41
41
  module Helpers
42
42
  def route_name_for( path, env)
43
- r = ActionController::Routing::Routes.recognized_route( path, {})
43
+ r = ActionController::Routing::Routes.recognized_route( path, env)
44
44
  ActionController::Routing::Routes.named_routes.routes.invert[r].to_s
45
45
  end
46
46
  end
@@ -2,7 +2,7 @@ module RouteNameFor
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 2
5
+ TINY = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{route_name_for}
3
- s.version = "0.0.2"
3
+ s.version = "0.0.3"
4
4
 
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = ["Bill Burcham"]
7
- s.date = %q{2008-08-28}
7
+ s.date = %q{2008-09-01}
8
8
  s.description = %q{Rails helper to look up (named) route name given current request URI. Adds route_name_for method to controllers and views.}
9
9
  s.email = ["propeller@thoughtpropulsion.com"]
10
10
  s.extra_rdoc_files = ["History.txt", "License.txt", "Manifest.txt", "PostInstall.txt", "README.txt", "website/index.txt"]
data/website/index.html CHANGED
@@ -33,7 +33,7 @@
33
33
  <h1>route_name_for</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/route_name_for"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/route_name_for" class="numbers">0.0.2</a>
36
+ <a href="http://rubyforge.org/projects/route_name_for" class="numbers">0.0.3</a>
37
37
  </div>
38
38
  <h1>&#x2192; &#8216;route_name_for&#8217;</h1>
39
39
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Bill-route_name_for
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bill Burcham
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-08-28 00:00:00 -07:00
12
+ date: 2008-09-01 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency