Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use parens in regexp in gemspec fixing #93. [bug]

  • Loading branch information...
commit 22f195130c5fc8998635d05afdb870fea93e7e21 1 parent 3b8c044
@trans trans authored Tom Mornini committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  .gemspec
View
2  .gemspec
@@ -157,7 +157,7 @@ module DotRuby
end
# determine homepage from resources
- homepage = metadata['resources'].find{ |r| r['type'] =~ /^home/ || r['name'] =~ /^home|web/ }
+ homepage = metadata['resources'].find{ |r| r['type'] =~ /^home/ || r['name'] =~ /^(home|web)/ }
gemspec.homepage = homepage['uri'] if homepage
gemspec.require_paths = metadata['load_path'] || ['lib']
Please sign in to comment.
Something went wrong with that request. Please try again.