metanorma-ogc 2.2.4 → 2.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/lib/isodoc/ogc/html/htmlstyle.css +7 -1
  3. data/lib/isodoc/ogc/html/htmlstyle.scss +1 -0
  4. data/lib/isodoc/ogc/metadata.rb +7 -6
  5. data/lib/isodoc/ogc/ogc.abstract-specification-topic.xsl +163 -29
  6. data/lib/isodoc/ogc/ogc.best-practice.xsl +163 -29
  7. data/lib/isodoc/ogc/ogc.change-request-supporting-document.xsl +163 -29
  8. data/lib/isodoc/ogc/ogc.community-practice.xsl +163 -29
  9. data/lib/isodoc/ogc/ogc.community-standard.xsl +163 -29
  10. data/lib/isodoc/ogc/ogc.discussion-paper.xsl +163 -29
  11. data/lib/isodoc/ogc/ogc.draft-standard.xsl +10902 -0
  12. data/lib/isodoc/ogc/ogc.engineering-report.xsl +163 -29
  13. data/lib/isodoc/ogc/ogc.other.xsl +163 -29
  14. data/lib/isodoc/ogc/ogc.policy.xsl +163 -29
  15. data/lib/isodoc/ogc/ogc.reference-model.xsl +163 -29
  16. data/lib/isodoc/ogc/ogc.release-notes.xsl +163 -29
  17. data/lib/isodoc/ogc/ogc.standard.xsl +163 -29
  18. data/lib/isodoc/ogc/ogc.test-suite.xsl +163 -29
  19. data/lib/isodoc/ogc/ogc.user-guide.xsl +163 -29
  20. data/lib/isodoc/ogc/ogc.white-paper.xsl +145 -23
  21. data/lib/isodoc/ogc/pdf_convert.rb +5 -4
  22. data/lib/isodoc/ogc/presentation_xml_convert.rb +5 -5
  23. data/lib/isodoc/ogc/xref.rb +19 -19
  24. data/lib/metanorma/ogc/basicdoc.rng +0 -27
  25. data/lib/metanorma/ogc/biblio-standoc.rng +164 -0
  26. data/lib/metanorma/ogc/biblio.rng +50 -18
  27. data/lib/metanorma/ogc/cleanup.rb +14 -14
  28. data/lib/metanorma/ogc/converter.rb +2 -2
  29. data/lib/metanorma/ogc/front.rb +12 -8
  30. data/lib/metanorma/ogc/isodoc.rng +68 -206
  31. data/lib/metanorma/ogc/ogc.rng +1 -74
  32. data/lib/metanorma/ogc/relaton-ogc.rng +83 -0
  33. data/lib/metanorma/ogc/validate.rb +15 -15
  34. data/lib/metanorma/ogc/version.rb +1 -1
  35. data/metanorma-ogc.gemspec +3 -2
  36. metadata +7 -10
  37. data/.github/workflows/rake.yml +0 -15
  38. data/.github/workflows/release.yml +0 -24
  39. data/Rakefile +0 -8
  40. data/bin/console +0 -14
  41. data/bin/rspec +0 -17
  42. data/bin/setup +0 -8
@@ -17,12 +17,13 @@ Gem::Specification.new do |spec|
17
17
  spec.license = "BSD-2-Clause"
18
18
 
19
19
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
20
- f.match(%r{^(test|spec|features)/})
20
+ f.match(%r{^(test|spec|features|bin|.github)/}) \
21
+ || f.match(%r{Rakefile|bin/rspec})
21
22
  end
22
23
  spec.bindir = "exe"
23
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
25
  spec.require_paths = ["lib"]
25
- spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
26
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
26
27
 
27
28
  spec.add_dependency "iso-639"
28
29
  spec.add_dependency "metanorma-standoc", "~> 2.2.4"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ogc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 2.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-10 00:00:00.000000000 Z
11
+ date: 2022-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: iso-639
@@ -215,8 +215,6 @@ executables: []
215
215
  extensions: []
216
216
  extra_rdoc_files: []
217
217
  files:
218
- - ".github/workflows/rake.yml"
219
- - ".github/workflows/release.yml"
220
218
  - ".gitignore"
221
219
  - ".hound.yml"
222
220
  - ".rubocop.yml"
@@ -224,10 +222,6 @@ files:
224
222
  - Gemfile
225
223
  - LICENSE
226
224
  - README.adoc
227
- - Rakefile
228
- - bin/console
229
- - bin/rspec
230
- - bin/setup
231
225
  - lib/isodoc/ogc.rb
232
226
  - lib/isodoc/ogc/base_convert.rb
233
227
  - lib/isodoc/ogc/biblio.rb
@@ -265,6 +259,7 @@ files:
265
259
  - lib/isodoc/ogc/ogc.community-practice.xsl
266
260
  - lib/isodoc/ogc/ogc.community-standard.xsl
267
261
  - lib/isodoc/ogc/ogc.discussion-paper.xsl
262
+ - lib/isodoc/ogc/ogc.draft-standard.xsl
268
263
  - lib/isodoc/ogc/ogc.engineering-report.xsl
269
264
  - lib/isodoc/ogc/ogc.other.xsl
270
265
  - lib/isodoc/ogc/ogc.policy.xsl
@@ -282,6 +277,7 @@ files:
282
277
  - lib/metanorma-ogc.rb
283
278
  - lib/metanorma/ogc.rb
284
279
  - lib/metanorma/ogc/basicdoc.rng
280
+ - lib/metanorma/ogc/biblio-standoc.rng
285
281
  - lib/metanorma/ogc/biblio.rng
286
282
  - lib/metanorma/ogc/boilerplate.xml
287
283
  - lib/metanorma/ogc/cleanup.rb
@@ -290,6 +286,7 @@ files:
290
286
  - lib/metanorma/ogc/isodoc.rng
291
287
  - lib/metanorma/ogc/ogc.rng
292
288
  - lib/metanorma/ogc/processor.rb
289
+ - lib/metanorma/ogc/relaton-ogc.rng
293
290
  - lib/metanorma/ogc/reqt.rng
294
291
  - lib/metanorma/ogc/validate.rb
295
292
  - lib/metanorma/ogc/version.rb
@@ -311,14 +308,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
311
308
  requirements:
312
309
  - - ">="
313
310
  - !ruby/object:Gem::Version
314
- version: 2.5.0
311
+ version: 2.7.0
315
312
  required_rubygems_version: !ruby/object:Gem::Requirement
316
313
  requirements:
317
314
  - - ">="
318
315
  - !ruby/object:Gem::Version
319
316
  version: '0'
320
317
  requirements: []
321
- rubygems_version: 3.1.6
318
+ rubygems_version: 3.3.7
322
319
  signing_key:
323
320
  specification_version: 4
324
321
  summary: Metanorma for the Open Geospatial Consortium.
@@ -1,15 +0,0 @@
1
- # Auto-generated by Cimas: Do not edit it manually!
2
- # See https://github.com/metanorma/cimas
3
- name: rake
4
-
5
- on:
6
- push:
7
- branches: [ master, main ]
8
- tags: [ v* ]
9
- pull_request:
10
-
11
- jobs:
12
- notify:
13
- uses: metanorma/ci/.github/workflows/mn-processor-rake.yml@main
14
- secrets:
15
- pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
@@ -1,24 +0,0 @@
1
- # Auto-generated by Cimas: Do not edit it manually!
2
- # See https://github.com/metanorma/cimas
3
- name: release
4
-
5
- on:
6
- workflow_dispatch:
7
- inputs:
8
- next_version:
9
- description: |
10
- Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
11
- required: true
12
- default: 'skip'
13
- push:
14
- tags: [ v* ]
15
-
16
- jobs:
17
- release:
18
- uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
19
- with:
20
- next_version: ${{ github.event.inputs.next_version }}
21
- secrets:
22
- rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
23
- pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
24
-
data/Rakefile DELETED
@@ -1,8 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
- require "isodoc/gem_tasks"
4
-
5
- IsoDoc::GemTasks.install
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- task default: :spec
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "metanorma/ogc"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start(__FILE__)
data/bin/rspec DELETED
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- # This file was generated by Bundler.
4
- #
5
- # The application 'rspec' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require "pathname"
10
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path(
11
- "../../Gemfile", Pathname.new(__FILE__).realpath
12
- )
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("rspec-core", "rspec")
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here