html-pipeline-asciidoc_filter 1.5.2 → 1.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1cb83a426252b29fbe2cdb669cd77c7f26cd2a24
4
- data.tar.gz: a396de19feb3671cfda7d43b0daf0b0f0aaca8e2
3
+ metadata.gz: 894875d85775b9df4f80ea47572d08b547e059c0
4
+ data.tar.gz: 57a234be3b2ec1ed09a5c9d0bacc2813b3ea9a0f
5
5
  SHA512:
6
- metadata.gz: 5508bdf750c784bf569c4602589b7bc88c5c49642d39dec181080402bdb62c71ee874bd3db68d3d088e78a5eb541346d94c06a436adbafa496ef843516792647
7
- data.tar.gz: 0d23908f882de071c3b43b3f49ef8c751a687e83868689c844906e669e3bbe31b85e82c39839cc31e86bee1434bc11d6be76ca1915f665d2c63c1adac93db231
6
+ metadata.gz: cebdfd002d2ac8d0bb17f4ea6524f6ca844edcfe6ddd8258b1c3f6788265ca3dac59c9b9cdbf002fefde9492bcd09e7ca805861d5ec57a657e2c2bd1c4ddaf4f
7
+ data.tar.gz: e2693fd90e46f626ca4cb14556096ab61c1c799e934324a34618f1dd70746673c5bfbb08954b4a82e2cb032b68e1efaec0be92c9fd1baaed18a6d95cbaab7b58
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License
2
2
 
3
- Copyright (C) 2013 Dan Allen
3
+ Copyright (C) 2013-2015 Dan Allen and the Asciidoctor Project
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,5 +1,12 @@
1
1
  = AsciiDoc filter for html-pipeline
2
- Dan Allen
2
+ Dan Allen <https://github.com/mojavelinux>
3
+ // Settings:
4
+ :idprefix:
5
+ :idseparator: -
6
+ :source-language: ruby
7
+ :language: {source-language}
8
+ // URIs:
9
+ :uri-license: link:LICENSE
3
10
 
4
11
  https://rubygems.org/gems/html-pipeline-asciidoc_filter[html-pipeline-asciidoc_filter] is an AsciiDoc processing filter for https://github.com/jch/html-pipeline[html-pipeline] based on https://asciidoctor.org[Asciidoctor].
5
12
 
@@ -9,7 +16,7 @@ We need to improve the output generated by this filter to get better results.
9
16
 
10
17
  == Example Usage
11
18
 
12
- [source,ruby]
19
+ [source]
13
20
  ----
14
21
  require 'html/pipeline'
15
22
  require 'html/pipeline/asciidoc_filter'
@@ -26,7 +33,7 @@ filters = [
26
33
  ]
27
34
 
28
35
  context = {
29
- :asset_root => 'https://github.global.ssl.fastly.net/images/icons/emoji'
36
+ :asset_root => 'https://assets-cdn.github.com/images/icons'
30
37
  }
31
38
 
32
39
  pipeline = HTML::Pipeline.new filters, context
@@ -47,14 +54,17 @@ Section content.
47
54
  - @rtomayko
48
55
  - @mojavelinux
49
56
 
50
- [source,ruby]
51
- --
57
+ [source]
58
+ ....
52
59
  require 'asciidoctor'
53
60
 
54
- puts Asciidoctor.render('This filter brought to you by http://asciidoctor.org[Asciidoctor].')
55
- --
61
+ puts Asciidoctor.convert('This filter brought to you by http://asciidoctor.org[Asciidoctor].')
62
+ ....
56
63
 
57
- :shipit:
64
+ See <<Sample Section>>.
65
+
66
+ [normal]
67
+ :shipit:
58
68
  EOS
59
69
 
60
70
  puts pipeline.call(input)[:output]
@@ -65,7 +75,7 @@ puts pipeline.call(input)[:output]
65
75
  You'll need the following dependencies in your Gemfile which aren't declared by +html-pipeline+ or this filter.
66
76
 
67
77
  .Gemfile
68
- [source,ruby]
78
+ [source]
69
79
  ----
70
80
  gem 'html-pipeline-asciidoc_filter'
71
81
  # gemoji needed for EmojiFilter
@@ -82,12 +92,11 @@ gem 'github-linguist', (RUBY_VERSION < '2.1.0' ? '~> 2.6.2', '~> 2.10')
82
92
 
83
93
  * remove `<p>` from text-only list items by defining custom block_paragraph template
84
94
  * preserve ToC (likely through subsequent filter)
85
- * retain checklist items in list (perhaps using text-based checkmarks)
86
95
  * enable font-based icons
87
96
 
88
97
  == Copyright and License
89
98
 
90
- Copyright (C) 2014 Dan Allen
99
+ Copyright (C) 2014-2015 Dan Allen
91
100
  Free use of this software is granted under the terms of the MIT License.
92
101
 
93
- See the {license}[LICENSE] file for details.
102
+ See the {uri-license}[LICENSE] file for details.
@@ -17,6 +17,6 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(/^test\//)
18
18
  gem.require_paths = ['lib']
19
19
 
20
- gem.add_dependency 'html-pipeline', '~> 1.11.0'
21
- gem.add_dependency 'asciidoctor', '~> 1.5.2'
20
+ gem.add_dependency 'html-pipeline', '~> 2.2.2'
21
+ gem.add_dependency 'asciidoctor', '~> 1.5.3'
22
22
  end
@@ -2,6 +2,6 @@
2
2
  # and we don't want to define it here inadvertently
3
3
  module HTML_Pipeline
4
4
  class AsciiDocFilter
5
- VERSION = '1.5.2'
5
+ VERSION = '1.5.3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html-pipeline-asciidoc_filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.2
4
+ version: 1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Allen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-08 00:00:00.000000000 Z
11
+ date: 2015-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: html-pipeline
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 1.11.0
19
+ version: 2.2.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: 1.11.0
26
+ version: 2.2.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: asciidoctor
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 1.5.2
33
+ version: 1.5.3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ~>
39
39
  - !ruby/object:Gem::Version
40
- version: 1.5.2
40
+ version: 1.5.3
41
41
  description: An AsciiDoc processing filter for html-pipeline powered by Asciidoctor
42
42
  email:
43
43
  - dan.j.allen@gmail.com
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  version: '0'
75
75
  requirements: []
76
76
  rubyforge_project:
77
- rubygems_version: 2.4.3
77
+ rubygems_version: 2.4.6
78
78
  signing_key:
79
79
  specification_version: 4
80
80
  summary: An AsciiDoc processing filter for html-pipeline powered by Asciidoctor