lib/rocktumbler/gem.rb in rocktumbler-0.1.3 vs lib/rocktumbler/gem.rb in rocktumbler-0.2.0
- old
+ new
@@ -25,10 +25,9 @@
str += format_homepage(gem_info.homepage, prepend) if @opts.gem_homepage
str += "#{prepend}gem '#{@gem_dep.name}'"
str += format_requirement || ''
str += format_source
str += format_require(@gem_dep.autorequire)
- str
end
def format_requirement
", '#{@gem_dep.requirement}'" unless @gem_dep.requirement.none?
end