html-pipeline 2.2.2 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -3
- data/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/lib/html/pipeline.rb +2 -0
- data/lib/html/pipeline/autolink_filter.rb +1 -1
- data/lib/html/pipeline/email_reply_filter.rb +2 -2
- data/lib/html/pipeline/emoji_filter.rb +1 -1
- data/lib/html/pipeline/markdown_filter.rb +1 -1
- data/lib/html/pipeline/plain_text_input_filter.rb +1 -1
- data/lib/html/pipeline/sanitization_filter.rb +1 -1
- data/lib/html/pipeline/syntax_highlight_filter.rb +1 -1
- data/lib/html/pipeline/textile_filter.rb +1 -1
- data/lib/html/pipeline/version.rb +1 -1
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c770727055010155d63f025a5b9e703c943137a
|
4
|
+
data.tar.gz: 5185542f2ce3700e2253710633008c20bd1b70e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f78f930964eef2116f1bbebe7462ec588fdec6237beba886f6c5e46b14528f6b40720ae257798341abeac9af45e578a4c5b42476b003cf9e34c5dcd7e6fd23a5
|
7
|
+
data.tar.gz: 77460574774332a4b5bc062c4e440d7950aee497a3e6000cb07df4a772f971323b8c255bca98c47204f3db903083ad929056c9d54e0cc623b35e0db10e122c56
|
data/.travis.yml
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
language: ruby
|
2
|
+
sudo: false
|
2
3
|
|
3
|
-
|
4
|
-
|
5
|
-
|
4
|
+
addons:
|
5
|
+
apt:
|
6
|
+
sources:
|
7
|
+
- libicu-dev
|
6
8
|
|
7
9
|
script: "bundle exec rake"
|
8
10
|
|
@@ -10,6 +12,7 @@ rvm:
|
|
10
12
|
- 2.0
|
11
13
|
- 2.1
|
12
14
|
- 2.2
|
15
|
+
- 2.3.0
|
13
16
|
- ruby-head
|
14
17
|
|
15
18
|
matrix:
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 2.2.3
|
4
|
+
|
5
|
+
* raise MissingDependencyError instead of aborting on missing dependency [#241](https://github.com/jch/html-pipeline/pull/241)
|
6
|
+
* Fix typo [#239](https://github.com/jch/html-pipeline/pull/239)
|
7
|
+
* Test against Ruby 2.3.0 on Travis CI [#238](https://github.com/jch/html-pipeline/pull/238)
|
8
|
+
* use travis containers [#237](https://github.com/jch/html-pipeline/pull/237)
|
9
|
+
|
3
10
|
## 2.2.2
|
4
11
|
|
5
12
|
* Fix for calling mention_link_filter with only one argument [#230](https://github.com/jch/html-pipeline/pull/230)
|
data/README.md
CHANGED
@@ -237,7 +237,7 @@ Here are some extensions people have built:
|
|
237
237
|
* [html-pipeline-asciidoc_filter](https://github.com/asciidoctor/html-pipeline-asciidoc_filter)
|
238
238
|
* [jekyll-html-pipeline](https://github.com/gjtorikian/jekyll-html-pipeline)
|
239
239
|
* [nanoc-html-pipeline](https://github.com/burnto/nanoc-html-pipeline)
|
240
|
-
* [html-pipeline-
|
240
|
+
* [html-pipeline-bitly](https://github.com/dewski/html-pipeline-bitly)
|
241
241
|
* [html-pipeline-cite](https://github.com/lifted-studios/html-pipeline-cite)
|
242
242
|
* [tilt-html-pipeline](https://github.com/bradgessler/tilt-html-pipeline)
|
243
243
|
* [html-pipeline-wiki-link'](https://github.com/lifted-studios/html-pipeline-wiki-link) - WikiMedia-style wiki links
|
data/lib/html/pipeline.rb
CHANGED
@@ -43,6 +43,8 @@ module HTML
|
|
43
43
|
autoload :TableOfContentsFilter, 'html/pipeline/toc_filter'
|
44
44
|
autoload :TextFilter, 'html/pipeline/text_filter'
|
45
45
|
|
46
|
+
class MissingDependencyError < LoadError; end
|
47
|
+
|
46
48
|
# Our DOM implementation.
|
47
49
|
DocumentFragment = Nokogiri::HTML::DocumentFragment
|
48
50
|
|
@@ -1,13 +1,13 @@
|
|
1
1
|
begin
|
2
2
|
require "escape_utils"
|
3
3
|
rescue LoadError => _
|
4
|
-
|
4
|
+
raise MissingDependencyError, "Missing dependency 'escape_utils' for EmailReplyFilter. See README.md for details."
|
5
5
|
end
|
6
6
|
|
7
7
|
begin
|
8
8
|
require "email_reply_parser"
|
9
9
|
rescue LoadError => _
|
10
|
-
|
10
|
+
raise MissingDependencyError, "Missing dependency 'email_reply_parser' for EmailReplyFilter. See README.md for details."
|
11
11
|
end
|
12
12
|
|
13
13
|
module HTML
|
@@ -3,7 +3,7 @@ require "cgi"
|
|
3
3
|
begin
|
4
4
|
require "gemoji"
|
5
5
|
rescue LoadError => _
|
6
|
-
|
6
|
+
raise MissingDependencyError, "Missing dependency 'gemoji' for EmojiFilter. See README.md for details."
|
7
7
|
end
|
8
8
|
|
9
9
|
module HTML
|
@@ -1,7 +1,7 @@
|
|
1
1
|
begin
|
2
2
|
require "github/markdown"
|
3
3
|
rescue LoadError => _
|
4
|
-
|
4
|
+
raise MissingDependencyError, "Missing dependency 'github-markdown' for MarkdownFilter. See README.md for details."
|
5
5
|
end
|
6
6
|
|
7
7
|
module HTML
|
@@ -1,7 +1,7 @@
|
|
1
1
|
begin
|
2
2
|
require "escape_utils"
|
3
3
|
rescue LoadError => _
|
4
|
-
|
4
|
+
raise MissingDependencyError, "Missing dependency 'escape_utils' for PlainTextInputFilter. See README.md for details."
|
5
5
|
end
|
6
6
|
|
7
7
|
module HTML
|
@@ -1,7 +1,7 @@
|
|
1
1
|
begin
|
2
2
|
require "sanitize"
|
3
3
|
rescue LoadError => _
|
4
|
-
|
4
|
+
raise MissingDependencyError, "Missing dependency 'sanitize' for SanitizationFilter. See README.md for details."
|
5
5
|
end
|
6
6
|
|
7
7
|
module HTML
|
@@ -1,7 +1,7 @@
|
|
1
1
|
begin
|
2
2
|
require "linguist"
|
3
3
|
rescue LoadError => _
|
4
|
-
|
4
|
+
raise MissingDependencyError, "Missing dependency 'github-linguist' for SyntaxHighlightFilter. See README.md for details."
|
5
5
|
end
|
6
6
|
|
7
7
|
module HTML
|
@@ -1,7 +1,7 @@
|
|
1
1
|
begin
|
2
2
|
require "redcloth"
|
3
3
|
rescue LoadError => _
|
4
|
-
|
4
|
+
raise MissingDependencyError, "Missing dependency 'RedCloth' for TextileFilter. See README.md for details."
|
5
5
|
end
|
6
6
|
|
7
7
|
module HTML
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: html-pipeline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Tomayko
|
@@ -9,40 +9,40 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-01-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - '>='
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '1.4'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - '>='
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '1.4'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: activesupport
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - '>='
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '2'
|
35
|
-
- -
|
35
|
+
- - <
|
36
36
|
- !ruby/object:Gem::Version
|
37
37
|
version: '5'
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
requirements:
|
42
|
-
- -
|
42
|
+
- - '>='
|
43
43
|
- !ruby/object:Gem::Version
|
44
44
|
version: '2'
|
45
|
-
- -
|
45
|
+
- - <
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '5'
|
48
48
|
description: GitHub HTML processing filters and utilities
|
@@ -53,8 +53,8 @@ executables: []
|
|
53
53
|
extensions: []
|
54
54
|
extra_rdoc_files: []
|
55
55
|
files:
|
56
|
-
-
|
57
|
-
-
|
56
|
+
- .gitignore
|
57
|
+
- .travis.yml
|
58
58
|
- CHANGELOG.md
|
59
59
|
- CONTRIBUTING.md
|
60
60
|
- Gemfile
|
@@ -118,17 +118,17 @@ require_paths:
|
|
118
118
|
- lib
|
119
119
|
required_ruby_version: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
|
-
- -
|
121
|
+
- - '>='
|
122
122
|
- !ruby/object:Gem::Version
|
123
123
|
version: '0'
|
124
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
125
|
requirements:
|
126
|
-
- -
|
126
|
+
- - '>='
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '0'
|
129
129
|
requirements: []
|
130
130
|
rubyforge_project:
|
131
|
-
rubygems_version: 2.
|
131
|
+
rubygems_version: 2.0.14
|
132
132
|
signing_key:
|
133
133
|
specification_version: 4
|
134
134
|
summary: Helpers for processing content through a chain of filters
|