vite_plugin_legacy 0.5.4 → 3.0.0.beta.1

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: 7dd6f1d0354156f1823af94beea7e70ba1bb36da752762c85674a933a0f21ca0
4
+ data.tar.gz: 17cf86d5ffe6b98952337eae99e6109c2c98b76960af3d91894d039924e48405
5
5
  SHA512:
6
- metadata.gz: e91d61c776884b2ea02e41fc6868ab02ab0fbe3ec53f6d562ddc88693efdb43021261e3ae9d02b79ae3df0df5b7a17987e1d60c715e6f06d572449d5b45048a8
7
- data.tar.gz: 4ea45c734e684493fd061fcb98701e70663a66739371ce868c49020bb1ec07ece8c18e22453584287ce1a62ed4286497a85ff133ab1e7e5e26c1b5ec3e0977e4
6
+ metadata.gz: 5ef33684ef79f45e829610a0a26892cb5ac97e1380663470dc7871ca9ddd26a9981485cb19a9b61c03365b1b280b927abdde5200db583c5338ef237f8332ca45
7
+ data.tar.gz: b58bb1687c54b5568a27e678f0405e4f96e555dd77efce945a843455a988b9fb987ff855cfd26ea6ea43d7f84c6258b5cbd61ef826dfb6da6e4ac27bf6adce9b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## [0.5.6](https://github.com/ElMassimo/vite_ruby/compare/vite_plugin_legacy@0.5.5...vite_plugin_legacy@0.5.6) (2021-07-19)
2
+
3
+ ### Improvements
4
+ * Simplify implementation of legacy tag helper ([70bfac1](https://github.com/ElMassimo/vite_ruby/commit/70bfac1))
5
+
6
+
7
+
8
+ ## [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)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * Passing a file with extension to vite_legacy_javascript_tag ([c54f3b3](https://github.com/ElMassimo/vite_ruby/commit/c54f3b3372e8e5c0f800c5f68bffbb6d0b7990c4))
14
+
15
+
16
+
1
17
  ## [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
18
 
3
19
 
@@ -7,10 +7,9 @@ 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')
11
- id = "vite-#{ legacy_name.tr(' .\'', '-') }-entry"
12
- import_tag = content_tag(:script, nomodule: true, id: id, 'data-src': vite_asset_path(legacy_name, type: asset_type)) {
13
- "System.import(document.getElementById('#{ id }').getAttribute('data-src'))".html_safe
10
+ legacy_name = name.sub(/(\..+)|$/, '-legacy\1')
11
+ import_tag = content_tag(:script, nomodule: true) {
12
+ "System.import('#{ vite_asset_path(legacy_name, type: asset_type) }')".html_safe
14
13
  }
15
14
 
16
15
  safe_join [vite_legacy_polyfill_tag, import_tag]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VitePluginLegacy
4
- VERSION = '0.5.4'
4
+ VERSION = '3.0.0.beta.1'
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: 3.0.0.beta.1
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-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: vite_ruby
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: 3.0.0.beta.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.0'
26
+ version: 3.0.0.beta.1
27
27
  description:
28
28
  email:
29
29
  - maximomussini@gmail.com
@@ -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@3.0.0.beta.1/vite_plugin_legacy
46
+ changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_plugin_legacy@3.0.0.beta.1/vite_plugin_legacy/CHANGELOG.md
47
47
  post_install_message:
48
48
  rdoc_options: []
49
49
  require_paths:
@@ -55,9 +55,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
55
55
  version: '2.5'
56
56
  required_rubygems_version: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - ">="
58
+ - - ">"
59
59
  - !ruby/object:Gem::Version
60
- version: '0'
60
+ version: 1.3.1
61
61
  requirements: []
62
62
  rubygems_version: 3.1.4
63
63
  signing_key: