html-pipeline-ruby_markup 0.9.1 → 0.9.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: c3857c8d3b2f6921f588c7c60629296c745ef4b723eab934b3da4e517b37a8f3
4
- data.tar.gz: 90ebbf6a29e6f0c6028330c7cbe3da519ce7cf118b6c17e62a6e72ead5ceb189
3
+ metadata.gz: d80dc80bb21fb48a3086a2deeb85dbc3835ae362b206730118b514cde21db9a3
4
+ data.tar.gz: da21d6026f5424563cc4bf7b7242d2c6a38cbb0c45379b8f66d5f1b5e2b1c54e
5
5
  SHA512:
6
- metadata.gz: 242d121192f486115827d7844dec136099de8ab990e77d806880a6ccb90ce5eeac4477f7d181d8fd18700bb30731486336738474232a21211046a314778398a6
7
- data.tar.gz: c9417e66f7073c5d8d38145473c4b4c332748e161dcd06fe36a46c83f1e6865632024ad5655f6ae81f758b9e542c553eb6a088dd204961114ae70c098ce7157a
6
+ metadata.gz: 9ceef03920e89963a929262e555b7d80e2fe6814d65b687cfd0c836f63d78e470212b91635e1ef395672d6cde4703cf87c60cfe23e81b7edea0b1a36bc9dc88c
7
+ data.tar.gz: bc8375e3c44ff91ecca9c4d1eff2eecdbe9e28d8ba7ad585291bfb7b176ff83326a9f97de8b1f40bfcb72200a239088393813929496333e4ef574a19576e90b6
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.9.2
6
+
7
+ Handle for nil or empty content input [#3] by @JuanitoFatas
8
+
9
+ [#3]: https://github.com/JuanitoFatas/html-pipeline-ruby_markup/pull/3
10
+
5
11
  ## 0.9.1
6
12
 
7
13
  Simplify Regexp [#1] by @JuanitoFatas
@@ -8,7 +8,7 @@ module HTML
8
8
  module RubyMarkup
9
9
  class Filter < HTML::Pipeline::TextFilter
10
10
  def call
11
- Transformer.run(text.dup)
11
+ Transformer.run(text.dup.to_s)
12
12
  end
13
13
  end
14
14
  end
@@ -35,7 +35,7 @@ module HTML
35
35
  attr_reader :content
36
36
 
37
37
  def traverser
38
- @traverser ||= MarkdownTraverser.new(content)
38
+ @traverser ||= content.empty? ? [] : MarkdownTraverser.new(content)
39
39
  end
40
40
 
41
41
  def transform_ruby_markups!
@@ -3,7 +3,7 @@
3
3
  module HTML
4
4
  class Pipeline
5
5
  module RubyMarkup
6
- VERSION = "0.9.1"
6
+ VERSION = "0.9.2"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html-pipeline-ruby_markup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juanito Fatas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-25 00:00:00.000000000 Z
11
+ date: 2020-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: html-pipeline