wasmify-rails 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +2 -0
- data/lib/generators/wasmify/pwa/templates/pwa/rails.sw.js +1 -1
- data/lib/wasmify/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 683d693ae789d6a5681cbab9e6f66f8a8fbd52a23d4dc440ff78d14e13c3085d
|
4
|
+
data.tar.gz: e8c18abb0382cbec70d562debbf4f16d82eeece71c9dcdb0a82f916216c3f7a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7aafd09c3e716080f96efa987aeb1825ab5307be9cc1dae32e657f30a4f40314fd65e4ec610b8f271c40b3cd7ad0c951eff9be5cc9e3cd80456edaedec19a6c
|
7
|
+
data.tar.gz: 44619a0600d773ecd96e9f012b0245d6567e5d140b04397577560665ae5b49a9f7983755431f644274ebdb6dc76a3e33c91bf37eee5da56d8e4bfdc8f70a9e9b
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -155,6 +155,8 @@ Here is an example app:
|
|
155
155
|
|
156
156
|
This gem provides a variety of _adapters_ and plugins to make your Rails application Wasm-compatible:
|
157
157
|
|
158
|
+
- `Kernel#on_wasm?`: a convenient predicate method to check if the code is running in the Wasm environment.
|
159
|
+
|
158
160
|
- Active Record
|
159
161
|
|
160
162
|
- `sqlite3_wasm` adapter: work with `sqlite3` Wasm just like with a regular SQLite database.
|
@@ -71,7 +71,7 @@ self.addEventListener("activate", (event) => {
|
|
71
71
|
|
72
72
|
self.addEventListener("install", (event) => {
|
73
73
|
console.log("[rails-web] Install Service Worker");
|
74
|
-
event.waitUntil(installApp());
|
74
|
+
event.waitUntil(installApp().then(() => self.skipWaiting()));
|
75
75
|
});
|
76
76
|
|
77
77
|
const rackHandler = new RackHandler(initVM, { assumeSSL: true });
|
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.1.
|
4
|
+
version: 0.1.3
|
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-09-
|
11
|
+
date: 2024-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|