metanorma-ogc 1.1.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/macos.yml +0 -1
  3. data/.github/workflows/ubuntu.yml +10 -7
  4. data/.github/workflows/windows.yml +0 -1
  5. data/Rakefile +2 -0
  6. data/lib/asciidoctor/ogc/boilerplate.xml +3 -3
  7. data/lib/asciidoctor/ogc/converter.rb +11 -7
  8. data/lib/asciidoctor/ogc/front.rb +7 -19
  9. data/lib/asciidoctor/ogc/isodoc.rng +12 -6
  10. data/lib/asciidoctor/ogc/validate.rb +13 -25
  11. data/lib/isodoc/ogc/base_convert.rb +2 -26
  12. data/lib/isodoc/ogc/biblio.rb +33 -4
  13. data/lib/isodoc/ogc/html/_coverpage.css +195 -0
  14. data/lib/isodoc/ogc/html/header_wp.html +210 -0
  15. data/lib/isodoc/ogc/html/htmlstyle.css +1084 -0
  16. data/lib/isodoc/ogc/html/logo.png +0 -0
  17. data/lib/isodoc/ogc/html/ogc.css +838 -0
  18. data/lib/isodoc/ogc/html/ogc.scss +4 -2
  19. data/lib/isodoc/ogc/html/ogc_wp.css +758 -0
  20. data/lib/isodoc/ogc/html/ogc_wp.scss +724 -0
  21. data/lib/isodoc/ogc/html/word_ogc_intro_wp.html +14 -0
  22. data/lib/isodoc/ogc/html/word_ogc_titlepage_wp.html +175 -0
  23. data/lib/isodoc/ogc/html/wordstyle.css +1253 -0
  24. data/lib/isodoc/ogc/html/wordstyle.scss +8 -9
  25. data/lib/isodoc/ogc/html/wordstyle_wp.css +1181 -0
  26. data/lib/isodoc/ogc/html/wordstyle_wp.scss +1093 -0
  27. data/lib/isodoc/ogc/html_convert.rb +2 -0
  28. data/lib/isodoc/ogc/i18n-en.yaml +1 -0
  29. data/lib/isodoc/ogc/i18n.rb +10 -0
  30. data/lib/isodoc/ogc/init.rb +41 -0
  31. data/lib/isodoc/ogc/metadata.rb +31 -28
  32. data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +1690 -1543
  33. data/lib/isodoc/ogc/ogc.best-practice.xsl +1690 -1543
  34. data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +1690 -1543
  35. data/lib/isodoc/ogc/ogc.community-practice.xsl +1690 -1543
  36. data/lib/isodoc/ogc/ogc.community-standard.xsl +1690 -1543
  37. data/lib/isodoc/ogc/ogc.discussion-paper.xsl +1690 -1543
  38. data/lib/isodoc/ogc/ogc.engineering-report.xsl +1690 -1543
  39. data/lib/isodoc/ogc/ogc.other.xsl +1690 -1543
  40. data/lib/isodoc/ogc/ogc.policy.xsl +1690 -1543
  41. data/lib/isodoc/ogc/ogc.reference-model.xsl +1690 -1543
  42. data/lib/isodoc/ogc/ogc.release-notes.xsl +1690 -1543
  43. data/lib/isodoc/ogc/ogc.standard.xsl +1690 -1543
  44. data/lib/isodoc/ogc/ogc.test-suite.xsl +1690 -1543
  45. data/lib/isodoc/ogc/ogc.user-guide.xsl +1690 -1543
  46. data/lib/isodoc/ogc/ogc.white-paper.xsl +1776 -1864
  47. data/lib/isodoc/ogc/presentation_xml_convert.rb +128 -1
  48. data/lib/isodoc/ogc/reqt.rb +4 -26
  49. data/lib/isodoc/ogc/sections.rb +18 -64
  50. data/lib/isodoc/ogc/word_convert.rb +26 -7
  51. data/lib/isodoc/ogc/xref.rb +28 -23
  52. data/lib/metanorma/ogc/processor.rb +0 -4
  53. data/lib/metanorma/ogc/version.rb +1 -1
  54. data/metanorma-ogc.gemspec +3 -4
  55. metadata +34 -34
@@ -30,10 +30,6 @@ module Metanorma
30
30
  "Metanorma::Ogc #{Metanorma::Ogc::VERSION}"
31
31
  end
32
32
 
33
- def input_to_isodoc(file, filename)
34
- Metanorma::Input::Asciidoc.new.process(file, filename, @asciidoctor_backend)
35
- end
36
-
37
33
  def output(isodoc_node, inname, outname, format, options={})
38
34
  case format
39
35
  when :html
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ogc
3
- VERSION = "1.1.0"
3
+ VERSION = "1.2.1"
4
4
  end
5
5
  end
@@ -24,13 +24,12 @@ Gem::Specification.new do |spec|
24
24
  spec.require_paths = ["lib"]
25
25
  spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
26
26
 
27
- spec.add_dependency "htmlentities", "~> 4.3.4"
28
- spec.add_dependency "ruby-jing"
29
- spec.add_dependency "metanorma-standoc", "~> 1.4.0"
30
- spec.add_dependency "isodoc", "~> 1.1.0"
27
+ spec.add_dependency "metanorma-standoc", "~> 1.5.0"
28
+ spec.add_dependency "isodoc", "~> 1.2.0"
31
29
  spec.add_dependency "iso-639"
32
30
 
33
31
  spec.add_development_dependency "byebug", "~> 9.1"
32
+ spec.add_development_dependency "sassc", "2.4.0"
34
33
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
35
34
  spec.add_development_dependency "guard", "~> 2.14"
36
35
  spec.add_development_dependency "guard-rspec", "~> 4.7"
metadata CHANGED
@@ -1,71 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ogc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-26 00:00:00.000000000 Z
11
+ date: 2020-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: htmlentities
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 4.3.4
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 4.3.4
27
- - !ruby/object:Gem::Dependency
28
- name: ruby-jing
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
13
  - !ruby/object:Gem::Dependency
42
14
  name: metanorma-standoc
43
15
  requirement: !ruby/object:Gem::Requirement
44
16
  requirements:
45
17
  - - "~>"
46
18
  - !ruby/object:Gem::Version
47
- version: 1.4.0
19
+ version: 1.5.0
48
20
  type: :runtime
49
21
  prerelease: false
50
22
  version_requirements: !ruby/object:Gem::Requirement
51
23
  requirements:
52
24
  - - "~>"
53
25
  - !ruby/object:Gem::Version
54
- version: 1.4.0
26
+ version: 1.5.0
55
27
  - !ruby/object:Gem::Dependency
56
28
  name: isodoc
57
29
  requirement: !ruby/object:Gem::Requirement
58
30
  requirements:
59
31
  - - "~>"
60
32
  - !ruby/object:Gem::Version
61
- version: 1.1.0
33
+ version: 1.2.0
62
34
  type: :runtime
63
35
  prerelease: false
64
36
  version_requirements: !ruby/object:Gem::Requirement
65
37
  requirements:
66
38
  - - "~>"
67
39
  - !ruby/object:Gem::Version
68
- version: 1.1.0
40
+ version: 1.2.0
69
41
  - !ruby/object:Gem::Dependency
70
42
  name: iso-639
71
43
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +66,20 @@ dependencies:
94
66
  - - "~>"
95
67
  - !ruby/object:Gem::Version
96
68
  version: '9.1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: sassc
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 2.4.0
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 2.4.0
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: equivalent-xml
99
85
  requirement: !ruby/object:Gem::Requirement
@@ -243,18 +229,32 @@ files:
243
229
  - lib/isodoc/ogc.rb
244
230
  - lib/isodoc/ogc/base_convert.rb
245
231
  - lib/isodoc/ogc/biblio.rb
232
+ - lib/isodoc/ogc/html/_coverpage.css
246
233
  - lib/isodoc/ogc/html/_coverpage.scss
247
234
  - lib/isodoc/ogc/html/header.html
235
+ - lib/isodoc/ogc/html/header_wp.html
248
236
  - lib/isodoc/ogc/html/html_ogc_intro.html
249
237
  - lib/isodoc/ogc/html/html_ogc_titlepage.html
238
+ - lib/isodoc/ogc/html/htmlstyle.css
250
239
  - lib/isodoc/ogc/html/htmlstyle.scss
240
+ - lib/isodoc/ogc/html/logo.png
241
+ - lib/isodoc/ogc/html/ogc.css
251
242
  - lib/isodoc/ogc/html/ogc.scss
243
+ - lib/isodoc/ogc/html/ogc_wp.css
244
+ - lib/isodoc/ogc/html/ogc_wp.scss
252
245
  - lib/isodoc/ogc/html/scripts.html
253
246
  - lib/isodoc/ogc/html/word_ogc_intro.html
247
+ - lib/isodoc/ogc/html/word_ogc_intro_wp.html
254
248
  - lib/isodoc/ogc/html/word_ogc_titlepage.html
249
+ - lib/isodoc/ogc/html/word_ogc_titlepage_wp.html
250
+ - lib/isodoc/ogc/html/wordstyle.css
255
251
  - lib/isodoc/ogc/html/wordstyle.scss
252
+ - lib/isodoc/ogc/html/wordstyle_wp.css
253
+ - lib/isodoc/ogc/html/wordstyle_wp.scss
256
254
  - lib/isodoc/ogc/html_convert.rb
257
255
  - lib/isodoc/ogc/i18n-en.yaml
256
+ - lib/isodoc/ogc/i18n.rb
257
+ - lib/isodoc/ogc/init.rb
258
258
  - lib/isodoc/ogc/metadata.rb
259
259
  - lib/isodoc/ogc/ogc.abstract-specification-topic.xsl
260
260
  - lib/isodoc/ogc/ogc.best-practice.xsl