oode 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/oode/file.rb +2 -2
- data/lib/oode/version.rb +1 -1
- metadata +2 -2
data/lib/oode/file.rb
CHANGED
@@ -10,13 +10,13 @@ module Oode
|
|
10
10
|
|
11
11
|
def print session, directory, printer
|
12
12
|
command = "lpr -P #{printer} #{remote_path}"
|
13
|
-
session.exec!(command)
|
13
|
+
session.exec!("ssh student.login #{command}")
|
14
14
|
#puts command.blue
|
15
15
|
end
|
16
16
|
|
17
17
|
def clean session, directory
|
18
18
|
command = "rm #{remote_path}"
|
19
|
-
session.exec!(command)
|
19
|
+
session.exec!("ssh student.login #{command}")
|
20
20
|
#puts command.blue
|
21
21
|
end
|
22
22
|
|
data/lib/oode/version.rb
CHANGED