kgio 2.7.0 → 2.7.0.3.gfd1e
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/kgio/ancient_ruby.h +7 -0
- data/kgio.gemspec +4 -2
- data/test/test_autopush.rb +5 -1
- metadata +34 -57
data/ext/kgio/ancient_ruby.h
CHANGED
@@ -17,4 +17,11 @@ static void my_str_set_len(VALUE str, long len)
|
|
17
17
|
# define RSTRING_LEN(s) (RSTRING(s)->len)
|
18
18
|
#endif /* !defined(RSTRING_LEN) */
|
19
19
|
|
20
|
+
#ifndef RARRAY_PTR
|
21
|
+
# define RARRAY_PTR(s) (RARRAY(s)->ptr)
|
22
|
+
#endif /* !defined(RARRAY_PTR) */
|
23
|
+
#ifndef RARRAY_LEN
|
24
|
+
# define RARRAY_LEN(s) (RARRAY(s)->len)
|
25
|
+
#endif /* !defined(RARRAY_LEN) */
|
26
|
+
|
20
27
|
#endif /* MISSING_ANCIENT_RUBY_H */
|
data/kgio.gemspec
CHANGED
@@ -20,8 +20,10 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.test_files = Dir['test/test_*.rb']
|
21
21
|
s.extensions = %w(ext/kgio/extconf.rb)
|
22
22
|
|
23
|
-
|
24
|
-
|
23
|
+
# development dependencies commented out for folks stuck on
|
24
|
+
# old Ruby/RubyGems versions
|
25
|
+
# s.add_development_dependency('wrongdoc', '~> 1.5')
|
26
|
+
# s.add_development_dependency('strace_me', '~> 1.0') # Linux only
|
25
27
|
|
26
28
|
# s.license = %w(LGPL) # disabled for compatibility with older RubyGems
|
27
29
|
end
|
data/test/test_autopush.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kgio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 3537708806
|
5
|
+
prerelease: 8
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 7
|
9
9
|
- 0
|
10
|
-
|
10
|
+
- 3
|
11
|
+
- gfd
|
12
|
+
- 1
|
13
|
+
- e
|
14
|
+
version: 2.7.0.3.gfd1e
|
11
15
|
platform: ruby
|
12
16
|
authors:
|
13
17
|
- kgio hackers
|
@@ -15,38 +19,9 @@ autorequire:
|
|
15
19
|
bindir: bin
|
16
20
|
cert_chain: []
|
17
21
|
|
18
|
-
date:
|
19
|
-
dependencies:
|
20
|
-
|
21
|
-
name: wrongdoc
|
22
|
-
prerelease: false
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
|
-
requirements:
|
26
|
-
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 5
|
29
|
-
segments:
|
30
|
-
- 1
|
31
|
-
- 5
|
32
|
-
version: "1.5"
|
33
|
-
type: :development
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: strace_me
|
37
|
-
prerelease: false
|
38
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
-
none: false
|
40
|
-
requirements:
|
41
|
-
- - ~>
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
hash: 15
|
44
|
-
segments:
|
45
|
-
- 1
|
46
|
-
- 0
|
47
|
-
version: "1.0"
|
48
|
-
type: :development
|
49
|
-
version_requirements: *id002
|
22
|
+
date: 2012-01-08 00:00:00 Z
|
23
|
+
dependencies: []
|
24
|
+
|
50
25
|
description: |-
|
51
26
|
kgio provides non-blocking I/O methods for Ruby without raising
|
52
27
|
exceptions on EAGAIN and EINPROGRESS. It is intended for use with the
|
@@ -164,41 +139,43 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
164
139
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
140
|
none: false
|
166
141
|
requirements:
|
167
|
-
- - "
|
142
|
+
- - ">"
|
168
143
|
- !ruby/object:Gem::Version
|
169
|
-
hash:
|
144
|
+
hash: 25
|
170
145
|
segments:
|
171
|
-
-
|
172
|
-
|
146
|
+
- 1
|
147
|
+
- 3
|
148
|
+
- 1
|
149
|
+
version: 1.3.1
|
173
150
|
requirements: []
|
174
151
|
|
175
152
|
rubyforge_project: rainbows
|
176
|
-
rubygems_version: 1.8.
|
153
|
+
rubygems_version: 1.8.8
|
177
154
|
signing_key:
|
178
155
|
specification_version: 3
|
179
156
|
summary: kinder, gentler I/O for Ruby
|
180
157
|
test_files:
|
158
|
+
- test/test_tryopen.rb
|
159
|
+
- test/test_tcp_server_read_client_write.rb
|
181
160
|
- test/test_poll.rb
|
182
|
-
- test/test_peek.rb
|
183
|
-
- test/test_default_wait.rb
|
184
|
-
- test/test_no_dns_on_tcp_connect.rb
|
185
|
-
- test/test_unix_connect.rb
|
186
|
-
- test/test_pipe_read_write.rb
|
187
|
-
- test/test_unix_server.rb
|
188
|
-
- test/test_accept_flags.rb
|
189
|
-
- test/test_socketpair_read_write.rb
|
190
161
|
- test/test_tcp_server.rb
|
191
|
-
- test/
|
192
|
-
- test/
|
193
|
-
- test/
|
162
|
+
- test/test_pipe_popen.rb
|
163
|
+
- test/test_unix_server.rb
|
164
|
+
- test/test_tcp6_client_read_server_write.rb
|
165
|
+
- test/test_kgio_addr.rb
|
166
|
+
- test/test_no_dns_on_tcp_connect.rb
|
167
|
+
- test/test_peek.rb
|
194
168
|
- test/test_autopush.rb
|
195
|
-
- test/
|
169
|
+
- test/test_unix_server_read_client_write.rb
|
196
170
|
- test/test_singleton_read_write.rb
|
197
|
-
- test/
|
198
|
-
- test/
|
199
|
-
- test/test_tcp6_client_read_server_write.rb
|
200
|
-
- test/test_tcp_server_read_client_write.rb
|
171
|
+
- test/test_tcp_connect.rb
|
172
|
+
- test/test_socketpair_read_write.rb
|
201
173
|
- test/test_unix_client_read_server_write.rb
|
174
|
+
- test/test_default_wait.rb
|
202
175
|
- test/test_tcp_client_read_server_write.rb
|
203
|
-
- test/
|
176
|
+
- test/test_connect_fd_leak.rb
|
177
|
+
- test/test_unix_connect.rb
|
178
|
+
- test/test_pipe_read_write.rb
|
179
|
+
- test/test_accept_flags.rb
|
204
180
|
- test/test_accept_class.rb
|
181
|
+
- test/test_cross_thread_close.rb
|