relaton-cli 3.0.0.pre.alpha.10 → 3.0.0.pre.alpha.12

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
  SHA256:
3
- metadata.gz: 9e1aaca5f42be0e9d8ba73bcaad508374d6d01eb3a68ded24deb8b7f5c3f2555
4
- data.tar.gz: 0f93a4a593fb4c6ab05961938ccbe80fb5849dee671a77afa951f674eb92f5c3
3
+ metadata.gz: 07a23f535389c9a8b16bb980c81149a2fd95876c1bf6a09076caa7d06df31fa9
4
+ data.tar.gz: f503fa189eca68f12f45abb78d87f94793930bd2cc0cf571c7e8980667172c49
5
5
  SHA512:
6
- metadata.gz: a957602891b2e61dc255225b0d188a298d59bc83c257fd6e6df8ae59ff5f47343c1f5d8a06786e66d719fc3a476bbed9ca56df924908fb47cf4bacec977c6815
7
- data.tar.gz: 0507b6bc0d4b5f98e1febe531f93a6beea7cc463428edb10866125bfd48900661d1a8b026de6abcf08d4fdb84b36654d5d73431ddbcb25d2f9c784cd22a49ead
6
+ metadata.gz: d3b4ceb06948890cbc255df0ea56a8964344348005d1a94f86f8a52cae516fc2ab0b5cff3507d7091d2689fbbd526408da5b673ea6466b2b140019e2b74a25a3
7
+ data.tar.gz: 68f4708b1d2a4ccecad75b3472f1747eaa110aa1877c54cd671440f0c40a851dcaeb0e656d9bcef4e68cc8c65bbc805e5364efe0dae73ff4205a44261316a8c7
@@ -58,8 +58,8 @@ module Relaton
58
58
  io.puts(fetch_document(code, options) || supported_type_message)
59
59
  end
60
60
 
61
- desc "extract Metanorma-XML-File / Directory Relaton-XML-Directory",
62
- "Extract Relaton XML from Metanorma XML file / directory"
61
+ desc "Metanorma-XML-File / Directory Relaton-XML-Directory",
62
+ "Export Relaton XML from a Metanorma XML file / directory"
63
63
  option :extension, aliases: :x, default: "rxl", desc: "File extension of Relaton XML files, " \
64
64
  "defaults to 'rxl'"
65
65
 
@@ -46,17 +46,11 @@ module Relaton::Cli
46
46
  # @param source [String] Relaton XML
47
47
  def build_liquid_document(source)
48
48
  bibcollection = build_bibcollection(source)
49
- begin
50
- mnv = `metanorma -v`
51
- rescue Errno::ENOENT
52
- mnv = ""
53
- end
54
49
  hash_to_liquid(
55
50
  depth: 2,
56
51
  css: stylesheet,
57
52
  title: bibcollection.title,
58
53
  date: DateTime.now.to_s,
59
- metanorma_v: mnv.lines.first&.strip,
60
54
  author: bibcollection.author,
61
55
  documents: document_items(bibcollection)
62
56
  )
data/relaton-cli.gemspec CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
 
15
15
  spec.summary = "Relaton Command-line Interface"
16
16
  spec.description = "Relaton Command-line Interface"
17
- spec.homepage = "https://github.com/metanorma/relaton-cli"
17
+ spec.homepage = "https://github.com/relaton/relaton"
18
18
  spec.license = "BSD-2-Clause"
19
19
 
20
20
  # Ship lib/, exe/, templates/ and the COMPILED frontend, but not the frontend
@@ -19,7 +19,7 @@
19
19
  <div id="topbar-inner">
20
20
  <div id="title-bar">
21
21
  <div class="doc-access">
22
- Generated: {{ date }}{% if metanorma_v != nil %} {{ metanorma_v }}{% endif %}
22
+ Generated: {{ date }}
23
23
  </div>
24
24
  <span>{{ author }}</span>
25
25
  </div>
@@ -40,7 +40,7 @@
40
40
  <footer>
41
41
  <div class="copyright">
42
42
  <div class="doc-access">
43
- Generated: {{ date }}{% if metanorma_v != nil %} {{ metanorma_v }}{% endif %}
43
+ Generated: {{ date }}
44
44
  </div>
45
45
  <p class="year">&copy; {{ author }}</p>
46
46
  <p class="message">All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting on the internet or an intranet, without prior written permission.</p>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.pre.alpha.10
4
+ version: 3.0.0.pre.alpha.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-10-05 00:00:00.000000000 Z
11
+ date: 2026-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: liquid
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 3.0.0.pre.alpha.10
47
+ version: 3.0.0.pre.alpha.12
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 3.0.0.pre.alpha.10
54
+ version: 3.0.0.pre.alpha.12
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: thor
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -132,7 +132,7 @@ files:
132
132
  - templates/_index.liquid
133
133
  - templates/index-style.css
134
134
  - templates/index/page.liquid
135
- homepage: https://github.com/metanorma/relaton-cli
135
+ homepage: https://github.com/relaton/relaton
136
136
  licenses:
137
137
  - BSD-2-Clause
138
138
  metadata: {}