y-rb 0.5.0-x86_64-darwin → 0.5.1-x86_64-darwin
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.bundle +0 -0
- data/lib/3.0/yrb.bundle +0 -0
- data/lib/3.1/yrb.bundle +0 -0
- data/lib/3.2/yrb.bundle +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: 198181675ddbb7bcfa2ce161aedc41b5766b203039e08572fbec39f9668a2853
|
4
|
+
data.tar.gz: 3f3409e70c3e86a01274eb330acfbbe40e1d69b29dee495bac61fe33df477907
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9446b5937f93f16b59072bd66a2eb856f2abde627c10a1bbf4e512924de45feb27b762b730918ce7bd49fb3a0d94bb691f9e5fec49fe14982c4b7994acd9c17
|
7
|
+
data.tar.gz: 121f702c795997bf9328be80c2d8ccdf66ede9982e267c5e5f23722e40267131cbe629bbe2dc461f8d45dcc0682ae91082ecb801baad556dada28acf6517e553
|
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.bundle
CHANGED
Binary file
|
data/lib/3.0/yrb.bundle
CHANGED
Binary file
|
data/lib/3.1/yrb.bundle
CHANGED
Binary file
|
data/lib/3.2/yrb.bundle
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-darwin
|
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
|