y-rb 0.5.0-x86_64-linux → 0.5.1-x86_64-linux
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/3.1/yrb.so +0 -0
- data/lib/3.2/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: d9052d78ebc7f6da3710172c4bb7d8448c0634d7a550351665f9c848c997e1cf
|
4
|
+
data.tar.gz: b1674a6d8e46252bc6277b8c451c482ed51377734e00fd6938e0641f9f6011fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fca4a1e66010cbc3a2a2e121f1d72818989999bc42d3686f377371de35d97a37e833f63d6e5dbd5bb12698ceae2b26402795948ac48dc72b26d587a77973e23
|
7
|
+
data.tar.gz: 1247463cb32a8396dbd8f440ba165c7b6b9aade54d2f51a02643b30b886ec7ffe38c18df6ae2b1998ed9a732d16c2e997d050acc09d4d1857f6b52a6a195eba1
|
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/3.1/yrb.so
CHANGED
Binary file
|
data/lib/3.2/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: x86_64-linux
|
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
|