bqm 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/bqm +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a5db1e5c2c64eb8339793506974b53317aa2d81e743d64910ee77ff34e05a91
4
- data.tar.gz: 36f14254d9eda6add05ef3f60b65f47e37f199f4a8db51580702183e682bb6ab
3
+ metadata.gz: 348a96aed509a774a1848651efa6a17d52aac51e47b2e229daeba4fb933771a6
4
+ data.tar.gz: b2262ae4e6b24773b97cd4e19e2f4ba4bcf9e1f2dc8d4af6da2653d30b02e56a
5
5
  SHA512:
6
- metadata.gz: 0217a279021f076e5b6ccb1ccf1f4c689cfbae0b53f64e6f35bf20c1fcd622d7dad8096de21a38dea4c4fbffea15e7346a0b4708acd79f888e15bfbeaec63dd7
7
- data.tar.gz: c2f08b515894f474476c8ed473dc877261d4f88454b198b0a7f3afa897bdf57725cb036d875b663b689091218c4d3607ee63937331d7d47a56fbac3a31caf635
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bqm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandre ZANNI