actionview 8.0.3 → 8.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/action_view/gem_version.rb +1 -1
- data/lib/action_view/helpers/asset_tag_helper.rb +2 -2
- data/lib/action_view/helpers/tags/base.rb +2 -0
- metadata +10 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aeb3faebba3888c2547df27d7cc538badd8e00fe9e5f71c9038e6152871faf81
|
|
4
|
+
data.tar.gz: e30a30ad64c05a3074f3f8907755988164422b061d1ea3c7e84333c54f4aa07e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 103df643034496a2a5adf3f9b316287afdfa4a54926a08fc04376f9f49bb9667e28ed713487657b293a587b7a2cd07962811938fe194f22c3c686a68b4de0eb7
|
|
7
|
+
data.tar.gz: 3f6a06ab5713e1fa37ea1afa727bfc4b145335c6d329228446020383bab4b73d9322736ec6f0afed3f7b033959e656b19eba94db271634b35ff1da4e0c4c3a25
|
data/CHANGELOG.md
CHANGED
|
@@ -115,7 +115,7 @@ module ActionView
|
|
|
115
115
|
path_options = options.extract!("protocol", "extname", "host", "skip_pipeline").symbolize_keys
|
|
116
116
|
preload_links = []
|
|
117
117
|
use_preload_links_header = options["preload_links_header"].nil? ? preload_links_header : options.delete("preload_links_header")
|
|
118
|
-
nopush = options["nopush"].nil?
|
|
118
|
+
nopush = options["nopush"].nil? || options.delete("nopush")
|
|
119
119
|
crossorigin = options.delete("crossorigin")
|
|
120
120
|
crossorigin = "anonymous" if crossorigin == true
|
|
121
121
|
integrity = options["integrity"]
|
|
@@ -206,7 +206,7 @@ module ActionView
|
|
|
206
206
|
preload_links = []
|
|
207
207
|
crossorigin = options.delete("crossorigin")
|
|
208
208
|
crossorigin = "anonymous" if crossorigin == true
|
|
209
|
-
nopush = options["nopush"].nil?
|
|
209
|
+
nopush = options["nopush"].nil? || options.delete("nopush")
|
|
210
210
|
integrity = options["integrity"]
|
|
211
211
|
|
|
212
212
|
sources_tags = sources.uniq.map { |source|
|
|
@@ -92,6 +92,7 @@ module ActionView
|
|
|
92
92
|
end
|
|
93
93
|
end
|
|
94
94
|
end
|
|
95
|
+
alias_method :add_default_name_and_id_for_value, :add_default_name_and_field_for_value
|
|
95
96
|
|
|
96
97
|
def add_default_name_and_field(options, field = "id")
|
|
97
98
|
index = name_and_id_index(options)
|
|
@@ -104,6 +105,7 @@ module ActionView
|
|
|
104
105
|
end
|
|
105
106
|
end
|
|
106
107
|
end
|
|
108
|
+
alias_method :add_default_name_and_id, :add_default_name_and_field
|
|
107
109
|
|
|
108
110
|
def tag_name(multiple = false, index = nil)
|
|
109
111
|
@template_object.field_name(@object_name, sanitized_method_name, multiple: multiple, index: index)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: actionview
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 8.0.
|
|
4
|
+
version: 8.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Heinemeier Hansson
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 8.0.
|
|
18
|
+
version: 8.0.4
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 8.0.
|
|
25
|
+
version: 8.0.4
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: builder
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -85,28 +85,28 @@ dependencies:
|
|
|
85
85
|
requirements:
|
|
86
86
|
- - '='
|
|
87
87
|
- !ruby/object:Gem::Version
|
|
88
|
-
version: 8.0.
|
|
88
|
+
version: 8.0.4
|
|
89
89
|
type: :development
|
|
90
90
|
prerelease: false
|
|
91
91
|
version_requirements: !ruby/object:Gem::Requirement
|
|
92
92
|
requirements:
|
|
93
93
|
- - '='
|
|
94
94
|
- !ruby/object:Gem::Version
|
|
95
|
-
version: 8.0.
|
|
95
|
+
version: 8.0.4
|
|
96
96
|
- !ruby/object:Gem::Dependency
|
|
97
97
|
name: activemodel
|
|
98
98
|
requirement: !ruby/object:Gem::Requirement
|
|
99
99
|
requirements:
|
|
100
100
|
- - '='
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
|
-
version: 8.0.
|
|
102
|
+
version: 8.0.4
|
|
103
103
|
type: :development
|
|
104
104
|
prerelease: false
|
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
|
106
106
|
requirements:
|
|
107
107
|
- - '='
|
|
108
108
|
- !ruby/object:Gem::Version
|
|
109
|
-
version: 8.0.
|
|
109
|
+
version: 8.0.4
|
|
110
110
|
description: Simple, battle-tested conventions and helpers for building web pages.
|
|
111
111
|
email: david@loudthinking.com
|
|
112
112
|
executables: []
|
|
@@ -246,10 +246,10 @@ licenses:
|
|
|
246
246
|
- MIT
|
|
247
247
|
metadata:
|
|
248
248
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
249
|
-
changelog_uri: https://github.com/rails/rails/blob/v8.0.
|
|
250
|
-
documentation_uri: https://api.rubyonrails.org/v8.0.
|
|
249
|
+
changelog_uri: https://github.com/rails/rails/blob/v8.0.4/actionview/CHANGELOG.md
|
|
250
|
+
documentation_uri: https://api.rubyonrails.org/v8.0.4/
|
|
251
251
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
252
|
-
source_code_uri: https://github.com/rails/rails/tree/v8.0.
|
|
252
|
+
source_code_uri: https://github.com/rails/rails/tree/v8.0.4/actionview
|
|
253
253
|
rubygems_mfa_required: 'true'
|
|
254
254
|
rdoc_options: []
|
|
255
255
|
require_paths:
|