diff options
author | James Edward Gray II <james@graysoftinc.com> | 2012-01-24 08:55:00 -0600 |
---|---|---|
committer | James Edward Gray II <james@graysoftinc.com> | 2012-01-24 08:55:00 -0600 |
commit | fd87246f505080894ca7e64f366cd4a2cbeeac18 (patch) | |
tree | 9104db93a633295676e9bae97bdfc08a1af3f7f7 /highline.gemspec | |
parent | eacab7c6db937c5c9e4db3eee29867a2a0b7f257 (diff) | |
download | highline-fd87246f505080894ca7e64f366cd4a2cbeeac18.tar.gz |
Fixing version handling.
Diffstat (limited to 'highline.gemspec')
-rw-r--r-- | highline.gemspec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/highline.gemspec b/highline.gemspec index 52ca72f..fb41628 100644 --- a/highline.gemspec +++ b/highline.gemspec @@ -2,7 +2,7 @@ DIR = File.dirname(__FILE__) LIB = File.join(DIR, *%w[lib highline.rb]) VERSION = open(LIB) { |lib| lib.each { |line| - if v = line[/^\s*VERSION\s*=\s*(['"])(\d\.\d\.\d)\1/, 2] + if v = line[/^\s*VERSION\s*=\s*(['"])(\d+\.\d+\.\d+)\1/, 2] break v end } |