actionview 6.0.1 → 6.0.2.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 +15 -0
- data/lib/action_view/base.rb +1 -1
- data/lib/action_view/gem_version.rb +2 -2
- data/lib/action_view/layouts.rb +5 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ff46d348119a77c1e6947936002ff0724bb3349dd1dad21967d8f3419ed5818
|
4
|
+
data.tar.gz: 4c8f57531360eada7dad82431a53d07848c35b553fb36906ae29d3d73bc869f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74621a379a56ca0787af8f83d539fa827b3e7fdf61e4c69d7c7b0830e2e0985f55bbe82e3aaa3c126a50975487e556dd6b5df0c92a4d32d0ccb494195a67658d
|
7
|
+
data.tar.gz: e7d826c10a594aa9c5b107f6de93a52969081ba5e7b6ab99815c9241de0b27251df69a2d8d96bd49246cc3929d6468aea8c4d99f7b6447172886f2f77d6653d1
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## Rails 6.0.2.rc1 (November 27, 2019) ##
|
2
|
+
|
3
|
+
* No changes.
|
4
|
+
|
5
|
+
|
1
6
|
## Rails 6.0.1 (November 5, 2019) ##
|
2
7
|
|
3
8
|
* UJS avoids `Element.closest()` for IE 9 compatibility.
|
@@ -44,6 +49,11 @@
|
|
44
49
|
|
45
50
|
*Edward Rudd*
|
46
51
|
|
52
|
+
* `ActionView::TemplateRender.render(file: )` now renders the file directly,
|
53
|
+
without using any handlers, using the new `Template::RawFile` class.
|
54
|
+
|
55
|
+
*John Hawthorn*, *Cliff Pruitt*
|
56
|
+
|
47
57
|
|
48
58
|
## Rails 6.0.0.beta3 (March 11, 2019) ##
|
49
59
|
|
@@ -77,6 +87,11 @@
|
|
77
87
|
|
78
88
|
*Mark Edmondson*
|
79
89
|
|
90
|
+
* Single arity template handlers are deprecated. Template handlers must
|
91
|
+
now accept two parameters, the view object and the source for the view object.
|
92
|
+
|
93
|
+
*tenderlove*
|
94
|
+
|
80
95
|
|
81
96
|
## Rails 6.0.0.beta1 (January 18, 2019) ##
|
82
97
|
|
data/lib/action_view/base.rb
CHANGED
@@ -281,7 +281,7 @@ module ActionView #:nodoc:
|
|
281
281
|
ActiveSupport::Deprecation.warn <<~eowarn.squish
|
282
282
|
ActionView::Base instances must implement `compiled_method_container`
|
283
283
|
or use the class method `with_empty_template_cache` for constructing
|
284
|
-
an ActionView::Base
|
284
|
+
an ActionView::Base instance that has an empty cache.
|
285
285
|
eowarn
|
286
286
|
end
|
287
287
|
|
data/lib/action_view/layouts.rb
CHANGED
@@ -281,7 +281,11 @@ module ActionView
|
|
281
281
|
def _write_layout_method # :nodoc:
|
282
282
|
silence_redefinition_of_method(:_layout)
|
283
283
|
|
284
|
-
prefixes = /\blayouts/.match?(_implied_layout_name)
|
284
|
+
prefixes = if _implied_layout_name && /\blayouts/.match?(_implied_layout_name)
|
285
|
+
[]
|
286
|
+
else
|
287
|
+
["layouts"]
|
288
|
+
end
|
285
289
|
default_behavior = "lookup_context.find_all('#{_implied_layout_name}', #{prefixes.inspect}, false, [], { formats: formats }).first || super"
|
286
290
|
name_clause = if name
|
287
291
|
default_behavior
|
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: 6.0.
|
4
|
+
version: 6.0.2.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: 2019-11-
|
11
|
+
date: 2019-11-27 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: 6.0.
|
19
|
+
version: 6.0.2.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: 6.0.
|
26
|
+
version: 6.0.2.rc1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: builder
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -92,28 +92,28 @@ dependencies:
|
|
92
92
|
requirements:
|
93
93
|
- - '='
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: 6.0.
|
95
|
+
version: 6.0.2.rc1
|
96
96
|
type: :development
|
97
97
|
prerelease: false
|
98
98
|
version_requirements: !ruby/object:Gem::Requirement
|
99
99
|
requirements:
|
100
100
|
- - '='
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: 6.0.
|
102
|
+
version: 6.0.2.rc1
|
103
103
|
- !ruby/object:Gem::Dependency
|
104
104
|
name: activemodel
|
105
105
|
requirement: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - '='
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 6.0.
|
109
|
+
version: 6.0.2.rc1
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
114
|
- - '='
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: 6.0.
|
116
|
+
version: 6.0.2.rc1
|
117
117
|
description: Simple, battle-tested conventions and helpers for building web pages.
|
118
118
|
email: david@loudthinking.com
|
119
119
|
executables: []
|
@@ -236,10 +236,10 @@ licenses:
|
|
236
236
|
- MIT
|
237
237
|
metadata:
|
238
238
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
239
|
-
changelog_uri: https://github.com/rails/rails/blob/v6.0.
|
240
|
-
documentation_uri: https://api.rubyonrails.org/v6.0.
|
239
|
+
changelog_uri: https://github.com/rails/rails/blob/v6.0.2.rc1/actionview/CHANGELOG.md
|
240
|
+
documentation_uri: https://api.rubyonrails.org/v6.0.2.rc1/
|
241
241
|
mailing_list_uri: https://groups.google.com/forum/#!forum/rubyonrails-talk
|
242
|
-
source_code_uri: https://github.com/rails/rails/tree/v6.0.
|
242
|
+
source_code_uri: https://github.com/rails/rails/tree/v6.0.2.rc1/actionview
|
243
243
|
post_install_message:
|
244
244
|
rdoc_options: []
|
245
245
|
require_paths:
|
@@ -251,9 +251,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
251
251
|
version: 2.5.0
|
252
252
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
253
253
|
requirements:
|
254
|
-
- - "
|
254
|
+
- - ">"
|
255
255
|
- !ruby/object:Gem::Version
|
256
|
-
version:
|
256
|
+
version: 1.3.1
|
257
257
|
requirements:
|
258
258
|
- none
|
259
259
|
rubygems_version: 3.0.3
|