actionview 4.2.5.2 → 4.2.6.rc1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of actionview might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/lib/action_view/flows.rb +1 -1
- data/lib/action_view/gem_version.rb +2 -2
- data/lib/action_view/helpers/asset_tag_helper.rb +1 -1
- data/lib/action_view/helpers/tags/week_field.rb +1 -1
- data/lib/action_view/renderer/partial_renderer.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44bd140d42718e292cd62ace56593dc853ef749b
|
4
|
+
data.tar.gz: 429bf9f3def6c4386a6ad276e46db31429f40bb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f242a2be7bb096ca61e761653cc84c2d4318d2f80df7047dbb210e4d2adcc357fb32ef6867650f4447d4c8753f84a2ed51e9c7d299df0863ea19667fd220093
|
7
|
+
data.tar.gz: 98c1112a711c4bdb674a6d10d4fb7e5dbea5462ed096359aeb0b5ed21e7c0610588f7c78715bbb007f97469286573f8ff1dbb2b1936532c8730adf868ec2d470
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,28 @@
|
|
1
|
+
## Rails 4.2.6.rc1 (March 01, 2016) ##
|
2
|
+
|
3
|
+
* Fix stripping the digest from the automatically generated img tag alt
|
4
|
+
attribute when assets are handled by Sprockets >=3.0.
|
5
|
+
|
6
|
+
*Bart de Water*
|
7
|
+
|
8
|
+
* Create a new `ActiveSupport::SafeBuffer` instance when `content_for` is flushed.
|
9
|
+
|
10
|
+
Fixes #19890
|
11
|
+
|
12
|
+
*Yoong Kang Lim*
|
13
|
+
|
14
|
+
* Respect value of `:object` if `:object` is false when rendering.
|
15
|
+
|
16
|
+
Fixes #22260.
|
17
|
+
|
18
|
+
*Yuichiro Kaneko*
|
19
|
+
|
20
|
+
* Generate `week_field` input values using a 1-based index and not a 0-based index
|
21
|
+
as per the W3 spec: http://www.w3.org/TR/html-markup/datatypes.html#form.data.week
|
22
|
+
|
23
|
+
*Christoph Geschwind*
|
24
|
+
|
25
|
+
|
1
26
|
## Rails 4.2.5.2 (February 26, 2016) ##
|
2
27
|
|
3
28
|
* Do not allow render with unpermitted parameter.
|
data/lib/action_view/flows.rb
CHANGED
@@ -236,7 +236,7 @@ module ActionView
|
|
236
236
|
# image_alt('underscored_file_name.png')
|
237
237
|
# # => Underscored file name
|
238
238
|
def image_alt(src)
|
239
|
-
File.basename(src, '.*').sub(/-[[:xdigit:]]{32}\z/, '').tr('-_', ' ').capitalize
|
239
|
+
File.basename(src, '.*').sub(/-[[:xdigit:]]{32,64}\z/, '').tr('-_', ' ').capitalize
|
240
240
|
end
|
241
241
|
|
242
242
|
# Returns an HTML video tag for the +sources+. If +sources+ is a string,
|
@@ -333,7 +333,7 @@ module ActionView
|
|
333
333
|
layout = find_template(layout.to_s, @template_keys)
|
334
334
|
end
|
335
335
|
|
336
|
-
object
|
336
|
+
object = locals[as] if object.nil? # Respect object when object is false
|
337
337
|
locals[as] = object
|
338
338
|
|
339
339
|
content = @template.render(view, locals) do |*name|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: actionview
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.6.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.2.
|
19
|
+
version: 4.2.6.rc1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.2.
|
26
|
+
version: 4.2.6.rc1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: builder
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,28 +98,28 @@ dependencies:
|
|
98
98
|
requirements:
|
99
99
|
- - '='
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version: 4.2.
|
101
|
+
version: 4.2.6.rc1
|
102
102
|
type: :development
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
106
|
- - '='
|
107
107
|
- !ruby/object:Gem::Version
|
108
|
-
version: 4.2.
|
108
|
+
version: 4.2.6.rc1
|
109
109
|
- !ruby/object:Gem::Dependency
|
110
110
|
name: activemodel
|
111
111
|
requirement: !ruby/object:Gem::Requirement
|
112
112
|
requirements:
|
113
113
|
- - '='
|
114
114
|
- !ruby/object:Gem::Version
|
115
|
-
version: 4.2.
|
115
|
+
version: 4.2.6.rc1
|
116
116
|
type: :development
|
117
117
|
prerelease: false
|
118
118
|
version_requirements: !ruby/object:Gem::Requirement
|
119
119
|
requirements:
|
120
120
|
- - '='
|
121
121
|
- !ruby/object:Gem::Version
|
122
|
-
version: 4.2.
|
122
|
+
version: 4.2.6.rc1
|
123
123
|
description: Simple, battle-tested conventions and helpers for building web pages.
|
124
124
|
email: david@loudthinking.com
|
125
125
|
executables: []
|
@@ -242,9 +242,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
242
242
|
version: 1.9.3
|
243
243
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
244
244
|
requirements:
|
245
|
-
- - "
|
245
|
+
- - ">"
|
246
246
|
- !ruby/object:Gem::Version
|
247
|
-
version:
|
247
|
+
version: 1.3.1
|
248
248
|
requirements:
|
249
249
|
- none
|
250
250
|
rubyforge_project:
|