vite_rails_legacy 3.0.4 → 3.0.5
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 +9 -0
- data/lib/vite_rails_legacy/tag_helpers.rb +8 -0
- data/lib/vite_rails_legacy/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 40f3eac22ded3c1aa51f8df2f9f358fd6ca22d4a161da559e5d3ce88a989ffa7
|
|
4
|
+
data.tar.gz: a1ecde2de7ffb38d832e88e3a35357bf36c7360c7edb7c196fa7a09582d9bf8e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c7ea3513568e709000f49ae9bebcb810accb1155017a3543e1af741887a3841c21c98485957066da0afac75a00332f1114b308dc0c92bb0b749cc88a8c4049c6
|
|
7
|
+
data.tar.gz: 66f7ebc27e416121c9ff6dc7036f3100ebacb23a829bbcca818bf1f3df2e1f258e0b7e068534808c2bac1fa4bdbc4ea343bbae3d420f796f1847f10385382325
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [3.0.5](https://github.com/ElMassimo/vite_ruby/compare/vite_rails_legacy@3.0.4...vite_rails_legacy@3.0.5) (2022-04-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add vite_asset_url helper ([#208](https://github.com/ElMassimo/vite_ruby/issues/208)) ([d269793](https://github.com/ElMassimo/vite_ruby/commit/d2697934b5a866ea5b14588b650a00dfe88454a3))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
## [3.0.4](https://github.com/ElMassimo/vite_ruby/compare/vite_rails_legacy@3.0.3...vite_rails_legacy@3.0.4) (2022-04-14)
|
|
2
11
|
|
|
3
12
|
|
|
@@ -22,6 +22,14 @@ module ViteRailsLegacy::TagHelpers
|
|
|
22
22
|
path_to_asset vite_manifest.path_for(name, **options)
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
+
# Public: Resolves the url for the specified Vite asset.
|
|
26
|
+
#
|
|
27
|
+
# Example:
|
|
28
|
+
# <%= vite_asset_url 'calendar.css' %> # => "https://example.com/vite/assets/calendar-1016838bab065ae1e122.css"
|
|
29
|
+
def vite_asset_url(name, **options)
|
|
30
|
+
url_to_asset vite_manifest.path_for(name, **options)
|
|
31
|
+
end
|
|
32
|
+
|
|
25
33
|
# Public: Renders a <script> tag for the specified Vite entrypoints.
|
|
26
34
|
def vite_javascript_tag(*names,
|
|
27
35
|
type: 'module',
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vite_rails_legacy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.5
|
|
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: 2022-04-
|
|
11
|
+
date: 2022-04-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|
|
@@ -61,8 +61,8 @@ homepage: https://github.com/ElMassimo/vite_ruby
|
|
|
61
61
|
licenses:
|
|
62
62
|
- MIT
|
|
63
63
|
metadata:
|
|
64
|
-
source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_rails_legacy@3.0.
|
|
65
|
-
changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_rails_legacy@3.0.
|
|
64
|
+
source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_rails_legacy@3.0.5/vite_rails_legacy
|
|
65
|
+
changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_rails_legacy@3.0.5/vite_rails_legacy/CHANGELOG.md
|
|
66
66
|
post_install_message:
|
|
67
67
|
rdoc_options: []
|
|
68
68
|
require_paths:
|
|
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
78
78
|
- !ruby/object:Gem::Version
|
|
79
79
|
version: '0'
|
|
80
80
|
requirements: []
|
|
81
|
-
rubygems_version: 3.
|
|
81
|
+
rubygems_version: 3.2.32
|
|
82
82
|
signing_key:
|
|
83
83
|
specification_version: 4
|
|
84
84
|
summary: Use Vite in Rails 4 and bring joy to your JavaScript experience
|