From 4e0e6bda6fd2aa441602686083764913fbdefb6b Mon Sep 17 00:00:00 2001 From: Lee Jarvis Date: Wed, 17 Dec 2014 09:09:10 +0000 Subject: Add VERSION, stop managing it separately in gemspec --- slop.gemspec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'slop.gemspec') diff --git a/slop.gemspec b/slop.gemspec index b14425d..1720e31 100644 --- a/slop.gemspec +++ b/slop.gemspec @@ -1,6 +1,9 @@ +$:.unshift './lib' +require 'slop' + Gem::Specification.new do |s| s.name = 'slop' - s.version = '3.4.6' + s.version = Slop::VERSION s.summary = 'Simple Lightweight Option Parsing' s.description = 'A simple DSL for gathering options and parsing the command line' s.author = 'Lee Jarvis' -- cgit v1.2.1