actionview 6.0.0 → 6.0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '09307c25b4aca33f07c78f0eb2b2e1dcb83316272272340495d9bdb71200b66c'
4
- data.tar.gz: c721b0700848cd657d418b9369ce575abfc12205e764cbdd04aa4f23320b80be
3
+ metadata.gz: 5e7db7174d54140db42c5f5524831d186cbe1702461e63d7e1e488b5177b8d02
4
+ data.tar.gz: 1445fcd4a5ef341ea881f554e8b5e2e0e116510547eb3a51383cfb57a7a59c16
5
5
  SHA512:
6
- metadata.gz: acd68ab05735381289baf92c2895b30dc73b8e25e36ea9b5496104e66d46d630e352785750518404da5c71cade47b8987effe98fcc7e35d6d108dfba51bb2b4f
7
- data.tar.gz: d6e8f0d10ff2d4048c7ad3469584153f6faf284853b7f1afd191dbd3b3b469295855655c5ac59b986c52a894a7c774d11f0a09e747a492ad6d3b0e5edfb0bf27
6
+ metadata.gz: 7c9f50ec41db812da86f72902728a5c950842e0529c9bb55ba2d4a744a02a58a1179506745a7f71320c340f0b5da2b7d59232ba3c2db31696e41bd3127b5d356
7
+ data.tar.gz: d3bdd62644d0839c664ac78b2273e91bdcab0cd27e84a867743730f78e518eb098df861dd9fe972453039f72ddb98f20b85e01af56543ee4ff28e979ba90a899
@@ -1,3 +1,10 @@
1
+ ## Rails 6.0.1.rc1 (October 31, 2019) ##
2
+
3
+ * UJS avoids `Element.closest()` for IE 9 compatibility.
4
+
5
+ *George Claghorn*
6
+
7
+
1
8
  ## Rails 6.0.0 (August 16, 2019) ##
2
9
 
3
10
  * ActionView::Helpers::SanitizeHelper: support rails-html-sanitizer 1.1.0.
@@ -9,8 +9,8 @@ module ActionView
9
9
  module VERSION
10
10
  MAJOR = 6
11
11
  MINOR = 0
12
- TINY = 0
13
- PRE = nil
12
+ TINY = 1
13
+ PRE = "rc1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -166,6 +166,8 @@ module ActionView
166
166
  # * <tt>:size</tt> - The number of visible characters that will fit in the input.
167
167
  # * <tt>:maxlength</tt> - The maximum number of characters that the browser will allow the user to enter.
168
168
  # * <tt>:placeholder</tt> - The text contained in the field by default which is removed when the field receives focus.
169
+ # If set to true, use a translation is found in the current I18n locale
170
+ # (through helpers.placeholders.<modelname>.<attribute>).
169
171
  # * Any other key creates standard HTML attributes for the tag.
170
172
  #
171
173
  # ==== Examples
@@ -88,7 +88,7 @@ module ActionView
88
88
  if value.is_a?(Array)
89
89
  value = escape ? safe_join(value, " ") : value.join(" ")
90
90
  else
91
- value = escape ? ERB::Util.unwrapped_html_escape(value) : value.to_s.dup
91
+ value = escape ? ERB::Util.unwrapped_html_escape(value).dup : value.to_s.dup
92
92
  end
93
93
  value.gsub!('"', "&quot;")
94
94
  %(#{key}="#{value}")
@@ -2,7 +2,7 @@
2
2
  Unobtrusive JavaScript
3
3
  https://github.com/rails/rails/blob/master/actionview/app/assets/javascripts
4
4
  Released under the MIT license
5
- */
5
+ */;
6
6
 
7
7
  (function() {
8
8
  var context = this;
@@ -320,7 +320,7 @@ Released under the MIT license
320
320
  if (!input.name || input.disabled) {
321
321
  return;
322
322
  }
323
- if (input.closest('fieldset[disabled]')) {
323
+ if (matches(input, 'fieldset[disabled] *')) {
324
324
  return;
325
325
  }
326
326
  if (matches(input, 'select')) {
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.0
4
+ version: 6.0.1.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-08-16 00:00:00.000000000 Z
11
+ date: 2019-10-31 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.0
19
+ version: 6.0.1.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.0
26
+ version: 6.0.1.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.0
95
+ version: 6.0.1.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.0
102
+ version: 6.0.1.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.0
109
+ version: 6.0.1.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.0
116
+ version: 6.0.1.rc1
117
117
  description: Simple, battle-tested conventions and helpers for building web pages.
118
118
  email: david@loudthinking.com
119
119
  executables: []
@@ -235,8 +235,11 @@ homepage: https://rubyonrails.org
235
235
  licenses:
236
236
  - MIT
237
237
  metadata:
238
- source_code_uri: https://github.com/rails/rails/tree/v6.0.0/actionview
239
- changelog_uri: https://github.com/rails/rails/blob/v6.0.0/actionview/CHANGELOG.md
238
+ bug_tracker_uri: https://github.com/rails/rails/issues
239
+ changelog_uri: https://github.com/rails/rails/blob/v6.0.1.rc1/actionview/CHANGELOG.md
240
+ documentation_uri: https://api.rubyonrails.org/v6.0.1.rc1/
241
+ mailing_list_uri: https://groups.google.com/forum/#!forum/rubyonrails-talk
242
+ source_code_uri: https://github.com/rails/rails/tree/v6.0.1.rc1/actionview
240
243
  post_install_message:
241
244
  rdoc_options: []
242
245
  require_paths:
@@ -248,12 +251,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
248
251
  version: 2.5.0
249
252
  required_rubygems_version: !ruby/object:Gem::Requirement
250
253
  requirements:
251
- - - ">="
254
+ - - ">"
252
255
  - !ruby/object:Gem::Version
253
- version: '0'
256
+ version: 1.3.1
254
257
  requirements:
255
258
  - none
256
- rubygems_version: 3.0.1
259
+ rubygems_version: 3.0.3
257
260
  signing_key:
258
261
  specification_version: 4
259
262
  summary: Rendering framework putting the V in MVC (part of Rails).