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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd77db92508918fc11424cd830c80bfdecb435ba5623ebd0d0d8b9ed1adb7a37
4
- data.tar.gz: a4b40ee84fde7646056ef81e67f8d7f978d43e1e22966f7a500633d014ca9381
3
+ metadata.gz: d9052d78ebc7f6da3710172c4bb7d8448c0634d7a550351665f9c848c997e1cf
4
+ data.tar.gz: b1674a6d8e46252bc6277b8c451c482ed51377734e00fd6938e0641f9f6011fa
5
5
  SHA512:
6
- metadata.gz: '08253c1cac2a5a1935fafb64a2f8891356880623cbfa43772290e8ca33359fdd8df2d323a10ae3de15e8e784d4d65484a6df35ab6cb3986b5af342535bbdfacb'
7
- data.tar.gz: 1f9cdc2910c11c06d3c76c8bed8b79227c6684a9a5f3e286762b858c4f3202a29cacbe1593141f849f1598d9dbc9c16f57c65ced7ebe874fef29fc30d2056112
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.0"
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.2" # must match yrs version
11
- magnus = { git = "https://github.com/matsadler/magnus", rev = "2c2024920a403daadbe23fe63270440dfac86288" }
12
- thiserror = "1.0.38"
13
- yrs = "0.16.2"
14
- y-sync = "0.2.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 = { git = "https://github.com/matsadler/magnus", rev = "2c2024920a403daadbe23fe63270440dfac86288", features = ["embed"] }
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
- # }.to_json
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" }.to_json
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" }.to_json
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
- # }.to_json
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
- # }.to_json
128
+ # }
129
129
  #
130
130
  # awareness = Y::Awareness.new
131
131
  # awareness.local_state = local_state
data/lib/y/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Y
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.1"
5
5
  end
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.0
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-02-08 00:00:00.000000000 Z
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.56
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.56
41
+ version: 0.9.71
42
42
  force_ruby_platform: false
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: rake-compiler