mtik_directory_2_address_list 1.0.3 → 1.0.4

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.
@@ -20,7 +20,7 @@ class Args
20
20
 
21
21
  def parse
22
22
  opts = OptionParser.new
23
- opts.banner = 'Usage: <host> <username> <password> <dir> [options]'
23
+ opts.banner = 'Usage: <dir> <host> <username> <password> [options]'
24
24
 
25
25
  opts.separator ''
26
26
  opts.separator 'Options:'
@@ -50,11 +50,11 @@ class Args
50
50
  end
51
51
 
52
52
  def directory
53
- ARGV[3]
53
+ ARGV[0]
54
54
  end
55
55
 
56
56
  def mikrotik
57
- Hash[[:host, :user, :pass].zip(ARGV[0, 3])]
57
+ Hash[[:host, :user, :pass].zip(ARGV[1, 3])]
58
58
  end
59
59
  end
60
60
 
@@ -1,3 +1,3 @@
1
1
  module MtikDirectory2AddressList
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mtik_directory_2_address_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: