evdispatch 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +3 -0
- data/Manifest.txt +32 -32
- data/ext/revdispatch/extconf.rb +1 -1
- data/ext/revdispatch/libdispatch-0.1/Changelog +1 -0
- data/ext/revdispatch/libdispatch-0.1/configure +1 -1
- data/ext/revdispatch/libdispatch-0.1/configure.ac +1 -1
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/Changes +24 -0
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/Makefile.in +172 -234
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/aclocal.m4 +6449 -6665
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/autogen.sh +1 -2
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/config.guess +3 -3
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/config.h.in +6 -0
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/config.sub +3 -3
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/configure +496 -783
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/configure.ac +1 -1
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev++.h +32 -8
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev.3 +91 -23
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev.c +119 -22
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev.h +59 -37
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev.pod +96 -20
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev_poll.c +17 -14
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev_vars.h +3 -0
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev_wrap.h +2 -0
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/event.c +1 -1
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/libev.m4 +2 -2
- data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ltmain.sh +92 -151
- data/ext/revdispatch/libdispatch-0.1/src/ev_http.cc +11 -6
- data/ext/revdispatch/libdispatch-0.1/test/stress_test.cc +1 -1
- data/ext/revdispatch/server.rb +11 -23
- data/ext/revdispatch/stest.rb +3 -3
- data/lib/evdispatch/version.rb +1 -1
- data/website/index.html +1 -1
- metadata +35 -35
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/LICENSE +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/Makefile.am +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/README +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev_epoll.c +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev_kqueue.c +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev_port.c +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev_select.c +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/ev_win32.c +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/event.h +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/install-sh +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/missing +0 -0
- /data/ext/revdispatch/libdispatch-0.1/{libev-3.2 → libev-3.31}/mkinstalldirs +0 -0
data/ext/revdispatch/stest.rb
CHANGED
|
@@ -12,11 +12,11 @@ class TestRequests < Test::Unit::TestCase
|
|
|
12
12
|
def test_response
|
|
13
13
|
id = $d.request_http("http://127.0.0.1:4044/bytes/10")
|
|
14
14
|
response = $d.response( id )
|
|
15
|
-
#puts response.inspect
|
|
16
|
-
#{:response_time=>0.003444, :name=>"http://127.0.0.1:4044/bytes/10", :id=>0, :body=>"CCCCCCCCCC"}
|
|
17
15
|
assert_equal("http://127.0.0.1:4044/bytes/10", response[:name])
|
|
18
16
|
assert_equal("CCCCCCCCCC", response[:body])
|
|
19
|
-
|
|
17
|
+
assert_match(/Content-Type: text\/json/, response[:header])
|
|
18
|
+
assert_match(/HTTP\/1.1 200 OK/, response[:header])
|
|
19
|
+
assert_match(/Content-Length: 10/, response[:header])
|
|
20
20
|
assert(response.keys.include?(:response_time))
|
|
21
21
|
assert(response.keys.include?(:id))
|
|
22
22
|
end
|
data/lib/evdispatch/version.rb
CHANGED
data/website/index.html
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<h1>evdispatch</h1>
|
|
19
19
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/evdispatch"; return false'>
|
|
20
20
|
<p>Get Version</p>
|
|
21
|
-
<a href="http://rubyforge.org/projects/evdispatch" class="numbers">0.2.
|
|
21
|
+
<a href="http://rubyforge.org/projects/evdispatch" class="numbers">0.2.6</a>
|
|
22
22
|
</div>
|
|
23
23
|
<h4 style="float:right;padding-right:10px;">→ ‘evdispatch’</h4>
|
|
24
24
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: evdispatch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Todd A. Fisher
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2008-04-
|
|
12
|
+
date: 2008-04-21 00:00:00 -04:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|
|
@@ -80,38 +80,38 @@ files:
|
|
|
80
80
|
- ext/revdispatch/libdispatch-0.1/install-sh
|
|
81
81
|
- ext/revdispatch/libdispatch-0.1/ltmain.sh
|
|
82
82
|
- ext/revdispatch/libdispatch-0.1/missing
|
|
83
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
84
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
85
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
86
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
87
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
88
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
89
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
90
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
91
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
92
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
93
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
94
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
95
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
96
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
97
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
98
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
99
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
100
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
101
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
102
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
103
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
104
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
105
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
106
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
107
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
108
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
109
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
110
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
111
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
112
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
113
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
114
|
-
- ext/revdispatch/libdispatch-0.1/libev-3.
|
|
83
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/ev++.h
|
|
84
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/ev.c
|
|
85
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/ev.h
|
|
86
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/ev_epoll.c
|
|
87
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/ev_kqueue.c
|
|
88
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/ev_poll.c
|
|
89
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/ev_port.c
|
|
90
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/ev_select.c
|
|
91
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/ev_vars.h
|
|
92
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/ev_win32.c
|
|
93
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/ev_wrap.h
|
|
94
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/event.c
|
|
95
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/event.h
|
|
96
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/Changes
|
|
97
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/LICENSE
|
|
98
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/Makefile.am
|
|
99
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/Makefile.in
|
|
100
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/README
|
|
101
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/aclocal.m4
|
|
102
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/autogen.sh
|
|
103
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/config.guess
|
|
104
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/config.h.in
|
|
105
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/config.sub
|
|
106
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/configure
|
|
107
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/configure.ac
|
|
108
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/ev.3
|
|
109
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/ev.pod
|
|
110
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/install-sh
|
|
111
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/libev.m4
|
|
112
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/ltmain.sh
|
|
113
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/missing
|
|
114
|
+
- ext/revdispatch/libdispatch-0.1/libev-3.31/mkinstalldirs
|
|
115
115
|
- ext/revdispatch/libdispatch-0.1/src/ev_dispatch.h
|
|
116
116
|
- ext/revdispatch/libdispatch-0.1/src/ev_http.h
|
|
117
117
|
- ext/revdispatch/libdispatch-0.1/src/Makefile.am
|
|
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
150
150
|
requirements: []
|
|
151
151
|
|
|
152
152
|
rubyforge_project: evdispatch
|
|
153
|
-
rubygems_version: 1.1.
|
|
153
|
+
rubygems_version: 1.1.1
|
|
154
154
|
signing_key:
|
|
155
155
|
specification_version: 2
|
|
156
156
|
summary: Based on libev provides a background event loop for making simulataneous requests
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|