dohtest 0.1.15 → 0.1.16

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.
Files changed (2) hide show
  1. data/lib/doh/test/configure.rb +8 -3
  2. metadata +2 -2
@@ -7,10 +7,15 @@ def self.config
7
7
  end
8
8
 
9
9
  def self.load_configuration_files(start_path)
10
- start_directory = File.dirname(start_path)
11
- root_directory = Doh::find_root(start_directory)
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::findup(start_directory, 'configure_dohtest.rb')
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.15
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-04-17 00:00:00.000000000 Z
13
+ date: 2013-05-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: dohroot