relaton-cli 1.19.0 → 1.19.1

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: c4cc7b7a7da76d043e0da80641006a5e90b76ba6983c19adca9940130619b26d
4
- data.tar.gz: 7c81c109a19135188353a97d243445ea141cec69211404514f00899ee2182826
3
+ metadata.gz: 63fe3e2ec5d3090314060e5874536a1cf47a95c0ac783ef0a7bc112bf11c2e0e
4
+ data.tar.gz: d3dce5df72b33ef400c3d550e2974bc9ae33c1432a667860d76535d33bfe96a6
5
5
  SHA512:
6
- metadata.gz: 7e7b4b0485d49cb95fd10e3557551095516fccd041fff16707b4143047e9a1e07cc00d6eb9e8a5e9384e32bd9f0fb783eac170d320d3c74d633f9e2d38b951a5
7
- data.tar.gz: 13c1eba87f92bb02d2b5d5af83e10ccac18c36143452af40b61af24a4ac39bae402bd664b71aa634a33cbd43bc66491a4a2ea25c74d558867062794d7a4403a7
6
+ metadata.gz: 1407c0c084bc68d3d4719ee2d819e3a651c7f4fefec0a208ec5e856a4632c1cc9aea7d6f2f4214f64ff5a2f5d68fb7f025088863c6f79d114a610a27aad5d360
7
+ data.tar.gz: 8b07e1115e3012cb87099a93bf99722f6c32d2f66f2a70a8a8e6d8b984f476d62ee2891ab478641cf8ee5eedab6257fb055d80e3748d7cb0ba08abb72c11e5e9
data/docs/README.adoc CHANGED
@@ -49,7 +49,7 @@ Fetch the Relaton XML entry corresponding to the document identifier `CODE`.
49
49
 
50
50
  * `YEAR` is optional and specifies the year of publication of the standard.
51
51
  * `FORMAT` is optional, and specifies the output format; the recognized values for `FORMAT` are `xml` (default), yaml, `bibtex`.
52
- * `TYPE` is optional and specifies the standards class library to be used, that the identifier is part of. The recognized values for `TYPE` are: `3GPP`, `BIPM`, `CCTF`, `CCDS`, `CGPM`, `CIPM`, `JCRB`, `JCGM`, `BSI`, `BS`, `PD`, `CC`, `CCSDS`, `CEN`, `EN`, `ENV`, `CWA`, `HD`, `CR`, `CIE`, `DOI`, `ECMA`, `ETSI`, `CN`, `GB`, `GB/T`, `GB/Z`, `IANA`, `IEC`, `CISPR`, `IEV`, `IEEE`, `ANSI`, `NACE`, `AIEE`, `ASA`, `IRE`, `IETF`, `RFC`, `BCP`, `FYI`, `STD`, `I-D`, `IHO`, `ISBN`, `ISO`, `ISO/IEC`, `ITU`, `JIS`, `TR`, `NIST`, `NBS`, `NISTGCR`, `ITL Bulletin`, `JPCRD`, `NISTIR`, `CSRC`, `FIPS`, `OASIS`, `OGC`, `OMG`, `UN`, `W3C`, `XEP`.
52
+ * `TYPE` is optional and specifies the standards class library to be used, that the identifier is part of. The recognized values for `TYPE` are: `3GPP`, `BIPM`, `CCTF`, `CCDS`, `CGPM`, `CIPM`, `JCRB`, `JCGM`, `BSI`, `BS`, `PD`, `CC`, `CCSDS`, `CEN`, `EN`, `ENV`, `CWA`, `HD`, `CR`, `CIE`, `DOI`, `ECMA`, `ETSI`, `CN`, `GB`, `GB/T`, `GB/Z`, `IANA`, `IEC`, `CISPR`, `IEV`, `IEEE`, `ANSI`, `NACE`, `AIEE`, `ASA`, `IRE`, `IETF`, `RFC`, `BCP`, `FYI`, `STD`, `I-D`, `IHO`, `ISBN`, `ISO`, `ISO/IEC`, `ITU`, `JIS`, `TR`, `NIST`, `NBS`, `NISTGCR`, `ITL Bulletin`, `JPCRD`, `NISTIR`, `CSRC`, `FIPS`, `OASIS`, `OGC`, `OMG`, `UN`, `W3C`, `XEP`, `PLATEAU`.
53
53
  * `RETRIES` is optional, number of network retries (default 1).
54
54
  * `--all-parts` fetch all parts.
55
55
  * `--keep-year` undated reference should return an actual reference with year.
@@ -66,7 +66,7 @@ Fetch all the documents from a `DATASET` source and save them to a folder `DIR`
66
66
 
67
67
  The following datasets are available:
68
68
 
69
- * `nist-tech-pubs` - https://raw.githubusercontent.com/usnistgov/NIST-Tech-Pubs/nist-pages/xml/allrecords.xml
69
+ * `nist-tech-pubs` - https://github.com/usnistgov/NIST-Tech-Pubs/releases/download/May2024/allrecords-MODS.xml
70
70
  * `cie-techstreet` - https://www.techstreet.com/cie/searches/31156444
71
71
  * `calconnect-org` - https://standards.calconnect.org/relaton/index.yaml
72
72
  * `ogc-naming-authority` - https://raw.githubusercontent.com/opengeospatial/NamingAuthority/master/incubation/bibliography/bibliography.json
@@ -74,8 +74,8 @@ The following datasets are available:
74
74
  * `w3c-rdf` - http://www.w3.org/2002/01/tr-automation/tr.rdf
75
75
  * `w3c-tr-archive` - looks for the W3C archive dataset in local `./w3c-tr-archive` directory. The dataset could be downloaded from https://github.com/relaton/w3c-tr-archive repository
76
76
  * `iana-registries` - https://github.com/ietf-ribose/iana-registries
77
- * `status-smg-3GPP` - updates previously downloaded data if a new archive is available in ftp://www.3gpp.org/Information/Databases/Spec_Status/
78
- * `status-smg-3GPP-force` - download data from the latest archive in ftp://www.3gpp.org/Information/Databases/Spec_Status/
77
+ * `status-smg-3GPP` - updates previously downloaded data if a new archive is available in ftp://www.3gpp.org/Information/Databases/
78
+ * `status-smg-3GPP-force` - download data from the latest archive in ftp://www.3gpp.org/Information/Databases/
79
79
  * `ietf-rfcsubseries` - https://www.rfc-editor.org/rfc-index.xml (`<bcp-entry>`, `<fyi-entry>`, `<std-entry>`)
80
80
  * `ietf-internet-drafts` - looks for the Internet-Drafts dataset in the local `./bibxml-ids` directory. The dataset could be downloaded using `rsync -avcizxL rsync.ietf.org::bibxml-ids ./bibxml-ids` command.
81
81
  * `ietf-rfc-entries` - https://www.rfc-editor.org/rfc-index.xml (`<rfc-entry>`)
@@ -86,6 +86,8 @@ The following datasets are available:
86
86
  * `itu-r` - https://extranet.itu.int/brdocsearch
87
87
  * `ccsds` - https://public.ccsds.org/Publications/AllPubs.aspx
88
88
  * `etsi-csv` - https://www.etsi.org/
89
+ * `plateau-handbooks` - https://www.mlit.go.jp/plateau/_next/data/1.3.0/libraries/handbooks.json
90
+ * `plateau-technical-reports` - https://www.mlit.go.jp/plateau/_next/data/1.3.0/libraries/technical-reports.json
89
91
 
90
92
  Options:
91
93
 
@@ -1,5 +1,5 @@
1
1
  module Relaton
2
2
  module Cli
3
- VERSION = "1.19.0".freeze
3
+ VERSION = "1.19.1".freeze
4
4
  end
5
5
  end
data/lib/relaton/cli.rb CHANGED
@@ -46,7 +46,8 @@ module Relaton
46
46
  puts "relaton-bib => #{RelatonBib::VERSION}"
47
47
  puts "relaton-iso-bib => #{RelatonIsoBib::VERSION}"
48
48
  registry.processors.each_key do |k|
49
- klass = "#{k.to_s.split('_').map(&:capitalize).join}::VERSION"
49
+ klass = registry.send(:camel_case, k.to_s)
50
+ klass = "#{klass}::VERSION"
50
51
  version = Kernel.const_get(klass)
51
52
  puts "#{k.to_s.sub('_', '-')} => #{version}"
52
53
  end
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.0"
26
+ spec.add_runtime_dependency "relaton", "~> 1.19.1"
27
27
  spec.add_runtime_dependency "thor"
28
28
  spec.add_runtime_dependency "thor-hollaback"
29
29
  end
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.0
4
+ version: 1.19.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: 2024-07-04 00:00:00.000000000 Z
11
+ date: 2024-07-25 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.0
33
+ version: 1.19.1
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.0
40
+ version: 1.19.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: thor
43
43
  requirement: !ruby/object:Gem::Requirement