idcfcloud 1.1.6 → 1.1.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '07987aa4fc031d644c8b54e09ffd12c1d77e0ffb8620e35f3fbfdb907773c534'
|
4
|
+
data.tar.gz: ea31ccf324f5117e27b367af76a12bfb82bcb9387ed7e9b2b1ab73050d1c829a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35296b91a7a22076556706a583b3e2fd97be1833620569e2e9b80259f1ef2387e7a299b68adfbdd2271031c7ba6e5a51ca86834d42ac8e4ac11619e0a829138f
|
7
|
+
data.tar.gz: 2a9481c9c52f7781c8f115b4d77a6b225149f15455882b8a099e39cc08faf412fec72383cb6ab992d103cf61fc51e0046a3bb0ccf94fe8d4d5a03ca1441e8eab
|
data/CHANGELOG.md
CHANGED
@@ -25,20 +25,18 @@ module Idcf
|
|
25
25
|
return [] if list.size.zero?
|
26
26
|
|
27
27
|
result = []
|
28
|
-
headers = make_header(list
|
28
|
+
headers = make_header(list)
|
29
29
|
result << headers
|
30
30
|
push_list(list, headers, result)
|
31
31
|
end
|
32
32
|
|
33
|
-
def make_header(
|
34
|
-
|
35
|
-
if first_list.class == Hash
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
result = [*(0..(first_list.size - 1))]
|
41
|
-
end
|
33
|
+
def make_header(list)
|
34
|
+
first_list = list.first
|
35
|
+
result = if first_list.class == Hash
|
36
|
+
list.map(&:keys).flatten.uniq
|
37
|
+
else
|
38
|
+
[*(0..(first_list.size - 1))]
|
39
|
+
end
|
42
40
|
result
|
43
41
|
end
|
44
42
|
|
data/lib/idcf/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: idcfcloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IDC Frontier Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -360,7 +360,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
360
360
|
version: '0'
|
361
361
|
requirements: []
|
362
362
|
rubygems_version: 3.1.6
|
363
|
-
signing_key:
|
363
|
+
signing_key:
|
364
364
|
specification_version: 4
|
365
365
|
summary: IDCF Cli tools
|
366
366
|
test_files: []
|