y-rb 0.3.2-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/ext/yrb/Cargo.toml +21 -0
- data/ext/yrb/extconf.rb +6 -0
- data/ext/yrb/src/awareness.rs +425 -0
- data/ext/yrb/src/lib.rs +505 -0
- data/ext/yrb/src/utils.rs +34 -0
- data/ext/yrb/src/yany.rs +44 -0
- data/ext/yrb/src/yarray.rs +148 -0
- data/ext/yrb/src/yattrs.rs +48 -0
- data/ext/yrb/src/yawareness.rs +131 -0
- data/ext/yrb/src/ydoc.rs +35 -0
- data/ext/yrb/src/ymap.rs +151 -0
- data/ext/yrb/src/ytext.rs +204 -0
- data/ext/yrb/src/ytransaction.rs +55 -0
- data/ext/yrb/src/yvalue.rs +231 -0
- data/ext/yrb/src/yxml_element.rs +212 -0
- data/ext/yrb/src/yxml_text.rs +136 -0
- data/lib/2.7/yrb.so +0 -0
- data/lib/3.0/yrb.so +0 -0
- data/lib/y/array.rb +354 -0
- data/lib/y/awareness.rb +266 -0
- data/lib/y/doc.rb +220 -0
- data/lib/y/map.rb +202 -0
- data/lib/y/text.rb +372 -0
- data/lib/y/transaction.rb +143 -0
- data/lib/y/version.rb +5 -0
- data/lib/y/xml.rb +870 -0
- data/lib/y-rb.rb +23 -0
- data/lib/y.rb +3 -0
- metadata +136 -0
data/lib/y-rb.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# rubocop:disable Naming/FileName
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
# load native extension
|
5
|
+
begin
|
6
|
+
ruby_version = /(\d+\.\d+)/.match(::RUBY_VERSION)
|
7
|
+
require_relative "#{ruby_version}/yrb"
|
8
|
+
rescue LoadError
|
9
|
+
require "yrb"
|
10
|
+
end
|
11
|
+
|
12
|
+
require_relative "y/array"
|
13
|
+
require_relative "y/awareness"
|
14
|
+
require_relative "y/doc"
|
15
|
+
require_relative "y/map"
|
16
|
+
require_relative "y/text"
|
17
|
+
require_relative "y/xml"
|
18
|
+
require_relative "y/transaction"
|
19
|
+
require_relative "y/version"
|
20
|
+
|
21
|
+
module Y
|
22
|
+
end
|
23
|
+
# rubocop:enable Naming/FileName
|
data/lib/y.rb
ADDED
metadata
ADDED
@@ -0,0 +1,136 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: y-rb
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.2
|
5
|
+
platform: x64-mingw32
|
6
|
+
authors:
|
7
|
+
- Hannes Moser
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-11-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rake
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '13.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '13.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rb_sys
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.9.35
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.9.35
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake-compiler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.2.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.2.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake-compiler-dock
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.2.2
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.2.2
|
69
|
+
description: Ruby bindings for yrs. Yrs "wires" is a Rust port of the Yjs framework.
|
70
|
+
email:
|
71
|
+
- hmoser@gitlab.com
|
72
|
+
- box@hannesmoser.at
|
73
|
+
executables: []
|
74
|
+
extensions: []
|
75
|
+
extra_rdoc_files: []
|
76
|
+
files:
|
77
|
+
- ext/yrb/Cargo.toml
|
78
|
+
- ext/yrb/extconf.rb
|
79
|
+
- ext/yrb/src/awareness.rs
|
80
|
+
- ext/yrb/src/lib.rs
|
81
|
+
- ext/yrb/src/utils.rs
|
82
|
+
- ext/yrb/src/yany.rs
|
83
|
+
- ext/yrb/src/yarray.rs
|
84
|
+
- ext/yrb/src/yattrs.rs
|
85
|
+
- ext/yrb/src/yawareness.rs
|
86
|
+
- ext/yrb/src/ydoc.rs
|
87
|
+
- ext/yrb/src/ymap.rs
|
88
|
+
- ext/yrb/src/ytext.rs
|
89
|
+
- ext/yrb/src/ytransaction.rs
|
90
|
+
- ext/yrb/src/yvalue.rs
|
91
|
+
- ext/yrb/src/yxml_element.rs
|
92
|
+
- ext/yrb/src/yxml_text.rs
|
93
|
+
- lib/2.7/yrb.so
|
94
|
+
- lib/3.0/yrb.so
|
95
|
+
- lib/y-rb.rb
|
96
|
+
- lib/y.rb
|
97
|
+
- lib/y/array.rb
|
98
|
+
- lib/y/awareness.rb
|
99
|
+
- lib/y/doc.rb
|
100
|
+
- lib/y/map.rb
|
101
|
+
- lib/y/text.rb
|
102
|
+
- lib/y/transaction.rb
|
103
|
+
- lib/y/version.rb
|
104
|
+
- lib/y/xml.rb
|
105
|
+
homepage: https://github.com/y-crdt/yrb
|
106
|
+
licenses:
|
107
|
+
- MIT
|
108
|
+
metadata:
|
109
|
+
allowed_push_host: https://rubygems.org
|
110
|
+
homepage_uri: https://github.com/y-crdt/yrb
|
111
|
+
source_code_uri: https://github.com/y-crdt/yrb
|
112
|
+
documentation_uri: https://y-crdt.github.io/yrb/
|
113
|
+
rubygems_mfa_required: 'true'
|
114
|
+
post_install_message:
|
115
|
+
rdoc_options: []
|
116
|
+
require_paths:
|
117
|
+
- lib
|
118
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '2.7'
|
123
|
+
- - "<"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 3.1.dev
|
126
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - ">="
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: 3.3.21
|
131
|
+
requirements: []
|
132
|
+
rubygems_version: 3.3.22
|
133
|
+
signing_key:
|
134
|
+
specification_version: 4
|
135
|
+
summary: Ruby bindings for yrs
|
136
|
+
test_files: []
|