mmtop 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mmconfig.rb +2 -0
- 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:
|
4
|
+
hash: 63
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
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-
|
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/
|
74
|
-
- lib/
|
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/
|
82
|
-
- lib/
|
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
|