evdispatch 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. data/History.txt +3 -0
  2. data/License.txt +20 -0
  3. data/Manifest.txt +96 -0
  4. data/README.txt +73 -0
  5. data/Rakefile +4 -0
  6. data/config/hoe.rb +70 -0
  7. data/config/requirements.rb +15 -0
  8. data/ext/revdispatch/extconf.rb +31 -0
  9. data/ext/revdispatch/libevdispatch/Changelog +0 -0
  10. data/ext/revdispatch/libevdispatch/LICENSE +0 -0
  11. data/ext/revdispatch/libevdispatch/Makefile.am +10 -0
  12. data/ext/revdispatch/libevdispatch/Makefile.in +637 -0
  13. data/ext/revdispatch/libevdispatch/README +3 -0
  14. data/ext/revdispatch/libevdispatch/TODO +5 -0
  15. data/ext/revdispatch/libevdispatch/aclocal.m4 +7459 -0
  16. data/ext/revdispatch/libevdispatch/autogen.sh +11 -0
  17. data/ext/revdispatch/libevdispatch/confdefs.h +32 -0
  18. data/ext/revdispatch/libevdispatch/config.guess +1516 -0
  19. data/ext/revdispatch/libevdispatch/config.h.in +112 -0
  20. data/ext/revdispatch/libevdispatch/config.sub +1626 -0
  21. data/ext/revdispatch/libevdispatch/configure +21949 -0
  22. data/ext/revdispatch/libevdispatch/configure.ac +40 -0
  23. data/ext/revdispatch/libevdispatch/depcomp +584 -0
  24. data/ext/revdispatch/libevdispatch/install-sh +507 -0
  25. data/ext/revdispatch/libevdispatch/libev/Changes +54 -0
  26. data/ext/revdispatch/libevdispatch/libev/LICENSE +25 -0
  27. data/ext/revdispatch/libevdispatch/libev/Makefile.am +18 -0
  28. data/ext/revdispatch/libevdispatch/libev/Makefile.in +677 -0
  29. data/ext/revdispatch/libevdispatch/libev/README +130 -0
  30. data/ext/revdispatch/libevdispatch/libev/aclocal.m4 +7430 -0
  31. data/ext/revdispatch/libevdispatch/libev/autogen.sh +7 -0
  32. data/ext/revdispatch/libevdispatch/libev/config.guess +1516 -0
  33. data/ext/revdispatch/libevdispatch/libev/config.h.in +106 -0
  34. data/ext/revdispatch/libevdispatch/libev/config.sub +1626 -0
  35. data/ext/revdispatch/libevdispatch/libev/configure +21636 -0
  36. data/ext/revdispatch/libevdispatch/libev/configure.ac +18 -0
  37. data/ext/revdispatch/libevdispatch/libev/ev++.h +779 -0
  38. data/ext/revdispatch/libevdispatch/libev/ev.3 +3276 -0
  39. data/ext/revdispatch/libevdispatch/libev/ev.c +2547 -0
  40. data/ext/revdispatch/libevdispatch/libev/ev.h +608 -0
  41. data/ext/revdispatch/libevdispatch/libev/ev.pod +3192 -0
  42. data/ext/revdispatch/libevdispatch/libev/ev_epoll.c +182 -0
  43. data/ext/revdispatch/libevdispatch/libev/ev_kqueue.c +194 -0
  44. data/ext/revdispatch/libevdispatch/libev/ev_poll.c +135 -0
  45. data/ext/revdispatch/libevdispatch/libev/ev_port.c +163 -0
  46. data/ext/revdispatch/libevdispatch/libev/ev_select.c +244 -0
  47. data/ext/revdispatch/libevdispatch/libev/ev_vars.h +157 -0
  48. data/ext/revdispatch/libevdispatch/libev/ev_win32.c +125 -0
  49. data/ext/revdispatch/libevdispatch/libev/ev_wrap.h +144 -0
  50. data/ext/revdispatch/libevdispatch/libev/event.c +404 -0
  51. data/ext/revdispatch/libevdispatch/libev/event.h +152 -0
  52. data/ext/revdispatch/libevdispatch/libev/install-sh +294 -0
  53. data/ext/revdispatch/libevdispatch/libev/libev.m4 +28 -0
  54. data/ext/revdispatch/libevdispatch/libev/ltmain.sh +6930 -0
  55. data/ext/revdispatch/libevdispatch/libev/missing +336 -0
  56. data/ext/revdispatch/libevdispatch/libev/mkinstalldirs +111 -0
  57. data/ext/revdispatch/libevdispatch/ltmain.sh +6930 -0
  58. data/ext/revdispatch/libevdispatch/missing +367 -0
  59. data/ext/revdispatch/libevdispatch/src/Makefile.am +11 -0
  60. data/ext/revdispatch/libevdispatch/src/Makefile.in +486 -0
  61. data/ext/revdispatch/libevdispatch/src/ev_dispatch.cc +264 -0
  62. data/ext/revdispatch/libevdispatch/src/ev_dispatch.h +300 -0
  63. data/ext/revdispatch/libevdispatch/src/ev_http.cc +238 -0
  64. data/ext/revdispatch/libevdispatch/src/ev_http.h +65 -0
  65. data/ext/revdispatch/libevdispatch/test/Makefile.am +16 -0
  66. data/ext/revdispatch/libevdispatch/test/Makefile.in +513 -0
  67. data/ext/revdispatch/libevdispatch/test/helper.rb +94 -0
  68. data/ext/revdispatch/libevdispatch/test/key_test.cc +52 -0
  69. data/ext/revdispatch/libevdispatch/test/next_test.cc +86 -0
  70. data/ext/revdispatch/libevdispatch/test/next_test.rb +8 -0
  71. data/ext/revdispatch/libevdispatch/test/server.rb +9 -0
  72. data/ext/revdispatch/revdispatch.cc +151 -0
  73. data/ext/revdispatch/server.rb +60 -0
  74. data/ext/revdispatch/test.rb +100 -0
  75. data/lib/evdispatch/loop.rb +16 -0
  76. data/lib/evdispatch/version.rb +9 -0
  77. data/lib/evdispatch.rb +8 -0
  78. data/log/debug.log +0 -0
  79. data/script/console +10 -0
  80. data/script/destroy +14 -0
  81. data/script/generate +14 -0
  82. data/script/txt2html +74 -0
  83. data/setup.rb +1585 -0
  84. data/tasks/deployment.rake +34 -0
  85. data/tasks/environment.rake +7 -0
  86. data/tasks/extconf/revdispatch.rake +43 -0
  87. data/tasks/extconf.rake +13 -0
  88. data/tasks/website.rake +17 -0
  89. data/test/test_evdispatch.rb +11 -0
  90. data/test/test_helper.rb +3 -0
  91. data/test/test_revdispatch_extn.rb +14 -0
  92. data/website/index.html +128 -0
  93. data/website/index.txt +55 -0
  94. data/website/javascripts/rounded_corners_lite.inc.js +285 -0
  95. data/website/stylesheets/screen.css +138 -0
  96. data/website/template.html.erb +49 -0
  97. metadata +157 -0
@@ -0,0 +1,138 @@
1
+ body {
2
+ background-color: #E1D1F1;
3
+ font-family: "Georgia", sans-serif;
4
+ font-size: 16px;
5
+ line-height: 1.6em;
6
+ padding: 1.6em 0 0 0;
7
+ color: #333;
8
+ }
9
+ h1, h2, h3, h4, h5, h6 {
10
+ color: #444;
11
+ }
12
+ h1 {
13
+ font-family: sans-serif;
14
+ font-weight: normal;
15
+ font-size: 4em;
16
+ line-height: 0.8em;
17
+ letter-spacing: -0.1ex;
18
+ margin: 5px;
19
+ }
20
+ li {
21
+ padding: 0;
22
+ margin: 0;
23
+ list-style-type: square;
24
+ }
25
+ a {
26
+ color: #5E5AFF;
27
+ background-color: #DAC;
28
+ font-weight: normal;
29
+ text-decoration: underline;
30
+ }
31
+ blockquote {
32
+ font-size: 90%;
33
+ font-style: italic;
34
+ border-left: 1px solid #111;
35
+ padding-left: 1em;
36
+ }
37
+ .caps {
38
+ font-size: 80%;
39
+ }
40
+
41
+ #main {
42
+ width: 45em;
43
+ padding: 0;
44
+ margin: 0 auto;
45
+ }
46
+ .coda {
47
+ text-align: right;
48
+ color: #77f;
49
+ font-size: smaller;
50
+ }
51
+
52
+ table {
53
+ font-size: 90%;
54
+ line-height: 1.4em;
55
+ color: #ff8;
56
+ background-color: #111;
57
+ padding: 2px 10px 2px 10px;
58
+ border-style: dashed;
59
+ }
60
+
61
+ th {
62
+ color: #fff;
63
+ }
64
+
65
+ td {
66
+ padding: 2px 10px 2px 10px;
67
+ }
68
+
69
+ .success {
70
+ color: #0CC52B;
71
+ }
72
+
73
+ .failed {
74
+ color: #E90A1B;
75
+ }
76
+
77
+ .unknown {
78
+ color: #995000;
79
+ }
80
+ pre, code {
81
+ font-family: monospace;
82
+ font-size: 90%;
83
+ line-height: 1.4em;
84
+ color: #ff8;
85
+ background-color: #111;
86
+ padding: 2px 10px 2px 10px;
87
+ }
88
+ .comment { color: #aaa; font-style: italic; }
89
+ .keyword { color: #eff; font-weight: bold; }
90
+ .punct { color: #eee; font-weight: bold; }
91
+ .symbol { color: #0bb; }
92
+ .string { color: #6b4; }
93
+ .ident { color: #ff8; }
94
+ .constant { color: #66f; }
95
+ .regex { color: #ec6; }
96
+ .number { color: #F99; }
97
+ .expr { color: #227; }
98
+
99
+ #version {
100
+ float: right;
101
+ text-align: right;
102
+ font-family: sans-serif;
103
+ font-weight: normal;
104
+ background-color: #B3ABFF;
105
+ color: #141331;
106
+ padding: 15px 20px 10px 20px;
107
+ margin: 0 auto;
108
+ margin-top: 15px;
109
+ border: 3px solid #141331;
110
+ }
111
+
112
+ #version .numbers {
113
+ display: block;
114
+ font-size: 4em;
115
+ line-height: 0.8em;
116
+ letter-spacing: -0.1ex;
117
+ margin-bottom: 15px;
118
+ }
119
+
120
+ #version p {
121
+ text-decoration: none;
122
+ color: #141331;
123
+ background-color: #B3ABFF;
124
+ margin: 0;
125
+ padding: 0;
126
+ }
127
+
128
+ #version a {
129
+ text-decoration: none;
130
+ color: #141331;
131
+ background-color: #B3ABFF;
132
+ }
133
+
134
+ .clickable {
135
+ cursor: pointer;
136
+ cursor: hand;
137
+ }
138
+
@@ -0,0 +1,49 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7
+ <title>
8
+ <%= title %>
9
+ </title>
10
+ <style>
11
+
12
+ </style>
13
+
14
+ </head>
15
+ <body>
16
+ <div id="main">
17
+
18
+ <h1><%= title %></h1>
19
+ <div id="version" class="clickable" onclick='document.location = "<%= download %>"; return false'>
20
+ <p>Get Version</p>
21
+ <a href="<%= download %>" class="numbers"><%= version %></a>
22
+ </div>
23
+ <%= body %>
24
+ <p class="coda">
25
+ Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
26
+ </p>
27
+ </div>
28
+
29
+ <!-- insert site tracking codes here, like Google Urchin -->
30
+
31
+ <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
32
+ <script type="text/javascript">
33
+ window.onload = function() {
34
+ settings = {
35
+ tl: { radius: 10 },
36
+ tr: { radius: 10 },
37
+ bl: { radius: 10 },
38
+ br: { radius: 10 },
39
+ antiAlias: true,
40
+ autoPad: true,
41
+ validTags: ["div"]
42
+ }
43
+ var versionBox = new curvyCorners(settings, document.getElementById("version"));
44
+ versionBox.applyCornersToAll();
45
+ }
46
+ </script>
47
+
48
+ </body>
49
+ </html>
metadata ADDED
@@ -0,0 +1,157 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: evdispatch
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Todd A. Fisher
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-04-11 00:00:00 -04:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: Based on libev provides a background event loop for making simulataneous requests
17
+ email:
18
+ - todd.fisher@gmail.com
19
+ executables: []
20
+
21
+ extensions:
22
+ - ext/revdispatch/extconf.rb
23
+ extra_rdoc_files:
24
+ - History.txt
25
+ - License.txt
26
+ - Manifest.txt
27
+ - README.txt
28
+ - website/index.txt
29
+ files:
30
+ - History.txt
31
+ - License.txt
32
+ - Manifest.txt
33
+ - README.txt
34
+ - Rakefile
35
+ - config/hoe.rb
36
+ - config/requirements.rb
37
+ - lib/evdispatch.rb
38
+ - lib/evdispatch/version.rb
39
+ - lib/evdispatch/loop.rb
40
+ - log/debug.log
41
+ - script/console
42
+ - script/destroy
43
+ - script/generate
44
+ - script/txt2html
45
+ - setup.rb
46
+ - tasks/deployment.rake
47
+ - tasks/environment.rake
48
+ - tasks/website.rake
49
+ - tasks/extconf.rake
50
+ - tasks/extconf/revdispatch.rake
51
+ - test/test_revdispatch_extn.rb
52
+ - test/test_evdispatch.rb
53
+ - test/test_helper.rb
54
+ - website/index.html
55
+ - website/index.txt
56
+ - website/javascripts/rounded_corners_lite.inc.js
57
+ - website/stylesheets/screen.css
58
+ - website/template.html.erb
59
+ - ext/revdispatch/revdispatch.cc
60
+ - ext/revdispatch/extconf.rb
61
+ - ext/revdispatch/libevdispatch/Changelog
62
+ - ext/revdispatch/libevdispatch/LICENSE
63
+ - ext/revdispatch/libevdispatch/Makefile.am
64
+ - ext/revdispatch/libevdispatch/Makefile.in
65
+ - ext/revdispatch/libevdispatch/README
66
+ - ext/revdispatch/libevdispatch/TODO
67
+ - ext/revdispatch/libevdispatch/aclocal.m4
68
+ - ext/revdispatch/libevdispatch/autogen.sh
69
+ - ext/revdispatch/libevdispatch/confdefs.h
70
+ - ext/revdispatch/libevdispatch/config.guess
71
+ - ext/revdispatch/libevdispatch/config.h.in
72
+ - ext/revdispatch/libevdispatch/config.sub
73
+ - ext/revdispatch/libevdispatch/configure
74
+ - ext/revdispatch/libevdispatch/configure.ac
75
+ - ext/revdispatch/libevdispatch/depcomp
76
+ - ext/revdispatch/libevdispatch/install-sh
77
+ - ext/revdispatch/libevdispatch/libev/Changes
78
+ - ext/revdispatch/libevdispatch/libev/LICENSE
79
+ - ext/revdispatch/libevdispatch/libev/Makefile.am
80
+ - ext/revdispatch/libevdispatch/libev/Makefile.in
81
+ - ext/revdispatch/libevdispatch/libev/README
82
+ - ext/revdispatch/libevdispatch/libev/aclocal.m4
83
+ - ext/revdispatch/libevdispatch/libev/autogen.sh
84
+ - ext/revdispatch/libevdispatch/libev/config.guess
85
+ - ext/revdispatch/libevdispatch/libev/config.h.in
86
+ - ext/revdispatch/libevdispatch/libev/config.sub
87
+ - ext/revdispatch/libevdispatch/libev/configure
88
+ - ext/revdispatch/libevdispatch/libev/configure.ac
89
+ - ext/revdispatch/libevdispatch/libev/ev++.h
90
+ - ext/revdispatch/libevdispatch/libev/ev.3
91
+ - ext/revdispatch/libevdispatch/libev/ev.c
92
+ - ext/revdispatch/libevdispatch/libev/ev.h
93
+ - ext/revdispatch/libevdispatch/libev/ev.pod
94
+ - ext/revdispatch/libevdispatch/libev/ev_epoll.c
95
+ - ext/revdispatch/libevdispatch/libev/ev_kqueue.c
96
+ - ext/revdispatch/libevdispatch/libev/ev_poll.c
97
+ - ext/revdispatch/libevdispatch/libev/ev_port.c
98
+ - ext/revdispatch/libevdispatch/libev/ev_select.c
99
+ - ext/revdispatch/libevdispatch/libev/ev_vars.h
100
+ - ext/revdispatch/libevdispatch/libev/ev_win32.c
101
+ - ext/revdispatch/libevdispatch/libev/ev_wrap.h
102
+ - ext/revdispatch/libevdispatch/libev/event.c
103
+ - ext/revdispatch/libevdispatch/libev/event.h
104
+ - ext/revdispatch/libevdispatch/libev/install-sh
105
+ - ext/revdispatch/libevdispatch/libev/libev.m4
106
+ - ext/revdispatch/libevdispatch/libev/ltmain.sh
107
+ - ext/revdispatch/libevdispatch/libev/missing
108
+ - ext/revdispatch/libevdispatch/libev/mkinstalldirs
109
+ - ext/revdispatch/libevdispatch/ltmain.sh
110
+ - ext/revdispatch/libevdispatch/missing
111
+ - ext/revdispatch/libevdispatch/src/Makefile.am
112
+ - ext/revdispatch/libevdispatch/src/Makefile.in
113
+ - ext/revdispatch/libevdispatch/src/ev_dispatch.cc
114
+ - ext/revdispatch/libevdispatch/src/ev_dispatch.h
115
+ - ext/revdispatch/libevdispatch/src/ev_http.cc
116
+ - ext/revdispatch/libevdispatch/src/ev_http.h
117
+ - ext/revdispatch/libevdispatch/test/Makefile.am
118
+ - ext/revdispatch/libevdispatch/test/Makefile.in
119
+ - ext/revdispatch/libevdispatch/test/helper.rb
120
+ - ext/revdispatch/libevdispatch/test/key_test.cc
121
+ - ext/revdispatch/libevdispatch/test/next_test.cc
122
+ - ext/revdispatch/libevdispatch/test/next_test.rb
123
+ - ext/revdispatch/libevdispatch/test/server.rb
124
+ - ext/revdispatch/server.rb
125
+ - ext/revdispatch/test.rb
126
+ has_rdoc: true
127
+ homepage: http://evdispatch.rubyforge.org
128
+ post_install_message:
129
+ rdoc_options:
130
+ - --main
131
+ - README.txt
132
+ require_paths:
133
+ - lib
134
+ - ext/revdispatch
135
+ required_ruby_version: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: "0"
140
+ version:
141
+ required_rubygems_version: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: "0"
146
+ version:
147
+ requirements: []
148
+
149
+ rubyforge_project: evdispatch
150
+ rubygems_version: 1.1.1
151
+ signing_key:
152
+ specification_version: 2
153
+ summary: Based on libev provides a background event loop for making simulataneous requests
154
+ test_files:
155
+ - test/test_helper.rb
156
+ - test/test_revdispatch_extn.rb
157
+ - test/test_evdispatch.rb