bqm 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/bqm +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: 348a96aed509a774a1848651efa6a17d52aac51e47b2e229daeba4fb933771a6
|
4
|
+
data.tar.gz: b2262ae4e6b24773b97cd4e19e2f4ba4bcf9e1f2dc8d4af6da2653d30b02e56a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dc21de90441bfc6add73d79b01c52ce5e530b28c94c62560913dea39805cb2615139a41da329ebba966d8aa964262ff6aaefc352b3c8246c43a2f9dc43465e5
|
7
|
+
data.tar.gz: ca1d114fdb1d024d4565d061ef669ecedaf89ecfe89be730658c8823b739a40ce2d9cadce380a47c6ed9079587b302c5b7ebb2773e9f7a2208e3040790a3866a
|
data/bin/bqm
CHANGED
@@ -6,7 +6,7 @@ require 'net/http'
|
|
6
6
|
|
7
7
|
def find_dataset
|
8
8
|
source_file = 'query-sets.json'
|
9
|
-
source_file_paths = ['./data', '/usr/share/bqm/data', '~/.local/share/bqm/data']
|
9
|
+
source_file_paths = ['./data', "#{__dir__}/../data", '/usr/share/bqm/data', '~/.local/share/bqm/data']
|
10
10
|
source_file_paths.each do |path|
|
11
11
|
candidate = "#{path}/#{source_file}"
|
12
12
|
return candidate if File.file?(candidate) && File.readable?(candidate)
|