mmtop 0.9.8 → 0.9.9
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/mmtop/commands/kill.rb +1 -1
- data/lib/mmtop/mmconfig.rb +5 -1
- metadata +5 -6
data/lib/mmtop/commands/kill.rb
CHANGED
data/lib/mmtop/mmconfig.rb
CHANGED
@@ -19,10 +19,14 @@ module MMTop
|
|
19
19
|
h['wedge_monitor'] ||= config['wedge_monitor']
|
20
20
|
|
21
21
|
Host.new(h['host'], h['user'], h['password'], h)
|
22
|
-
end.compact.uniq { |h| h.name }
|
22
|
+
end.compact.uniq { |h| h.name }
|
23
23
|
|
24
24
|
@filters = MMTop::Filter.default_filters
|
25
25
|
config['sleep'] ||= 5
|
26
|
+
|
27
|
+
if config['plugin_dir']
|
28
|
+
Dir.glob("#{config['plugin_dir']}/**/*.rb").each { |f| require(f) }
|
29
|
+
end
|
26
30
|
@options = config
|
27
31
|
end
|
28
32
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mmtop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mysql2
|
@@ -116,8 +116,7 @@ files:
|
|
116
116
|
- lib/mmtop/term_input.rb
|
117
117
|
- lib/mmtop/term_printer.rb
|
118
118
|
- lib/mmtop.rb
|
119
|
-
-
|
120
|
-
YmluL21tdG9w
|
119
|
+
- bin/mmtop
|
121
120
|
homepage: http://github.com/osheroff/mmtop
|
122
121
|
licenses: []
|
123
122
|
post_install_message:
|
@@ -132,7 +131,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
132
131
|
version: '0'
|
133
132
|
segments:
|
134
133
|
- 0
|
135
|
-
hash: -
|
134
|
+
hash: -1153904921508667372
|
136
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
136
|
none: false
|
138
137
|
requirements:
|
@@ -141,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
141
140
|
version: '0'
|
142
141
|
segments:
|
143
142
|
- 0
|
144
|
-
hash: -
|
143
|
+
hash: -1153904921508667372
|
145
144
|
requirements: []
|
146
145
|
rubyforge_project:
|
147
146
|
rubygems_version: 1.8.24
|