dir_validator 0.13.0 → 0.13.1
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.
- data/CHANGELOG.rdoc +1 -1
- data/lib/dir_validator.rb +1 -1
- metadata +3 -3
data/CHANGELOG.rdoc
CHANGED
data/lib/dir_validator.rb
CHANGED
@@ -31,7 +31,7 @@ module DirValidator
|
|
31
31
|
# Require the script, and add its functions to the module.
|
32
32
|
script = args.first
|
33
33
|
abort "Usage: #{$PROGRAM_NAME} SCRIPT" unless File.file?(script.to_s)
|
34
|
-
require script
|
34
|
+
require File.expand_path(script)
|
35
35
|
module_function(:initialize_validator, :run_validator)
|
36
36
|
# Create validator, run the validation code supplied by user.
|
37
37
|
dv = DirValidator.new(initialize_validator)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dir_validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 41
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 13
|
9
|
-
-
|
10
|
-
version: 0.13.
|
9
|
+
- 1
|
10
|
+
version: 0.13.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Monty Hindman
|