actionpack 3.0.9.rc4 → 3.0.9.rc5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/action_pack/version.rb +1 -1
- data/lib/action_view/template.rb +3 -0
- metadata +9 -9
data/lib/action_pack/version.rb
CHANGED
data/lib/action_view/template.rb
CHANGED
|
@@ -192,6 +192,9 @@ module ActionView
|
|
|
192
192
|
locals_code = locals.keys.map! { |key| "#{key} = local_assigns[:#{key}];" }.join
|
|
193
193
|
|
|
194
194
|
if source.encoding_aware?
|
|
195
|
+
# Avoid performing in-place mutation for SafeBuffer
|
|
196
|
+
@source = source.to_str if source.html_safe?
|
|
197
|
+
|
|
195
198
|
# Look for # encoding: *. If we find one, we'll encode the
|
|
196
199
|
# String in that encoding, otherwise, we'll use the
|
|
197
200
|
# default external encoding.
|
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: actionpack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 15424055
|
|
5
5
|
prerelease: 6
|
|
6
6
|
segments:
|
|
7
7
|
- 3
|
|
8
8
|
- 0
|
|
9
9
|
- 9
|
|
10
10
|
- rc
|
|
11
|
-
-
|
|
12
|
-
version: 3.0.9.
|
|
11
|
+
- 5
|
|
12
|
+
version: 3.0.9.rc5
|
|
13
13
|
platform: ruby
|
|
14
14
|
authors:
|
|
15
15
|
- David Heinemeier Hansson
|
|
@@ -27,14 +27,14 @@ dependencies:
|
|
|
27
27
|
requirements:
|
|
28
28
|
- - "="
|
|
29
29
|
- !ruby/object:Gem::Version
|
|
30
|
-
hash:
|
|
30
|
+
hash: 15424055
|
|
31
31
|
segments:
|
|
32
32
|
- 3
|
|
33
33
|
- 0
|
|
34
34
|
- 9
|
|
35
35
|
- rc
|
|
36
|
-
-
|
|
37
|
-
version: 3.0.9.
|
|
36
|
+
- 5
|
|
37
|
+
version: 3.0.9.rc5
|
|
38
38
|
type: :runtime
|
|
39
39
|
version_requirements: *id001
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
@@ -45,14 +45,14 @@ dependencies:
|
|
|
45
45
|
requirements:
|
|
46
46
|
- - "="
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
|
-
hash:
|
|
48
|
+
hash: 15424055
|
|
49
49
|
segments:
|
|
50
50
|
- 3
|
|
51
51
|
- 0
|
|
52
52
|
- 9
|
|
53
53
|
- rc
|
|
54
|
-
-
|
|
55
|
-
version: 3.0.9.
|
|
54
|
+
- 5
|
|
55
|
+
version: 3.0.9.rc5
|
|
56
56
|
type: :runtime
|
|
57
57
|
version_requirements: *id002
|
|
58
58
|
- !ruby/object:Gem::Dependency
|