debendencies 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/debendencies/cli.rb +2 -1
- data/lib/debendencies/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 817968c6c63af2d8f361e1a881ee7221673de04b0304bd13ddb7f2b5536f2599
|
4
|
+
data.tar.gz: c52a8958c2b4cf3e291e7bfcddf7626e2b1181f7b6a395c5d79e1d1d7cc0ab30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9308e8e793c7fe113d48bab942837e7348cb358d3459f07d1a47c2a061586d6bd1a34a8664eb9f48c4904a862a775e65b1ccde78f847db24d93fdf960bb4f4e0
|
7
|
+
data.tar.gz: 346ff3cbd193b5fc567bbe25bc5209d689c3f814ba16364e8953a0dcdf4470e950e5d4ff4a85d56d1d357629ef8200480a832d9a41359176439d05a88946e450
|
data/lib/debendencies/cli.rb
CHANGED
@@ -31,7 +31,8 @@ class Debendencies
|
|
31
31
|
|
32
32
|
case @options[:format]
|
33
33
|
when "oneline"
|
34
|
-
|
34
|
+
output = dependencies.map { |d| d.to_s }.join(", ")
|
35
|
+
puts output unless output.empty?
|
35
36
|
when "multiline"
|
36
37
|
dependencies.each { |d| puts d.to_s }
|
37
38
|
when "json"
|
data/lib/debendencies/version.rb
CHANGED