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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 44c45be7c8faebd8504682600c9b4da7694ddd18
4
- data.tar.gz: ea70dfe5c454365731449ac559f2ff8f1a7e87ed
3
+ metadata.gz: 3f6a19bd7c183dbd3178bfe83a2a803e3c4bafcd
4
+ data.tar.gz: 1d725ee40b7d3a06714a28ceda3655430bd5371a
5
5
  SHA512:
6
- metadata.gz: 2a095ccfe52889d91fcf96376e63710b7df2c1a37e930d6786e15883969d92eef2a9385d04d7049e67d00b17f8e3c652e053f267e0ccd67f4b7a82ba71c8197b
7
- data.tar.gz: b5363004c437866dc232450109274ce457c0d47b85ec67e48b29c360424806cfd59baac3c78ade0123fd24960e1b2063275f62bb3573bc8322f76c8c913f8413
6
+ metadata.gz: 37f1d0df18a769dc754f65e19c943c1fb9ca31d0960a0a99877425dc1eb8fba7c8b3086d571f4bc662e0545796ee6130db97e0913ceba076e8f8b76b1668109b
7
+ data.tar.gz: 44ef29d242a7e261e5a32eebd3037d58d378455d251d22c0e8f4c4b7870194551b0fcb03806ce376ad19ebd743a339d5a5995d3d0fa1d14fdc7e18d5b369f587
@@ -1,3 +1,3 @@
1
1
  module ServerScripts
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -7,7 +7,7 @@ require 'server_scripts/version'
7
7
  module ServerScripts
8
8
  class << self
9
9
  def system
10
- sys = ENV["SYSTEM"]
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
- exec @system.job_submit_cmd(batch_script: @job_fname)
84
+ Kernel.system(@system.job_submit_cmd(batch_script: @job_fname))
85
85
  end
86
86
 
87
87
  private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: server_scripts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sameer Deshmukh