vite_rails 3.0.18 → 3.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/vite_rails/tag_helpers.rb +2 -1
- data/lib/vite_rails/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bec6203fd13439bda514b7bc060fa686a092d5abe246c0c7e3bc9bb94d57f3be
|
4
|
+
data.tar.gz: 5528b478eeaf0f21630f0c546bd624879520d36ac50dd03414da68da06125998
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba27baf7621e86dc14fafd03b965e8f24c7aade5763ce68e94a044e93c047716cf674e2c738047e4ed17d961898e16571c80a568435a24b8c299509592d1630c
|
7
|
+
data.tar.gz: d9918d6bc2f636882ac336ea29bcc66e603f654ddcc1002bb53b59026c6b066684b01b19c14ac5e957fc861162851119e05c5ff62d1e0ec093b84e907bc0c9f1
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## [3.0.19](https://github.com/ElMassimo/vite_ruby/compare/vite_rails@3.0.18...vite_rails@3.0.19) (2024-11-05)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* respect host and protocol options in vite_preload_tag ([#413](https://github.com/ElMassimo/vite_ruby/issues/413)) ([bcd8151](https://github.com/ElMassimo/vite_ruby/commit/bcd8151e77e90b5c219650db604ccf6bb6617720))
|
7
|
+
|
8
|
+
|
9
|
+
|
1
10
|
## [3.0.18](https://github.com/ElMassimo/vite_ruby/compare/vite_rails@3.0.17...vite_rails@3.0.18) (2024-10-21)
|
2
11
|
|
3
12
|
|
@@ -101,7 +101,8 @@ private
|
|
101
101
|
|
102
102
|
# Internal: Renders a modulepreload link tag.
|
103
103
|
def vite_preload_tag(*sources, crossorigin:, **options)
|
104
|
-
|
104
|
+
url_options = options.extract!(:host, :protocol)
|
105
|
+
asset_paths = sources.map { |source| path_to_asset(source, **url_options) }
|
105
106
|
try(:request).try(
|
106
107
|
:send_early_hints,
|
107
108
|
'Link' => asset_paths.map { |href|
|
data/lib/vite_rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vite_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Máximo Mussini
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -88,8 +88,8 @@ homepage: https://github.com/ElMassimo/vite_ruby
|
|
88
88
|
licenses:
|
89
89
|
- MIT
|
90
90
|
metadata:
|
91
|
-
source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_rails@3.0.
|
92
|
-
changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_rails@3.0.
|
91
|
+
source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_rails@3.0.19/vite_rails
|
92
|
+
changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_rails@3.0.19/vite_rails/CHANGELOG.md
|
93
93
|
post_install_message:
|
94
94
|
rdoc_options: []
|
95
95
|
require_paths:
|