relaton-cli 0.8.6 → 0.8.7

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: 9e92b840207550a2f9a1d8f9ec25ba318961ebddcfa6e8a2a19b48ff531d9454
4
- data.tar.gz: c137f99cd4b3c48688a2b6c53be14fd0f6496028288f97b536d296a61f0b77ea
3
+ metadata.gz: 42ec0e9f67c99d26c92c2064a3f650b36884507be4ef71fb44cb5b2b106e7196
4
+ data.tar.gz: 2736894c47c5a0d82e8f685f8b83c62c75bf2aa5b0e1abb22304214ded35070e
5
5
  SHA512:
6
- metadata.gz: 3fb5300b2701b4fcca6c7da00a16ca3f58fa07e22c987e1b8a0757037fbd93c0b28e294b71454f7cd722196b26056ab3c22df2da8d6c26cf4177287217f71bd7
7
- data.tar.gz: 93735d8cf0d650eb410e65f46999f3eafcd0b3de91a2a88c44be7cfeb07a4c5d830e3e979fd42d8abd75f60b5a1371cedae21fa72885cd1767f7317e92dd6441
6
+ metadata.gz: ed58412eb9699c5d163dc6261671d54dd4cbc811132793963f999e310ad216278f1f2e7bccd4945c0a5b43c7aca054e80ea520a7293013e416cf4522d539f437
7
+ data.tar.gz: 02e555000e067bd3b23f41f4018fa6e2601377b520ec465c191dea6123c450ee57db0c8f0257847c72352f77ef0255d4e91d4fb72f605c16d59f5b6d19ab540b
@@ -111,6 +111,5 @@ module Relaton
111
111
 
112
112
  { "root" => a }
113
113
  end
114
-
115
114
  end
116
115
  end
@@ -61,7 +61,7 @@ module Relaton
61
61
  end
62
62
 
63
63
  def to_h
64
- URL_TYPES.reduce(@bibitem.to_hash) do |h, t|
64
+ URL_TYPES.reduce({ items: [] }.merge(@bibitem.to_hash)) do |h, t|
65
65
  value = self.send t
66
66
  h[t.to_s] = value
67
67
  h
@@ -1,5 +1,5 @@
1
1
  module Relaton
2
2
  module Cli
3
- VERSION = "0.8.6".freeze
3
+ VERSION = "0.8.7".freeze
4
4
  end
5
5
  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.8.6
4
+ version: 0.8.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-26 00:00:00.000000000 Z
11
+ date: 2020-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake