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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a164a5f7ce09e84dfab86b45a2df631dc782f50fc22c0cbb92f967c95808de63
4
- data.tar.gz: 9dd5e8614c436054ebb785df67171b16deb22bb8be3518d57ee8486613919d86
3
+ metadata.gz: 94baf342aee6e393e548bc22eed6ae5165c0655b6b71d43bac63fbdb3306d609
4
+ data.tar.gz: f32e1f979c88b3cc9dcbc34bc1b1eef8c8a1d31e33fbc49c5e02fe6f2229ce0f
5
5
  SHA512:
6
- metadata.gz: 3502d7dd7b2407ce4634afadcd61b2d654f248d91bf85d9f43bd6b1ad150fdd84a45b6f009a04d899be293d123be503a7e497b761c10a576bea6c9248140f599
7
- data.tar.gz: 3b0695d10e6939424bf14a8cbcea85f6628de02d0a4de37266213883604be8a95daf65eb435cf32260dae4d8b8ad562af7c37a3b426a2589fd305056ec381361
6
+ metadata.gz: 15aec6b08e60ec016f903b38fc9208915ca3b48c512a27a3b015f31c07fe9e2b5fdbaa091652e6d129abefcd0668e08573baa40378e4aa397c36aedfeb00c268
7
+ data.tar.gz: 8126d3576ac557cb702fd45404d62054ab26f90101231c65f77b0b4c932485393413b1039aaaab652669cb4b9675d490246821b7d329269a2029df17369f20a1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## Rails 6.1.2 (February 09, 2021) ##
2
+
3
+ * No changes.
4
+
5
+
1
6
  ## Rails 6.1.1 (January 07, 2021) ##
2
7
 
3
8
  * 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/master/actionview
18
+ * https://github.com/rails/rails/tree/main/actionview
19
19
 
20
20
 
21
21
  == License
@@ -9,7 +9,7 @@ module ActionView
9
9
  module VERSION
10
10
  MAJOR = 6
11
11
  MINOR = 1
12
- TINY = 1
12
+ TINY = 2
13
13
  PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
@@ -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
 
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  Unobtrusive JavaScript
3
- https://github.com/rails/rails/blob/master/actionview/app/assets/javascripts
3
+ https://github.com/rails/rails/blob/main/actionview/app/assets/javascripts
4
4
  Released under the MIT license
5
5
  */;
6
6
 
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.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-01-07 00:00:00.000000000 Z
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.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.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.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.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.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.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.1/actionview/CHANGELOG.md
243
- documentation_uri: https://api.rubyonrails.org/v6.1.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.1/actionview
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: