pot_markdown 0.1.4 → 0.1.5

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
  SHA1:
3
- metadata.gz: 7f1e3cefa4bd50f4082a783ab07353d839fab318
4
- data.tar.gz: bb6ac8fd97613f8633be5b9ef62afd1591744244
3
+ metadata.gz: d1cfa390c6f5bea406e7d4c18fcbc573c2331027
4
+ data.tar.gz: 8813862aeaf965e043a53a7b23dd77899a025224
5
5
  SHA512:
6
- metadata.gz: 1122333770bd2cb5ae54cc3493eee1facc161399dd472df51d83bfb03159967c1bd03a430f573bfa56030a0ec52cf1a0dddc812ecfc644b58d349d31b6eea29d
7
- data.tar.gz: 67e483ab4a7a8ea98e0ec8f269838b3fe607008c14a3c56b7ce3233e5d48aebb79dd3e0095267ecbc2fb58f9de96bc4eab7680073f1cedec38367573bb6401ae
6
+ metadata.gz: 504131c44962a29c99f6add3070af55c514162e03862f07fea19d0ecd264ed060a43ec41c717b2cb67d69263afd83eca86487da615d4f6a86ea17ce7445fc62c
7
+ data.tar.gz: 1e9472ac041eec734636aa30930826ff00e8f27a97a1642e6a55c2f388a1df1946b4f747b45bcf8985049755ab0e9fb8c5a5f0bf9900a56a5ece02ff1f2df438
@@ -4,6 +4,7 @@ module PotMarkdown
4
4
  def call
5
5
  doc.xpath('.//li').each do |node|
6
6
  child = node.children.first
7
+ next unless child
7
8
  next unless child.name == 'text'
8
9
  checkbox, text = checkbox_filter(child.text)
9
10
  next unless checkbox
@@ -1,3 +1,3 @@
1
1
  module PotMarkdown
2
- VERSION = '0.1.4'.freeze
2
+ VERSION = '0.1.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pot_markdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - ru_shalm
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-22 00:00:00.000000000 Z
11
+ date: 2016-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: html-pipeline