Skip to content

Commit

Permalink
Use parens in regexp in gemspec fixing turn-project#93. [bug]
Browse files Browse the repository at this point in the history
  • Loading branch information
trans authored and Tom Mornini committed Jul 25, 2012
1 parent 3b8c044 commit 22f1951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gemspec
Expand Up @@ -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']
Expand Down

0 comments on commit 22f1951

Please sign in to comment.