dav4rack 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dav4rack/controller.rb +1 -0
- data/lib/dav4rack/handler.rb +1 -1
- data/lib/dav4rack/version.rb +1 -1
- metadata +3 -3
data/lib/dav4rack/controller.rb
CHANGED
data/lib/dav4rack/handler.rb
CHANGED
@@ -40,7 +40,7 @@ module DAV4Rack
|
|
40
40
|
# enumerable, however.
|
41
41
|
|
42
42
|
response['Content-Length'] = response.body.to_s.length unless response['Content-Length'] || !response.body.is_a?(String)
|
43
|
-
response.body = [response.body]
|
43
|
+
response.body = [response.body] unless response.body.respond_to? :each
|
44
44
|
response.status = response.status ? response.status.to_i : 200
|
45
45
|
response.headers.keys.each{|k| response.headers[k] = response[k].to_s}
|
46
46
|
|
data/lib/dav4rack/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dav4rack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 7
|
10
|
+
version: 0.2.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Chris Roberts
|