docwatch-bin 2.4.1 → 2.4.2

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: ddd6d6ee9fb0be6a988a16593087b10cc530d138c5f5d7b10031526ea84c5e02
4
- data.tar.gz: 30318d45475f67f1a7eae1aed4fcda2d2aed6bc4f9262d7e3bb53c8ab4f46697
3
+ metadata.gz: 111689573811afcf77ecae63b7ff791cb13cd0a57a2396699028d5f00f477477
4
+ data.tar.gz: b1eb2983e15aed8b0020d6f15cc4319017ec66a1ee757329e771065069ad7fd6
5
5
  SHA512:
6
- metadata.gz: c80374bb08d07ce86fe6da7ebe2dbc168a0502773ca104036f66e18b7f9541b765b33a155588c012489e085ebd5a1710ce371baf9b036acbc93dd0ffd0eef4bc
7
- data.tar.gz: 5fbebfcc12bc3894ebaa78542f6378c9353a247c84191dda877a13817277d49cfc8d4c15d1709980d9e9e3cf744dd3e1a80c21a1b5336c85b18f8449e6827c35
6
+ metadata.gz: 60dca5f3e30f8c2e9becec5ebf69f85e8abf3214472cff1acf79f7be4c5ecd081b2354efc203e3c47d9e211d32ae65adfb811de947d75bdde4fca04cbb7b6086
7
+ data.tar.gz: 6c2ab9e155a31552041dc99fea3ae52d171427a6d8d5c701d523591e99518c8a01545aebda70de826a191303cafdb6a707848adda7cea853ae8f0ef9dfe22663
@@ -3,7 +3,7 @@ module Docwatch
3
3
  def self.split(str)
4
4
  lines = str.lines
5
5
 
6
- if lines.first.chomp != '---'
6
+ if lines.length == 0 || lines.first.chomp != '---'
7
7
  return [nil, str]
8
8
  end
9
9
 
@@ -1,3 +1,3 @@
1
1
  module Docwatch
2
- VERSION = '2.4.1'
2
+ VERSION = '2.4.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docwatch-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - crdx
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-29 00:00:00.000000000 Z
11
+ date: 2024-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize