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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72e46598f1022b3d7583ebd9eb2f56daaefd26ec
4
- data.tar.gz: 13cd313c3f4ec4152c1ae9e5184b2622907678ac
3
+ metadata.gz: 031feb0e6c261fbe46c2bf08f5e3c36961ff4d23
4
+ data.tar.gz: 4eb52d5d2606387f344b74481614eed33cdf3e76
5
5
  SHA512:
6
- metadata.gz: 0b74f1a0855cc0bd9f75828dc84fcd2a2c3372a1393caa1738eb37ae8d7c77309a79fc76892db9525fcc5e5003c9b23d43c5588275b8b7db071c7a3d59bc97b9
7
- data.tar.gz: 7041f61aee8d3b29f02261c9fd7e9bc559e1cab0acc1fb5a14089e79856dd02759ee44e99a22de40b7db3f2b4b04a0f01a4409546b96720f82f7c2bac16c746d
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
- if File.exist?(File.expand_path(File.join(Dir.pwd, 'xp.conf')))
15
- file_path = File.expand_path(File.join(Dir.pwd, 'xp.conf'))
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
@@ -1,3 +1,3 @@
1
1
  module XP5K
2
- VERSION='0.0.17'
2
+ VERSION='0.0.18'
3
3
  end
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.17
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: 2017-11-20 00:00:00.000000000 Z
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.4.8
155
+ rubygems_version: 2.6.14
156
156
  signing_key:
157
157
  specification_version: 4
158
158
  summary: A small Grid'5000 helper