slyce 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/slyce +4 -3
  3. data/bin/slyce3 +3 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5dcf804e2deb0adaff36f965561a0946e20ba4b0740d3a83ea064f09409f73a
4
- data.tar.gz: 8975517f3e9ac589fac7117b37c652af7b8ec463e3abbc002cc7a2e0523494c9
3
+ metadata.gz: f6b0933ed29b724b0cca2ed1a47ae8f18afd875d01957d8497a1da5e64aea67f
4
+ data.tar.gz: 25e01d18ac4d15c989c8cfdb3bce0af15b7d66c176e8d411bd6634e263283d27
5
5
  SHA512:
6
- metadata.gz: 59a99719c5a7c7193753bdf34075d67db43906da64e984e629104be5d9d4906b42bb7c6bc21d62f835af56c053480c861699a589398759d4b6d0ff621a406171
7
- data.tar.gz: 89bf5f7e16919e60e836c56da62460b1ff0760e7397fe579fdc61144d1492f3b0adb15423ae000c8a0a959a0fd0012ed8fd64fd9b0f4e82301d319b25bacaa8f
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.1"
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 show && rows > 1
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.1"
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! ]==
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slyce
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Shreeve