Permalink
Browse files

Fix pattern matching homepage

  • Loading branch information...
1 parent a9f034a commit 5547f56b05da65cdcb52d5b9d6fb8895a8511a57 @tpope committed Aug 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rubygems/commands/clone_command.rb
@@ -31,7 +31,7 @@ def execute
find_by_name(name).homepage
rescue Gem::LoadError
json = get_json(name)
- json[/"homepage_uri":\s*([^"]*)"/, 1]
+ json[/"homepage_uri":\s*"([^"]*)"/, 1]
end
unless url = repo(homepage)

0 comments on commit 5547f56

Please sign in to comment.