y-rb 0.4.3 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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: dc0dfc4d5578e2f6abca4c9224b9d84723371adb5be4b9c44ecf0dc99f70bf6a
|
|
4
|
+
data.tar.gz: b8e6e6c7c1e9552d4866e52813c43f67763d4a9ed7d114df33a769818e895ccd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d8270d7099b047a39c1ad2fd9c579d87ebd6a1fcecbc1a421a4119a7019270567a14fc1b320ae6ab7d7134e19e796a1702feb7690986f39a521b418f5489b426
|
|
7
|
+
data.tar.gz: 906a236b4b56954dfcd23837fd4b2beaf1a14b8390776433376e4fe9ba0e8e8e414c5bcdf5cc52d9b275bee1f80af3025d6b91dccf87e2346e87adbbf2339479
|
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.4"
|
|
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.0" # 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.0"
|
|
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.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: 2023-01-
|
|
11
|
+
date: 2023-01-31 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
|