y-rb 0.4.3 → 0.4.5
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/yxml_element.rs +3 -3
- data/lib/y/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83927c49d6611c422184ea193f7957120cc1640b05d95c7adfdb5bd0a067b0c6
|
4
|
+
data.tar.gz: 4247cf14a459e9111864f8bb15dc0d59c431d7936da89c6e57f50cc3b6ebe204
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26929c25cf3eff821ff685cc30e96979f98cce127b25f3d220465f5d26d90237ce579b13f5ebe949b05ffaac99d8d97026206030c38dfce50cf78363937d5508
|
7
|
+
data.tar.gz: 4ef9e699bb5433aa12b5732572f75d620ce021ce3ef5ccf891bfc82d6af7f0c05f2bdc4b176c7aaa19e99900e2dd82e7421de9400ccf3ade8a93fb016b97a11b
|
data/ext/yrb/Cargo.toml
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
[package]
|
2
2
|
name = "yrb"
|
3
|
-
version = "0.4.
|
3
|
+
version = "0.4.5"
|
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.
|
10
|
+
lib0 = "0.16.1" # must match yrs version
|
11
11
|
magnus = { git = "https://github.com/matsadler/magnus", rev = "ab982c3643421b38f3293f1fe014aa373abfd6dc" }
|
12
12
|
thiserror = "1.0.38"
|
13
|
-
yrs = "0.
|
13
|
+
yrs = "0.16.1"
|
14
14
|
|
15
15
|
[dev-dependencies]
|
16
16
|
magnus = { git = "https://github.com/matsadler/magnus", rev = "ab982c3643421b38f3293f1fe014aa373abfd6dc", features = ["embed"] }
|
data/ext/yrb/src/yxml_element.rs
CHANGED
@@ -76,7 +76,7 @@ impl YXmlElement {
|
|
76
76
|
index: u32,
|
77
77
|
content: String,
|
78
78
|
) -> YXmlText {
|
79
|
-
let text = XmlTextPrelim(content.as_str());
|
79
|
+
let text = XmlTextPrelim::new(content.as_str());
|
80
80
|
let mut tx = transaction.transaction();
|
81
81
|
let tx = tx.as_mut().unwrap();
|
82
82
|
|
@@ -204,7 +204,7 @@ impl YXmlElement {
|
|
204
204
|
let mut tx = transaction.transaction();
|
205
205
|
let tx = tx.as_mut().unwrap();
|
206
206
|
|
207
|
-
let text = XmlTextPrelim(content.as_str());
|
207
|
+
let text = XmlTextPrelim::new(content.as_str());
|
208
208
|
YXmlText::from(self.0.borrow_mut().push_back(tx, text))
|
209
209
|
}
|
210
210
|
pub(crate) fn yxml_element_push_text_front(
|
@@ -215,7 +215,7 @@ impl YXmlElement {
|
|
215
215
|
let mut tx = transaction.transaction();
|
216
216
|
let tx = tx.as_mut().unwrap();
|
217
217
|
|
218
|
-
let text = XmlTextPrelim(content.as_str());
|
218
|
+
let text = XmlTextPrelim::new(content.as_str());
|
219
219
|
YXmlText::from(self.0.borrow_mut().push_front(tx, text))
|
220
220
|
}
|
221
221
|
pub(crate) fn yxml_element_remove_attribute(&self, transaction: &YTransaction, name: String) {
|
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.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hannes Moser
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01
|
11
|
+
date: 2023-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
126
|
- !ruby/object:Gem::Version
|
127
127
|
version: 3.3.21
|
128
128
|
requirements: []
|
129
|
-
rubygems_version: 3.4.
|
129
|
+
rubygems_version: 3.4.5
|
130
130
|
signing_key:
|
131
131
|
specification_version: 4
|
132
132
|
summary: Ruby bindings for yrs
|