server_scripts 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/server_scripts/version.rb +1 -1
- data/lib/server_scripts.rb +2 -2
- 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: 3f6a19bd7c183dbd3178bfe83a2a803e3c4bafcd
|
4
|
+
data.tar.gz: 1d725ee40b7d3a06714a28ceda3655430bd5371a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37f1d0df18a769dc754f65e19c943c1fb9ca31d0960a0a99877425dc1eb8fba7c8b3086d571f4bc662e0545796ee6130db97e0913ceba076e8f8b76b1668109b
|
7
|
+
data.tar.gz: 44ef29d242a7e261e5a32eebd3037d58d378455d251d22c0e8f4c4b7870194551b0fcb03806ce376ad19ebd743a339d5a5995d3d0fa1d14fdc7e18d5b369f587
|
data/lib/server_scripts.rb
CHANGED
@@ -7,7 +7,7 @@ require 'server_scripts/version'
|
|
7
7
|
module ServerScripts
|
8
8
|
class << self
|
9
9
|
def system
|
10
|
-
sys = ENV["
|
10
|
+
sys = ENV["SYSTEM_NAME"]
|
11
11
|
|
12
12
|
if sys == "SAMEER-PC"
|
13
13
|
ServerScripts::Computer::SameerPC
|
@@ -81,7 +81,7 @@ module ServerScripts
|
|
81
81
|
|
82
82
|
def submit!
|
83
83
|
write_job_script!
|
84
|
-
|
84
|
+
Kernel.system(@system.job_submit_cmd(batch_script: @job_fname))
|
85
85
|
end
|
86
86
|
|
87
87
|
private
|