lib/grub/gem_line.rb in grub-0.0.5 vs lib/grub/gem_line.rb in grub-0.0.6
- old
+ new
@@ -54,10 +54,10 @@
"#{spec.homepage.to_s}" if spec
end
def description_and_website
output = "#{description}"
- output << " (#{website})" unless website.empty?
+ output << " (#{website})" unless website.nil? || website.empty?
output
end
end
end