dohtest 0.1.15 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/doh/test/configure.rb +8 -3
- metadata +2 -2
data/lib/doh/test/configure.rb
CHANGED
@@ -7,10 +7,15 @@ def self.config
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def self.load_configuration_files(start_path)
|
10
|
-
|
11
|
-
|
10
|
+
start_path = File.expand_path(start_path)
|
11
|
+
if File.directory?(start_path)
|
12
|
+
start_directory = start_path
|
13
|
+
else
|
14
|
+
start_directory = File.dirname(start_path)
|
15
|
+
end
|
16
|
+
root_directory = Doh.find_root(start_directory)
|
12
17
|
|
13
|
-
local_filename = Doh
|
18
|
+
local_filename = Doh.findup(start_directory, 'configure_dohtest.rb')
|
14
19
|
if local_filename && File.exist?(local_filename)
|
15
20
|
require(local_filename)
|
16
21
|
return
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dohtest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.16
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-05-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: dohroot
|