Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between a gemspec summary and a gemspec description?

Tags:

ruby

rubygems

When you write a gemspec file, what is the practical difference, if any, between the summary and description fields?

like image 402
dan Avatar asked Oct 24 '11 17:10

dan


1 Answers

They are used in different places. summary is seen you do gem list -d, while description is seen on http://rubygems.org. Description "should be more detailed than summary" (http://guides.rubygems.org/specification-reference/), but in reality you see

s.description = s.summary 

in .gemspecs a lot.

like image 81
Alex Peattie Avatar answered Sep 20 '22 20:09

Alex Peattie