vite_padrino 0.5.3 → 0.5.4

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: bd907dc28308d4395a8aeac8a853c493b3bdbc68273fff8cfec5d9fc6ad575ac
4
- data.tar.gz: f10d53e20cdff1fac2024619b2425b43a5e38e4409e2b67502878f53489a54ff
3
+ metadata.gz: ed0c5f742453b336e237b33c8c31396e5f5dee8e944d482e206651968ab19141
4
+ data.tar.gz: d27f723ed6ab1e6586665f1fb060e9fc981729a77a8ab10c91f9cbb708c52d5c
5
5
  SHA512:
6
- metadata.gz: 961d5861874ba434045869b93835450d60d68d3cf4027bad930b4e5f065fcf6b7508241e1c2d02f9538cdebea022ab45c7d5947bce2cd8614bd775d361977f7c
7
- data.tar.gz: 97886c78bab23be9cadaea8b780e69df5fddb7b7fd85d95e361193e344b27451c345e28423cf705e13b9bc42bee588cbf7597240ed48ce30ca062b3b06aaa5b8
6
+ metadata.gz: 7198d7834ccbf0c347966948869b15b64dd2b53cda64914be10a7969c5f81f0ccdf458ebfe0cc4ee5bd1d2ee7da7ba0a5c12b71fb91b43b30823e155d223874b
7
+ data.tar.gz: ff102a9c6a98084b3c4c3799a3610e66c124e9766abc49925cb8ebe09cec7b327e63998c490faa7e8702cff17c0a3b519c90367210f02de44fe00b34af807317
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [0.5.4](https://github.com/ElMassimo/vite_ruby/compare/vite_padrino@0.5.3...vite_padrino@0.5.4) (2021-04-21)
2
+
3
+
4
+ ### Features
5
+
6
+ * Add helpers to enable HMR when using @vitejs/plugin-react-refresh ([a80f286](https://github.com/ElMassimo/vite_ruby/commit/a80f286d4305bbae29ea7cea42a4329a530f43fa))
7
+
8
+
9
+
1
10
  ## [0.5.3](https://github.com/ElMassimo/vite_ruby/compare/vite_padrino@0.5.2...vite_padrino@0.5.3) (2021-03-18)
2
11
 
3
12
 
@@ -9,6 +9,11 @@ module VitePadrino::TagHelpers
9
9
  content_tag(:script, nil, src: src, type: 'module')
10
10
  end
11
11
 
12
+ # Public: Renders a script tag to enable HMR with React Refresh.
13
+ def vite_react_refresh_tag
14
+ vite_manifest.react_refresh_preamble&.html_safe
15
+ end
16
+
12
17
  # Public: Resolves the path for the specified Vite asset.
13
18
  #
14
19
  # Example:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module VitePadrino
4
- VERSION = '0.5.3'
4
+ VERSION = '0.5.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vite_padrino
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
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-18 00:00:00.000000000 Z
11
+ date: 2021-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: vite_ruby
@@ -43,8 +43,8 @@ homepage: https://github.com/ElMassimo/vite_ruby
43
43
  licenses:
44
44
  - MIT
45
45
  metadata:
46
- source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_padrino@0.5.3/vite_padrino
47
- changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_padrino@0.5.3/vite_padrino/CHANGELOG.md
46
+ source_code_uri: https://github.com/ElMassimo/vite_ruby/tree/vite_padrino@0.5.4/vite_padrino
47
+ changelog_uri: https://github.com/ElMassimo/vite_ruby/blob/vite_padrino@0.5.4/vite_padrino/CHANGELOG.md
48
48
  post_install_message:
49
49
  rdoc_options: []
50
50
  require_paths: