mddb 0.0.20 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,12 +15,13 @@ module Mddb::Commands
15
15
 
16
16
  def local
17
17
  ARGV.shift
18
- if ARGV.split("..").count == 2
19
- a = ARGV.split("..").map {|d| d.to_i}
18
+ arg = ARGV.first
19
+ if arg.split("..").count == 2
20
+ a = arg.split("..").map {|d| d.to_i}
20
21
  x = Mddb::Runner.new
21
22
  x.run(a[0],a[1])
22
- elsif ARGV == "all"
23
- a = ARGV.split("..").map {|d| d.to_i}
23
+ elsif arg == "all"
24
+ a = arg.split("..").map {|d| d.to_i}
24
25
  x = Mddb::Runner.new
25
26
  x.run(0,0)
26
27
  else
@@ -1,3 +1,3 @@
1
1
  module Mddb
2
- VERSION = "0.0.20"
2
+ VERSION = "0.0.21"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: mddb
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.20
5
+ version: 0.0.21
6
6
  platform: ruby
7
7
  authors:
8
8
  - Thomas Mulvaney