lib/onering/cli.rb in onering-client-0.0.69 vs lib/onering/cli.rb in onering-client-0.0.70
- old
+ new
@@ -36,11 +36,11 @@
if d.is_a?(Hash)
d.coalesce.each do |k,v|
puts k.to_s+': '+v.to_s
end
else
- puts d unless d.nil? or d.empty?
+ puts d unless d.nil? or d.to_s.empty?
end
end
end
when 'json'
@@ -54,6 +54,6 @@
end
nil
end
end
-end
\ No newline at end of file
+end