blackstack_commons 1.1.32 → 1.1.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/functions.rb +2 -2
- 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: 96d14cd4096908b9904b488cb6d0b50f4ba46e1a
|
4
|
+
data.tar.gz: 39cf2e762c291ca387e954efc5ce83919a61637a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9a3ac449388ea64b55f269397ec5dd304b54ab748b1e3aea83fdc731cabc552dc4e542996b96b7a058043c7622ded33a8ccc290aa12c736b2b1e7d2b323f934
|
7
|
+
data.tar.gz: 4d61c4496735d814c33559705940998ae8cb6718ba35b6f8faddf5b64585328fd545d82bc39b825301925e883287aed6f5c0acb761a4e85830ba7d66442b909a
|
data/lib/functions.rb
CHANGED
@@ -18,8 +18,8 @@ module BlackStack
|
|
18
18
|
#
|
19
19
|
def self.require_in_working_path(filename, path,show_path_info=false)
|
20
20
|
puts '' if show_path_info
|
21
|
-
|
22
|
-
path = Dir.pwd
|
21
|
+
path = File.expand_path File.dirname(path)
|
22
|
+
#path = Dir.pwd
|
23
23
|
puts "require_in_working_path.path:#{path}:." if show_path_info
|
24
24
|
file = "#{path}/#{filename}"
|
25
25
|
puts "require_in_working_path.file:#{file}:." if show_path_info
|