relaton-cli 1.9.2 → 1.9.3
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 +4 -4
- data/docs/README.adoc +9 -1
- data/lib/relaton/cli/command.rb +1 -1
- data/lib/relaton/cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8bae2b8248683a44779dd5aa26bebb771457a250ed4cd7ed593622505e6f0e62
|
|
4
|
+
data.tar.gz: 7bd70875874902cea3dd3c0b2098dc8d1f4b48583b07ada0e014a2e3f04f2aac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c87d54b87fe81b7950b7977c31bd35e29fcb297d456575f654ba8485dee0b36afdad9e304d92c4c64cb2a0abedb982e6c93a05f102e4356e50a983aa01985d33
|
|
7
|
+
data.tar.gz: a501917c8cfa0772a18a12742acde2efe4195f56019fd4b524fd9bf718dc65a8083c4682be3aa1fa9ff22fec8753e926eefa0585da3b09037a24e0f89b1647e3
|
data/docs/README.adoc
CHANGED
|
@@ -66,11 +66,19 @@ Fetch all the documents from a `DATASET` source and save them to a folder `DIR`
|
|
|
66
66
|
Foloowing datasets are availabe:
|
|
67
67
|
|
|
68
68
|
* `nist-tech-pubs` - https://raw.githubusercontent.com/usnistgov/NIST-Tech-Pubs/nist-pages/xml/allrecords.xml
|
|
69
|
+
* `cie-techstreet` - https://www.techstreet.com/cie/searches/31156444
|
|
70
|
+
* `calconnect-org` - https://standards.calconnect.org/relaton/index.yaml
|
|
71
|
+
* `ogc-naming-authority` - https://raw.githubusercontent.com/opengeospatial/NamingAuthority/master/incubation/bibliography/bibliography.json
|
|
72
|
+
* `ieee-rawbib` - looks for the IEEE dataset in local `./ieee-rawbib` directory. The dataset could be downloaded from https://github.com/ietf-ribose/ieee-rawbib repository
|
|
73
|
+
* `w3c-rdf` - http://www.w3.org/2002/01/tr-automation/tr.rdf
|
|
74
|
+
* `iana-registries` - https://github.com/ietf-ribose/iana-registries
|
|
69
75
|
|
|
70
76
|
Options:
|
|
71
77
|
|
|
72
78
|
* `DIR` - floder name to store documents (default `./data`).
|
|
73
|
-
* `FORMAT` - format in which the documents are saved. Possimle formats are: `yaml`, `xml` (default `yaml`).
|
|
79
|
+
* `FORMAT` - format in which the documents are saved. Possimle formats are: `yaml`, `xml`, `bibxml` (default `yaml`).
|
|
80
|
+
|
|
81
|
+
=== relaton extract
|
|
74
82
|
|
|
75
83
|
[source,console]
|
|
76
84
|
----
|
data/lib/relaton/cli/command.rb
CHANGED
|
@@ -144,7 +144,7 @@ module Relaton
|
|
|
144
144
|
|
|
145
145
|
desc "fetch-data SOURCE", "Fetch all the documents from a source"
|
|
146
146
|
option :output, aliases: :o, desc: "Output dir. Default: ./data/"
|
|
147
|
-
option :format, aliases: :f, desc: "Output format (yaml, xml). Default: yaml"
|
|
147
|
+
option :format, aliases: :f, desc: "Output format (yaml, xml, bibxml). Default: yaml"
|
|
148
148
|
|
|
149
149
|
def fetch_data(source)
|
|
150
150
|
DataFetcher.fetch source, options
|
data/lib/relaton/cli/version.rb
CHANGED
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.9.
|
|
4
|
+
version: 1.9.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: 2021-
|
|
11
|
+
date: 2021-11-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: byebug
|