docwatch-bin 2.1.1 → 2.1.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: 3bda63b79dd113e5b7ec2d1ac65d7b2739038d91eca565e3550d5edd786beac9
4
- data.tar.gz: 471d2e6433a55da559f6d613dcd18e180291d0cdd2fea7222e4f2fa165aaa1fb
3
+ metadata.gz: ec0e54556c556d854ab9d5c1d9b65c3ab620b2af53c2db5ddf3b3dc1402dc2cb
4
+ data.tar.gz: 33781694291a7223069ae7af8fd9c295f9554ce4a7361b8fbdd50f6717f9b301
5
5
  SHA512:
6
- metadata.gz: 985c8a306134d85d3502d341591b767bcab55c9ab66ead7711ed6b3fbd9fb7ab257616eff402b91110b46c701be4b02f3bc3366259c183dcf800e8897cd60ffb
7
- data.tar.gz: 7d567a78412f79971a78f91818133baa6df7a31c82d9f4bb325037350c1fed310f7085cdbd7aae957fa7d9760f2cc9e5bdb37bfa4601cd4cd4aa1e468111200e
6
+ metadata.gz: a4e11ad0754ee9d7e67faaf2fd09d892474c4a154120f43d6d1a040dcab68eb5ca61489c88156f8dc88b9b039c6d273d0d7c6e252994d441f264b5b1eb298289
7
+ data.tar.gz: d19b1c2b0bf7ac0a0974107931a84a4515e3e8ae8f9e5638344f0c3391d5ae6b79247d6e0df4c1089ec276ace0acdf4d26ba73b1ef10b1f892ae45d8fc8fd575
@@ -13,7 +13,7 @@ module Docwatch
13
13
  frontmatter_yaml = ''
14
14
 
15
15
  lines.each do |line|
16
- if line.strip == '---'
16
+ if line.strip == '---' && !in_document
17
17
  in_frontmatter = !in_frontmatter
18
18
  in_document = true if !in_frontmatter
19
19
  elsif in_frontmatter
@@ -1,3 +1,3 @@
1
1
  module Docwatch
2
- VERSION = '2.1.1'
2
+ VERSION = '2.1.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.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - crdx
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-22 00:00:00.000000000 Z
11
+ date: 2022-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  - !ruby/object:Gem::Version
179
179
  version: '0'
180
180
  requirements: []
181
- rubygems_version: 3.3.23
181
+ rubygems_version: 3.3.25
182
182
  signing_key:
183
183
  specification_version: 4
184
184
  summary: Preview markdown documents in the browser with reload on change