If a description has quotes in it we need to escape it

Otherwise we might generate some invalid specifications!
This commit is contained in:
R. Tyler Croy 2015-08-10 05:38:00 -07:00
parent e9b017db2c
commit 016272f240
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ class Gem {
Gem::Specification.new do |s|
s.name = "${name}"
s.version = "${version.version}"
s.description = "${description}"
s.description = ${JsonOutput.toJson(description)}
s.homepage = "${homepage}"
s.authors = ${JsonOutput.toJson(authors)}
s.email = "${email}"