slyce 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/slyce +4 -3
- data/bin/slyce3 +3 -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: f6b0933ed29b724b0cca2ed1a47ae8f18afd875d01957d8497a1da5e64aea67f
|
4
|
+
data.tar.gz: 25e01d18ac4d15c989c8cfdb3bce0af15b7d66c176e8d411bd6634e263283d27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9ea1296cd1f3bd8d946e9a389b57f604771dfe960c6c2181128f4460dae0ae854ae8927142649c0d5ad7b45d07da9eef462fb77f2e6131607515540d700027d
|
7
|
+
data.tar.gz: 91bb4e8c118925556fc218486d1e8d944b90ed216da2d84cf38ba2e956d0fc9a2e87e5fccf7e1fa5f4a446159b91fec7c13f000ae9442f15aa66ad9b9411648c
|
data/bin/slyce
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
VERSION="1.0.
|
3
|
+
VERSION="1.0.2"
|
4
4
|
|
5
5
|
STDOUT.sync = true
|
6
6
|
|
@@ -55,8 +55,9 @@ 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
|
59
|
-
puts "%*d total (all %d)" % [wide, tots, uniq]
|
58
|
+
puts "%*d shown (top %d)" % [wide, seen, rows] if show && rows > 1
|
59
|
+
puts "%*d total (all %d)" % [wide, tots, uniq] if uniq > 1
|
60
|
+
puts "%*d total" % [wide, tots ] unless uniq > 1
|
60
61
|
end
|
61
62
|
|
62
63
|
# ==[ Let 'er rip! ]==
|
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.2"
|
13
13
|
|
14
14
|
STDOUT.sync = true
|
15
15
|
|
@@ -69,7 +69,8 @@ def display(name, data, show, uniq, tots)
|
|
69
69
|
data.each {|cnt, val| puts "%*d %s" % [wide, cnt, val || "NULL"] }
|
70
70
|
puts "#{fill} -----\n"
|
71
71
|
puts "%*d shown (top %d)" % [wide, seen, rows] if show and rows > 1
|
72
|
-
puts "%*d total (all %d)" % [wide, tots, uniq]
|
72
|
+
puts "%*d total (all %d)" % [wide, tots, uniq] if uniq > 1
|
73
|
+
puts "%*d total" % [wide, tots ] unless uniq > 1
|
73
74
|
end
|
74
75
|
|
75
76
|
# ==[ Let 'er rip! ]==
|