bootinq 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bootinq.rb +1 -1
- data/lib/bootinq/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24d33e5b4116c1406447099627f69b28099408be01a35b8addb8870c70b1d526
|
4
|
+
data.tar.gz: ab43719f9bb45caadff14a577a23449157e1fa24e35301301a59d903947bb199
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a145181cdbd31411d4b6208cf84a418adb74ea1594d9d76fe10aab41af3e1e52a3bd97be211ef4e946d2f5285a6462ed3fd058d5d139cd8f95216fd3644c052
|
7
|
+
data.tar.gz: 8ec205d218a4a262b8c45070b3e0141d0e5b13c97b2749a79f48def1a4836625b0615c672e9de992d1c8cba16965e5b90490672bb396ffbfc99bc65e85d2f97e
|
data/lib/bootinq.rb
CHANGED
@@ -91,7 +91,7 @@ class Bootinq
|
|
91
91
|
# To track inquired components use <tt>verbose: true</tt> key argument.
|
92
92
|
# Optionally yields block within the own instance's binding.
|
93
93
|
def self.init(verbose: false, &block) # :yields: Bootinq.instance
|
94
|
-
ENV['BOOTINQ_PATH'] ||= File.expand_path('../bootinq.yml', caller_locations(1
|
94
|
+
ENV['BOOTINQ_PATH'] ||= File.expand_path('../bootinq.yml', caller_locations(2, 1)[0].path)
|
95
95
|
|
96
96
|
instance
|
97
97
|
instance.instance_variable_set(:@_on_ready, block.to_proc) if block_given?
|
data/lib/bootinq/version.rb
CHANGED