eventmachine 1.0.3-x86-mingw32 → 1.2.0.dev.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +84 -1
- data/README.md +6 -7
- data/ext/binder.cpp +10 -10
- data/ext/binder.h +5 -5
- data/ext/cmain.cpp +173 -61
- data/ext/ed.cpp +262 -127
- data/ext/ed.h +50 -30
- data/ext/em.cpp +491 -445
- data/ext/em.h +101 -36
- data/ext/eventmachine.h +67 -51
- data/ext/extconf.rb +124 -31
- data/ext/fastfilereader/extconf.rb +9 -2
- data/ext/fastfilereader/mapper.cpp +3 -1
- data/ext/fastfilereader/rubymain.cpp +7 -7
- data/ext/kb.cpp +1 -1
- data/ext/pipe.cpp +11 -4
- data/ext/project.h +26 -6
- data/ext/rubymain.cpp +408 -201
- data/ext/ssl.cpp +167 -20
- data/ext/ssl.h +11 -2
- data/java/src/com/rubyeventmachine/EmReactor.java +16 -0
- data/java/src/com/rubyeventmachine/EventableChannel.java +2 -0
- data/java/src/com/rubyeventmachine/EventableDatagramChannel.java +6 -0
- data/java/src/com/rubyeventmachine/EventableSocketChannel.java +55 -10
- data/lib/1.9/fastfilereaderext.so +0 -0
- data/lib/1.9/rubyeventmachine.so +0 -0
- data/lib/2.0/fastfilereaderext.so +0 -0
- data/lib/2.0/rubyeventmachine.so +0 -0
- data/lib/2.1/fastfilereaderext.so +0 -0
- data/lib/2.1/rubyeventmachine.so +0 -0
- data/lib/2.2/fastfilereaderext.so +0 -0
- data/lib/2.2/rubyeventmachine.so +0 -0
- data/lib/2.3/fastfilereaderext.so +0 -0
- data/lib/2.3/rubyeventmachine.so +0 -0
- data/lib/em/buftok.rb +34 -85
- data/lib/em/channel.rb +5 -0
- data/lib/em/completion.rb +2 -2
- data/lib/em/connection.rb +62 -4
- data/lib/em/iterator.rb +30 -48
- data/lib/em/pool.rb +1 -1
- data/lib/em/protocols/httpclient.rb +31 -11
- data/lib/em/protocols/line_and_text.rb +4 -4
- data/lib/em/protocols/linetext2.rb +44 -39
- data/lib/em/protocols/smtpclient.rb +60 -31
- data/lib/em/protocols/smtpserver.rb +32 -9
- data/lib/em/pure_ruby.rb +8 -3
- data/lib/em/queue.rb +16 -7
- data/lib/em/resolver.rb +64 -24
- data/lib/em/threaded_resource.rb +2 -2
- data/lib/em/tick_loop.rb +19 -19
- data/lib/em/version.rb +1 -1
- data/lib/eventmachine.rb +96 -49
- data/lib/jeventmachine.rb +17 -0
- data/rakelib/package.rake +31 -4
- data/tests/dhparam.pem +13 -0
- data/tests/em_test_helper.rb +87 -0
- data/tests/test_attach.rb +25 -0
- data/tests/test_basic.rb +27 -38
- data/tests/test_channel.rb +14 -1
- data/tests/test_completion.rb +1 -0
- data/tests/test_connection_count.rb +22 -1
- data/tests/test_connection_write.rb +35 -0
- data/tests/test_defer.rb +17 -0
- data/tests/test_epoll.rb +26 -14
- data/tests/test_file_watch.rb +1 -0
- data/tests/test_fork.rb +75 -0
- data/tests/test_httpclient.rb +43 -0
- data/tests/test_idle_connection.rb +6 -4
- data/tests/test_ipv4.rb +125 -0
- data/tests/test_ipv6.rb +131 -0
- data/tests/test_iterator.rb +115 -0
- data/tests/test_kb.rb +19 -25
- data/tests/test_ltp2.rb +20 -0
- data/tests/test_many_fds.rb +22 -0
- data/tests/test_pause.rb +29 -0
- data/tests/test_pool.rb +2 -0
- data/tests/test_process_watch.rb +2 -0
- data/tests/test_processes.rb +7 -7
- data/tests/test_queue.rb +14 -0
- data/tests/test_resolver.rb +56 -7
- data/tests/test_set_sock_opt.rb +2 -0
- data/tests/test_smtpclient.rb +20 -0
- data/tests/test_ssl_args.rb +2 -2
- data/tests/test_ssl_dhparam.rb +83 -0
- data/tests/test_ssl_ecdh_curve.rb +79 -0
- data/tests/test_ssl_extensions.rb +49 -0
- data/tests/test_ssl_methods.rb +22 -5
- data/tests/test_ssl_protocols.rb +246 -0
- data/tests/test_ssl_verify.rb +103 -59
- data/tests/test_system.rb +4 -0
- data/tests/test_threaded_resource.rb +8 -0
- data/tests/test_unbind_reason.rb +5 -1
- metadata +173 -107
- data/.gitignore +0 -21
- data/.travis.yml +0 -12
- data/.yardopts +0 -7
- data/Gemfile +0 -2
- data/Rakefile +0 -20
- data/eventmachine.gemspec +0 -36
- data/rakelib/cpp.rake_example +0 -77
data/tests/test_ssl_verify.rb
CHANGED
@@ -1,82 +1,126 @@
|
|
1
1
|
require 'em_test_helper'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
class TestSslVerify < Test::Unit::TestCase
|
4
|
+
def setup
|
5
|
+
$dir = File.dirname(File.expand_path(__FILE__)) + '/'
|
6
|
+
$cert_from_file = File.read($dir+'client.crt')
|
7
|
+
end
|
8
|
+
|
9
|
+
module ClientNoCert
|
10
|
+
def connection_completed
|
11
|
+
start_tls()
|
8
12
|
end
|
9
13
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
+
def ssl_handshake_completed
|
15
|
+
$client_handshake_completed = true
|
16
|
+
close_connection
|
17
|
+
end
|
14
18
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
+
def unbind
|
20
|
+
EM.stop_event_loop
|
21
|
+
end
|
22
|
+
end
|
19
23
|
|
20
|
-
|
21
|
-
|
22
|
-
|
24
|
+
module Client
|
25
|
+
def connection_completed
|
26
|
+
start_tls(:private_key_file => $dir+'client.key', :cert_chain_file => $dir+'client.crt')
|
23
27
|
end
|
24
28
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
+
def ssl_handshake_completed
|
30
|
+
$client_handshake_completed = true
|
31
|
+
close_connection
|
32
|
+
end
|
29
33
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
+
def unbind
|
35
|
+
EM.stop_event_loop
|
36
|
+
end
|
37
|
+
end
|
34
38
|
|
35
|
-
|
36
|
-
|
37
|
-
|
39
|
+
module AcceptServer
|
40
|
+
def post_init
|
41
|
+
start_tls(:verify_peer => true)
|
38
42
|
end
|
39
43
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
+
def ssl_verify_peer(cert)
|
45
|
+
$cert_from_server = cert
|
46
|
+
true
|
47
|
+
end
|
44
48
|
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
end
|
49
|
+
def ssl_handshake_completed
|
50
|
+
$server_handshake_completed = true
|
51
|
+
end
|
52
|
+
end
|
50
53
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
+
module DenyServer
|
55
|
+
def post_init
|
56
|
+
start_tls(:verify_peer => true)
|
54
57
|
end
|
55
58
|
|
56
|
-
def
|
57
|
-
$
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
}
|
59
|
+
def ssl_verify_peer(cert)
|
60
|
+
$cert_from_server = cert
|
61
|
+
# Do not accept the peer. This should now cause the connection to shut down without the SSL handshake being completed.
|
62
|
+
false
|
63
|
+
end
|
62
64
|
|
63
|
-
|
64
|
-
|
65
|
-
assert($server_handshake_completed)
|
65
|
+
def ssl_handshake_completed
|
66
|
+
$server_handshake_completed = true
|
66
67
|
end
|
68
|
+
end
|
67
69
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
EM.connect("127.0.0.1", 16784, Client)
|
73
|
-
}
|
70
|
+
module FailServerNoPeerCert
|
71
|
+
def post_init
|
72
|
+
start_tls(:verify_peer => true, :fail_if_no_peer_cert => true)
|
73
|
+
end
|
74
74
|
|
75
|
-
|
76
|
-
|
77
|
-
assert(!$server_handshake_completed)
|
75
|
+
def ssl_verify_peer(cert)
|
76
|
+
raise "Verify peer should not get called for a client without a certificate"
|
78
77
|
end
|
78
|
+
|
79
|
+
def ssl_handshake_completed
|
80
|
+
$server_handshake_completed = true
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
def test_fail_no_peer_cert
|
85
|
+
omit_unless(EM.ssl?)
|
86
|
+
omit_if(rbx?)
|
87
|
+
|
88
|
+
$client_handshake_completed, $server_handshake_completed = false, false
|
89
|
+
|
90
|
+
EM.run {
|
91
|
+
EM.start_server("127.0.0.1", 16784, FailServerNoPeerCert)
|
92
|
+
EM.connect("127.0.0.1", 16784, ClientNoCert)
|
93
|
+
}
|
94
|
+
|
95
|
+
assert(!$client_handshake_completed)
|
96
|
+
assert(!$server_handshake_completed)
|
97
|
+
end
|
98
|
+
|
99
|
+
def test_accept_server
|
100
|
+
omit_unless(EM.ssl?)
|
101
|
+
omit_if(rbx?)
|
102
|
+
$client_handshake_completed, $server_handshake_completed = false, false
|
103
|
+
EM.run {
|
104
|
+
EM.start_server("127.0.0.1", 16784, AcceptServer)
|
105
|
+
EM.connect("127.0.0.1", 16784, Client).instance_variable_get("@signature")
|
106
|
+
}
|
107
|
+
|
108
|
+
assert_equal($cert_from_file, $cert_from_server)
|
109
|
+
assert($client_handshake_completed)
|
110
|
+
assert($server_handshake_completed)
|
111
|
+
end
|
112
|
+
|
113
|
+
def test_deny_server
|
114
|
+
omit_unless(EM.ssl?)
|
115
|
+
omit_if(rbx?)
|
116
|
+
$client_handshake_completed, $server_handshake_completed = false, false
|
117
|
+
EM.run {
|
118
|
+
EM.start_server("127.0.0.1", 16784, DenyServer)
|
119
|
+
EM.connect("127.0.0.1", 16784, Client)
|
120
|
+
}
|
121
|
+
|
122
|
+
assert_equal($cert_from_file, $cert_from_server)
|
123
|
+
assert(!$client_handshake_completed)
|
124
|
+
assert(!$server_handshake_completed)
|
79
125
|
end
|
80
|
-
else
|
81
|
-
warn "EM built without SSL support, skipping tests in #{__FILE__}"
|
82
126
|
end
|
data/tests/test_system.rb
CHANGED
@@ -9,6 +9,8 @@ class TestSystem < Test::Unit::TestCase
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def test_system
|
12
|
+
omit_if(windows?)
|
13
|
+
|
12
14
|
result = nil
|
13
15
|
status = nil
|
14
16
|
EM.run {
|
@@ -23,6 +25,8 @@ class TestSystem < Test::Unit::TestCase
|
|
23
25
|
end
|
24
26
|
|
25
27
|
def test_system_with_string
|
28
|
+
omit_if(windows?)
|
29
|
+
|
26
30
|
result = nil
|
27
31
|
status = nil
|
28
32
|
EM.run {
|
@@ -15,6 +15,10 @@ class TestThreadedResource < Test::Unit::TestCase
|
|
15
15
|
|
16
16
|
def test_dispatch_completion
|
17
17
|
EM.run do
|
18
|
+
EM.add_timer(3) do
|
19
|
+
EM.stop
|
20
|
+
fail 'Resource dispatch timed out'
|
21
|
+
end
|
18
22
|
completion = resource.dispatch do |o|
|
19
23
|
o[:foo] = :bar
|
20
24
|
:foo
|
@@ -23,6 +27,10 @@ class TestThreadedResource < Test::Unit::TestCase
|
|
23
27
|
assert_equal :foo, result
|
24
28
|
EM.stop
|
25
29
|
end
|
30
|
+
completion.errback do |error|
|
31
|
+
EM.stop
|
32
|
+
fail "Unexpected error: #{error.message}"
|
33
|
+
end
|
26
34
|
end
|
27
35
|
assert_equal :bar, object[:foo]
|
28
36
|
end
|
data/tests/test_unbind_reason.rb
CHANGED
@@ -20,12 +20,14 @@ class TestUnbindReason < Test::Unit::TestCase
|
|
20
20
|
EM.stop
|
21
21
|
end
|
22
22
|
}
|
23
|
-
conn.pending_connect_timeout =
|
23
|
+
conn.pending_connect_timeout = TIMEOUT_INTERVAL
|
24
24
|
}
|
25
25
|
assert_equal Errno::ETIMEDOUT, error
|
26
26
|
end
|
27
27
|
|
28
28
|
def test_connect_refused
|
29
|
+
pend('FIXME: this test is broken on Windows') if windows?
|
30
|
+
|
29
31
|
error = nil
|
30
32
|
EM.run {
|
31
33
|
EM.connect '127.0.0.1', 12388, Module.new{ |m|
|
@@ -39,6 +41,8 @@ class TestUnbindReason < Test::Unit::TestCase
|
|
39
41
|
end
|
40
42
|
|
41
43
|
def test_optional_argument
|
44
|
+
pend('FIXME: this test is broken on Windows') if windows?
|
45
|
+
|
42
46
|
conn = nil
|
43
47
|
EM.run {
|
44
48
|
conn = EM.connect '127.0.0.1', 12388, StubConnection
|
metadata
CHANGED
@@ -1,71 +1,59 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: eventmachine
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 0
|
9
|
-
- 3
|
10
|
-
version: 1.0.3
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.0.dev.2
|
11
5
|
platform: x86-mingw32
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Francis Cianfrocca
|
14
8
|
- Aman Gupta
|
15
9
|
autorequire:
|
16
10
|
bindir: bin
|
17
11
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 57
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
- 8
|
33
|
-
- 3
|
34
|
-
version: 0.8.3
|
12
|
+
date: 2016-02-25 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: test-unit
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '2.0'
|
35
21
|
type: :development
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: yard
|
39
22
|
prerelease: false
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
version: 0.
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '2.0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rake-compiler
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 0.9.5
|
52
35
|
type: :development
|
53
|
-
version_requirements: *id002
|
54
|
-
- !ruby/object:Gem::Dependency
|
55
|
-
name: bluecloth
|
56
36
|
prerelease: false
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: 0.9.5
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rake-compiler-dock
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 0.5.1
|
66
49
|
type: :development
|
67
|
-
|
68
|
-
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 0.5.1
|
56
|
+
description: |
|
69
57
|
EventMachine implements a fast, single-threaded engine for arbitrary network
|
70
58
|
communications. It's extremely easy to use in Ruby. EventMachine wraps all
|
71
59
|
interactions with IP sockets, allowing programs to concentrate on the
|
@@ -76,14 +64,12 @@ description: |-
|
|
76
64
|
are provided with the package, primarily to serve as examples. The real goal
|
77
65
|
of EventMachine is to enable programs to easily interface with other programs
|
78
66
|
using TCP/IP, especially if custom protocols are required.
|
79
|
-
email:
|
67
|
+
email:
|
80
68
|
- garbagecat10@gmail.com
|
81
69
|
- aman@tmm1.net
|
82
70
|
executables: []
|
83
|
-
|
84
71
|
extensions: []
|
85
|
-
|
86
|
-
extra_rdoc_files:
|
72
|
+
extra_rdoc_files:
|
87
73
|
- README.md
|
88
74
|
- docs/DocumentationGuidesIndex.md
|
89
75
|
- docs/GettingStarted.md
|
@@ -99,16 +85,11 @@ extra_rdoc_files:
|
|
99
85
|
- docs/old/SMTP
|
100
86
|
- docs/old/SPAWNED_PROCESSES
|
101
87
|
- docs/old/TODO
|
102
|
-
files:
|
103
|
-
- .gitignore
|
104
|
-
- .travis.yml
|
105
|
-
- .yardopts
|
88
|
+
files:
|
106
89
|
- CHANGELOG.md
|
107
90
|
- GNU
|
108
|
-
- Gemfile
|
109
91
|
- LICENSE
|
110
92
|
- README.md
|
111
|
-
- Rakefile
|
112
93
|
- docs/DocumentationGuidesIndex.md
|
113
94
|
- docs/GettingStarted.md
|
114
95
|
- docs/old/ChangeLog
|
@@ -123,7 +104,6 @@ files:
|
|
123
104
|
- docs/old/SMTP
|
124
105
|
- docs/old/SPAWNED_PROCESSES
|
125
106
|
- docs/old/TODO
|
126
|
-
- eventmachine.gemspec
|
127
107
|
- examples/guides/getting_started/01_eventmachine_echo_server.rb
|
128
108
|
- examples/guides/getting_started/02_eventmachine_echo_server_that_recognizes_exit_command.rb
|
129
109
|
- examples/guides/getting_started/03_simple_chat_server.rb
|
@@ -165,6 +145,16 @@ files:
|
|
165
145
|
- java/src/com/rubyeventmachine/EventableChannel.java
|
166
146
|
- java/src/com/rubyeventmachine/EventableDatagramChannel.java
|
167
147
|
- java/src/com/rubyeventmachine/EventableSocketChannel.java
|
148
|
+
- lib/1.9/fastfilereaderext.so
|
149
|
+
- lib/1.9/rubyeventmachine.so
|
150
|
+
- lib/2.0/fastfilereaderext.so
|
151
|
+
- lib/2.0/rubyeventmachine.so
|
152
|
+
- lib/2.1/fastfilereaderext.so
|
153
|
+
- lib/2.1/rubyeventmachine.so
|
154
|
+
- lib/2.2/fastfilereaderext.so
|
155
|
+
- lib/2.2/rubyeventmachine.so
|
156
|
+
- lib/2.3/fastfilereaderext.so
|
157
|
+
- lib/2.3/rubyeventmachine.so
|
168
158
|
- lib/em/buftok.rb
|
169
159
|
- lib/em/callback.rb
|
170
160
|
- lib/em/channel.rb
|
@@ -205,24 +195,28 @@ files:
|
|
205
195
|
- lib/em/timers.rb
|
206
196
|
- lib/em/version.rb
|
207
197
|
- lib/eventmachine.rb
|
198
|
+
- lib/fastfilereaderext.rb
|
208
199
|
- lib/jeventmachine.rb
|
209
|
-
-
|
200
|
+
- lib/rubyeventmachine.rb
|
210
201
|
- rakelib/package.rake
|
211
202
|
- rakelib/test.rake
|
212
203
|
- tests/client.crt
|
213
204
|
- tests/client.key
|
205
|
+
- tests/dhparam.pem
|
214
206
|
- tests/em_test_helper.rb
|
215
207
|
- tests/test_attach.rb
|
216
208
|
- tests/test_basic.rb
|
217
209
|
- tests/test_channel.rb
|
218
210
|
- tests/test_completion.rb
|
219
211
|
- tests/test_connection_count.rb
|
212
|
+
- tests/test_connection_write.rb
|
220
213
|
- tests/test_defer.rb
|
221
214
|
- tests/test_deferrable.rb
|
222
215
|
- tests/test_epoll.rb
|
223
216
|
- tests/test_error_handler.rb
|
224
217
|
- tests/test_exc.rb
|
225
218
|
- tests/test_file_watch.rb
|
219
|
+
- tests/test_fork.rb
|
226
220
|
- tests/test_futures.rb
|
227
221
|
- tests/test_get_sock_opt.rb
|
228
222
|
- tests/test_handler_check.rb
|
@@ -231,10 +225,14 @@ files:
|
|
231
225
|
- tests/test_httpclient2.rb
|
232
226
|
- tests/test_idle_connection.rb
|
233
227
|
- tests/test_inactivity_timeout.rb
|
228
|
+
- tests/test_ipv4.rb
|
229
|
+
- tests/test_ipv6.rb
|
230
|
+
- tests/test_iterator.rb
|
234
231
|
- tests/test_kb.rb
|
235
232
|
- tests/test_line_protocol.rb
|
236
233
|
- tests/test_ltp.rb
|
237
234
|
- tests/test_ltp2.rb
|
235
|
+
- tests/test_many_fds.rb
|
238
236
|
- tests/test_next_tick.rb
|
239
237
|
- tests/test_object_protocol.rb
|
240
238
|
- tests/test_pause.rb
|
@@ -256,7 +254,11 @@ files:
|
|
256
254
|
- tests/test_smtpserver.rb
|
257
255
|
- tests/test_spawn.rb
|
258
256
|
- tests/test_ssl_args.rb
|
257
|
+
- tests/test_ssl_dhparam.rb
|
258
|
+
- tests/test_ssl_ecdh_curve.rb
|
259
|
+
- tests/test_ssl_extensions.rb
|
259
260
|
- tests/test_ssl_methods.rb
|
261
|
+
- tests/test_ssl_protocols.rb
|
260
262
|
- tests/test_ssl_verify.rb
|
261
263
|
- tests/test_stomp.rb
|
262
264
|
- tests/test_system.rb
|
@@ -265,53 +267,117 @@ files:
|
|
265
267
|
- tests/test_timers.rb
|
266
268
|
- tests/test_ud.rb
|
267
269
|
- tests/test_unbind_reason.rb
|
268
|
-
- lib/fastfilereaderext.rb
|
269
|
-
- lib/rubyeventmachine.rb
|
270
|
-
- lib/1.8/rubyeventmachine.so
|
271
|
-
- lib/1.9/rubyeventmachine.so
|
272
|
-
- lib/2.0/rubyeventmachine.so
|
273
|
-
- lib/1.8/fastfilereaderext.so
|
274
|
-
- lib/1.9/fastfilereaderext.so
|
275
|
-
- lib/2.0/fastfilereaderext.so
|
276
270
|
homepage: http://rubyeventmachine.com
|
277
|
-
licenses:
|
278
|
-
|
271
|
+
licenses:
|
272
|
+
- Ruby
|
273
|
+
- GPL-2.0
|
274
|
+
metadata: {}
|
279
275
|
post_install_message:
|
280
|
-
rdoc_options:
|
281
|
-
- --title
|
276
|
+
rdoc_options:
|
277
|
+
- "--title"
|
282
278
|
- EventMachine
|
283
|
-
- --main
|
279
|
+
- "--main"
|
284
280
|
- README.md
|
285
|
-
- -x
|
281
|
+
- "-x"
|
286
282
|
- lib/em/version
|
287
|
-
- -x
|
283
|
+
- "-x"
|
288
284
|
- lib/jeventmachine
|
289
|
-
require_paths:
|
285
|
+
require_paths:
|
290
286
|
- lib
|
291
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
292
|
-
|
293
|
-
requirements:
|
294
|
-
- - ">="
|
295
|
-
- !ruby/object:Gem::Version
|
296
|
-
hash: 3
|
297
|
-
segments:
|
298
|
-
- 0
|
299
|
-
version: "0"
|
300
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
301
|
-
none: false
|
302
|
-
requirements:
|
287
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
288
|
+
requirements:
|
303
289
|
- - ">="
|
304
|
-
- !ruby/object:Gem::Version
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
290
|
+
- !ruby/object:Gem::Version
|
291
|
+
version: '0'
|
292
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
293
|
+
requirements:
|
294
|
+
- - ">"
|
295
|
+
- !ruby/object:Gem::Version
|
296
|
+
version: 1.3.1
|
309
297
|
requirements: []
|
310
|
-
|
311
|
-
|
312
|
-
rubygems_version: 1.8.24
|
298
|
+
rubyforge_project:
|
299
|
+
rubygems_version: 2.5.1
|
313
300
|
signing_key:
|
314
|
-
specification_version:
|
301
|
+
specification_version: 4
|
315
302
|
summary: Ruby/EventMachine library
|
316
|
-
test_files:
|
317
|
-
|
303
|
+
test_files:
|
304
|
+
- examples/guides/getting_started/01_eventmachine_echo_server.rb
|
305
|
+
- examples/guides/getting_started/02_eventmachine_echo_server_that_recognizes_exit_command.rb
|
306
|
+
- examples/guides/getting_started/03_simple_chat_server.rb
|
307
|
+
- examples/guides/getting_started/04_simple_chat_server_step_one.rb
|
308
|
+
- examples/guides/getting_started/05_simple_chat_server_step_two.rb
|
309
|
+
- examples/guides/getting_started/06_simple_chat_server_step_three.rb
|
310
|
+
- examples/guides/getting_started/07_simple_chat_server_step_four.rb
|
311
|
+
- examples/guides/getting_started/08_simple_chat_server_step_five.rb
|
312
|
+
- examples/old/ex_channel.rb
|
313
|
+
- examples/old/ex_queue.rb
|
314
|
+
- examples/old/ex_tick_loop_array.rb
|
315
|
+
- examples/old/ex_tick_loop_counter.rb
|
316
|
+
- examples/old/helper.rb
|
317
|
+
- tests/client.crt
|
318
|
+
- tests/client.key
|
319
|
+
- tests/dhparam.pem
|
320
|
+
- tests/em_test_helper.rb
|
321
|
+
- tests/test_attach.rb
|
322
|
+
- tests/test_basic.rb
|
323
|
+
- tests/test_channel.rb
|
324
|
+
- tests/test_completion.rb
|
325
|
+
- tests/test_connection_count.rb
|
326
|
+
- tests/test_connection_write.rb
|
327
|
+
- tests/test_defer.rb
|
328
|
+
- tests/test_deferrable.rb
|
329
|
+
- tests/test_epoll.rb
|
330
|
+
- tests/test_error_handler.rb
|
331
|
+
- tests/test_exc.rb
|
332
|
+
- tests/test_file_watch.rb
|
333
|
+
- tests/test_fork.rb
|
334
|
+
- tests/test_futures.rb
|
335
|
+
- tests/test_get_sock_opt.rb
|
336
|
+
- tests/test_handler_check.rb
|
337
|
+
- tests/test_hc.rb
|
338
|
+
- tests/test_httpclient.rb
|
339
|
+
- tests/test_httpclient2.rb
|
340
|
+
- tests/test_idle_connection.rb
|
341
|
+
- tests/test_inactivity_timeout.rb
|
342
|
+
- tests/test_ipv4.rb
|
343
|
+
- tests/test_ipv6.rb
|
344
|
+
- tests/test_iterator.rb
|
345
|
+
- tests/test_kb.rb
|
346
|
+
- tests/test_line_protocol.rb
|
347
|
+
- tests/test_ltp.rb
|
348
|
+
- tests/test_ltp2.rb
|
349
|
+
- tests/test_many_fds.rb
|
350
|
+
- tests/test_next_tick.rb
|
351
|
+
- tests/test_object_protocol.rb
|
352
|
+
- tests/test_pause.rb
|
353
|
+
- tests/test_pending_connect_timeout.rb
|
354
|
+
- tests/test_pool.rb
|
355
|
+
- tests/test_process_watch.rb
|
356
|
+
- tests/test_processes.rb
|
357
|
+
- tests/test_proxy_connection.rb
|
358
|
+
- tests/test_pure.rb
|
359
|
+
- tests/test_queue.rb
|
360
|
+
- tests/test_resolver.rb
|
361
|
+
- tests/test_running.rb
|
362
|
+
- tests/test_sasl.rb
|
363
|
+
- tests/test_send_file.rb
|
364
|
+
- tests/test_servers.rb
|
365
|
+
- tests/test_set_sock_opt.rb
|
366
|
+
- tests/test_shutdown_hooks.rb
|
367
|
+
- tests/test_smtpclient.rb
|
368
|
+
- tests/test_smtpserver.rb
|
369
|
+
- tests/test_spawn.rb
|
370
|
+
- tests/test_ssl_args.rb
|
371
|
+
- tests/test_ssl_dhparam.rb
|
372
|
+
- tests/test_ssl_ecdh_curve.rb
|
373
|
+
- tests/test_ssl_extensions.rb
|
374
|
+
- tests/test_ssl_methods.rb
|
375
|
+
- tests/test_ssl_protocols.rb
|
376
|
+
- tests/test_ssl_verify.rb
|
377
|
+
- tests/test_stomp.rb
|
378
|
+
- tests/test_system.rb
|
379
|
+
- tests/test_threaded_resource.rb
|
380
|
+
- tests/test_tick_loop.rb
|
381
|
+
- tests/test_timers.rb
|
382
|
+
- tests/test_ud.rb
|
383
|
+
- tests/test_unbind_reason.rb
|