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.
- checksums.yaml +4 -4
- data/lib/huqua.rb +2 -5
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c90b9ae94175323229b53862fe715e5b72acd8dee86efd628b503a9ff99e302f
|
|
4
|
+
data.tar.gz: 0fea95cc6a3f2ff1419387faafc6acc486de16b61ba19be7e778039e10442e8e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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]}
|
|
115
|
-
res.each { |row|
|
|
116
|
-
p "#{row['count']} records\n"
|
|
117
|
-
}
|
|
114
|
+
puts "- #{tables[n]} (#{res[0]['count']})".yellow
|
|
118
115
|
else
|
|
119
|
-
puts "
|
|
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.
|
|
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
|
|
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
|
|
47
|
-
in macOS
|
|
46
|
+
summary: "[macOS only]A simple tool for checking postgresql database in development
|
|
47
|
+
environment in macOS"
|
|
48
48
|
test_files: []
|