relaton-cli 1.19.1 → 1.19.3

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: 63fe3e2ec5d3090314060e5874536a1cf47a95c0ac783ef0a7bc112bf11c2e0e
4
- data.tar.gz: d3dce5df72b33ef400c3d550e2974bc9ae33c1432a667860d76535d33bfe96a6
3
+ metadata.gz: faecd52a59aad2e40f78a05eeaf36efdbd02bb24f763c0aefb55b5a7989d6ff5
4
+ data.tar.gz: def549db6f1cd24c9705628711ce30fa0bd02abc605425fa45e736e5650dcdeb
5
5
  SHA512:
6
- metadata.gz: 1407c0c084bc68d3d4719ee2d819e3a651c7f4fefec0a208ec5e856a4632c1cc9aea7d6f2f4214f64ff5a2f5d68fb7f025088863c6f79d114a610a27aad5d360
7
- data.tar.gz: 8b07e1115e3012cb87099a93bf99722f6c32d2f66f2a70a8a8e6d8b984f476d62ee2891ab478641cf8ee5eedab6257fb055d80e3748d7cb0ba08abb72c11e5e9
6
+ metadata.gz: 7e1e4adaed698092371b0a12d46a9e6aa798f5bee6a81a4f54a3725f17547d9f4bf60da182c4f259004b613fd5625ba0c187977e6187de9a1d64c4d0efe35267
7
+ data.tar.gz: 363e264850ac9a36d756b3b98d76cc0ada5e7c94d1d57cf2b307bc5c2276bc3f2b6207e9774d5d71a40079b261f9001303a18ebfcfa3cea340494b6baf1c932a
@@ -1,5 +1,5 @@
1
1
  module Relaton
2
2
  module Cli
3
- VERSION = "1.19.1".freeze
3
+ VERSION = "1.19.3".freeze
4
4
  end
5
5
  end
data/lib/relaton/cli.rb CHANGED
@@ -40,12 +40,15 @@ module Relaton
40
40
 
41
41
  class << self
42
42
  def version
43
+ require "relaton_bib"
44
+ require "relaton_iso_bib"
43
45
  registry = Relaton::Registry.instance
44
46
  puts "CLI => #{Relaton::Cli::VERSION}"
45
47
  puts "relaton => #{Relaton::VERSION}"
46
48
  puts "relaton-bib => #{RelatonBib::VERSION}"
47
49
  puts "relaton-iso-bib => #{RelatonIsoBib::VERSION}"
48
50
  registry.processors.each_key do |k|
51
+ require k.to_s
49
52
  klass = registry.send(:camel_case, k.to_s)
50
53
  klass = "#{klass}::VERSION"
51
54
  version = Kernel.const_get(klass)
data/relaton-cli.gemspec CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.required_ruby_version = ">= 3.0.0"
24
24
 
25
25
  spec.add_runtime_dependency "liquid", "~> 5"
26
- spec.add_runtime_dependency "relaton", "~> 1.19.1"
26
+ spec.add_runtime_dependency "relaton", "~> 1.19.2"
27
27
  spec.add_runtime_dependency "thor"
28
28
  spec.add_runtime_dependency "thor-hollaback"
29
29
  end
@@ -16,10 +16,16 @@
16
16
  </div>
17
17
 
18
18
  <div class="doc-type-wrap">
19
- <div class="doc-type {{ document.type | downcase | split: " " | join: "-" }}">
20
- {{ document.doctype }}
19
+ <div class="doc-type {{ document.doctype.type | downcase | split: " " | join: "-" }}">
20
+ {{ document.doctype.type }}
21
21
  </div>
22
22
  </div>
23
+
24
+ {% if document.edition.content %}
25
+ <div class="doc-identifier">
26
+ Edition: {{ document.edition.content }}
27
+ </div>
28
+ {% endif %}
23
29
  </div>
24
30
 
25
31
  <div class="doc-title">
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: 1.19.1
4
+ version: 1.19.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: liquid
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.19.1
33
+ version: 1.19.2
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.19.1
40
+ version: 1.19.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: thor
43
43
  requirement: !ruby/object:Gem::Requirement