wasmify-rails 0.2.0 → 0.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 615df0740a9931fc1b029ac2a8c77f4f5ff5c6bddacc3d188478d31ee5cc43d9
|
4
|
+
data.tar.gz: 9ddabc5d8422088507b781cd117b28c6b79095b1b154ff56b31ad9633ddf90a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6d5a1d436fa0dd77ae3bb59f6a81c0f58e68e22416dfe4a3a3832c95e049ed0b9ec35f8033a63b0642bca1f391291e7a1786e65771a342c285937408205e0cc
|
7
|
+
data.tar.gz: 7b60876fe1baf69aba5b4b659e826cd95ede5bf8485e2feac17b4b0860374172f2e412b47068cda5b26305dea9982401d1d72e9f5aae09b501ccd48dd0caf7ac
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,22 @@ class Wasmify::PwaGenerator < Rails::Generators::Base
|
|
7
7
|
directory "pwa", "pwa"
|
8
8
|
end
|
9
9
|
|
10
|
+
def configure_wasm_dist
|
11
|
+
prepend_to_file "config/wasmify.yml", <<~EOF
|
12
|
+
output_dir: pwa
|
13
|
+
EOF
|
14
|
+
end
|
15
|
+
|
16
|
+
def install_npm_deps
|
17
|
+
begin
|
18
|
+
in_root do
|
19
|
+
run "(cd pwa/ && yarn install)"
|
20
|
+
end
|
21
|
+
rescue
|
22
|
+
say "Please, make sure to run `yarn install` within the pwa/ folder", :red
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
10
26
|
private
|
11
27
|
|
12
28
|
def wasmify_rails_version = Wasmify::Rails::VERSION
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wasmify-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vladimir Dementyev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|