bio-grid 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/bio-grid.gemspec +2 -2
  3. data/lib/bio/grid/job.rb +2 -2
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
data/bio-grid.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "bio-grid"
8
- s.version = "0.2.3"
8
+ s.version = "0.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Francesco Strozzi"]
12
- s.date = "2012-09-21"
12
+ s.date = "2012-09-24"
13
13
  s.description = "A BioGem to submit jobs on a queue system"
14
14
  s.email = "francesco.strozzi@gmail.com"
15
15
  s.executables = ["bio-grid"]
data/lib/bio/grid/job.rb CHANGED
@@ -20,12 +20,12 @@ module Bio
20
20
  job_output = ""
21
21
  if commandline =~/<output>\.(\S+)/
22
22
  extension = $1
23
- job_output = self.options[:output]+"/"+self.options[:name]+"_output_%03d" % (index+1).to_s + "#{self.options[:parameter_value]}"
23
+ job_output = self.options[:output]+"/#{Time.now.to_i}"+self.options[:name]+"_output_%03d" % (index+1).to_s + "#{self.options[:parameter_value]}"
24
24
  commandline.gsub!(/<output>/,job_output)
25
25
  job_output << ".#{extension}"
26
26
  else
27
27
  self.options[:output_folder] = true
28
- commandline.gsub!(/<output>/,self.options[:output])
28
+ commandline.gsub!(/<output>/,"#{Time.now.to_i}"+self.options[:output]+"_#{index+1}")
29
29
  job_output = self.options[:output]
30
30
  end
31
31
  self.instructions << commandline+"\n"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bio-grid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-21 00:00:00.000000000 Z
12
+ date: 2012-09-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -114,7 +114,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
114
  version: '0'
115
115
  segments:
116
116
  - 0
117
- hash: -3230917767778856991
117
+ hash: 1547107514034960199
118
118
  required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  none: false
120
120
  requirements: