actionpack 3.2.9.rc2 → 3.2.9.rc3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of actionpack might be problematic. Click here for more details.

@@ -1,5 +1,15 @@
1
1
  ## Rails 3.2.9 (unreleased) ##
2
2
 
3
+ * Clear url helpers when reloading routes.
4
+
5
+ *Santiago Pastorino*
6
+
7
+ * Revert the shorthand routes scoped with `:module` option fix
8
+ This added a regression since it is changing the URL mapping.
9
+ This makes the stable release backward compatible.
10
+
11
+ *Rafael Mendonça França*
12
+
3
13
  * Revert the `assert_template` fix to not pass with ever string that matches the template name.
4
14
  This added a regression since people were relying on this buggy behavior.
5
15
  This will introduce back #3849 but this stable release will be backward compatible.
@@ -72,16 +82,6 @@
72
82
 
73
83
  *Tim Vandecasteele*
74
84
 
75
- * Fixed a bug with shorthand routes scoped with the `:module` option not
76
- adding the module to the controller as described in issue #6497.
77
- This should now work properly:
78
-
79
- scope :module => "engine" do
80
- get "api/version" # routes to engine/api#version
81
- end
82
-
83
- *Luiz Felipe Garcia Pereira*
84
-
85
85
  * Respect `config.digest = false` for `asset_path`
86
86
 
87
87
  Previously, the `asset_path` internals only respected the `:digest`
@@ -166,7 +166,7 @@ module ActionDispatch
166
166
  controller ||= default_controller
167
167
  action ||= default_action
168
168
 
169
- unless controller.is_a?(Regexp)
169
+ unless controller.is_a?(Regexp) || to_shorthand
170
170
  controller = [@scope[:module], controller].compact.join("/").presence
171
171
  end
172
172
 
@@ -291,6 +291,7 @@ module ActionDispatch
291
291
 
292
292
  def clear!
293
293
  @finalized = false
294
+ @url_helpers = nil
294
295
  named_routes.clear
295
296
  set.clear
296
297
  formatter.clear
@@ -3,7 +3,7 @@ module ActionPack
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
5
  TINY = 9
6
- PRE = "rc2"
6
+ PRE = "rc3"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.9.rc2
4
+ version: 3.2.9.rc3
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-01 00:00:00.000000000 Z
12
+ date: 2012-11-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 3.2.9.rc2
21
+ version: 3.2.9.rc3
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 3.2.9.rc2
29
+ version: 3.2.9.rc3
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: activemodel
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - '='
36
36
  - !ruby/object:Gem::Version
37
- version: 3.2.9.rc2
37
+ version: 3.2.9.rc3
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - '='
44
44
  - !ruby/object:Gem::Version
45
- version: 3.2.9.rc2
45
+ version: 3.2.9.rc3
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: rack-cache
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -130,7 +130,7 @@ dependencies:
130
130
  requirements:
131
131
  - - ~>
132
132
  - !ruby/object:Gem::Version
133
- version: '2.2'
133
+ version: 2.2.1
134
134
  type: :runtime
135
135
  prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
@@ -138,7 +138,7 @@ dependencies:
138
138
  requirements:
139
139
  - - ~>
140
140
  - !ruby/object:Gem::Version
141
- version: '2.2'
141
+ version: 2.2.1
142
142
  - !ruby/object:Gem::Dependency
143
143
  name: erubis
144
144
  requirement: !ruby/object:Gem::Requirement