chef-zero 1.5.2 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/chef_zero/server.rb +3 -0
- data/lib/chef_zero/version.rb +1 -1
- metadata +3 -4
data/lib/chef_zero/server.rb
CHANGED
@@ -283,6 +283,9 @@ module ChefZero
|
|
283
283
|
@on_response_proc.call(request, response)
|
284
284
|
end
|
285
285
|
|
286
|
+
# Insert Server header
|
287
|
+
response[1]['Server'] = 'chef-zero'
|
288
|
+
|
286
289
|
# Puma expects the response to be an array (chunked responses). Since
|
287
290
|
# we are statically generating data, we won't ever have said chunked
|
288
291
|
# response, so fake it.
|
data/lib/chef_zero/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-zero
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: puma
|
@@ -190,8 +190,7 @@ files:
|
|
190
190
|
- spec/run.rb
|
191
191
|
- spec/support/pedant.rb
|
192
192
|
- spec/support/stickywicket.pem
|
193
|
-
-
|
194
|
-
YmluL2NoZWYtemVybw==
|
193
|
+
- bin/chef-zero
|
195
194
|
homepage: http://www.opscode.com
|
196
195
|
licenses: []
|
197
196
|
post_install_message:
|