mtik 3.0.3 → 3.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG.txt +4 -0
  2. data/VERSION.txt +1 -1
  3. data/lib/mtik.rb +1 -1
  4. metadata +12 -5
@@ -1,3 +1,7 @@
1
+ 2010-04-09 (09 APR 2010) VERSION 3.0.4 Aaron D. Gifford (http://www.aarongifford.com)
2
+ * Bug fix to lib/mtik.rb thanks to Allan Eising to the command validation regular
3
+ expression to permit the '-' character in a command. Thanks!
4
+
1
5
  2010-03-11 (11 MAR 2010) VERSION 3.0.3 Aaron D. Gifford (http://www.aarongifford.com)
2
6
  * Bug fix to lib/mtik.rb command() method so when executing multiple commands
3
7
  response array order matches command array order.
@@ -1 +1 @@
1
- 3.0.3
1
+ 3.0.4
@@ -100,7 +100,7 @@ module MTik
100
100
  cmd = args.shift
101
101
  next if cmd == ''
102
102
  break if cmd == '/quit'
103
- unless /^(?:\/[a-zA-Z0-9]+)+$/.match(cmd)
103
+ unless /^(?:\/[a-zA-Z0-9-]+)+$/.match(cmd)
104
104
  print "=== INVALID COMMAND: #{cmd}\n" if MTik::debug || MTik::verbose
105
105
  break
106
106
  end
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mtik
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ prerelease: false
5
+ segments:
6
+ - 3
7
+ - 0
8
+ - 4
9
+ version: 3.0.4
5
10
  platform: ruby
6
11
  authors:
7
12
  - Aaron D. Gifford
@@ -9,7 +14,7 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-03-11 00:00:00 -07:00
17
+ date: 2010-04-09 00:00:00 -06:00
13
18
  default_executable:
14
19
  dependencies: []
15
20
 
@@ -51,18 +56,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
51
56
  requirements:
52
57
  - - ">="
53
58
  - !ruby/object:Gem::Version
59
+ segments:
60
+ - 0
54
61
  version: "0"
55
- version:
56
62
  required_rubygems_version: !ruby/object:Gem::Requirement
57
63
  requirements:
58
64
  - - ">="
59
65
  - !ruby/object:Gem::Version
66
+ segments:
67
+ - 0
60
68
  version: "0"
61
- version:
62
69
  requirements: []
63
70
 
64
71
  rubyforge_project: mtik
65
- rubygems_version: 1.3.5
72
+ rubygems_version: 1.3.6
66
73
  signing_key:
67
74
  specification_version: 3
68
75
  summary: MTik implements the MikroTik RouterOS API for use in Ruby.