relaton-cli 0.8.3 → 0.8.4

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: f9ef325f58cbd1c5b987d475ecfc30db467eb859e81b6bd8e8ea8de88653a12b
4
- data.tar.gz: 7288906a83d3c57a3e8c3cc9812a99ccd5fd4f46df08dbde3da79ac8d19737dc
3
+ metadata.gz: 3f0916d1d6fef45c2de0f3d48059ac096c8999968f07932501958b8a1a19fd69
4
+ data.tar.gz: 48f4cd861c5b449a15a8752237ccef556a2213e7c7e5676c97eb53350668d53a
5
5
  SHA512:
6
- metadata.gz: a1ec9ae007dbed7d763af7d7359771ef65ddb968acde5fd7e835b2f52909b399b31f5afdeb50e61b8146b602f043403160acec6268a22207df32336ac316d351
7
- data.tar.gz: f3570c164895b873e37e41c65679ae4ea7ea0ddbf1dc452d6513e66dbb3c2067d463e4f9f14950470d755968fd3f223767d3071ab512749799c3ba6a0abf36b1
6
+ metadata.gz: b0bdbb4bcf160f3360e7c336fe68ec02d30f5ed23caef2ad94f1cfc08725b61b6774eaba5cd7f10fb3630c4cbe1b99bcec1268ac603d4b38106003652d72c351
7
+ data.tar.gz: 1ae1189d0e97dac1d1d46c567b16f45dd0a3493fc15437812840a1ea3fac06cf163f504431a421f21760f1dd19bce9f1fc9c857504c5e1d21985ce39447ac607
@@ -1,5 +1,5 @@
1
1
  module Relaton
2
2
  module Cli
3
- VERSION = "0.8.3".freeze
3
+ VERSION = "0.8.4".freeze
4
4
  end
5
5
  end
@@ -65,6 +65,8 @@ module Relaton::Cli
65
65
  if key == "title" && value.is_a?(Array)
66
66
  title = value.detect { |t| t["type"] == "main" } || value.first
67
67
  v = title ? title["content"] : nil
68
+ elsif key == "title" && value.is_a?(Hash)
69
+ v = value["content"]
68
70
  else
69
71
  v = value
70
72
  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.3
4
+ version: 0.8.4
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-06 00:00:00.000000000 Z
11
+ date: 2020-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake