cmdr 0.2.11 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cmdr.rb +2 -3
- metadata +2 -2
data/lib/cmdr.rb
CHANGED
@@ -22,14 +22,13 @@ class Cmdr
|
|
22
22
|
})
|
23
23
|
|
24
24
|
@v = opt[:public]
|
25
|
-
@bottom_up_display = opt[:config] and opt[:config][:bottom_up_display] ? opt[:config][:bottom_up_display] : true
|
26
25
|
@@app = app_mgr
|
27
26
|
|
28
27
|
super()
|
29
28
|
end
|
30
29
|
|
31
30
|
|
32
|
-
def run_cmd(raw_command, user_id='-1')
|
31
|
+
def run_cmd(raw_command, user_id='-1', bottom_up_display=true)
|
33
32
|
|
34
33
|
input_string = raw_command.clone
|
35
34
|
|
@@ -85,7 +84,7 @@ class Cmdr
|
|
85
84
|
end
|
86
85
|
|
87
86
|
javascript = []
|
88
|
-
javascript << (
|
87
|
+
javascript << (bottom_up_display == true ? listmite(out) : listite(out))
|
89
88
|
javascript << job_with_js
|
90
89
|
|
91
90
|
xml = Builder::XmlMarkup.new( :target => buffer='', :indent => 2 )
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cmdr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.12
|
5
5
|
platform: ruby
|
6
6
|
authors: []
|
7
7
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-08-
|
12
|
+
date: 2010-08-16 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|