mt-libuv 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +22 -0
- data/.gitmodules +6 -0
- data/.rspec +1 -0
- data/.travis.yml +24 -0
- data/Gemfile +9 -0
- data/LICENSE +24 -0
- data/README.md +195 -0
- data/Rakefile +31 -0
- data/ext/README.md +6 -0
- data/ext/Rakefile +28 -0
- data/lib/mt-libuv/async.rb +51 -0
- data/lib/mt-libuv/check.rb +59 -0
- data/lib/mt-libuv/coroutines.rb +79 -0
- data/lib/mt-libuv/dns.rb +98 -0
- data/lib/mt-libuv/error.rb +88 -0
- data/lib/mt-libuv/ext/ext.rb +322 -0
- data/lib/mt-libuv/ext/platform/darwin_x64.rb +61 -0
- data/lib/mt-libuv/ext/platform/unix.rb +69 -0
- data/lib/mt-libuv/ext/platform/windows.rb +83 -0
- data/lib/mt-libuv/ext/tasks/mac.rb +24 -0
- data/lib/mt-libuv/ext/tasks/unix.rb +42 -0
- data/lib/mt-libuv/ext/tasks/win.rb +29 -0
- data/lib/mt-libuv/ext/tasks.rb +27 -0
- data/lib/mt-libuv/ext/types.rb +253 -0
- data/lib/mt-libuv/fiber_pool.rb +83 -0
- data/lib/mt-libuv/file.rb +309 -0
- data/lib/mt-libuv/filesystem.rb +263 -0
- data/lib/mt-libuv/fs_event.rb +37 -0
- data/lib/mt-libuv/handle.rb +108 -0
- data/lib/mt-libuv/idle.rb +59 -0
- data/lib/mt-libuv/mixins/accessors.rb +41 -0
- data/lib/mt-libuv/mixins/assertions.rb +25 -0
- data/lib/mt-libuv/mixins/fs_checks.rb +96 -0
- data/lib/mt-libuv/mixins/listener.rb +69 -0
- data/lib/mt-libuv/mixins/net.rb +42 -0
- data/lib/mt-libuv/mixins/resource.rb +30 -0
- data/lib/mt-libuv/mixins/stream.rb +276 -0
- data/lib/mt-libuv/pipe.rb +217 -0
- data/lib/mt-libuv/prepare.rb +59 -0
- data/lib/mt-libuv/q.rb +475 -0
- data/lib/mt-libuv/reactor.rb +567 -0
- data/lib/mt-libuv/signal.rb +62 -0
- data/lib/mt-libuv/spawn.rb +113 -0
- data/lib/mt-libuv/tcp.rb +465 -0
- data/lib/mt-libuv/timer.rb +107 -0
- data/lib/mt-libuv/tty.rb +42 -0
- data/lib/mt-libuv/udp.rb +302 -0
- data/lib/mt-libuv/version.rb +5 -0
- data/lib/mt-libuv/work.rb +86 -0
- data/lib/mt-libuv.rb +80 -0
- data/mt-libuv.gemspec +62 -0
- data/spec/async_spec.rb +67 -0
- data/spec/coroutines_spec.rb +121 -0
- data/spec/cpu_spec.rb +10 -0
- data/spec/defer_spec.rb +906 -0
- data/spec/dns_spec.rb +110 -0
- data/spec/dsl_spec.rb +43 -0
- data/spec/filesystem_spec.rb +270 -0
- data/spec/idle_spec.rb +44 -0
- data/spec/pipe_spec.rb +151 -0
- data/spec/spawn_spec.rb +119 -0
- data/spec/tcp_spec.rb +272 -0
- data/spec/test.sh +4 -0
- data/spec/test_fail.sh +3 -0
- data/spec/test_read.sh +3 -0
- data/spec/timer_spec.rb +14 -0
- data/spec/udp_spec.rb +73 -0
- data/spec/zen_spec.rb +34 -0
- metadata +196 -0
metadata
ADDED
@@ -0,0 +1,196 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mt-libuv
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 4.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Giallombardo Nathan
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-03-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: ffi
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.9'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: concurrent-ruby
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: mt-ruby-tls
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.1'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.5'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.5'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '11.2'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '11.2'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: yard
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.9'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.9'
|
97
|
+
description: An opinionated wrapper around mt-libuv for Ruby
|
98
|
+
email:
|
99
|
+
- nathan.giallombardo@mapotempo.com
|
100
|
+
executables: []
|
101
|
+
extensions:
|
102
|
+
- ext/Rakefile
|
103
|
+
extra_rdoc_files: []
|
104
|
+
files:
|
105
|
+
- ".gitignore"
|
106
|
+
- ".gitmodules"
|
107
|
+
- ".rspec"
|
108
|
+
- ".travis.yml"
|
109
|
+
- Gemfile
|
110
|
+
- LICENSE
|
111
|
+
- README.md
|
112
|
+
- Rakefile
|
113
|
+
- ext/README.md
|
114
|
+
- ext/Rakefile
|
115
|
+
- lib/mt-libuv.rb
|
116
|
+
- lib/mt-libuv/async.rb
|
117
|
+
- lib/mt-libuv/check.rb
|
118
|
+
- lib/mt-libuv/coroutines.rb
|
119
|
+
- lib/mt-libuv/dns.rb
|
120
|
+
- lib/mt-libuv/error.rb
|
121
|
+
- lib/mt-libuv/ext/ext.rb
|
122
|
+
- lib/mt-libuv/ext/platform/darwin_x64.rb
|
123
|
+
- lib/mt-libuv/ext/platform/unix.rb
|
124
|
+
- lib/mt-libuv/ext/platform/windows.rb
|
125
|
+
- lib/mt-libuv/ext/tasks.rb
|
126
|
+
- lib/mt-libuv/ext/tasks/mac.rb
|
127
|
+
- lib/mt-libuv/ext/tasks/unix.rb
|
128
|
+
- lib/mt-libuv/ext/tasks/win.rb
|
129
|
+
- lib/mt-libuv/ext/types.rb
|
130
|
+
- lib/mt-libuv/fiber_pool.rb
|
131
|
+
- lib/mt-libuv/file.rb
|
132
|
+
- lib/mt-libuv/filesystem.rb
|
133
|
+
- lib/mt-libuv/fs_event.rb
|
134
|
+
- lib/mt-libuv/handle.rb
|
135
|
+
- lib/mt-libuv/idle.rb
|
136
|
+
- lib/mt-libuv/mixins/accessors.rb
|
137
|
+
- lib/mt-libuv/mixins/assertions.rb
|
138
|
+
- lib/mt-libuv/mixins/fs_checks.rb
|
139
|
+
- lib/mt-libuv/mixins/listener.rb
|
140
|
+
- lib/mt-libuv/mixins/net.rb
|
141
|
+
- lib/mt-libuv/mixins/resource.rb
|
142
|
+
- lib/mt-libuv/mixins/stream.rb
|
143
|
+
- lib/mt-libuv/pipe.rb
|
144
|
+
- lib/mt-libuv/prepare.rb
|
145
|
+
- lib/mt-libuv/q.rb
|
146
|
+
- lib/mt-libuv/reactor.rb
|
147
|
+
- lib/mt-libuv/signal.rb
|
148
|
+
- lib/mt-libuv/spawn.rb
|
149
|
+
- lib/mt-libuv/tcp.rb
|
150
|
+
- lib/mt-libuv/timer.rb
|
151
|
+
- lib/mt-libuv/tty.rb
|
152
|
+
- lib/mt-libuv/udp.rb
|
153
|
+
- lib/mt-libuv/version.rb
|
154
|
+
- lib/mt-libuv/work.rb
|
155
|
+
- mt-libuv.gemspec
|
156
|
+
- spec/async_spec.rb
|
157
|
+
- spec/coroutines_spec.rb
|
158
|
+
- spec/cpu_spec.rb
|
159
|
+
- spec/defer_spec.rb
|
160
|
+
- spec/dns_spec.rb
|
161
|
+
- spec/dsl_spec.rb
|
162
|
+
- spec/filesystem_spec.rb
|
163
|
+
- spec/idle_spec.rb
|
164
|
+
- spec/pipe_spec.rb
|
165
|
+
- spec/spawn_spec.rb
|
166
|
+
- spec/tcp_spec.rb
|
167
|
+
- spec/test.sh
|
168
|
+
- spec/test_fail.sh
|
169
|
+
- spec/test_read.sh
|
170
|
+
- spec/timer_spec.rb
|
171
|
+
- spec/udp_spec.rb
|
172
|
+
- spec/zen_spec.rb
|
173
|
+
homepage: https://github.com/Mapotempo/mt-libuv
|
174
|
+
licenses:
|
175
|
+
- MIT
|
176
|
+
metadata: {}
|
177
|
+
post_install_message:
|
178
|
+
rdoc_options: []
|
179
|
+
require_paths:
|
180
|
+
- lib
|
181
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - ">="
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: 2.0.0
|
186
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
187
|
+
requirements:
|
188
|
+
- - ">="
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: '0'
|
191
|
+
requirements: []
|
192
|
+
rubygems_version: 3.1.6
|
193
|
+
signing_key:
|
194
|
+
specification_version: 4
|
195
|
+
summary: mt-libuv bindings for Ruby
|
196
|
+
test_files: []
|