evdispatch 0.1.1 → 0.1.2
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 +6 -0
- data/ext/revdispatch/extconf.rb +8 -1
- data/ext/revdispatch/libdispatch-0.1/libev-3.2/libev.la +3 -3
- data/lib/evdispatch/version.rb +1 -1
- data/website/index.html +12 -1
- data/website/index.txt +9 -0
- metadata +3 -3
data/History.txt
CHANGED
data/ext/revdispatch/extconf.rb
CHANGED
@@ -11,6 +11,10 @@ if !File.exist?("#{libdispatch}/src/.libs") or !File.exist?("#{libdispatch}/#{li
|
|
11
11
|
STDERR.puts "Failed to compile #{libdispatch}er"
|
12
12
|
exit(1)
|
13
13
|
end
|
14
|
+
system("mkdir libdeps")
|
15
|
+
# copy the .a files into this folder
|
16
|
+
system("cp #{libdispatch}/src/.libs/libdispatch.a libdeps")
|
17
|
+
system("cp #{libdispatch}/#{libev}/.libs/libev.a libdeps")
|
14
18
|
end
|
15
19
|
|
16
20
|
$srcs = ['revdispatch.cc']
|
@@ -20,7 +24,10 @@ $objs = ['revdispatch.o']
|
|
20
24
|
$CPPFLAGS = " -I./#{libdispatch}/ -I./#{libdispatch}/src -I./#{libdispatch}/#{libev}/ #{$CPPFLAGS}"
|
21
25
|
|
22
26
|
# link to the static library versions of libdispatch and #{libev}
|
23
|
-
|
27
|
+
#$LDFLAGS << " ./#{libdispatch}/src/.libs/libdispatch.a ./#{libdispatch}/#{libev}/.libs/libev.a "
|
28
|
+
#$LIBS << " -L./#{libdispatch}/#{libev}/.libs/ -lev"
|
29
|
+
#$LIBS << " -L./#{libdispatch}/src/.libs/ -ldispatch"
|
30
|
+
$LIBS << " -Llibdeps -lev -ldispatch"
|
24
31
|
|
25
32
|
dir_config("revdispatch")
|
26
33
|
have_library("c", "main")
|
@@ -5,16 +5,16 @@
|
|
5
5
|
# It is necessary for linking the library.
|
6
6
|
|
7
7
|
# The name that we can dlopen(3).
|
8
|
-
dlname='libev.
|
8
|
+
dlname='libev.3.dylib'
|
9
9
|
|
10
10
|
# Names of this library.
|
11
|
-
library_names='libev.
|
11
|
+
library_names='libev.3.0.0.dylib libev.3.dylib libev.dylib'
|
12
12
|
|
13
13
|
# The name of the static archive.
|
14
14
|
old_library='libev.a'
|
15
15
|
|
16
16
|
# Libraries that this one depends upon.
|
17
|
-
dependency_libs=' -lm
|
17
|
+
dependency_libs=' -lm'
|
18
18
|
|
19
19
|
# Version information for libev.
|
20
20
|
current=3
|
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.1.
|
21
|
+
<a href="http://rubyforge.org/projects/evdispatch" class="numbers">0.1.2</a>
|
22
22
|
</div>
|
23
23
|
<h4 style="float:right;padding-right:10px;">→ ‘evdispatch’</h4>
|
24
24
|
|
@@ -81,6 +81,16 @@ to issue <span class="caps">HTTP</span> requests.</p>
|
|
81
81
|
<p>The trunk repository is <a href="http://evdispatch.rubyforge.org/svn/trunk/">http://evdispatch.rubyforge.org/svn/trunk</a> for anonymous access.</p>
|
82
82
|
|
83
83
|
|
84
|
+
<h2>F.A.Q.</h2>
|
85
|
+
|
86
|
+
|
87
|
+
<ul>
|
88
|
+
<li><h5> I get an error when installing the gem: <strong>“error: ‘curl_socket_t’ has not been
|
89
|
+
declared”</strong></h5>
|
90
|
+
<p> You need to have at least version 7.16 of <a href="http://curl.haxx.se/download.html">libcurl</a>. I recommend at least version: 7.18.1.</p>
|
91
|
+
</li>
|
92
|
+
</ul>
|
93
|
+
|
84
94
|
<h2>License</h2>
|
85
95
|
|
86
96
|
|
@@ -92,6 +102,7 @@ to issue <span class="caps">HTTP</span> requests.</p>
|
|
92
102
|
|
93
103
|
<p>Comments are welcome. See the <a href="http://groups.google.com/group/evdispatch">forum</a></p>
|
94
104
|
<p class="coda">
|
105
|
+
<a href="http://xullicious.blogspot.com/">Xullicious</a><br/>
|
95
106
|
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
96
107
|
</p>
|
97
108
|
</div>
|
data/website/index.txt
CHANGED
@@ -52,6 +52,15 @@ Read the "8 steps for fixing other people's code":http://drnicwilliams.com/2007/
|
|
52
52
|
|
53
53
|
The trunk repository is <a href="http://evdispatch.rubyforge.org/svn/trunk/">http://evdispatch.rubyforge.org/svn/trunk</a> for anonymous access.
|
54
54
|
|
55
|
+
h2. F.A.Q.
|
56
|
+
|
57
|
+
<ul>
|
58
|
+
<li><h5> I get an error when installing the gem: <strong>"error: 'curl_socket_t' has not been
|
59
|
+
declared"</strong></h5>
|
60
|
+
<p> You need to have at least version 7.16 of <a href="http://curl.haxx.se/download.html">libcurl</a>. I recommend at least version: 7.18.1.</p>
|
61
|
+
</li>
|
62
|
+
</ul>
|
63
|
+
|
55
64
|
h2. License
|
56
65
|
|
57
66
|
This code is free to use under the terms of the MIT license.
|
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.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Todd A. Fisher
|
@@ -147,11 +147,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
147
|
requirements: []
|
148
148
|
|
149
149
|
rubyforge_project: evdispatch
|
150
|
-
rubygems_version: 1.1.
|
150
|
+
rubygems_version: 1.1.0
|
151
151
|
signing_key:
|
152
152
|
specification_version: 2
|
153
153
|
summary: Based on libev provides a background event loop for making simulataneous requests
|
154
154
|
test_files:
|
155
|
+
- test/test_evdispatch.rb
|
155
156
|
- test/test_helper.rb
|
156
157
|
- test/test_revdispatch_extn.rb
|
157
|
-
- test/test_evdispatch.rb
|