xanthus 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/xanthus/job.rb +5 -2
- data/lib/xanthus/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c4832454eeff21b2bf3013e37d38adaf16c2e3b1e71ec902361cba7b25e63be5
|
|
4
|
+
data.tar.gz: be923875ac163b8d946f36623b0751436d67b0332d1a76880213f9f9470567cb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ea5ba69726815f5156300bae089e4b996cd724752089656288c039649d917f2c215ff8e9cdd3e499ccc2c09dc01784094838dea0d3b2118d7c7928014a4f0fa9
|
|
7
|
+
data.tar.gz: 76cb3e1fcdafecb9f4f1fcfe514ea8cebc50e30b0af28e55130cc10eb2980734c29ded9491fb6a212a69ad86d3e1858cbe584e6e98272b3398986ee4b8d96aad
|
data/lib/xanthus/job.rb
CHANGED
|
@@ -12,6 +12,7 @@ module Xanthus
|
|
|
12
12
|
@iterations = 0
|
|
13
13
|
@tasks = Hash.new
|
|
14
14
|
@outputs = Hash.new
|
|
15
|
+
@inputs = Hash.new
|
|
15
16
|
end
|
|
16
17
|
|
|
17
18
|
def output_script outputs
|
|
@@ -46,8 +47,10 @@ module Xanthus
|
|
|
46
47
|
|
|
47
48
|
FileUtils.mkdir_p machine.to_s
|
|
48
49
|
Dir.chdir machine.to_s do
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
if !@inputs[machine].nil?
|
|
51
|
+
@inputs[machine].each do |name|
|
|
52
|
+
system('cp', '-f', "../../#{name}", "#{name}")
|
|
53
|
+
end
|
|
51
54
|
end
|
|
52
55
|
FileUtils.mkdir_p 'output'
|
|
53
56
|
puts 'Creating provision files...'
|
data/lib/xanthus/version.rb
CHANGED