y-rb 0.4.3 → 0.4.4

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: 0f528614fd5944928bb9f7df38fdecf245d10e1d189037b8d09e663ab347c25b
4
- data.tar.gz: fccdb40fed33a10c53e5229b32c2cd374a6717dc7a1882a0fdbf456ee7b2a9cf
3
+ metadata.gz: dc0dfc4d5578e2f6abca4c9224b9d84723371adb5be4b9c44ecf0dc99f70bf6a
4
+ data.tar.gz: b8e6e6c7c1e9552d4866e52813c43f67763d4a9ed7d114df33a769818e895ccd
5
5
  SHA512:
6
- metadata.gz: fb0e026977197d73ca34a094a79fbbb14ab5fe0d4f6fd03c6f3b63827186997e0da9ba201db251dd1624ecd6beceec21d466e5a456843871d9b47d0e9e570dcf
7
- data.tar.gz: 1f7bed85b0c40a669197195957b5d1afaccb574d0cb856fcad0d823fe955e0afa4b5efb9d9ad93a3bd7c8c13909c4e4fae03190f88145a8cb8d4615354212a8c
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"
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.15.0" # must match yrs version
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.15.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"] }
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Y
4
- VERSION = "0.4.3"
4
+ VERSION = "0.4.4"
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.4.3
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-23 00:00:00.000000000 Z
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.4
129
+ rubygems_version: 3.4.5
130
130
  signing_key:
131
131
  specification_version: 4
132
132
  summary: Ruby bindings for yrs