actionview 6.1.1 → 6.1.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 +5 -0
- data/README.rdoc +1 -1
- data/lib/action_view/gem_version.rb +1 -1
- data/lib/action_view/helpers/url_helper.rb +2 -1
- data/lib/assets/compiled/rails-ujs.js +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94baf342aee6e393e548bc22eed6ae5165c0655b6b71d43bac63fbdb3306d609
|
4
|
+
data.tar.gz: f32e1f979c88b3cc9dcbc34bc1b1eef8c8a1d31e33fbc49c5e02fe6f2229ce0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15aec6b08e60ec016f903b38fc9208915ca3b48c512a27a3b015f31c07fe9e2b5fdbaa091652e6d129abefcd0668e08573baa40378e4aa397c36aedfeb00c268
|
7
|
+
data.tar.gz: 8126d3576ac557cb702fd45404d62054ab26f90101231c65f77b0b4c932485393413b1039aaaab652669cb4b9675d490246821b7d329269a2029df17369f20a1
|
data/CHANGELOG.md
CHANGED
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
|
@@ -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.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-02-09 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.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.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.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.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.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.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.2/actionview/CHANGELOG.md
|
243
|
+
documentation_uri: https://api.rubyonrails.org/v6.1.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.2/actionview
|
246
246
|
post_install_message:
|
247
247
|
rdoc_options: []
|
248
248
|
require_paths:
|