magicmonkey 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/magicmonkey/configuration.rb +1 -3
- data/lib/magicmonkey/magicmonkey.rb +6 -1
- data/lib/magicmonkey/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc8a2fe0128c9169ff4ad6b888493de95eaab6ce
|
4
|
+
data.tar.gz: 812ac877335b1ac5738416dd5809a705abc2a48b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e6b5f14192c8d8af155ed2d13f63bfc382ca15756425c044bb5cf3e5be3d451d101cb41eeb9d8609d3fb1fcd6d85db07a1e90a9b3e626b02623372787b7c861
|
7
|
+
data.tar.gz: c76e7a5c924156c08d9e374b307a9d93f39859e662a50aff7234583e4dafe2dbbd44b511c76e8d7a8fad382e3a94493850278e01703a47de6dd86e11b1f1d9ef
|
@@ -114,7 +114,12 @@ module Magicmonkey
|
|
114
114
|
# SHOW COMMAND #
|
115
115
|
################
|
116
116
|
def self.show(args)
|
117
|
-
applications = help2('show', 'Shows the configurations of selected applications', args)
|
117
|
+
applications = help2('show', 'Shows the configurations of selected applications', args) do |opts|
|
118
|
+
opts.on('-e', '--enabled', 'Show enabled applications.') do |s|
|
119
|
+
@o[:enabled] = s
|
120
|
+
end
|
121
|
+
end
|
122
|
+
applications.select!{|k| Conf[k.to_sym][:enabled]} if @o[:enabled]
|
118
123
|
applications.each do |app|
|
119
124
|
puts app.upcase
|
120
125
|
pp Conf[app]
|
data/lib/magicmonkey/version.rb
CHANGED