bundle_info 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/bundle_info/version.rb +1 -1
- data/lib/bundle_info.rb +8 -2
- metadata +1 -1
data/lib/bundle_info/version.rb
CHANGED
data/lib/bundle_info.rb
CHANGED
@@ -20,8 +20,14 @@ module BundleInfo
|
|
20
20
|
end
|
21
21
|
gems.dependencies.map do |dep|
|
22
22
|
info = Gems.info dep.name
|
23
|
-
|
24
|
-
|
23
|
+
output = "#{dep.name}:".green
|
24
|
+
if info
|
25
|
+
desc = info['info'].gsub(/\n/, '')
|
26
|
+
output += " #{desc.truncate(80)}"
|
27
|
+
else
|
28
|
+
output += " Not found on rubygems.org"
|
29
|
+
end
|
30
|
+
puts output
|
25
31
|
end
|
26
32
|
end
|
27
33
|
end
|