vite_plugin_legacy 0.5.4 → 0.5.5
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_plugin_legacy/tag_helpers.rb +1 -1
- data/lib/vite_plugin_legacy/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: e6999d44214b380bafb3bac056067740e15fc6fdda110d2e252f515d3d40f5b7
|
4
|
+
data.tar.gz: 593cdd9c5c7a649bbeec8a0a1a27a0e0f5422fab0fd1264c814a3917a5b63fcd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 741c3fae1dd20d881218c814e3c093069ee8c3172e63206bc7670ee74fa0555502e84e9c113fe387bb57c64a965d916895978a2b48c743758bf3e3795e5a3d0e
|
7
|
+
data.tar.gz: f37953c54a4a7a2a46a9efb7bcf9c17115e789604929f0ae8b9acdbb4eb0e2c74d6881e7edcf6c960e6189053e577df62882e5bc5c69ce31a46b1b95a5a6642a
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## [0.5.5](https://github.com/ElMassimo/vite_ruby/compare/vite_plugin_legacy@0.5.4...vite_plugin_legacy@0.5.5) (2021-03-18)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* Passing a file with extension to vite_legacy_javascript_tag ([c54f3b3](https://github.com/ElMassimo/vite_ruby/commit/c54f3b3372e8e5c0f800c5f68bffbb6d0b7990c4))
|
7
|
+
|
8
|
+
|
9
|
+
|
1
10
|
## [0.5.4](https://github.com/ElMassimo/vite_ruby/compare/vite_plugin_legacy@0.5.3...vite_plugin_legacy@0.5.4) (2021-03-08)
|
2
11
|
|
3
12
|
|
@@ -7,7 +7,7 @@ module VitePluginLegacy::TagHelpers
|
|
7
7
|
def vite_legacy_javascript_tag(name, asset_type: :javascript)
|
8
8
|
return if ViteRuby.instance.dev_server_running?
|
9
9
|
|
10
|
-
legacy_name = name.sub(
|
10
|
+
legacy_name = name.sub(/(\..+)|$/, '-legacy\1')
|
11
11
|
id = "vite-#{ legacy_name.tr(' .\'', '-') }-entry"
|
12
12
|
import_tag = content_tag(:script, nomodule: true, id: id, 'data-src': vite_asset_path(legacy_name, type: asset_type)) {
|
13
13
|
"System.import(document.getElementById('#{ id }').getAttribute('data-src'))".html_safe
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vite_plugin_legacy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.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: 2021-03-
|
11
|
+
date: 2021-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: vite_ruby
|
@@ -42,8 +42,8 @@ homepage: https://github.com/ElMassimo/vite_ruby
|
|
42
42
|
licenses:
|
43
43
|
- MIT
|
44
44
|
metadata:
|
45
|
-
source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_plugin_legacy@0.5.
|
46
|
-
changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_plugin_legacy@0.5.
|
45
|
+
source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_plugin_legacy@0.5.5/vite_plugin_legacy
|
46
|
+
changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_plugin_legacy@0.5.5/vite_plugin_legacy/CHANGELOG.md
|
47
47
|
post_install_message:
|
48
48
|
rdoc_options: []
|
49
49
|
require_paths:
|