y-rb 0.5.0-x64-mingw32 → 0.5.1-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/yrb/Cargo.toml +8 -7
- data/lib/2.7/yrb.so +0 -0
- data/lib/3.0/yrb.so +0 -0
- data/lib/y/awareness.rb +5 -5
- data/lib/y/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dae5f0cfc5942f3b529ba5e5c834e17a34b8f8fcaa9961bfd213d2b680ef2dca
|
4
|
+
data.tar.gz: 7de88defac6445c6755d334ba3a002661c25b85f83e29275c9c1ba0ee4781604
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ef907cf8150c944f830ebcb10f652090b7adb46c40f3b44be0e35b68b83e86f34d83beb62d2eeda65c8a229984b7740f96c189c01f762db5a8eddcdd365b470
|
7
|
+
data.tar.gz: 99e2ec1b3db9e987e5ba911a52fc68a9df6f167848a4b3344a490d1270922dc02be53de2b855b9c06634a350315175d3085a17fe349e9788f4051c65b854a33b
|
data/ext/yrb/Cargo.toml
CHANGED
@@ -1,20 +1,21 @@
|
|
1
1
|
[package]
|
2
2
|
name = "yrb"
|
3
|
-
version = "0.5.
|
3
|
+
version = "0.5.1"
|
4
4
|
authors = ["Hannes Moser <box@hannesmoser.at>", "Hannes Moser <hmoser@gitlab.com>"]
|
5
5
|
edition = "2021"
|
6
6
|
homepage = "https://github.com/y-crdt/yrb"
|
7
7
|
repository = "https://github.com/y-crdt/yrb"
|
8
8
|
|
9
9
|
[dependencies]
|
10
|
-
lib0 = "0.16.
|
11
|
-
magnus =
|
12
|
-
thiserror = "1.0.
|
13
|
-
yrs = "0.16.
|
14
|
-
y-sync = "0.
|
10
|
+
lib0 = "0.16.5" # must match yrs version
|
11
|
+
magnus = "0.5.2"
|
12
|
+
thiserror = "1.0.40"
|
13
|
+
yrs = "0.16.5"
|
14
|
+
y-sync = "0.3.0"
|
15
|
+
rb-sys = "0.9.71"
|
15
16
|
|
16
17
|
[dev-dependencies]
|
17
|
-
magnus = {
|
18
|
+
magnus = { version = "0.5.2", features = ["embed"] }
|
18
19
|
|
19
20
|
[lib]
|
20
21
|
name = "yrb"
|
data/lib/2.7/yrb.so
CHANGED
Binary file
|
data/lib/3.0/yrb.so
CHANGED
Binary file
|
data/lib/y/awareness.rb
CHANGED
@@ -25,19 +25,19 @@ module Y
|
|
25
25
|
# local_state = {
|
26
26
|
# editing: { field: "description", pos: 0 },
|
27
27
|
# name: "Hannes Moser"
|
28
|
-
# }
|
28
|
+
# }
|
29
29
|
#
|
30
30
|
# awareness = Y::Awareness.new
|
31
31
|
# awareness.local_state = local_state
|
32
32
|
# awareness.diff # [1,227,245,175,195,11,1,65,123, …]
|
33
33
|
#
|
34
34
|
# @example Two connected clients
|
35
|
-
# local_state_a = { name: "User A" }
|
35
|
+
# local_state_a = { name: "User A" }
|
36
36
|
#
|
37
37
|
# client_a = Y::Awareness.new
|
38
38
|
# client_a.local_state = local_state
|
39
39
|
#
|
40
|
-
# local_state_b = { name: "User B" }
|
40
|
+
# local_state_b = { name: "User B" }
|
41
41
|
#
|
42
42
|
# client_b = Y::Awareness.new
|
43
43
|
# client_b.local_state = local_state_b
|
@@ -85,7 +85,7 @@ module Y
|
|
85
85
|
# local_state = {
|
86
86
|
# editing: { field: "description", pos: 0 },
|
87
87
|
# name: "Hannes Moser"
|
88
|
-
# }
|
88
|
+
# }
|
89
89
|
#
|
90
90
|
# awareness = Y::Awareness.new
|
91
91
|
# awareness.local_state = local_state
|
@@ -125,7 +125,7 @@ module Y
|
|
125
125
|
# local_state = {
|
126
126
|
# editing: { field: "description", pos: 0 },
|
127
127
|
# name: "Hannes Moser"
|
128
|
-
# }
|
128
|
+
# }
|
129
129
|
#
|
130
130
|
# awareness = Y::Awareness.new
|
131
131
|
# awareness.local_state = local_state
|
data/lib/y/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: y-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Hannes Moser
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.9.
|
34
|
+
version: 0.9.71
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 0.9.
|
41
|
+
version: 0.9.71
|
42
42
|
force_ruby_platform: false
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: rake-compiler
|