huqua 1.0.2 → 1.0.3

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/huqua.rb +2 -5
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e70f340976ef4769a2aa2d6a8f102f99a9b5d79c4b24df0638c14ff76b196b6
4
- data.tar.gz: 32dd67da7e2d67c90d018059b39eaddb093ab3b39f051c8b620cdc3764f61a0e
3
+ metadata.gz: c90b9ae94175323229b53862fe715e5b72acd8dee86efd628b503a9ff99e302f
4
+ data.tar.gz: 0fea95cc6a3f2ff1419387faafc6acc486de16b61ba19be7e778039e10442e8e
5
5
  SHA512:
6
- metadata.gz: b9480e4a90b46307c6bb6ed87d67ba1bd48a454f9ed7a7da5e10d8cdb9da08dc3907165ec6da9eef3fb11c716fef89eedb60e8341c67f1e04ea7a23f54dd5229
7
- data.tar.gz: 88d31c344c0d6ae787b7ae562b6efd5c12ab1de0b4bf4ec43920df6ae0504903fc9e959b28764db379c54adf4160acc976459cdb644de4da1e7611810666aa7a
6
+ metadata.gz: c6830bdbb4299a092af6b1518646c4bd9ca4a0a09407bbf5a7d94a112e754e79cc076a5e3a91cb18ba939db2765583284ee2f1f7e2b639fef633a20349323ac5
7
+ data.tar.gz: 313360a5873e25fa0e9c205f94c44adb20f052b33ba4a0db0392ff6ecc4450150109fad59debc7ee10a94a38b9b314c49dde917473b34f9d9bfa933abbff49d1
data/lib/huqua.rb CHANGED
@@ -111,12 +111,9 @@ class Huqua
111
111
  end
112
112
  else
113
113
  if res
114
- puts "- #{tables[n]} have: ".yellow
115
- res.each { |row|
116
- p "#{row['count']} records\n"
117
- }
114
+ puts "- #{tables[n]} (#{res[0]['count']})".yellow
118
115
  else
119
- puts "* Can not find #{tables[n].red} in database"
116
+ puts "Can not find #{tables[n]} in database".yellow
120
117
  end
121
118
  end
122
119
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: huqua
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Duy Chinh
@@ -10,8 +10,8 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2019-07-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: A simple tool for checking postgresql database in development environment,
14
- life too short so make it easy
13
+ description: "[macOS only]A simple tool for checking postgresql database in development
14
+ environment, life too short so make it easy"
15
15
  email: hduychinh@gmail.com
16
16
  executables:
17
17
  - huqua
@@ -43,6 +43,6 @@ rubyforge_project:
43
43
  rubygems_version: 2.7.8
44
44
  signing_key:
45
45
  specification_version: 4
46
- summary: A simple tool for checking postgresql database in development environment
47
- in macOS
46
+ summary: "[macOS only]A simple tool for checking postgresql database in development
47
+ environment in macOS"
48
48
  test_files: []