y-rb 0.5.3 → 0.5.4
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 +3 -3
- data/ext/yrb/src/yarray.rs +1 -2
- data/lib/y/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8034120b38b55364b5ed9b0776d6a094c6f189d76ac97d30ae65a652194371c9
|
4
|
+
data.tar.gz: 32a92974d581d6e33c83566949e4300941729db9bb3657d1ecc2e741f0d438ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df7a14637b304b041c7fc91a6f341802573eb8622bde19ffc854b949c9eb4524caccc70c85e2e0943e6961d4332a2f30c458527c4ee7e762663d030ccc07df52
|
7
|
+
data.tar.gz: e4167c93c5b1794f7df7a2397e6761b9eab72cf9fc76f4a9227961b751f0844408696aff03a0c13b981e6ff816c805426a523cfa77b5345ae58b280f9b680657
|
data/ext/yrb/Cargo.toml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
[package]
|
2
2
|
name = "yrb"
|
3
|
-
version = "0.5.
|
3
|
+
version = "0.5.4"
|
4
4
|
authors = ["Hannes Moser <box@hannesmoser.at>"]
|
5
5
|
edition = "2021"
|
6
6
|
homepage = "https://github.com/y-crdt/yrb"
|
@@ -9,10 +9,10 @@ repository = "https://github.com/y-crdt/yrb"
|
|
9
9
|
[dependencies]
|
10
10
|
lib0 = "0.16.10" # must match yrs version
|
11
11
|
magnus = "0.6.2"
|
12
|
-
thiserror = "1.0.
|
12
|
+
thiserror = "1.0.56"
|
13
13
|
yrs = "=0.16.10"
|
14
14
|
y-sync = "=0.3.1"
|
15
|
-
rb-sys = "0.9.
|
15
|
+
rb-sys = "0.9.86"
|
16
16
|
|
17
17
|
[dev-dependencies]
|
18
18
|
magnus = { version = "0.6.2", features = ["embed"] }
|
data/ext/yrb/src/yarray.rs
CHANGED
@@ -5,7 +5,6 @@ use lib0::any::Any;
|
|
5
5
|
use magnus::block::Proc;
|
6
6
|
use magnus::value::Qnil;
|
7
7
|
use magnus::{Error, IntoValue, RArray, RHash, Symbol, Value};
|
8
|
-
use std::borrow::Borrow;
|
9
8
|
use std::cell::RefCell;
|
10
9
|
use yrs::types::Change;
|
11
10
|
use yrs::{Array, ArrayRef, Observable};
|
@@ -117,7 +116,7 @@ impl YArray {
|
|
117
116
|
if errors.is_empty() {
|
118
117
|
let args_changes = RArray::new();
|
119
118
|
for change in changes.iter() {
|
120
|
-
let c = *change.
|
119
|
+
let c = *change.as_ref().unwrap();
|
121
120
|
args_changes
|
122
121
|
.push(c)
|
123
122
|
.expect("cannot push change event to args");
|
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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hannes Moser
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.9.
|
33
|
+
version: 0.9.86
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.9.
|
40
|
+
version: 0.9.86
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake-compiler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
61
|
+
version: 1.4.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.
|
68
|
+
version: 1.4.0
|
69
69
|
description: Ruby bindings for yrs. Yrs "wires" is a Rust port of the Yjs framework.
|
70
70
|
email:
|
71
71
|
- hmoser@gitlab.com
|