waitress-core 0.2.4 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -4
- data/LICENSE +21 -21
- data/Rakefile +17 -17
- data/bin/waitress +22 -22
- data/ext/Thanks.md +1 -1
- data/ext/waitress_http11/ext_help.h +15 -15
- data/ext/waitress_http11/extconf.rb +6 -6
- data/ext/waitress_http11/http11.c +532 -532
- data/ext/waitress_http11/http11_parser.c +1216 -1216
- data/ext/waitress_http11/http11_parser.h +49 -49
- data/ext/waitress_http11/http11_parser.java.rl +171 -171
- data/ext/waitress_http11/http11_parser.rl +165 -165
- data/ext/waitress_http11/http11_parser_common.rl +55 -55
- data/ext/waitress_http11/http11_wrb_parser.h +91 -91
- data/lib/waitress.rb +100 -99
- data/lib/waitress/chef.rb +113 -113
- data/lib/waitress/configure.rb +127 -121
- data/lib/waitress/evalbind.rb +9 -9
- data/lib/waitress/handlers/dirhandler.rb +39 -39
- data/lib/waitress/handlers/handler.rb +57 -57
- data/lib/waitress/handlers/handler404.rb +25 -25
- data/lib/waitress/handlers/libhandler.rb +135 -58
- data/lib/waitress/kernel.rb +189 -189
- data/lib/waitress/parse/query.rb +60 -60
- data/lib/waitress/request.rb +45 -45
- data/lib/waitress/resources/default_config.rb +52 -52
- data/lib/waitress/resources/default_less.yml +7 -0
- data/lib/waitress/resources/http/404.html +18 -18
- data/lib/waitress/resources/http/css/hack.css +37 -37
- data/lib/waitress/resources/http/css/waitress.css +57 -57
- data/lib/waitress/resources/http/fonts/eot/latin/hack-bold-latin-webfont.eot +0 -0
- data/lib/waitress/resources/http/fonts/eot/latin/hack-bolditalic-latin-webfont.eot +0 -0
- data/lib/waitress/resources/http/fonts/eot/latin/hack-italic-latin-webfont.eot +0 -0
- data/lib/waitress/resources/http/fonts/eot/latin/hack-regular-latin-webfont.eot +0 -0
- data/lib/waitress/resources/http/fonts/svg/latin/hack-bold-latin-webfont.svg +240 -240
- data/lib/waitress/resources/http/fonts/svg/latin/hack-bolditalic-latin-webfont.svg +240 -240
- data/lib/waitress/resources/http/fonts/svg/latin/hack-italic-latin-webfont.svg +240 -240
- data/lib/waitress/resources/http/fonts/svg/latin/hack-regular-latin-webfont.svg +240 -240
- data/lib/waitress/resources/http/fonts/web-ttf/latin/hack-bold-latin-webfont.ttf +0 -0
- data/lib/waitress/resources/http/fonts/web-ttf/latin/hack-bolditalic-latin-webfont.ttf +0 -0
- data/lib/waitress/resources/http/fonts/web-ttf/latin/hack-italic-latin-webfont.ttf +0 -0
- data/lib/waitress/resources/http/fonts/web-ttf/latin/hack-regular-latin-webfont.ttf +0 -0
- data/lib/waitress/resources/http/fonts/woff/latin/hack-bold-latin-webfont.woff +0 -0
- data/lib/waitress/resources/http/fonts/woff/latin/hack-bolditalic-latin-webfont.woff +0 -0
- data/lib/waitress/resources/http/fonts/woff/latin/hack-italic-latin-webfont.woff +0 -0
- data/lib/waitress/resources/http/fonts/woff/latin/hack-regular-latin-webfont.woff +0 -0
- data/lib/waitress/resources/http/fonts/woff2/latin/hack-bold-latin-webfont.woff2 +0 -0
- data/lib/waitress/resources/http/fonts/woff2/latin/hack-bolditalic-latin-webfont.woff2 +0 -0
- data/lib/waitress/resources/http/fonts/woff2/latin/hack-italic-latin-webfont.woff2 +0 -0
- data/lib/waitress/resources/http/fonts/woff2/latin/hack-regular-latin-webfont.woff2 +0 -0
- data/lib/waitress/resources/http/img/404.png +0 -0
- data/lib/waitress/resources/http/index.html +15 -15
- data/lib/waitress/response.rb +105 -105
- data/lib/waitress/server.rb +160 -160
- data/lib/waitress/util/less_watcher.rb +56 -0
- data/lib/waitress/{util.rb → util/util.rb} +707 -707
- data/lib/waitress/version.rb +3 -3
- data/lib/waitress/vhost.rb +229 -227
- data/lib/waitress_http11.so +0 -0
- data/waitress-core.gemspec +32 -29
- metadata +48 -4
- data/lib/waitress_http11.bundle +0 -0
Binary file
|
data/waitress-core.gemspec
CHANGED
@@ -1,29 +1,32 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'waitress/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "waitress-core"
|
8
|
-
spec.version = Waitress::VERSION
|
9
|
-
spec.authors = ["Jaci Brunning"]
|
10
|
-
spec.email = ["jaci.brunning@gmail.com"]
|
11
|
-
|
12
|
-
spec.summary = %q{Waitress is a lightweight, fast Ruby Web Server with the ability to serve dynamic webpages, manage libraries and support for virtual hosts and much more}
|
13
|
-
spec.homepage = "http://github.com/JacisNonsense/Waitress"
|
14
|
-
|
15
|
-
spec.bindir = "bin"
|
16
|
-
spec.files = Dir.glob("lib/**/*") + ['Rakefile', 'waitress-core.gemspec', 'Gemfile', 'LICENSE'] + Dir.glob("ext/**/*")
|
17
|
-
spec.executables = ["waitress"]
|
18
|
-
spec.require_paths = ["lib"]
|
19
|
-
spec.extensions << "ext/waitress_http11/extconf.rb"
|
20
|
-
|
21
|
-
spec.add_development_dependency "bundler"
|
22
|
-
spec.add_development_dependency "rake"
|
23
|
-
spec.add_development_dependency "rake-compiler"
|
24
|
-
spec.add_development_dependency "test-unit"
|
25
|
-
spec.add_development_dependency "coveralls"
|
26
|
-
spec.add_dependency "Go.rb", ">= 0.3.0"
|
27
|
-
spec.add_dependency "scon"
|
28
|
-
spec.add_dependency "
|
29
|
-
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'waitress/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "waitress-core"
|
8
|
+
spec.version = Waitress::VERSION
|
9
|
+
spec.authors = ["Jaci Brunning"]
|
10
|
+
spec.email = ["jaci.brunning@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Waitress is a lightweight, fast Ruby Web Server with the ability to serve dynamic webpages, manage libraries and support for virtual hosts and much more}
|
13
|
+
spec.homepage = "http://github.com/JacisNonsense/Waitress"
|
14
|
+
|
15
|
+
spec.bindir = "bin"
|
16
|
+
spec.files = Dir.glob("lib/**/*") + ['Rakefile', 'waitress-core.gemspec', 'Gemfile', 'LICENSE'] + Dir.glob("ext/**/*")
|
17
|
+
spec.executables = ["waitress"]
|
18
|
+
spec.require_paths = ["lib"]
|
19
|
+
spec.extensions << "ext/waitress_http11/extconf.rb"
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler"
|
22
|
+
spec.add_development_dependency "rake"
|
23
|
+
spec.add_development_dependency "rake-compiler"
|
24
|
+
spec.add_development_dependency "test-unit"
|
25
|
+
spec.add_development_dependency "coveralls"
|
26
|
+
spec.add_dependency "Go.rb", ">= 0.3.0"
|
27
|
+
spec.add_dependency "scon"
|
28
|
+
spec.add_dependency "json"
|
29
|
+
spec.add_dependency "less"
|
30
|
+
spec.add_dependency "therubyracer"
|
31
|
+
spec.add_dependency "configfile"
|
32
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: waitress-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jaci Brunning
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -108,6 +108,48 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: json
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: less
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: therubyracer
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
111
153
|
- !ruby/object:Gem::Dependency
|
112
154
|
name: configfile
|
113
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -157,6 +199,7 @@ files:
|
|
157
199
|
- lib/waitress/parse/query.rb
|
158
200
|
- lib/waitress/request.rb
|
159
201
|
- lib/waitress/resources/default_config.rb
|
202
|
+
- lib/waitress/resources/default_less.yml
|
160
203
|
- lib/waitress/resources/http/404.html
|
161
204
|
- lib/waitress/resources/http/css/hack.css
|
162
205
|
- lib/waitress/resources/http/css/waitress.css
|
@@ -184,10 +227,11 @@ files:
|
|
184
227
|
- lib/waitress/resources/http/index.html
|
185
228
|
- lib/waitress/response.rb
|
186
229
|
- lib/waitress/server.rb
|
187
|
-
- lib/waitress/util.rb
|
230
|
+
- lib/waitress/util/less_watcher.rb
|
231
|
+
- lib/waitress/util/util.rb
|
188
232
|
- lib/waitress/version.rb
|
189
233
|
- lib/waitress/vhost.rb
|
190
|
-
- lib/waitress_http11.
|
234
|
+
- lib/waitress_http11.so
|
191
235
|
- waitress-core.gemspec
|
192
236
|
homepage: http://github.com/JacisNonsense/Waitress
|
193
237
|
licenses: []
|
data/lib/waitress_http11.bundle
DELETED
Binary file
|