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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54ada8ef532455ac5c8a8f269e1014f7113aff6124d6e1a8647ae3d1e2a45101
4
- data.tar.gz: 3bde244c5aebb381564ca15b65faee23d35239eb0ebde5d4bff20bf203b99e07
3
+ metadata.gz: e6999d44214b380bafb3bac056067740e15fc6fdda110d2e252f515d3d40f5b7
4
+ data.tar.gz: 593cdd9c5c7a649bbeec8a0a1a27a0e0f5422fab0fd1264c814a3917a5b63fcd
5
5
  SHA512:
6
- metadata.gz: e91d61c776884b2ea02e41fc6868ab02ab0fbe3ec53f6d562ddc88693efdb43021261e3ae9d02b79ae3df0df5b7a17987e1d60c715e6f06d572449d5b45048a8
7
- data.tar.gz: 4ea45c734e684493fd061fcb98701e70663a66739371ce868c49020bb1ec07ece8c18e22453584287ce1a62ed4286497a85ff133ab1e7e5e26c1b5ec3e0977e4
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(/\.|$/, '-legacy\1')
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VitePluginLegacy
4
- VERSION = '0.5.4'
4
+ VERSION = '0.5.5'
5
5
  end
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
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-08 00:00:00.000000000 Z
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.4/vite_plugin_legacy
46
- changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_plugin_legacy@0.5.4/vite_plugin_legacy/CHANGELOG.md
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: