lib/nanoc/extra/chick.rb in nanoc-3.7.3 vs lib/nanoc/extra/chick.rb in nanoc-3.7.4
- old
+ new
@@ -53,11 +53,11 @@
# Join body
body = ''
body_parts.each { |part| body << part }
# Done
- [ status, headers, body ]
+ [status, headers, body]
end
end
# @deprecated Use a HTTP library such as
@@ -113,10 +113,10 @@
http.request(net_http_request) do |response|
# Build Rack response triplet
return [
response.code.to_i,
response.to_hash.reduce({}) { |m, (k, v)| m.merge(k => v[0]) },
- [ response.body ]
+ [response.body]
]
end
end
end