docwatch-bin 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docwatch/session.rb +2 -1
- data/lib/docwatch/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a78c1b6a545611aadc8a1b9059a13d95cdaa936f6c5ef75d2c677ebac7136c6
|
4
|
+
data.tar.gz: ede34e2156c4602b9df5ee75fff9d2be5404956028908a3dbc9d44655bad73a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cad0d7287932f6c9c8f781eea348cf83d4f1454a65591aba146b0f17e6951f676d294b8bb288ef3206c442848131d692d6505098126be4bae0c604902a339f52
|
7
|
+
data.tar.gz: 5b44ad2e03b4761e76182c2d8ca92618dcabd04ef62ede0f92384965c0396599b40e273b5aa6009263b52e7a67d357ce82fb7909988a8c870b86d1a04118cc76
|
data/lib/docwatch/session.rb
CHANGED
@@ -12,6 +12,7 @@ module Docwatch
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def path
|
15
|
+
return if first_request_line.length == 0
|
15
16
|
first_request_line.split(' ')[1]
|
16
17
|
end
|
17
18
|
|
@@ -40,7 +41,7 @@ module Docwatch
|
|
40
41
|
end
|
41
42
|
|
42
43
|
def first_request_line
|
43
|
-
input_lines.first
|
44
|
+
input_lines.each(&:chomp).first
|
44
45
|
end
|
45
46
|
|
46
47
|
def print(msg)
|
data/lib/docwatch/version.rb
CHANGED