marked-conductor 1.0.25 → 1.0.26

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: 7e3337e13a120d7eb20aa92ec78ad7a3078f1a5e7f8bd9311fadd05a281b610a
4
- data.tar.gz: 99054e30ad5709439ea2c607bb7e45ce8e7036070fe43b795363298d097d0b05
3
+ metadata.gz: 580473330204caa4600148bf8ed0a29662b82b75f47443f71430d374eaff3b37
4
+ data.tar.gz: cb938a20bdd2e13cb001961b45f32a3003a323853867d880826a8cc7a4eaf48c
5
5
  SHA512:
6
- metadata.gz: ca3397b4d1e185ab0800241b9fda780671faa1638d318c0d30441cad65cff4763c673ff48c5aeebecb6776fa646ec0aaed8142fad41fd4063e46804f3f2982eb
7
- data.tar.gz: e1c89d1581859b233f97ca0bc86a887951ee52997e9ef7fab21cd1f3c5b7472c87cf5d876241ffa134781314dbd6e27ec0cd56e55af565839f1145dc0cdc0d5d
6
+ metadata.gz: c19b9f0b8485847b1ebc00d7e295c6344aeed0b1ba098e6d66742ad57118e6072d37e796a2ee6cd3b25715a74d1da026738e79874cd62cdbb7f68229cb985259
7
+ data.tar.gz: 9da479816110281f22948875946f12beb2f7883311c702a41bce6133eea877fa26751c321ac6a9c1aaa80c43e78338733d4366af656d7dc59f2d31ab243854fe
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 1.0.26
2
+
3
+ 2024-07-24 13:49
4
+
5
+ #### FIXED
6
+
7
+ - Don't recognize YAML closing line as settext header
8
+
1
9
  ### 1.0.25
2
10
 
3
11
  2024-07-22 12:36
@@ -405,7 +405,7 @@ class ::String
405
405
  ## @return [String] content with headers updated
406
406
  ##
407
407
  def normalize_headers
408
- gsub(/^(\S.*)\n([=-]+)\n/) do
408
+ gsub(/^(?<=\n\n)(\S.*)\n([=-]+)\n/) do
409
409
  m = Regexp.last_match
410
410
  case m[2]
411
411
  when /\=/
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Conductor
4
- VERSION = '1.0.25'
4
+ VERSION = '1.0.26'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marked-conductor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.25
4
+ version: 1.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-22 00:00:00.000000000 Z
11
+ date: 2024-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: awesome_print