murakumo 0.3.6 → 0.3.7

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.
data/lib/cli/mrkmctl.rb CHANGED
@@ -35,6 +35,7 @@ begin
35
35
  end
36
36
 
37
37
  r[3] = priority
38
+ r[4] = '-' if r[4].zero?
38
39
  r[5] = (r[5] == Murakumo::ACTIVE ? 'Active' : 'Inactive')
39
40
  end
40
41
 
@@ -51,7 +52,7 @@ IP address TTL Priority Weight Activity Hostname
51
52
  --------------- ------ --------- ------ -------- ----------
52
53
  EOF
53
54
  records.each do |r|
54
- puts '%-15s %6d %-9s %6d %-8s %s' % r.values_at(0, 2, 3, 4, 5, 1)
55
+ puts '%-15s %6d %-9s %6s %-8s %s' % r.values_at(0, 2, 3, 4, 5, 1)
55
56
  end
56
57
  end
57
58
 
@@ -1,5 +1,5 @@
1
1
  module Murakumo
2
- VERSION = '0.3.6'
2
+ VERSION = '0.3.7'
3
3
 
4
4
  # Priority
5
5
  MASTER = 1
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: murakumo
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 6
10
- version: 0.3.6
9
+ - 7
10
+ version: 0.3.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - winebarrel
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-12-04 00:00:00 Z
18
+ date: 2011-12-05 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rubydns