Handles string for for descripiton parsing

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
This commit is contained in:
Vasu1105 2021-05-24 16:50:37 +05:30
parent cb573e6050
commit a3feab0943

View file

@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
spec.authors = ["<%= author_name %>"]
spec.email = ["<%= author_email %>"]
spec.summary = "<%= summary %>"
spec.description = "<%= description.join(" ")%>"
spec.description = "<%= description.is_a?(Array) ? description.join(" "): description %>"
spec.homepage = "<%= homepage %>"
spec.license = "<%= license_name %>"