summaryrefslogtreecommitdiff
path: root/slop.gemspec
diff options
context:
space:
mode:
authorLee Jarvis <ljjarvis@gmail.com>2014-12-17 09:09:10 +0000
committerLee Jarvis <ljjarvis@gmail.com>2014-12-17 09:09:10 +0000
commit4e0e6bda6fd2aa441602686083764913fbdefb6b (patch)
treed01e5488b6e0100bff27893876437b57d354b493 /slop.gemspec
parent94c79db0ce1df73f2a2cc5859e42adc943868959 (diff)
downloadslop-4e0e6bda6fd2aa441602686083764913fbdefb6b.tar.gz
Add VERSION, stop managing it separately in gemspec
Diffstat (limited to 'slop.gemspec')
-rw-r--r--slop.gemspec5
1 files changed, 4 insertions, 1 deletions
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'