y-rb 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.toml +4 -4
- data/Cross.toml +2 -0
- data/Gemfile.lock +7 -7
- data/README.md +7 -5
- data/lib/y/version.rb +1 -1
- metadata +7 -8
- data/.cargo/config.toml +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a9ebdfd28929fbb58e3ec0f62f896686ef4994155918b283b874ee6030ad22f
|
4
|
+
data.tar.gz: 56f75134bb052ce9fc1a2debb98c15785d82fde4f4c8467d48c414efed9c9d4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b968afaeb2a96f9442d19cf938f4cd40d08683eac2665639489673b8b5ca8d2379a26301b99305355cc188c01021b511bde08fc10ebb0a2e365fb6ec01e0b77f
|
7
|
+
data.tar.gz: 16d635047a01168e8b4b53ce4af22803e4a4542a1aab872a4c305b7491e037f8118efe12a4c75543646960c5531f86f20f6cd9ab7e9e49d14b81437a71a1d094
|
data/Cargo.toml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
[package]
|
2
2
|
name = "y-rb"
|
3
3
|
version = "0.1.0"
|
4
|
-
authors = ["Hannes Moser <box@hannesmoser.at>"]
|
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"
|
@@ -9,9 +9,9 @@ repository = "https://github.com/y-crdt/yrb"
|
|
9
9
|
[dependencies]
|
10
10
|
lazy_static = "1.4.0"
|
11
11
|
rutie = "0.8.4"
|
12
|
-
yrs = "0.
|
13
|
-
lib0 = "0.
|
14
|
-
cross = "0.2.1"
|
12
|
+
yrs = "0.9.1"
|
13
|
+
lib0 = "0.9.1" # must match yrs version
|
14
|
+
cross = "0.2.1" # https://github.com/cross-rs/cross/issues/615
|
15
15
|
|
16
16
|
[lib]
|
17
17
|
name = "y_rb"
|
data/Cross.toml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
y-rb (0.1.
|
4
|
+
y-rb (0.1.1)
|
5
5
|
rake (~> 13.0)
|
6
6
|
rutie (~> 0.0.4)
|
7
7
|
thermite (~> 0)
|
@@ -11,7 +11,7 @@ GEM
|
|
11
11
|
specs:
|
12
12
|
ast (2.4.2)
|
13
13
|
diff-lcs (1.5.0)
|
14
|
-
github-markup (4.0.
|
14
|
+
github-markup (4.0.1)
|
15
15
|
minitar (0.9)
|
16
16
|
parallel (1.22.1)
|
17
17
|
parser (3.1.2.0)
|
@@ -19,7 +19,7 @@ GEM
|
|
19
19
|
rainbow (3.1.1)
|
20
20
|
rake (13.0.6)
|
21
21
|
redcarpet (3.5.1)
|
22
|
-
regexp_parser (2.
|
22
|
+
regexp_parser (2.5.0)
|
23
23
|
rexml (3.2.5)
|
24
24
|
rspec (3.11.0)
|
25
25
|
rspec-core (~> 3.11.0)
|
@@ -34,16 +34,16 @@ GEM
|
|
34
34
|
diff-lcs (>= 1.2.0, < 2.0)
|
35
35
|
rspec-support (~> 3.11.0)
|
36
36
|
rspec-support (3.11.0)
|
37
|
-
rubocop (1.
|
37
|
+
rubocop (1.30.0)
|
38
38
|
parallel (~> 1.10)
|
39
39
|
parser (>= 3.1.0.0)
|
40
40
|
rainbow (>= 2.2.2, < 4.0)
|
41
41
|
regexp_parser (>= 1.8, < 3.0)
|
42
|
-
rexml
|
43
|
-
rubocop-ast (>= 1.
|
42
|
+
rexml (>= 3.2.5, < 4.0)
|
43
|
+
rubocop-ast (>= 1.18.0, < 2.0)
|
44
44
|
ruby-progressbar (~> 1.7)
|
45
45
|
unicode-display_width (>= 1.4.0, < 3.0)
|
46
|
-
rubocop-ast (1.
|
46
|
+
rubocop-ast (1.18.0)
|
47
47
|
parser (>= 3.1.1.0)
|
48
48
|
rubocop-rspec (2.10.0)
|
49
49
|
rubocop (~> 1.19)
|
data/README.md
CHANGED
@@ -1,8 +1,5 @@
|
|
1
1
|
# Yrb
|
2
2
|
|
3
|
-
> Attention: This gem isn't published yet, but you can play around with it.
|
4
|
-
> Feedback on the Ruby API is welcome 🙌.
|
5
|
-
|
6
3
|
Yrb is a Ruby binding for Y-CRDT. It provides distributed data types that enable
|
7
4
|
real-time collaboration between devices. Yrb can sync data with any other
|
8
5
|
platform that has a Y-CRDT binding, allowing for seamless cross-domain
|
@@ -27,6 +24,11 @@ Or install it yourself as:
|
|
27
24
|
|
28
25
|
$ gem install y-rb
|
29
26
|
|
27
|
+
> **⚠ WARNING: Binary dependencies are not pre-built.**
|
28
|
+
> In an upcoming version we will address the issue of binaries not being
|
29
|
+
> pre-built. Until then, you need to have the latest Rust + Cargo working on
|
30
|
+
> your machine in order to install y-rb.
|
31
|
+
|
30
32
|
## Usage
|
31
33
|
|
32
34
|
```ruby
|
@@ -54,7 +56,7 @@ remote.sync(update)
|
|
54
56
|
puts remote_text.to_s == local_text.to_s # true
|
55
57
|
```
|
56
58
|
|
57
|
-
More [examples](
|
59
|
+
More [examples](docs/examples.md).
|
58
60
|
|
59
61
|
## Development
|
60
62
|
|
@@ -86,7 +88,7 @@ open "http://0.0.0.0:8808/"
|
|
86
88
|
|
87
89
|
## Decision log
|
88
90
|
|
89
|
-
For this `gem`, we maintain a [decision log](
|
91
|
+
For this `gem`, we maintain a [decision log](docs/decisions.md). Please consult it
|
90
92
|
in case there is some ambiguity in terms of why certain implementation details
|
91
93
|
look as they are.
|
92
94
|
|
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.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hannes Moser
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
description: Yrs "wires" is a Rust port of the Yjs framework.
|
55
|
+
description: Ruby bindings for yrs. Yrs "wires" is a Rust port of the Yjs framework.
|
56
56
|
email:
|
57
57
|
- hmoser@gitlab.com
|
58
58
|
- box@hannesmoser.at
|
@@ -61,7 +61,6 @@ extensions:
|
|
61
61
|
- ext/Rakefile
|
62
62
|
extra_rdoc_files: []
|
63
63
|
files:
|
64
|
-
- ".cargo/config.toml"
|
65
64
|
- ".dockerignore"
|
66
65
|
- ".editorconfig"
|
67
66
|
- ".rspec"
|
@@ -99,14 +98,14 @@ files:
|
|
99
98
|
- src/ytext.rs
|
100
99
|
- src/ytransaction.rs
|
101
100
|
- src/yxml.rs
|
102
|
-
homepage: https://
|
101
|
+
homepage: https://github.com/y-crdt/yrb
|
103
102
|
licenses:
|
104
103
|
- MIT
|
105
104
|
metadata:
|
106
105
|
allowed_push_host: https://rubygems.org
|
107
|
-
homepage_uri: https://
|
108
|
-
source_code_uri: https://
|
109
|
-
|
106
|
+
homepage_uri: https://github.com/y-crdt/yrb
|
107
|
+
source_code_uri: https://github.com/y-crdt/yrb
|
108
|
+
documentation_uri: https://y-crdt.github.io/yrb/
|
110
109
|
rubygems_mfa_required: 'true'
|
111
110
|
post_install_message:
|
112
111
|
rdoc_options: []
|