md_inc 0.2.4 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/md_inc +5 -0
- data/lib/md_inc/md_inc_commands.rb +3 -1
- data/lib/md_inc/version.rb +1 -1
- metadata +1 -1
data/bin/md_inc
CHANGED
@@ -10,6 +10,11 @@ op = OptionParser.new do |op|
|
|
10
10
|
exit 0
|
11
11
|
end
|
12
12
|
|
13
|
+
op.on "-v", "--version", "Print gem version" do
|
14
|
+
puts "MdInc version #{MdInc::VERSION}"
|
15
|
+
exit 0
|
16
|
+
end
|
17
|
+
|
13
18
|
op.on "-i dir", "--include dir", "Add this directory to the Ruby path" do |dir|
|
14
19
|
$: << dir
|
15
20
|
end
|
data/lib/md_inc/version.rb
CHANGED