actionview 6.1.1 → 6.1.3.2
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/README.rdoc +1 -1
- data/lib/action_view/gem_version.rb +2 -2
- data/lib/action_view/helpers/asset_url_helper.rb +1 -1
- data/lib/action_view/helpers/rendering_helper.rb +1 -1
- data/lib/action_view/helpers/text_helper.rb +1 -1
- data/lib/action_view/helpers/url_helper.rb +2 -1
- data/lib/assets/compiled/rails-ujs.js +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c04bfae66bfb0c8ce7c1f588649fabc38e06073e96345bf75f678812dc27497
|
4
|
+
data.tar.gz: 54799a7696ca54e307a15928f0f53db6be574c7e1cafdc52be44549e0b0f26a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84c99e72174ddec6667077af14b1c2dbaa3b12788802203a6c2a51888f71b2db860e3c6fa46cec717814e14e879dd2e97156f133483281061f5faf2631319641
|
7
|
+
data.tar.gz: 55ea61a6b1821f6a06c1d0ffa60c6c4eff4d78863bb6e25b18a40bc59d202cc3e8b30808285596cb6ae2c66c8df85ffa979858224bc992bcdadb975e8a8c14b6
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,28 @@
|
|
1
|
+
## Rails 6.1.3.2 (May 05, 2021) ##
|
2
|
+
|
3
|
+
* No changes.
|
4
|
+
|
5
|
+
|
6
|
+
## Rails 6.1.3.1 (March 26, 2021) ##
|
7
|
+
|
8
|
+
* No changes.
|
9
|
+
|
10
|
+
|
11
|
+
## Rails 6.1.3 (February 17, 2021) ##
|
12
|
+
|
13
|
+
* No changes.
|
14
|
+
|
15
|
+
|
16
|
+
## Rails 6.1.2.1 (February 10, 2021) ##
|
17
|
+
|
18
|
+
* No changes.
|
19
|
+
|
20
|
+
|
21
|
+
## Rails 6.1.2 (February 09, 2021) ##
|
22
|
+
|
23
|
+
* No changes.
|
24
|
+
|
25
|
+
|
1
26
|
## Rails 6.1.1 (January 07, 2021) ##
|
2
27
|
|
3
28
|
* Fix lazy translation in partial with block.
|
data/README.rdoc
CHANGED
@@ -15,7 +15,7 @@ The latest version of Action View can be installed with RubyGems:
|
|
15
15
|
|
16
16
|
Source code can be downloaded as part of the Rails project on GitHub:
|
17
17
|
|
18
|
-
* https://github.com/rails/rails/tree/
|
18
|
+
* https://github.com/rails/rails/tree/main/actionview
|
19
19
|
|
20
20
|
|
21
21
|
== License
|
@@ -98,7 +98,7 @@ module ActionView
|
|
98
98
|
# have SSL certificates for each of the asset hosts this technique allows you
|
99
99
|
# to avoid warnings in the client about mixed media.
|
100
100
|
# Note that the +request+ parameter might not be supplied, e.g. when the assets
|
101
|
-
# are precompiled with the command
|
101
|
+
# are precompiled with the command <tt>bin/rails assets:precompile</tt>. Make sure to use a
|
102
102
|
# +Proc+ instead of a lambda, since a +Proc+ allows missing parameters and sets them
|
103
103
|
# to +nil+.
|
104
104
|
#
|
@@ -24,7 +24,7 @@ module ActionView
|
|
24
24
|
#
|
25
25
|
# If no <tt>options</tt> hash is passed or if <tt>:update</tt> is specified, then:
|
26
26
|
#
|
27
|
-
# If an object responding to
|
27
|
+
# If an object responding to +render_in+ is passed, +render_in+ is called on the object,
|
28
28
|
# passing in the current view context.
|
29
29
|
#
|
30
30
|
# Otherwise, a partial is rendered using the second parameter as the locals hash.
|
@@ -105,7 +105,7 @@ module ActionView
|
|
105
105
|
# Highlights one or more +phrases+ everywhere in +text+ by inserting it into
|
106
106
|
# a <tt>:highlighter</tt> string. The highlighter can be specialized by passing <tt>:highlighter</tt>
|
107
107
|
# as a single-quoted string with <tt>\1</tt> where the phrase is to be inserted (defaults to
|
108
|
-
#
|
108
|
+
# <tt><mark>\1</mark></tt>) or passing a block that receives each matched term. By default +text+
|
109
109
|
# is sanitized to prevent possible XSS attacks. If the input is trustworthy, passing false
|
110
110
|
# for <tt>:sanitize</tt> will turn sanitizing off.
|
111
111
|
#
|
@@ -539,7 +539,7 @@ module ActionView
|
|
539
539
|
#
|
540
540
|
# We can also pass in the symbol arguments instead of strings.
|
541
541
|
#
|
542
|
-
def current_page?(options, check_parameters: false)
|
542
|
+
def current_page?(options = nil, check_parameters: false, **options_as_kwargs)
|
543
543
|
unless request
|
544
544
|
raise "You cannot use helpers that need to determine the current " \
|
545
545
|
"page unless your view context provides a Request object " \
|
@@ -548,6 +548,7 @@ module ActionView
|
|
548
548
|
|
549
549
|
return false unless request.get? || request.head?
|
550
550
|
|
551
|
+
options ||= options_as_kwargs
|
551
552
|
check_parameters ||= options.is_a?(Hash) && options.delete(:check_parameters)
|
552
553
|
url_string = URI::DEFAULT_PARSER.unescape(url_for(options)).force_encoding(Encoding::BINARY)
|
553
554
|
|
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.1.
|
4
|
+
version: 6.1.3.2
|
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: 2021-
|
11
|
+
date: 2021-05-05 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.1.
|
19
|
+
version: 6.1.3.2
|
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.1.
|
26
|
+
version: 6.1.3.2
|
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.1.
|
95
|
+
version: 6.1.3.2
|
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.1.
|
102
|
+
version: 6.1.3.2
|
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.1.
|
109
|
+
version: 6.1.3.2
|
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.1.
|
116
|
+
version: 6.1.3.2
|
117
117
|
description: Simple, battle-tested conventions and helpers for building web pages.
|
118
118
|
email: david@loudthinking.com
|
119
119
|
executables: []
|
@@ -239,10 +239,10 @@ licenses:
|
|
239
239
|
- MIT
|
240
240
|
metadata:
|
241
241
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
242
|
-
changelog_uri: https://github.com/rails/rails/blob/v6.1.
|
243
|
-
documentation_uri: https://api.rubyonrails.org/v6.1.
|
242
|
+
changelog_uri: https://github.com/rails/rails/blob/v6.1.3.2/actionview/CHANGELOG.md
|
243
|
+
documentation_uri: https://api.rubyonrails.org/v6.1.3.2/
|
244
244
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
245
|
-
source_code_uri: https://github.com/rails/rails/tree/v6.1.
|
245
|
+
source_code_uri: https://github.com/rails/rails/tree/v6.1.3.2/actionview
|
246
246
|
post_install_message:
|
247
247
|
rdoc_options: []
|
248
248
|
require_paths:
|
@@ -259,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
259
259
|
version: '0'
|
260
260
|
requirements:
|
261
261
|
- none
|
262
|
-
rubygems_version: 3.2
|
262
|
+
rubygems_version: 3.1.2
|
263
263
|
signing_key:
|
264
264
|
specification_version: 4
|
265
265
|
summary: Rendering framework putting the V in MVC (part of Rails).
|