mdless 2.1.15 → 2.1.18

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: 9c33009eb5144e58388cddecbb739f8ebe3889202b21838a59fa303cdcf33726
4
- data.tar.gz: 6adca397f29c120348707c5eb4af99a443b9f737e60262e1f4f779b33d7d68fb
3
+ metadata.gz: 9c5dcb4862eb5ba44f64df14e47cf1007cb294861ab914f9df073c0d02563958
4
+ data.tar.gz: d8859b260c397faa82cc7d5f4651da968a45dfb5356950f519ab7815b014360b
5
5
  SHA512:
6
- metadata.gz: 1cb103df693efacc6f20ccbfcb73ad73ed5eda5e75ba1143cb8753a7f0a5a3865226c46c6f6a61a1fdb1a8fd29278c4b34b531e2efa3f773cc2688fe13ce5601
7
- data.tar.gz: 4b4178f479b323c7079281ebbc1c531586ceebf04de77cb998c391415fcbb708bec357d1bce7312d42ee7cc67d59dc44c1f6dab2ac55a51c3dcd327cc132bc59
6
+ metadata.gz: '03378f55e76ae1754ddd392c3fc673fb64b970096784371edf5416c6d914791177f5721e2c5f3c301e2f573bbdda900dcc6564d34debe1e9e48dc725ed784b17'
7
+ data.tar.gz: 244b2789b7cc881446369a9b77b609ee5da864508aabd9039008c561048e3a3a440fa1c617b0c809f8cdca9f0ebe9d22516ed8846b46f55eb5929533ff2b6b65
data/CHANGELOG.md CHANGED
@@ -1,3 +1,4 @@
1
+ 2.1.17
1
2
  2.1.15
2
3
 
3
4
  2.1.14
@@ -760,11 +760,10 @@ module Redcarpet
760
760
  line = "#{color('metadata marker')}#{'%' * longest}"
761
761
  else
762
762
  line.sub!(/^(.*?:)[ \t]+(\S)/, '\1 \2')
763
- line = "#{color('metadata marker')}% #{color('metadata color')}#{line}\n"
763
+ line = "#{color('metadata marker')}% #{color('metadata color')}#{line}"
764
764
  end
765
-
766
- line += "\u00A0" * (longest - line.uncolor.strip.length) + xc
767
- line
765
+ line += "\u00A0" * (longest - line.uncolor.strip.length) if (longest - line.uncolor.strip.length).positive?
766
+ line + xc
768
767
  end.join("\n") + "#{xc}\n"
769
768
  end
770
769
  end
@@ -780,8 +779,8 @@ module Redcarpet
780
779
 
781
780
  lines.map do |line|
782
781
  line.sub!(/^(.*?:)[ \t]+(\S)/, '\1 \2')
783
- line = "#{color('metadata marker')}%#{color('metadata color')}#{line} "
784
- line += "\u00A0" * (longest - line.uncolor.strip.length)
782
+ line = "#{color('metadata marker')}%#{color('metadata color')}#{line}"
783
+ line += "\u00A0" * (longest - line.uncolor.strip.length) if (longest - line.uncolor.strip.length).positive?
785
784
  line + xc
786
785
  end.join("\n") + "#{"\u00A0" * longest}#{xc}\n"
787
786
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CLIMarkdown
4
- VERSION = '2.1.15'
4
+ VERSION = '2.1.18'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdless
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.15
4
+ version: 2.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra