mmtop 0.9.1 → 0.9.2

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.
Files changed (2) hide show
  1. data/lib/mmconfig.rb +2 -0
  2. metadata +14 -14
data/lib/mmconfig.rb CHANGED
@@ -12,6 +12,8 @@ module MMTop
12
12
  user = cmdline['-u']
13
13
  pass = cmdline['-p']
14
14
  @hosts = config['hosts'].map do |h|
15
+ h = {'host' => h} if h.is_a?(String)
16
+
15
17
  h['user'] ||= (user || config['user'])
16
18
  h['password'] ||= (pass || config['password'])
17
19
  h['wedge_monitor'] ||= config['wedge_monitor']
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mmtop
3
3
  version: !ruby/object:Gem::Version
4
- hash: 57
4
+ hash: 63
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 1
10
- version: 0.9.1
9
+ - 2
10
+ version: 0.9.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ben Osheroff
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-12-09 00:00:00 +00:00
18
+ date: 2011-12-20 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -70,21 +70,21 @@ extensions: []
70
70
  extra_rdoc_files: []
71
71
 
72
72
  files:
73
- - lib/command.rb
74
- - lib/commands/basic.rb
75
- - lib/commands/filters.rb
76
- - lib/commands/kill.rb
77
- - lib/filter.rb
73
+ - lib/pid.rb
74
+ - lib/mmconfig.rb
78
75
  - lib/filters/basic.rb
79
- - lib/filters/map_topology.rb
80
76
  - lib/filters/reverse_lookup.rb
81
- - lib/host.rb
82
- - lib/mmconfig.rb
83
- - lib/pid.rb
84
- - lib/process.rb
77
+ - lib/filters/map_topology.rb
78
+ - lib/command.rb
85
79
  - lib/string_colorize.rb
80
+ - lib/process.rb
81
+ - lib/host.rb
86
82
  - lib/term_input.rb
87
83
  - lib/term_printer.rb
84
+ - lib/commands/filters.rb
85
+ - lib/commands/kill.rb
86
+ - lib/commands/basic.rb
87
+ - lib/filter.rb
88
88
  - bin/mmtop
89
89
  has_rdoc: true
90
90
  homepage: http://github.com/osheroff/mmtop