xp5k 0.0.17 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xp5k/config.rb +4 -3
- data/lib/xp5k/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 031feb0e6c261fbe46c2bf08f5e3c36961ff4d23
|
4
|
+
data.tar.gz: 4eb52d5d2606387f344b74481614eed33cdf3e76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f8a668ba3d19f349534c49e83caac2ed37af134a7a6254f9065ef1360b9b4321cd0598eac40d9b16972fd7c1b2050d7c848f48aed35dd9c6049e8e303458c4a
|
7
|
+
data.tar.gz: 8746b87af5a20cc557c400901880069e3e5f87eafa214701fef722730703b388f8768eaef19b5b5df3f5b67b204c17f5e38eb9ec271b76ed72eddc15015fe6ec
|
data/lib/xp5k/config.rb
CHANGED
@@ -10,9 +10,10 @@ module XP5K
|
|
10
10
|
@@config[:loaded] = false
|
11
11
|
|
12
12
|
# Load the experiment configuration file
|
13
|
-
def self.load
|
14
|
-
|
15
|
-
|
13
|
+
def self.load(options = {})
|
14
|
+
path = options[:path] || 'xp.conf'
|
15
|
+
if File.exist?(File.expand_path(File.join(Dir.pwd, path)))
|
16
|
+
file_path = File.expand_path(File.join(Dir.pwd, path))
|
16
17
|
self.instance_eval(IO.read(file_path),file_path, 1)
|
17
18
|
@@config[:loaded] = true
|
18
19
|
end
|
data/lib/xp5k/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xp5k
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pascal Morillon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -152,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
version: 1.3.6
|
153
153
|
requirements: []
|
154
154
|
rubyforge_project:
|
155
|
-
rubygems_version: 2.
|
155
|
+
rubygems_version: 2.6.14
|
156
156
|
signing_key:
|
157
157
|
specification_version: 4
|
158
158
|
summary: A small Grid'5000 helper
|