summaryrefslogtreecommitdiff
path: root/lang/ruby/files
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-07-20 01:11:28 +0000
committerobache <obache@pkgsrc.org>2014-07-20 01:11:28 +0000
commita33d9dd9f2ef260ddf4a3b93269c7a903f68955a (patch)
tree37d491f2f191e538145550ed8daa2cd17629fe3f /lang/ruby/files
parentf6cb7aee7c2302b20d45ed921fb931f9c7718841 (diff)
downloadpkgsrc-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.rb4
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