vite_rails 3.0.17 → 3.0.19

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '09ffd4b097008530d82fda12a78c5c8004f022a65e789eac969698d00110b06a'
4
- data.tar.gz: 7310a8678f4772e3b9eab6186033705e1c871e44873e62de2de68a6aa26f2bb9
3
+ metadata.gz: bec6203fd13439bda514b7bc060fa686a092d5abe246c0c7e3bc9bb94d57f3be
4
+ data.tar.gz: 5528b478eeaf0f21630f0c546bd624879520d36ac50dd03414da68da06125998
5
5
  SHA512:
6
- metadata.gz: 7257343e6a237462b31552ef89a72cc77ade0cc639b99ec6d9689fc38ae568e1289882a9e34a092b90d86bfaa0cea03584ee8446f969a32561c62e283533e911
7
- data.tar.gz: 9edaaf096099ef3ccf762661c4cea9de82ccc2b6a5d02b5abb47c32cc1321f7dd973ca9c0d63b6ce54090507f1a9144cf6855dae2b76300062707cb8523a62e5
6
+ metadata.gz: ba27baf7621e86dc14fafd03b965e8f24c7aade5763ce68e94a044e93c047716cf674e2c738047e4ed17d961898e16571c80a568435a24b8c299509592d1630c
7
+ data.tar.gz: d9918d6bc2f636882ac336ea29bcc66e603f654ddcc1002bb53b59026c6b066684b01b19c14ac5e957fc861162851119e05c5ff62d1e0ec093b84e907bc0c9f1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
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
+
10
+ ## [3.0.18](https://github.com/ElMassimo/vite_ruby/compare/vite_rails@3.0.17...vite_rails@3.0.18) (2024-10-21)
11
+
12
+
13
+
1
14
  ## [3.0.17](https://github.com/ElMassimo/vite_ruby/compare/vite_rails@3.0.16...vite_rails@3.0.17) (2023-10-05)
2
15
 
3
16
 
@@ -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
- asset_paths = sources.map { |source| path_to_asset(source) }
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|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ViteRails
4
- VERSION = '3.0.17'
4
+ VERSION = '3.0.19'
5
5
  end
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.17
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: 2023-10-05 00:00:00.000000000 Z
11
+ date: 2024-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '5.1'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '8'
22
+ version: '9'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '5.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '8'
32
+ version: '9'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: vite_ruby
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -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.17/vite_rails
92
- changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_rails@3.0.17/vite_rails/CHANGELOG.md
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: