ath 0.1.8 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/ath +2 -1
  3. data/lib/ath/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86ff4425439025e41690028f534c97610e8c5457
4
- data.tar.gz: 9d833da7e5b6a645489a8b509ba33f9c44d68439
3
+ metadata.gz: c8939b048b2425519025c650b50603dd3d565c04
4
+ data.tar.gz: 33353d8d4dd31d11f0d18e19e19b32a2c4bf7213
5
5
  SHA512:
6
- metadata.gz: fc8efba46944c5eec6167d2d4e6ac52f4d8f94feee4091900081844b2653d493b21cedf7452d8a47230431983a8f2b59b5e266ce57ea99fde44d6a88e1bcf516
7
- data.tar.gz: 5c3cb1e151e8a91012c4ec1906f3774381216ed29172f97f3f89a5722b23d35fe45ae08e7b1357bbf0ba90d9f81e466d4ced055af27e3fbdcd27bb0f0d80b035
6
+ metadata.gz: d6d15ebfccc697c9c9c48f67e1ff75f464dbdd76a5cdb6aa932b04e8b1850d352db7051980dd94bfbf2afc181a72325d84a9d34bd4304766e83c285f1495af17
7
+ data.tar.gz: 4f1fae796e638899475bc0a1f9af55e072373833a91ddf641068719dc762a6ec9f024ec09b037d2312babf3339c8de9f631a99aefcccc8007208a742d413c877
data/exe/ath CHANGED
@@ -10,7 +10,6 @@ Version = Ath::VERSION
10
10
  options = {
11
11
  database: 'default',
12
12
  output_location: ENV['ATH_OUTPUT_LOCATION'],
13
- progress: true,
14
13
  debug: false,
15
14
  }
16
15
 
@@ -77,10 +76,12 @@ begin
77
76
  end
78
77
 
79
78
  if query
79
+ options[:progress] = false unless options.has_key?(:progress)
80
80
  query.strip!
81
81
  query << ';' if query !~ /[;&]\z/
82
82
  shell.oneshot(query)
83
83
  else
84
+ options[:progress] = true unless options.has_key?(:progress)
84
85
  shell.start
85
86
  end
86
87
  rescue Interrupt
data/lib/ath/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ath
2
- VERSION = '0.1.8'
2
+ VERSION = '0.1.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ath
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - winebarrel