github-markdown-preview 4.0.0 → 4.0.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6518806d2a98c7003c2e99b6f6c6e61667fdee4b
|
4
|
+
data.tar.gz: bc4fff787aad82cb8b9519260bf7a0be6094df4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c808a81ba0e1895d0cebb756d082b8d08b99aacaa8a6af6574c315167c7aa7124ab05664ead5e8c736d5e004fe10efe4321ca6abca0a626f881e5d87c4dddf2
|
7
|
+
data.tar.gz: 216ae3e02c12df00ae6f449b2fc538238785f0d2ee0b0d486ea1587f7347d7e010affb81e6427dc3180a8974dbcb0ca0af0d103f7b1575cf9c6e2fc86063a513
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## v4.0.1
|
4
|
+
* Fix error on empty lists [#41](https://github.com/dmarcotte/github-markdown-preview/issues/41)
|
5
|
+
|
3
6
|
## v4.0.0
|
4
7
|
* **Breaking changes:**
|
5
8
|
- Drop Ruby 1.9 support and upgrade all dependencies to latest [#39](https://github.com/dmarcotte/github-markdown-preview/pull/39)
|
@@ -27,7 +27,7 @@ module GithubMarkdownPreview
|
|
27
27
|
def call
|
28
28
|
process_task = Proc.new do |node|
|
29
29
|
first_child = node.children.first
|
30
|
-
next unless first_child.text?
|
30
|
+
next unless first_child && first_child.text?
|
31
31
|
content = first_child.to_html
|
32
32
|
html = task_list_item_filter(content)
|
33
33
|
next if html == content
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-markdown-preview
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Marcotte
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: listen
|