Skip to content
Browse files

Allow '.' in gem name, for http_parser.rb gem.

  • Loading branch information...
1 parent 8e1d015 commit ce41326518364fa2b5964794d6fd8baee07c4706 obache committed Jul 20, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 lang/ruby/files/update-gemspec.rb
View
4 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 @@ def parse_rules(rules)
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

0 comments on commit ce41326

Please sign in to comment.
Something went wrong with that request. Please try again.