diff options
author | obache <obache@pkgsrc.org> | 2014-07-20 01:11:28 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-07-20 01:11:28 +0000 |
commit | a33d9dd9f2ef260ddf4a3b93269c7a903f68955a (patch) | |
tree | 37d491f2f191e538145550ed8daa2cd17629fe3f /lang/ruby/files | |
parent | f6cb7aee7c2302b20d45ed921fb931f9c7718841 (diff) | |
download | pkgsrc-a33d9dd9f2ef260ddf4a3b93269c7a903f68955a.tar.gz |
Allow '.' in gem name, for http_parser.rb gem.
Diffstat (limited to 'lang/ruby/files')
-rw-r--r-- | lang/ruby/files/update-gemspec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/ruby/files/update-gemspec.rb b/lang/ruby/files/update-gemspec.rb index 1723b7fe1c7..1c54b74acac 100644 --- a/lang/ruby/files/update-gemspec.rb +++ b/lang/ruby/files/update-gemspec.rb @@ -1,7 +1,7 @@ #!/usr/pkg/bin/ruby # -*- coding: utf-8 -*- # -# $NetBSD: update-gemspec.rb,v 1.6 2013/03/08 10:14:18 taca Exp $ +# $NetBSD: update-gemspec.rb,v 1.7 2014/07/20 01:11:28 obache Exp $ # # Copyright (c) 2011, 2012, 2013 The NetBSD Foundation, Inc. # All rights reserved. @@ -77,7 +77,7 @@ class GemSpecUpdater elsif not key.nil? @attr[key].push ru unless key.nil? else - if /([a-z0-9_:-]+)([=!><\~][=>]*)(.*)/ =~ ru + if /([a-z0-9_.:-]+)([=!><\~][=>]*)(.*)/ =~ ru names = $1 op = $2 ver = $3 |