html-pipeline-rouge_filter 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +12 -0
- data/CHANGELOG.md +4 -0
- data/README.md +14 -16
- data/lib/html/pipeline/rouge_filter.rb +1 -3
- data/lib/html/pipeline/rouge_filter/version.rb +1 -1
- data/test/rouge_filter_test.rb +0 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a0795c378efe8982c18b9ba06170198b03a645d8
|
4
|
+
data.tar.gz: 7a98ea63d2054ec6cab6844584406abcb1710443
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e34003bdb322d9976afb85438c1acbd2f55741f881dff4593e4a9c810a0a932debf99da42cf849a985219a6c9d85f2cdec96feea9a6df4ba93157a1a3c7c2a9
|
7
|
+
data.tar.gz: e747dbaa9ae2a68fb9f66bd89202b6e7219a6ecd07cc9300b2c1f2855cd870d27ebd9fa0c47528cd320f5e7dbb335d9130d9aff53f2ee31a63b24aa3a8e79f39
|
data/.travis.yml
ADDED
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
## Unreleased
|
4
4
|
|
5
|
+
## 1.0.1 - 2015.03.10
|
6
|
+
|
7
|
+
- Fix lexer finding logic [#1](https://github.com/JuanitoFatas/html-pipeline-rouge_filter/pull/1) by @JuanitoFatas
|
8
|
+
|
5
9
|
## 1.0.0 - 2015.02.08
|
6
10
|
|
7
11
|
- RougeFilter (Implementation reference: [SyntaxHighlightFilter](https://github.com/jch/html-pipeline/blob/956be5bf3d3b0dbe47dd9215b85b56773f23efb1/lib/html/pipeline/syntax_highlight_filter.rb)).
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# HTML::Pipeline::RougeFilter
|
1
|
+
# HTML::Pipeline::RougeFilter [![Build Status](https://travis-ci.org/JuanitoFatas/html-pipeline-rouge_filter.svg)](https://travis-ci.org/JuanitoFatas/html-pipeline-rouge_filter)
|
2
2
|
|
3
3
|
[Rouge](https://github.com/jneen/rouge) integration for [HTML::Pipeline](https://github.com/jch/html-pipeline).
|
4
4
|
|
@@ -20,22 +20,20 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
]
|
23
|
+
pipeline = HTML::Pipeline.new [
|
24
|
+
HTML::Pipeline::MarkdownFilter,
|
25
|
+
HTML::Pipeline::RougeFilter
|
26
|
+
]
|
28
27
|
|
29
|
-
result = pipeline.call <<-CODE
|
30
|
-
```ruby
|
31
|
-
def foo
|
32
|
-
|
33
|
-
end
|
34
|
-
```
|
35
|
-
CODE
|
28
|
+
result = pipeline.call <<-CODE
|
29
|
+
```ruby
|
30
|
+
def foo
|
31
|
+
puts "foo"
|
32
|
+
end
|
33
|
+
```
|
34
|
+
CODE
|
36
35
|
|
37
|
-
result[:output].to_s
|
38
|
-
```
|
36
|
+
result[:output].to_s
|
39
37
|
|
40
38
|
Prints
|
41
39
|
|
@@ -53,7 +51,7 @@ Prints
|
|
53
51
|
|
54
52
|
## Contributing
|
55
53
|
|
56
|
-
1. Fork it ( https://github.com/
|
54
|
+
1. Fork it ( https://github.com/juanitofatas/html-pipeline-rouge_filter/fork )
|
57
55
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
58
56
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
59
57
|
4. Push to the branch (`git push origin my-new-feature`)
|
data/test/rouge_filter_test.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: html-pipeline-rouge_filter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juanito Fatas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: html-pipeline
|
@@ -60,6 +60,7 @@ extensions: []
|
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
62
|
- ".gitignore"
|
63
|
+
- ".travis.yml"
|
63
64
|
- CHANGELOG.md
|
64
65
|
- Gemfile
|
65
66
|
- LICENSE
|
@@ -95,4 +96,3 @@ signing_key:
|
|
95
96
|
specification_version: 4
|
96
97
|
summary: Rouge integration with html-pipeline.
|
97
98
|
test_files: []
|
98
|
-
has_rdoc:
|