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 +4 -4
- data/lib/relaton/cli/version.rb +1 -1
- data/lib/relaton/cli.rb +3 -0
- data/relaton-cli.gemspec +1 -1
- data/templates/_document.liquid +8 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: faecd52a59aad2e40f78a05eeaf36efdbd02bb24f763c0aefb55b5a7989d6ff5
|
4
|
+
data.tar.gz: def549db6f1cd24c9705628711ce30fa0bd02abc605425fa45e736e5650dcdeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e1e4adaed698092371b0a12d46a9e6aa798f5bee6a81a4f54a3725f17547d9f4bf60da182c4f259004b613fd5625ba0c187977e6187de9a1d64c4d0efe35267
|
7
|
+
data.tar.gz: 363e264850ac9a36d756b3b98d76cc0ada5e7c94d1d57cf2b307bc5c2276bc3f2b6207e9774d5d71a40079b261f9001303a18ebfcfa3cea340494b6baf1c932a
|
data/lib/relaton/cli/version.rb
CHANGED
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.
|
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
|
data/templates/_document.liquid
CHANGED
@@ -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.
|
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-
|
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.
|
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.
|
40
|
+
version: 1.19.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: thor
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|