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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d66f3206b716bbd71e12453919ed08f9b99853df2cbc0315223ff56967a321ae
4
- data.tar.gz: cba59a0eb411aeab169d0688f6dd8808655ef3e0f0cec926e3c3eebd26c67aa9
3
+ metadata.gz: 817968c6c63af2d8f361e1a881ee7221673de04b0304bd13ddb7f2b5536f2599
4
+ data.tar.gz: c52a8958c2b4cf3e291e7bfcddf7626e2b1181f7b6a395c5d79e1d1d7cc0ab30
5
5
  SHA512:
6
- metadata.gz: 31edd084d3394a6e6badb9ef70458604cb034482d99b065f77f288f6247cc66e2403c410f0cc369c5ae9e2a23154b6ee35d13292685410c4375e46b9c8c8687d
7
- data.tar.gz: aa2cfd366f0ba55deee2dd469e3d40e814232e1b17fc1e58f72de7c311578244321bdda90cf35bff9602b31b34d490e32cdfecde2d81f9dcfa772a47d6811f4d
6
+ metadata.gz: 9308e8e793c7fe113d48bab942837e7348cb358d3459f07d1a47c2a061586d6bd1a34a8664eb9f48c4904a862a775e65b1ccde78f847db24d93fdf960bb4f4e0
7
+ data.tar.gz: 346ff3cbd193b5fc567bbe25bc5209d689c3f814ba16364e8953a0dcdf4470e950e5d4ff4a85d56d1d357629ef8200480a832d9a41359176439d05a88946e450
@@ -31,7 +31,8 @@ class Debendencies
31
31
 
32
32
  case @options[:format]
33
33
  when "oneline"
34
- puts dependencies.map { |d| d.to_s }.join(", ")
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"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class Debendencies
4
- VERSION_STRING = "1.0.0"
4
+ VERSION_STRING = "1.0.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: debendencies
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hongli Lai