lib/seedling/bin.rb in seedling-0.0.5 vs lib/seedling/bin.rb in seedling-0.0.6

- old
+ new

@@ -155,10 +155,10 @@ def plant_defaults(o = {:lib_name => "Seedling"}) # this shouldn't happen, but if so let's be descriptive raise "plant_defaults requires a :lib_name in the calling argument" unless o[:lib_name] o[:lib_name_u] = o[:lib_name].underscore [:author_name, :author_email].each do |opt| - o[opt] = self.send(opt) + o[opt] ||= self.send(opt) end o[:summary] ||= "The #{o[:lib_name].classify.titleize} library, by #{o[:author_name]}" o[:description] ||= o[:summary] o[:version] ||= "0.0.1" o[:test_suite] ||= "bacon"