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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 536d516bf8d5d6bce8771014f6b67aeb01d0762635334e6aaa4ea043aa7e6721
4
- data.tar.gz: 0a7816f53dee0354d6d233779bae96a979421465caa9a191f84870bf8e9f0b9f
3
+ metadata.gz: 1a78c1b6a545611aadc8a1b9059a13d95cdaa936f6c5ef75d2c677ebac7136c6
4
+ data.tar.gz: ede34e2156c4602b9df5ee75fff9d2be5404956028908a3dbc9d44655bad73a0
5
5
  SHA512:
6
- metadata.gz: cce30488feeb53ea54e66ef4abe39e44f2a9dd163c78a97660b127d9ab436c27ffef559b4d0b48ad70c0a02f07367520ad297ff0055c106dffaab615d9807703
7
- data.tar.gz: 9140ec6b8f178b8c096953970c082a8a5331c881c0a4b6ee035a6cd6b51fa14d03783b236ed6655835d82b241baeccdba2461ff7ad176d2be3d35275f4624f6c
6
+ metadata.gz: cad0d7287932f6c9c8f781eea348cf83d4f1454a65591aba146b0f17e6951f676d294b8bb288ef3206c442848131d692d6505098126be4bae0c604902a339f52
7
+ data.tar.gz: 5b44ad2e03b4761e76182c2d8ca92618dcabd04ef62ede0f92384965c0396599b40e273b5aa6009263b52e7a67d357ce82fb7909988a8c870b86d1a04118cc76
@@ -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.chomp
44
+ input_lines.each(&:chomp).first
44
45
  end
45
46
 
46
47
  def print(msg)
@@ -1,3 +1,3 @@
1
1
  module Docwatch
2
- VERSION = "1.0.9"
2
+ VERSION = "1.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docwatch-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - crdx