resourcelogic 0.12.4 → 0.12.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 12
4
- :patch: 4
4
+ :patch: 5
@@ -39,7 +39,7 @@ module Resourcelogic
39
39
  url_object = object if url_object.nil? && object && !object.new_record?
40
40
  object_parts = url_object ?
41
41
  [route_name, url_object] :
42
- (action == :new || singleton? ? route_name : route_name.to_s.pluralize.to_sym)
42
+ (action == :new || action.to_s =~ /_new$/ || singleton? ? route_name : route_name.to_s.pluralize.to_sym)
43
43
  [action] + contexts_url_parts + [object_parts, url_params]
44
44
  end
45
45
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{resourcelogic}
8
- s.version = "0.12.4"
8
+ s.version = "0.12.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ben Johnson of Binary Logic"]
12
- s.date = %q{2009-08-12}
12
+ s.date = %q{2009-08-24}
13
13
  s.email = %q{bjohnson@binarylogic.com}
14
14
  s.extra_rdoc_files = [
15
15
  "LICENSE",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resourcelogic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.4
4
+ version: 0.12.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Johnson of Binary Logic
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-12 00:00:00 -04:00
12
+ date: 2009-08-24 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency