relaton-cli 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +12 -12
- data/lib/relaton/cli/version.rb +1 -1
- data/lib/relaton/cli/yaml_convertor_new.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9258ad7558e7e81419c4ca78557a2ea3afb8c6cb1c4a636a05661c30547f0a19
|
4
|
+
data.tar.gz: 4ba11ef2a488a2f4870e6bfef619cb85a489ebe13623cbae818d0d7dfe0abf56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b0d7f14678c0a29400ef54bbbdddeb0aa6749e2dad774ff0c9b163772029cd6e8ade004d4a993cd042dabc465f2b9509cc1b587b218f23ce5548255bf44da31
|
7
|
+
data.tar.gz: 71b2fd09a714aa4e2ecce473b4e205288cb4b6ffb72d2455d629061891ba62bdf57076809fc3d929d8cccdd425bbe3dd4657dc8d2dfb2d6481259031178980a6
|
data/Gemfile.lock
CHANGED
@@ -11,13 +11,13 @@ GEM
|
|
11
11
|
specs:
|
12
12
|
addressable (2.6.0)
|
13
13
|
public_suffix (>= 2.0.2, < 4.0)
|
14
|
-
algoliasearch (1.26.
|
14
|
+
algoliasearch (1.26.1)
|
15
15
|
httpclient (~> 2.8, >= 2.8.3)
|
16
16
|
json (>= 1.5.1)
|
17
17
|
byebug (10.0.2)
|
18
18
|
cnccs (0.1.3)
|
19
19
|
coderay (1.1.2)
|
20
|
-
debase (0.2.
|
20
|
+
debase (0.2.3)
|
21
21
|
debase-ruby_core_source (>= 0.10.2)
|
22
22
|
debase-ruby_core_source (0.10.5)
|
23
23
|
diff-lcs (1.3)
|
@@ -37,7 +37,7 @@ GEM
|
|
37
37
|
coderay (~> 1.1.0)
|
38
38
|
method_source (~> 0.9.0)
|
39
39
|
public_suffix (3.1.1)
|
40
|
-
rake (12.3.
|
40
|
+
rake (12.3.3)
|
41
41
|
relaton (0.5.0)
|
42
42
|
algoliasearch
|
43
43
|
relaton-gb (~> 0.6.0)
|
@@ -47,22 +47,22 @@ GEM
|
|
47
47
|
relaton-iso-bib (~> 0.3.0)
|
48
48
|
relaton-itu (~> 0.3.0)
|
49
49
|
relaton-nist (~> 0.3.0)
|
50
|
-
relaton-bib (0.3.
|
50
|
+
relaton-bib (0.3.3)
|
51
51
|
addressable
|
52
52
|
nokogiri (~> 1.10)
|
53
|
-
relaton-gb (0.6.
|
53
|
+
relaton-gb (0.6.1)
|
54
54
|
cnccs (~> 0.1.1)
|
55
55
|
gb-agencies (~> 0.0.1)
|
56
56
|
relaton-iso-bib (~> 0.3.0)
|
57
|
-
relaton-iec (0.4.
|
57
|
+
relaton-iec (0.4.2)
|
58
58
|
addressable
|
59
59
|
relaton-iso-bib (~> 0.3.0)
|
60
|
-
relaton-ietf (0.6.
|
61
|
-
relaton-
|
62
|
-
relaton-iso (0.6.
|
60
|
+
relaton-ietf (0.6.1)
|
61
|
+
relaton-bib (~> 0.3.0)
|
62
|
+
relaton-iso (0.6.2)
|
63
63
|
relaton-iec (~> 0.4.0)
|
64
64
|
relaton-iso-bib (~> 0.3.0)
|
65
|
-
relaton-iso-bib (0.3.
|
65
|
+
relaton-iso-bib (0.3.2)
|
66
66
|
isoics (~> 0.1.6)
|
67
67
|
relaton-bib (~> 0.3.0)
|
68
68
|
ruby_deep_clone (~> 0.8.0)
|
@@ -79,7 +79,7 @@ GEM
|
|
79
79
|
mixlib-shellout (~> 2.0)
|
80
80
|
rspec (~> 3.2)
|
81
81
|
rspec-its (~> 1.2)
|
82
|
-
rspec-core (3.8.
|
82
|
+
rspec-core (3.8.2)
|
83
83
|
rspec-support (~> 3.8.0)
|
84
84
|
rspec-expectations (3.8.4)
|
85
85
|
diff-lcs (>= 1.2.0, < 2.0)
|
@@ -113,4 +113,4 @@ DEPENDENCIES
|
|
113
113
|
ruby-debug-ide
|
114
114
|
|
115
115
|
BUNDLED WITH
|
116
|
-
2.0.
|
116
|
+
2.0.2
|
data/lib/relaton/cli/version.rb
CHANGED
@@ -47,13 +47,13 @@ module Relaton
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def convert_single_file(content)
|
50
|
-
RelatonBib::BibliographicItem.new(RelatonBib::hash_to_bib(content))
|
50
|
+
RelatonBib::BibliographicItem.new(RelatonBib::HashConverter::hash_to_bib(content))
|
51
51
|
end
|
52
52
|
|
53
53
|
def convert_collection(content)
|
54
54
|
if content.has_key?("root")
|
55
55
|
content["root"]["items"] = content["root"]["items"].map do |i|
|
56
|
-
RelatonBib::hash_to_bib(i)
|
56
|
+
RelatonBib::HashConverter::hash_to_bib(i)
|
57
57
|
end
|
58
58
|
Relaton::BibcollectionNew.new(content["root"])
|
59
59
|
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: 0.3.
|
4
|
+
version: 0.3.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: 2019-
|
11
|
+
date: 2019-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -245,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
245
245
|
version: '0'
|
246
246
|
requirements: []
|
247
247
|
rubyforge_project:
|
248
|
-
rubygems_version: 2.6
|
248
|
+
rubygems_version: 2.7.6
|
249
249
|
signing_key:
|
250
250
|
specification_version: 4
|
251
251
|
summary: Relaton Command-line Interface
|