simpli 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/simpli/script_finder.rb +2 -1
- data/lib/simpli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '038fb8520dcdebb5fff415a47871f2d925f1cedc'
|
4
|
+
data.tar.gz: 611bb0aa5b91987d8f604c8130d0b5b35e0951fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be4cb5c2f316d9e8339bc643b486a638fe4f78bb264e06f89fdfc27d2039943f978671288ffb1f4fbb8aae7d8fa59dff01f0d28cebb5b0424a0ed28d9c762269
|
7
|
+
data.tar.gz: 530cf2b9fae1b3497a2769940474affe367237c89cbe29e22d589f6529a4a1d76180dbff693164388c1dae29370edebf0141f6c1f90113f2dd8fc72b4234093c
|
data/lib/simpli/script_finder.rb
CHANGED
@@ -12,7 +12,8 @@ module Simpli
|
|
12
12
|
private
|
13
13
|
|
14
14
|
def path_to_simply_script(dir_path)
|
15
|
-
Dir.glob("#{dir_path}/#{@relative_script_path}").first
|
15
|
+
path = Dir.glob("#{dir_path}/#{@relative_script_path}").first
|
16
|
+
path unless path && File.directory?(path)
|
16
17
|
end
|
17
18
|
|
18
19
|
def search_in_parent_directory(dir_path)
|
data/lib/simpli/version.rb
CHANGED