asciidoctor-rsd 0.3.3 → 0.3.4

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
  SHA256:
3
- metadata.gz: 813292bdbf2b3942ccc79cfab2231536c9cd31e7c8e7acfaf9dabff9865ba77c
4
- data.tar.gz: e5ed7ed7882a84ed528f1caf63f59626ebe77463b724a04685e4298c8fbfc558
3
+ metadata.gz: b34cc6eb881832f419827f68e71d0934c1634a1624ce72a982b9b3f91acd84e2
4
+ data.tar.gz: 504689a09ddec754e31539a0a00745c963937041966bd8d254de90d218c417cf
5
5
  SHA512:
6
- metadata.gz: eb87419fa4def14b4c59f3edc986ab066489de2ffb060c380ee9378981c9e4ed985046eea758d5ece33c4593fcf77590e0346d3217dedc65c14af49c8ad728dd
7
- data.tar.gz: 500bd710427ff1668042f964af2cdfcce2fa0bd867d800a16c0dc63020455505b022fec23e0beeb1202c68de7ae3df84a3e64e608d92e66215963feb3a3014aa
6
+ metadata.gz: 7b240e36e65a9edc28f7ffeda4c34e7df7c522ed1e7c59b2c1bfdf48d17e360d2a84170d8b6bd3b86612cd58a72ea5e05055d43202828588fa1719d025879ec8
7
+ data.tar.gz: c124c3352f66520909ffdb3eb7ca881c9e51f15b5e158d3517710f3a59f5997cfc5c875599e78f26b22fc4afa1c82b1ebaf02b5a14ea4cc240322ec72f21cfe9
@@ -4,6 +4,7 @@ language: ruby
4
4
  rvm:
5
5
  - 2.5
6
6
  - 2.4
7
+ - 2.3
7
8
  - ruby-head
8
9
  before_install:
9
10
  - gem install bundler -v 1.16.1
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.add_dependency "asciidoctor", "~> 1.5.7"
29
29
  spec.add_dependency "htmlentities", "~> 4.3.4"
30
30
  spec.add_dependency "nokogiri"
31
- spec.add_dependency "asciidoctor-iso", "~> 0.9.6"
31
+ spec.add_dependency "asciidoctor-iso", "~> 0.10.1"
32
32
  spec.add_dependency "isodoc", ">= 0.8.4"
33
33
 
34
34
  spec.add_development_dependency "bundler", "~> 1.15"
@@ -132,7 +132,7 @@ module Asciidoctor
132
132
  File.join(File.dirname(__FILE__), "rsd.rng"))
133
133
  end
134
134
 
135
- def html_doc_path(file)
135
+ def rsd_html_path(file)
136
136
  File.join(File.dirname(__FILE__), File.join("html", file))
137
137
  end
138
138
 
@@ -1,5 +1,5 @@
1
1
  module Asciidoctor
2
2
  module Rsd
3
- VERSION = "0.3.3"
3
+ VERSION = "0.3.4"
4
4
  end
5
5
  end
@@ -0,0 +1 @@
1
+ <svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2000 501"><title>ribose logo normal</title><path d="M180.9,31.3h36.2l18.1,31.3h36.2l18.1,31.3-18.1,31.4,18.1,31.3-18.1,31.3,18.1,31.3-18.1,31.3H235.2l-18.1,31.3,18.1,31.3h36.2l18.1,31.4-18.1,31.3,18.1,31.3-18.1,31.3,18.1,31.3L272.1,501H235.9l-18.8-31.3,18.1-31.3-18.1-31.3,18.1-31.3-18.1-31.3H180.9l-18.1-31.4H126.7l-18.1-31.3H72.4L54.3,313.1l18.1,31.4L54.3,375.8l18.1,31.3L54.3,438.4l18.1,31.3L55,501H18.8L0,469.7l18.1-31.3L0,407.1l18.1-31.3L0,344.5l18.1-31.4L0,281.8l18.1-31.3L0,219.2l18.1-31.3L0,156.6l18.1-31.3L0,93.9,18.1,62.6H54.3L72.4,31.3h36.2L126.7,0h36.1ZM126.7,250.5h36.1l18.1-31.3h36.2l18.1-31.3-18.1-31.3,18.1-31.3L217.1,93.9H180.9L162.8,62.6H126.7L108.6,93.9H72.4L54.3,125.3l18.1,31.3L54.3,187.9l18.1,31.3h36.2Z"/><path d="M470.2,93.9l-18.1,31.4H416L397.9,93.9,416,62.6h36.1Zm0,125.3-18.1,31.3,18.1,31.3-18.1,31.3,18.1,31.4-18.1,31.3,18.1,31.3-18.1,31.3,18.1,31.3L452.8,501H416.7l-18.8-31.3L416,438.4l-18.1-31.3L416,375.8l-18.1-31.3L416,313.1l-18.1-31.3L416,250.5l-18.1-31.3L416,187.9h36.1Z"/><path d="M659.9,31.3,641.8,62.6l18.1,31.3-18.1,31.4,18.1,31.3-18.1,31.3,18.1,31.3h36.2l18.1-31.3h36.2l18.1,31.3h36.2l18.1,31.3h36.1L877,281.8l-18.1,31.3L877,344.5l-18.1,31.3L877,407.1l-18.1,31.3H822.8l-18.1,31.3H768.5L751.1,501H714.9l-18.8-31.3H659.9L642.5,501H606.3l-18.7-31.3,18.1-31.3-18.1-31.3,18.1-31.3-18.1-31.3,18.1-31.4-18.1-31.3,18.1-31.3-18.1-31.3,18.1-31.3-18.1-31.3,18.1-31.3L587.6,93.9l18.1-31.3L587.6,31.3,605.7,0h36.1ZM822.8,375.8l-18.1-31.3,18.1-31.4-18.1-31.3H768.5l-18.1-31.3H714.2l-18.1,31.3H659.9l-18.1,31.3,18.1,31.4-18.1,31.3,18.1,31.3h36.2l18.1,31.3h36.2l18.1-31.3h36.2Z"/><path d="M1034.6,219.2h36.2l18.1-31.3H1125l18.1,31.3h36.2l18.1,31.3h36.2l18.1,31.3-18.1,31.3,18.1,31.4-18.1,31.3,18.1,31.3-18.1,31.3h-36.2l-18.1,31.3h-36.2L1125.7,501h-36.1l-18.8-31.3h-36.2l-18.1-31.3H980.3l-18.1-31.3,18.1-31.3-18.1-31.3,18.1-31.4-18.1-31.3,18.1-31.3h36.2Zm0,125.3-18.1,31.3,18.1,31.3h36.2l18.1,31.3H1125l18.1-31.3h36.2l18.1-31.3-18.1-31.3,18.1-31.4-18.1-31.3h-36.2L1125,250.5h-36.1l-18.1,31.3h-36.2l-18.1,31.3Z"/><path d="M1408,219.2h36.2l18.1-31.3h36.2l18.1,31.3h36.2l18.1,31.3h36.2l18,31.3-18,31.3h-36.2l-18.1-31.3h-36.2l-18.1-31.3h-36.2l-18.1,31.3,18.1,31.3h36.2l18.1,31.4h36.2l18.1,31.3h36.2l18,31.3-18,31.3h-36.2l-18.1,31.3h-36.2L1499.2,501H1463l-18.8-31.3H1408l-18.1-31.3h-36.2l-18-31.3,18-31.3h36.2l18.1,31.3h36.2l18.1,31.3h36.2l18.1-31.3-18.1-31.3h-36.2l-18.1-31.3H1408l-18.1-31.4h-36.2l-18-31.3,18-31.3h36.2Z"/><path d="M1782.9,219.2h36.2l18.1-31.3h36.2l18,31.3h36.2l18.1,31.3h36.2l18.1,31.3-18.1,31.3h-36.2l-18.1,31.4h-36.2l-18,31.3h-36.2l-18.1-31.3,18.1-31.4h36.2l18-31.3-18-31.3h-36.2l-18.1,31.3h-36.2l-18.1,31.3,18.1,31.4-18.1,31.3,18.1,31.3h36.2l18.1,31.3h36.2l18-31.3h36.2l18.1-31.3h36.2l18.1,31.3-18.1,31.3h-36.2l-18.1,31.3h-36.2L1874.1,501h-36.2l-18.8-31.3h-36.2l-18.1-31.3h-36.2l-18.1-31.3,18.1-31.3-18.1-31.3,18.1-31.4-18.1-31.3,18.1-31.3h36.2Z"/></svg>
@@ -8,18 +8,18 @@ module IsoDoc
8
8
  # schema encapsulation of the document for validation
9
9
  #
10
10
  class HtmlConvert < IsoDoc::HtmlConvert
11
- def html_doc_path(file)
11
+ def rsd_html_path(file)
12
12
  File.join(File.dirname(__FILE__), File.join("html", file))
13
13
  end
14
14
 
15
15
  def initialize(options)
16
16
  super
17
- @htmlstylesheet = generate_css(html_doc_path("htmlstyle.scss"), true, default_fonts(options))
18
- @htmlcoverpage = html_doc_path("html_rsd_titlepage.html")
19
- @htmlintropage = html_doc_path("html_rsd_intro.html")
20
- @scripts = html_doc_path("scripts.html")
21
- system "cp #{html_doc_path('logo.jpg')} logo.jpg"
22
- @files_to_delete << "logo.jpg"
17
+ @htmlstylesheet = generate_css(rsd_html_path("htmlstyle.scss"), true, default_fonts(options))
18
+ @htmlcoverpage = rsd_html_path("html_rsd_titlepage.html")
19
+ @htmlintropage = rsd_html_path("html_rsd_intro.html")
20
+ @scripts = rsd_html_path("scripts.html")
21
+ system "cp #{html_doc_path('logo.svg')} logo.svg"
22
+ @files_to_delete << "logo.svg"
23
23
  end
24
24
 
25
25
  def default_fonts(options)
@@ -6,18 +6,18 @@ module IsoDoc
6
6
  # A {Converter} implementation that generates PDF HTML output, and a
7
7
  # document schema encapsulation of the document for validation
8
8
  class PdfConvert < IsoDoc::PdfConvert
9
- def html_doc_path(file)
9
+ def rsd_html_path(file)
10
10
  File.join(File.dirname(__FILE__), File.join("html", file))
11
11
  end
12
12
 
13
13
  def initialize(options)
14
14
  super
15
- @htmlstylesheet = generate_css(html_doc_path("htmlstyle.scss"), true, default_fonts(options))
16
- @htmlcoverpage = html_doc_path("html_rsd_titlepage.html")
17
- @htmlintropage = html_doc_path("html_rsd_intro.html")
18
- @scripts = html_doc_path("scripts.html")
19
- system "cp #{html_doc_path('logo.jpg')} logo.jpg"
20
- @files_to_delete << "logo.jpg"
15
+ @htmlstylesheet = generate_css(rsd_html_path("htmlstyle.scss"), true, default_fonts(options))
16
+ @htmlcoverpage = rsd_html_path("html_rsd_titlepage.html")
17
+ @htmlintropage = rsd_html_path("html_rsd_intro.html")
18
+ @scripts = rsd_html_path("scripts.html")
19
+ system "cp #{html_doc_path('logo.svg')} logo.svg"
20
+ @files_to_delete << "logo.svg"
21
21
  end
22
22
 
23
23
  def default_fonts(options)
@@ -7,20 +7,21 @@ module IsoDoc
7
7
  # schema encapsulation of the document for validation
8
8
 
9
9
  class WordConvert < IsoDoc::WordConvert
10
- def html_doc_path(file)
10
+ def rsd_html_path(file)
11
11
  File.join(File.dirname(__FILE__), File.join("html", file))
12
12
  end
13
13
 
14
14
  def initialize(options)
15
15
  super
16
- @wordstylesheet = generate_css(html_doc_path("wordstyle.scss"), false, default_fonts(options))
17
- @standardstylesheet = generate_css(html_doc_path("rsd.scss"), false, default_fonts(options))
18
- @header = html_doc_path("header.html")
19
- @wordcoverpage = html_doc_path("word_rsd_titlepage.html")
20
- @wordintropage = html_doc_path("word_rsd_intro.html")
16
+ @wordstylesheet = generate_css(rsd_html_path("wordstyle.scss"), false, default_fonts(options))
17
+ @standardstylesheet = generate_css(rsd_html_path("rsd.scss"), false, default_fonts(options))
18
+ @header = rsd_html_path("header.html")
19
+ @wordcoverpage = rsd_html_path("word_rsd_titlepage.html")
20
+ @wordintropage = rsd_html_path("word_rsd_intro.html")
21
21
  @ulstyle = "l3"
22
22
  @olstyle = "l2"
23
- system "cp #{html_doc_path('logo.jpg')} logo.jpg"
23
+ system "cp #{html_doc_path('logo.svg')} logo.svg"
24
+ @files_to_delete << "logo.svg"
24
25
  end
25
26
 
26
27
  def default_fonts(options)
@@ -77,7 +78,7 @@ module IsoDoc
77
78
  h1 = to_xhtml_fragment(h.dup)
78
79
  h1.traverse do |x|
79
80
  x.replace(" ") if x.name == "span" &&
80
- /mso-tab-count/.match?(x["style"])
81
+ /mso-tab-count/.match(x["style"])
81
82
  x.remove if x.name == "span" && x["class"] == "MsoCommentReference"
82
83
  x.remove if x.name == "a" && x["epub:type"] == "footnote"
83
84
  x.replace(x.children) if x.name == "a"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidoctor-rsd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-17 00:00:00.000000000 Z
11
+ date: 2018-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.9.6
61
+ version: 0.10.1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.9.6
68
+ version: 0.10.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: isodoc
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -268,7 +268,7 @@ files:
268
268
  - lib/isodoc/rsd/html/html_rsd_intro.html
269
269
  - lib/isodoc/rsd/html/html_rsd_titlepage.html
270
270
  - lib/isodoc/rsd/html/htmlstyle.scss
271
- - lib/isodoc/rsd/html/logo.jpg
271
+ - lib/isodoc/rsd/html/logo.svg
272
272
  - lib/isodoc/rsd/html/rsd.scss
273
273
  - lib/isodoc/rsd/html/scripts.html
274
274
  - lib/isodoc/rsd/html/word_rsd_intro.html
@@ -300,7 +300,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
300
300
  version: '0'
301
301
  requirements: []
302
302
  rubyforge_project:
303
- rubygems_version: 2.7.7
303
+ rubygems_version: 2.7.6
304
304
  signing_key:
305
305
  specification_version: 4
306
306
  summary: asciidoctor-rsd lets you write RSD in AsciiDoc.
Binary file