Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[Spec] Minor fix for creation from GitHub.

  • Loading branch information...
commit a79d04686141a540e99c6d24f469625cd44f029b 1 parent f78441d
Fabio Pelosin fabiopelosin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/cocoapods/command/spec.rb
2  lib/cocoapods/command/spec.rb
View
@@ -171,7 +171,7 @@ def github_data_for_template(repo_id)
data = {}
data[:name] = repo['name']
- data[:summary] = repo['description'].gsub(/["]/, '\"')
+ data[:summary] = (repo['description'] || '').gsub(/["]/, '\"')
data[:homepage] = (repo['homepage'] && !repo['homepage'].empty? ) ? repo['homepage'] : repo['html_url']
data[:author_name] = user['name'] || user['login']
data[:author_email] = user['email'] || 'email@address.com'
Please sign in to comment.
Something went wrong with that request. Please try again.