prawndown-ext 0.1.10 → 0.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01be81f1ee2b7abfc146e5965bd1c70cf70c4194070ca69c6be11c51bb492a84
4
- data.tar.gz: 63a75b0bdffb9d985b45895201e6b4edd9e3f76d2da934be413153331409858d
3
+ metadata.gz: cde2a748cc80534bf28bcb5540cd5788eb3d2690b64fec3c0357f72edfaa25bf
4
+ data.tar.gz: dfcc6a5c1d475d660e3c8502e5351c91907bb5872a637f0a229e9f828c530945
5
5
  SHA512:
6
- metadata.gz: 356e6b501c171868581103a98614f4ac5ffc1975712833d06ad818c67155e093b9468bc1c8f8810d261b70a3c1dc2191a0d65554c15887cef99f08bd2a25e206
7
- data.tar.gz: 9bc56bc6ce9444aa13e63b0c4d4471d2f66ffbbc22a1d82c3d475c7c3d6dc38fd02df746ac3d789d64e72b3450ee01769f9c9c8f13f6528ba300c312212890a8
6
+ metadata.gz: 756968bf80dfc61824d0a6825aaf966132b0a25fc4c62879cc32dfdba3454ab2e0f900b55f8c7658e4588d8631f9bcfa13cf065f1d117157f5bb41c0d6ed25ae
7
+ data.tar.gz: 443c379f6e4d49bcbaea754a6775d5099a74c1d0ccdba2a5e762c7923252f7716e4a1bb722e4f688ee3a16b41fb22e402664cbfec1ed95fde5ebc8e9e5c1dd3f
@@ -98,7 +98,7 @@ module PrawndownExt
98
98
 
99
99
  def replace_options text
100
100
  # remove nil options if it doesnt exist
101
-
101
+
102
102
  DELETE_NAMES.each do |option|
103
103
  if @options.key?(option)
104
104
  if @options[option].nil?
@@ -106,6 +106,7 @@ module PrawndownExt
106
106
  @options.delete(option)
107
107
  end
108
108
  end
109
+
109
110
  end
110
111
 
111
112
  # remove quote spacing if it doesnt exist
@@ -115,9 +116,7 @@ module PrawndownExt
115
116
  end
116
117
 
117
118
  DEFAULT_OPTIONS.keys.each do |replacer|
118
- if @options.key?(replacer)
119
- text = text.gsub(replacer.upcase, @options[replacer].to_s)
120
- end
119
+ text = text.gsub(replacer.upcase, @options[replacer].to_s)
121
120
  end
122
121
 
123
122
  text
@@ -2,6 +2,6 @@
2
2
 
3
3
  module PrawndownExt
4
4
  module Ext
5
- VERSION = "0.1.10"
5
+ VERSION = "0.1.11"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prawndown-ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - PunishedFelix