roda-vite 0.1.0 → 0.2.0
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/lib/roda-vite.rb +2 -2
- data/lib/version.rb +1 -1
- data/lib/vite_roda/lib/vite_roda/installation.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51e00d93e8bc7e9056589ba297027ad2cafb51553bd7bcb2d2e558626f545b8c
|
4
|
+
data.tar.gz: 3de2c888fe6852b6ef5d75d6f07b87bff83903469472cbd97ab5f3d49af86462
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 747763c56aa86fb1b6c29695aba74c7b0cffbb19143e0116415be6bc30797de4d1dd64bf28b041e971d4eba71270bee136c4c139f54f2a9a0e09d15675c95bfb
|
7
|
+
data.tar.gz: f7d6d5afa2c0d3ed22aafe70ad516f8536209bdbcbf37cdef378f62febc7bc89be8eb1bcf90af8b00fe06666dbb4c03985437e8708778a0ca08ba88aed79ca1e
|
data/lib/roda-vite.rb
CHANGED
@@ -6,9 +6,9 @@ rescue Gem::LoadError
|
|
6
6
|
end
|
7
7
|
|
8
8
|
begin
|
9
|
-
require 'vite_ruby
|
9
|
+
require 'vite_ruby-roda'
|
10
10
|
rescue LoadError => e
|
11
|
-
raise unless e.path == 'vite_ruby
|
11
|
+
raise unless e.path == 'vite_ruby-roda'
|
12
12
|
if gem_installed?('vite_ruby')
|
13
13
|
raise "Missing dependency: vite_ruby-roda is required by roda-vite. Please add it to your Gemfile.\n" +
|
14
14
|
'Found vite_ruby, however roda-vite requires vite_ruby-roda. If vite_ruby is in your Gemfile, you may replace it.'
|
data/lib/version.rb
CHANGED
@@ -49,7 +49,7 @@ module ViteRoda::Installation
|
|
49
49
|
|
50
50
|
# say "\nVite ⚡️ Ruby successfully installed! 🎉"
|
51
51
|
|
52
|
-
|
52
|
+
puts <<~POST_INSTALL_MESSAGE
|
53
53
|
\e[2mIf you have your css in \e[36massets/css/app.css\e[0;2m, you'll want to add the following to your html:
|
54
54
|
|
55
55
|
\e[2m <head>\e[m
|
@@ -61,7 +61,7 @@ module ViteRoda::Installation
|
|
61
61
|
To install \e[36mnode_modules/\e[0;2m, run:
|
62
62
|
|
63
63
|
\e[0;1;36m #{js_command}\e[m
|
64
|
-
|
64
|
+
POST_INSTALL_MESSAGE
|
65
65
|
end
|
66
66
|
|
67
67
|
# Internal: Ensures the Vite plugin is loaded in app.rb
|