eventmachine 0.10.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. data/DEFERRABLES +1 -1
  2. data/LIGHTWEIGHT_CONCURRENCY +1 -1
  3. data/PURE_RUBY +1 -1
  4. data/README +1 -1
  5. data/RELEASE_NOTES +1 -1
  6. data/SMTP +1 -1
  7. data/SPAWNED_PROCESSES +1 -1
  8. data/TODO +1 -1
  9. data/ext/binder.cpp +1 -1
  10. data/ext/binder.h +1 -1
  11. data/ext/cmain.cpp +29 -1
  12. data/ext/cplusplus.cpp +1 -1
  13. data/ext/ed.cpp +79 -1
  14. data/ext/ed.h +6 -1
  15. data/ext/em.cpp +343 -27
  16. data/ext/em.h +25 -1
  17. data/ext/emwin.cpp +1 -1
  18. data/ext/emwin.h +1 -1
  19. data/ext/epoll.cpp +1 -1
  20. data/ext/epoll.h +1 -1
  21. data/ext/eventmachine.h +3 -1
  22. data/ext/eventmachine_cpp.h +1 -1
  23. data/ext/extconf.rb +31 -1
  24. data/ext/files.cpp +1 -1
  25. data/ext/files.h +1 -1
  26. data/ext/kb.cpp +4 -1
  27. data/ext/page.cpp +1 -1
  28. data/ext/page.h +1 -1
  29. data/ext/pipe.cpp +4 -1
  30. data/ext/project.h +8 -2
  31. data/ext/rubymain.cpp +73 -2
  32. data/ext/sigs.cpp +1 -1
  33. data/ext/sigs.h +1 -1
  34. data/ext/ssl.cpp +4 -1
  35. data/ext/ssl.h +1 -1
  36. data/lib/em/deferrable.rb +1 -1
  37. data/lib/em/eventable.rb +1 -1
  38. data/lib/em/future.rb +1 -1
  39. data/lib/em/messages.rb +1 -1
  40. data/lib/em/processes.rb +68 -0
  41. data/lib/em/spawnable.rb +1 -1
  42. data/lib/em/streamer.rb +1 -1
  43. data/lib/eventmachine.rb +113 -66
  44. data/lib/eventmachine_version.rb +2 -2
  45. data/lib/evma.rb +1 -1
  46. data/lib/evma/callback.rb +1 -1
  47. data/lib/evma/container.rb +1 -1
  48. data/lib/evma/factory.rb +1 -1
  49. data/lib/evma/protocol.rb +1 -1
  50. data/lib/evma/reactor.rb +1 -1
  51. data/lib/jeventmachine.rb +1 -1
  52. data/lib/pr_eventmachine.rb +35 -8
  53. data/lib/protocols/header_and_content.rb +1 -1
  54. data/lib/protocols/httpcli2.rb +1 -1
  55. data/lib/protocols/httpclient.rb +1 -1
  56. data/lib/protocols/line_and_text.rb +1 -1
  57. data/lib/protocols/linetext2.rb +1 -1
  58. data/lib/protocols/saslauth.rb +59 -1
  59. data/lib/protocols/smtpclient.rb +4 -3
  60. data/lib/protocols/smtpserver.rb +3 -3
  61. data/lib/protocols/stomp.rb +1 -1
  62. data/lib/protocols/tcptest.rb +1 -1
  63. data/tests/test_basic.rb +2 -1
  64. data/tests/test_defer.rb +63 -0
  65. data/tests/test_epoll.rb +10 -5
  66. data/tests/test_errors.rb +13 -3
  67. data/tests/test_eventables.rb +1 -1
  68. data/tests/test_exc.rb +2 -1
  69. data/tests/test_futures.rb +2 -1
  70. data/tests/test_hc.rb +26 -2
  71. data/tests/test_httpclient.rb +2 -1
  72. data/tests/test_httpclient2.rb +2 -1
  73. data/tests/test_kb.rb +2 -1
  74. data/tests/test_ltp.rb +3 -1
  75. data/tests/test_ltp2.rb +2 -1
  76. data/tests/test_next_tick.rb +2 -1
  77. data/tests/test_processes.rb +56 -0
  78. data/tests/test_pure.rb +2 -1
  79. data/tests/test_running.rb +2 -1
  80. data/tests/test_sasl.rb +73 -0
  81. data/tests/test_send_file.rb +3 -1
  82. data/tests/test_servers.rb +4 -1
  83. data/tests/test_smtpclient.rb +2 -1
  84. data/tests/test_smtpserver.rb +3 -2
  85. data/tests/test_spawn.rb +2 -1
  86. data/tests/test_timers.rb +2 -2
  87. data/tests/test_ud.rb +2 -1
  88. data/tests/testem.rb +1 -1
  89. metadata +115 -104
data/tests/testem.rb CHANGED
@@ -1,4 +1,4 @@
1
- # $Id: testem.rb 47 2006-05-15 21:42:38Z blackhedd $
1
+ # $Id: testem.rb 668 2008-01-04 23:00:34Z blackhedd $
2
2
  #
3
3
  # STUB
4
4
  #
metadata CHANGED
@@ -1,114 +1,123 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.0
3
- specification_version: 1
4
2
  name: eventmachine
5
3
  version: !ruby/object:Gem::Version
6
- version: 0.10.0
7
- date: 2007-12-09 00:00:00 -05:00
8
- summary: Ruby/EventMachine library
9
- require_paths:
10
- - lib
11
- email: garbagecat10@gmail.com
12
- homepage: http://rubyeventmachine.com
13
- rubyforge_project: eventmachine
14
- description: ""
15
- autorequire:
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: 0.12.0
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
7
  - Francis Cianfrocca
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-06-03 00:00:00 -04:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: ""
17
+ email: garbagecat10@gmail.com
18
+ executables: []
19
+
20
+ extensions:
21
+ - ext/extconf.rb
22
+ extra_rdoc_files:
23
+ - README
24
+ - RELEASE_NOTES
25
+ - COPYING
26
+ - EPOLL
27
+ - GNU
28
+ - LEGAL
29
+ - TODO
30
+ - KEYBOARD
31
+ - LIGHTWEIGHT_CONCURRENCY
32
+ - PURE_RUBY
33
+ - SMTP
34
+ - SPAWNED_PROCESSES
35
+ - DEFERRABLES
31
36
  files:
32
- - tests/test_httpclient.rb
33
- - tests/test_exc.rb
34
- - tests/test_running.rb
35
- - tests/test_ltp2.rb
36
- - tests/test_basic.rb
37
- - tests/test_smtpclient.rb
38
- - tests/test_send_file.rb
39
- - tests/test_next_tick.rb
40
- - tests/test_eventables.rb
37
+ - tests/test_errors.rb
41
38
  - tests/test_spawn.rb
42
- - tests/test_servers.rb
43
- - tests/test_hc.rb
39
+ - tests/test_httpclient2.rb
44
40
  - tests/test_kb.rb
41
+ - tests/test_ltp2.rb
42
+ - tests/test_next_tick.rb
43
+ - tests/test_send_file.rb
45
44
  - tests/test_futures.rb
46
- - tests/test_ltp.rb
47
- - tests/test_httpclient2.rb
48
- - tests/testem.rb
45
+ - tests/test_sasl.rb
46
+ - tests/test_defer.rb
49
47
  - tests/test_timers.rb
48
+ - tests/test_smtpclient.rb
49
+ - tests/test_ltp.rb
50
+ - tests/test_processes.rb
50
51
  - tests/test_ud.rb
51
- - tests/test_smtpserver.rb
52
+ - tests/test_servers.rb
53
+ - tests/test_running.rb
54
+ - tests/test_exc.rb
52
55
  - tests/test_pure.rb
56
+ - tests/test_basic.rb
57
+ - tests/test_eventables.rb
53
58
  - tests/test_epoll.rb
54
- - tests/test_errors.rb
55
- - lib/em
56
- - lib/protocols
57
- - lib/evma
59
+ - tests/testem.rb
60
+ - tests/test_hc.rb
61
+ - tests/test_httpclient.rb
62
+ - tests/test_smtpserver.rb
58
63
  - lib/jeventmachine.rb
59
64
  - lib/eventmachine.rb
65
+ - lib/evma
66
+ - lib/evma/reactor.rb
67
+ - lib/evma/factory.rb
68
+ - lib/evma/callback.rb
69
+ - lib/evma/container.rb
70
+ - lib/evma/protocol.rb
71
+ - lib/protocols
72
+ - lib/protocols/tcptest.rb
73
+ - lib/protocols/httpcli2.rb
74
+ - lib/protocols/header_and_content.rb
75
+ - lib/protocols/saslauth.rb
76
+ - lib/protocols/stomp.rb
77
+ - lib/protocols/linetext2.rb
78
+ - lib/protocols/smtpserver.rb
79
+ - lib/protocols/line_and_text.rb
80
+ - lib/protocols/buftok.rb
81
+ - lib/protocols/httpclient.rb
82
+ - lib/protocols/smtpclient.rb
60
83
  - lib/pr_eventmachine.rb
61
- - lib/evma.rb
62
84
  - lib/eventmachine_version.rb
85
+ - lib/em
86
+ - lib/em/messages.rb
63
87
  - lib/em/streamer.rb
64
88
  - lib/em/eventable.rb
65
- - lib/em/messages.rb
66
- - lib/em/future.rb
89
+ - lib/em/processes.rb
67
90
  - lib/em/deferrable.rb
91
+ - lib/em/future.rb
68
92
  - lib/em/spawnable.rb
69
- - lib/protocols/line_and_text.rb
70
- - lib/protocols/httpclient.rb
71
- - lib/protocols/linetext2.rb
72
- - lib/protocols/smtpclient.rb
73
- - lib/protocols/stomp.rb
74
- - lib/protocols/header_and_content.rb
75
- - lib/protocols/saslauth.rb
76
- - lib/protocols/tcptest.rb
77
- - lib/protocols/httpcli2.rb
78
- - lib/protocols/buftok.rb
79
- - lib/protocols/smtpserver.rb
80
- - lib/evma/reactor.rb
81
- - lib/evma/protocol.rb
82
- - lib/evma/container.rb
83
- - lib/evma/factory.rb
84
- - lib/evma/callback.rb
85
- - ext/em.cpp
86
- - ext/ssl.cpp
87
- - ext/files.cpp
88
- - ext/binder.cpp
89
- - ext/sigs.cpp
90
- - ext/em.h
91
- - ext/ssl.h
92
- - ext/files.h
93
+ - lib/evma.rb
94
+ - ext/cmain.cpp
95
+ - ext/eventmachine_cpp.h
93
96
  - ext/binder.h
94
- - ext/sigs.h
97
+ - ext/sigs.cpp
95
98
  - ext/eventmachine.h
96
- - ext/epoll.cpp
97
- - ext/project.h
99
+ - ext/sigs.h
100
+ - ext/ed.cpp
101
+ - ext/em.cpp
98
102
  - ext/page.cpp
99
- - ext/eventmachine_cpp.h
100
- - ext/emwin.cpp
101
- - ext/epoll.h
103
+ - ext/ssl.h
102
104
  - ext/page.h
103
- - ext/emwin.h
105
+ - ext/project.h
106
+ - ext/epoll.h
107
+ - ext/binder.cpp
108
+ - ext/ed.h
109
+ - ext/epoll.cpp
110
+ - ext/files.h
111
+ - ext/cplusplus.cpp
112
+ - ext/emwin.cpp
113
+ - ext/em.h
104
114
  - ext/rubymain.cpp
115
+ - ext/pipe.cpp
116
+ - ext/files.cpp
117
+ - ext/ssl.cpp
105
118
  - ext/extconf.rb
106
- - ext/cmain.cpp
107
- - ext/ed.cpp
108
- - ext/cplusplus.cpp
109
119
  - ext/kb.cpp
110
- - ext/ed.h
111
- - ext/pipe.cpp
120
+ - ext/emwin.h
112
121
  - README
113
122
  - RELEASE_NOTES
114
123
  - COPYING
@@ -122,33 +131,35 @@ files:
122
131
  - SMTP
123
132
  - SPAWNED_PROCESSES
124
133
  - DEFERRABLES
125
- test_files:
126
- - tests/testem.rb
134
+ has_rdoc: true
135
+ homepage: http://rubyeventmachine.com
136
+ post_install_message:
127
137
  rdoc_options:
128
138
  - --title
129
139
  - EventMachine
130
140
  - --main
131
141
  - README
132
142
  - --line-numbers
133
- extra_rdoc_files:
134
- - README
135
- - RELEASE_NOTES
136
- - COPYING
137
- - EPOLL
138
- - GNU
139
- - LEGAL
140
- - TODO
141
- - KEYBOARD
142
- - LIGHTWEIGHT_CONCURRENCY
143
- - PURE_RUBY
144
- - SMTP
145
- - SPAWNED_PROCESSES
146
- - DEFERRABLES
147
- executables: []
148
-
149
- extensions:
150
- - ext/extconf.rb
143
+ require_paths:
144
+ - lib
145
+ required_ruby_version: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ">="
148
+ - !ruby/object:Gem::Version
149
+ version: "0"
150
+ version:
151
+ required_rubygems_version: !ruby/object:Gem::Requirement
152
+ requirements:
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ version: "0"
156
+ version:
151
157
  requirements: []
152
158
 
153
- dependencies: []
154
-
159
+ rubyforge_project: eventmachine
160
+ rubygems_version: 1.0.1
161
+ signing_key:
162
+ specification_version: 2
163
+ summary: Ruby/EventMachine library
164
+ test_files:
165
+ - tests/testem.rb