lively 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/lively/version.rb +1 -1
- data/public/_components/@socketry/live/Live.js +1 -1
- data/public/_components/@socketry/live/package.json +1 -1
- data/readme.md +9 -5
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba912160824ddae23c9161a2e1d2e61fe42533b1b5db37d274e7f41537def259
|
4
|
+
data.tar.gz: 1163c8cedd44500896e920adf7e2654f7f4c7360cba3d80d1d742083d8778ae2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35c007c12de1613ca135775132ffa358643ebda9ba6aa3ee95623572300796dcb8d74a9eb8da131b20417e63ab614bfdebab96a26453b9cdf566257c2fa24d12
|
7
|
+
data.tar.gz: eed3f935d47cebb7f96b3e5b201eab0e5d494ce1d29a7882301d99ca5ac5dee89efe86c0f6d241f5228a4af0e11e00006f6e0c3873a1c3f1b8503c3b24211235
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/lively/version.rb
CHANGED
@@ -108,7 +108,7 @@ export class Live {
|
|
108
108
|
// Explicit disconnect will clear `this.#server`:
|
109
109
|
if (this.#server && !this.#reconnectTimer) {
|
110
110
|
// We need a minimum delay otherwise this can end up immediately invoking the callback:
|
111
|
-
const delay = Math.
|
111
|
+
const delay = Math.min(100 * (this.#failures ** 2), 60000);
|
112
112
|
this.#reconnectTimer = setTimeout(() => {
|
113
113
|
this.#reconnectTimer = null;
|
114
114
|
this.connect();
|
data/readme.md
CHANGED
@@ -1,16 +1,20 @@
|
|
1
1
|
# Lively
|
2
2
|
|
3
|
-
A
|
3
|
+
A Ruby framework for building interactive web applications for creative coding.
|
4
4
|
|
5
5
|
[![Development Status](https://github.com/socketry/lively/workflows/Test/badge.svg)](https://github.com/socketry/lively/actions?workflow=Test)
|
6
6
|
|
7
|
-
##
|
7
|
+
## Usage
|
8
8
|
|
9
|
-
|
9
|
+
See the various examples in the `examples/` directory.
|
10
10
|
|
11
|
-
|
11
|
+
### Live Coding
|
12
|
+
|
13
|
+
You can use `entr` to reload the server when files change:
|
12
14
|
|
13
|
-
|
15
|
+
``` bash
|
16
|
+
$ ls **/*.rb | entr -r bundle exec ./application.rb
|
17
|
+
```
|
14
18
|
|
15
19
|
## Contributing
|
16
20
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lively
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -37,7 +37,7 @@ cert_chain:
|
|
37
37
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
38
38
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
39
39
|
-----END CERTIFICATE-----
|
40
|
-
date: 2024-05-
|
40
|
+
date: 2024-05-14 00:00:00.000000000 Z
|
41
41
|
dependencies:
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: falcon
|
metadata.gz.sig
CHANGED
Binary file
|