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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 73bad84441a3fd12e066004667bda760c981b97f
4
- data.tar.gz: 5dd4231917b74608b6dd3b121f30289bf330e7b0
3
+ metadata.gz: '038fb8520dcdebb5fff415a47871f2d925f1cedc'
4
+ data.tar.gz: 611bb0aa5b91987d8f604c8130d0b5b35e0951fb
5
5
  SHA512:
6
- metadata.gz: 319b684bb349f3579002a1d48f4deea54e2c37accb33b0f61386dfe7373d821d845aae1ce27ad436ee97a5847e29d8986c7cccd4e5c6dfb39d6d4ed1de4d152c
7
- data.tar.gz: 91094eac95feaba5efa509da6b5ece8a8e7f3f760f1c23f860711cfb55a1827a16586f557d081cfec4fd30a8314501e94cbf7e9c3ebddf215cbf7fd076e96977
6
+ metadata.gz: be4cb5c2f316d9e8339bc643b486a638fe4f78bb264e06f89fdfc27d2039943f978671288ffb1f4fbb8aae7d8fa59dff01f0d28cebb5b0424a0ed28d9c762269
7
+ data.tar.gz: 530cf2b9fae1b3497a2769940474affe367237c89cbe29e22d589f6529a4a1d76180dbff693164388c1dae29370edebf0141f6c1f90113f2dd8fc72b4234093c
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module Simpli
2
- VERSION = '0.0.3'.freeze
2
+ VERSION = '0.0.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simpli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mario Schüttel