slyce 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/slyce +2 -2
- data/bin/slyce3 +2 -2
- 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: e5dcf804e2deb0adaff36f965561a0946e20ba4b0740d3a83ea064f09409f73a
|
4
|
+
data.tar.gz: 8975517f3e9ac589fac7117b37c652af7b8ec463e3abbc002cc7a2e0523494c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59a99719c5a7c7193753bdf34075d67db43906da64e984e629104be5d9d4906b42bb7c6bc21d62f835af56c053480c861699a589398759d4b6d0ff621a406171
|
7
|
+
data.tar.gz: 89bf5f7e16919e60e836c56da62460b1ff0760e7397fe579fdc61144d1492f3b0adb15423ae000c8a0a959a0fd0012ed8fd64fd9b0f4e82301d319b25bacaa8f
|
data/bin/slyce
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
VERSION="1.0.
|
3
|
+
VERSION="1.0.1"
|
4
4
|
|
5
5
|
STDOUT.sync = true
|
6
6
|
|
@@ -55,7 +55,7 @@ def display(name, data, show, uniq, tots)
|
|
55
55
|
puts "\n#{fill} #{name}\n#{fill} #{line}\n"
|
56
56
|
data.each {|cnt, val| puts "%*d %s" % [wide, cnt, val || "NULL"] }
|
57
57
|
puts "#{fill} -----\n"
|
58
|
-
puts "%*d shown (top %d)" % [wide, seen, rows] if show
|
58
|
+
puts "%*d shown (top %d)" % [wide, seen, rows] if show && rows > 1
|
59
59
|
puts "%*d total (all %d)" % [wide, tots, uniq]
|
60
60
|
end
|
61
61
|
|
data/bin/slyce3
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
# wget https://github.com/nalgeon/sqlean/releases/download/0.19.3/sqlean-macos-arm64.zip
|
10
10
|
# unzip sqlean-macos-arm64.zip regexp.dylib
|
11
11
|
|
12
|
-
VERSION="1.0.
|
12
|
+
VERSION="1.0.1"
|
13
13
|
|
14
14
|
STDOUT.sync = true
|
15
15
|
|
@@ -68,7 +68,7 @@ def display(name, data, show, uniq, tots)
|
|
68
68
|
puts "\n#{fill} #{name}\n#{fill} #{line}\n"
|
69
69
|
data.each {|cnt, val| puts "%*d %s" % [wide, cnt, val || "NULL"] }
|
70
70
|
puts "#{fill} -----\n"
|
71
|
-
puts "%*d shown (top %d)" % [wide, seen, rows] if show
|
71
|
+
puts "%*d shown (top %d)" % [wide, seen, rows] if show and rows > 1
|
72
72
|
puts "%*d total (all %d)" % [wide, tots, uniq]
|
73
73
|
end
|
74
74
|
|