summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorJames Edward Gray II <james@graysoftinc.com>2012-01-24 08:55:00 -0600
committerJames Edward Gray II <james@graysoftinc.com>2012-01-24 08:55:00 -0600
commitfd87246f505080894ca7e64f366cd4a2cbeeac18 (patch)
tree9104db93a633295676e9bae97bdfc08a1af3f7f7 /Rakefile
parenteacab7c6db937c5c9e4db3eee29867a2a0b7f257 (diff)
downloadhighline-fd87246f505080894ca7e64f366cd4a2cbeeac18.tar.gz
Fixing version handling.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 131eae1..86d8c23 100644
--- a/Rakefile
+++ b/Rakefile
@@ -6,7 +6,7 @@ require "rubygems"
dir = File.dirname(__FILE__)
lib = File.join(dir, "lib", "highline.rb")
-version = File.read(lib)[/^\s*VERSION\s*=\s*(['"])(\d\.\d\.\d)\1/, 2]
+version = File.read(lib)[/^\s*VERSION\s*=\s*(['"])(\d+\.\d+\.\d+)\1/, 2]
task :default => [:test]