doing 1.0.14 → 1.0.15

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f92c16513eb9ede842ddfdcaf921d7f1facb6dc88d63a969f7a1e191ecddd4c9
4
- data.tar.gz: 0a4c4825ada0fee869a40a60fd9a79fd22d5abd50b808e06290d58bbd50ecb60
3
+ metadata.gz: d658fa240a206835bbdb13600f7b470e22038a82a73c6cd2c40b8b7f42fc92e9
4
+ data.tar.gz: 1f5b03374c80f4a7c3e7a68d29ef4efdf4a77644d1ec9fa18ee464879ec7af2f
5
5
  SHA512:
6
- metadata.gz: dec642c2e0d781cdd0b2a7d9ab6d295b95be05bd6f3b46dbe036feb2c431eb35fed2bc04449a54e7fe33f24b1a39a76113884658398a05d62f9336a4dacb250a
7
- data.tar.gz: '09451b049c77702549f33a85a0b57dfe1197dbfbbe05d2791733913630a720f49e55613b031fa6de67e3b5af7726c43d19fc17c1becc9497c26f71139cdef341'
6
+ metadata.gz: cc284a5b43cbb5442377c6595dc43dd0c25658a57d65a7239871ad01e7156b424260aee9983c3b8dee7d42fadfc57695072a53f73997841b23914d56766c513f
7
+ data.tar.gz: 0c7763c8f715faa148bb7a5a5e2608d12f98497c0536cc21c633027215037fc8e08725eda301dbab3bd2d408a0bdcc727e40168208336239d3d5773971b86550
data/README.md CHANGED
@@ -504,10 +504,25 @@ I'll try to document some of the code structure as I flesh it out. I'm currently
504
504
 
505
505
  ## Changelog
506
506
 
507
+ #### 1.0.15
508
+
509
+ - CLI/text totals block was outputting when HTML output was selected
510
+ - Have all template colors reset bold and background automatically when called
511
+
507
512
  #### 1.0.14
508
513
 
509
514
  Catching up on the changelog. Kind of. A lot has happened, mostly fixes.
510
515
 
516
+ - Fish completion
517
+ - views and sections subcommands have -c option to output single column
518
+ - Fix html title when tag_bool is NONE
519
+ - Fix @from tagging missing closing paren
520
+ - Fix tag coloring
521
+
522
+ #### 1.0.13
523
+
524
+ - Fix gsub error in doing meanwhile
525
+
511
526
  #### 1.0.8pre
512
527
 
513
528
  * JSON output option to view commands
data/lib/doing/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Doing
2
- VERSION = '1.0.14'
2
+ VERSION = '1.0.15'
3
3
  end
data/lib/doing/wwid.rb CHANGED
@@ -1069,8 +1069,8 @@ EOT
1069
1069
 
1070
1070
  out += output + "\n"
1071
1071
  }
1072
+ out += tag_times if opt[:totals]
1072
1073
  end
1073
- out += tag_times if opt[:totals]
1074
1074
  return out
1075
1075
  end
1076
1076
 
@@ -1168,38 +1168,38 @@ EOT
1168
1168
 
1169
1169
  def colors
1170
1170
  color = {}
1171
- color['black'] = "\033[30m"
1172
- color['red'] = "\033[31m"
1173
- color['green'] = "\033[32m"
1174
- color['yellow'] = "\033[33m"
1175
- color['blue'] = "\033[34m"
1176
- color['magenta'] = "\033[35m"
1177
- color['cyan'] = "\033[36m"
1178
- color['white'] = "\033[37m"
1179
- color['bgblack'] = "\033[40m"
1180
- color['bgred'] = "\033[41m"
1181
- color['bggreen'] = "\033[42m"
1182
- color['bgyellow'] = "\033[43m"
1183
- color['bgblue'] = "\033[44m"
1184
- color['bgmagenta'] = "\033[45m"
1185
- color['bgcyan'] = "\033[46m"
1186
- color['bgwhite'] = "\033[47m"
1171
+ color['black'] = "\033[0;0;30m"
1172
+ color['red'] = "\033[0;0;31m"
1173
+ color['green'] = "\033[0;0;32m"
1174
+ color['yellow'] = "\033[0;0;33m"
1175
+ color['blue'] = "\033[0;0;34m"
1176
+ color['magenta'] = "\033[0;0;35m"
1177
+ color['cyan'] = "\033[0;0;36m"
1178
+ color['white'] = "\033[0;0;37m"
1179
+ color['bgblack'] = "\033[0;0;40m"
1180
+ color['bgred'] = "\033[0;0;41m"
1181
+ color['bggreen'] = "\033[0;0;42m"
1182
+ color['bgyellow'] = "\033[0;0;43m"
1183
+ color['bgblue'] = "\033[0;0;44m"
1184
+ color['bgmagenta'] = "\033[0;0;45m"
1185
+ color['bgcyan'] = "\033[0;0;46m"
1186
+ color['bgwhite'] = "\033[0;0;47m"
1187
1187
  color['boldblack'] = "\033[1;30m"
1188
1188
  color['boldred'] = "\033[1;31m"
1189
- color['boldgreen'] = "\033[1;32m"
1190
- color['boldyellow'] = "\033[1;33m"
1191
- color['boldblue'] = "\033[1;34m"
1192
- color['boldmagenta'] = "\033[1;35m"
1193
- color['boldcyan'] = "\033[1;36m"
1194
- color['boldwhite'] = "\033[1;37m"
1195
- color['boldbgblack'] = "\033[1;40m"
1196
- color['boldbgred'] = "\033[1;41m"
1197
- color['boldbggreen'] = "\033[1;42m"
1198
- color['boldbgyellow'] = "\033[1;43m"
1199
- color['boldbgblue'] = "\033[1;44m"
1200
- color['boldbgmagenta'] = "\033[1;45m"
1201
- color['boldbgcyan'] = "\033[1;46m"
1202
- color['boldbgwhite'] = "\033[1;47m"
1189
+ color['boldgreen'] = "\033[0;1;32m"
1190
+ color['boldyellow'] = "\033[0;1;33m"
1191
+ color['boldblue'] = "\033[0;1;34m"
1192
+ color['boldmagenta'] = "\033[0;1;35m"
1193
+ color['boldcyan'] = "\033[0;1;36m"
1194
+ color['boldwhite'] = "\033[0;1;37m"
1195
+ color['boldbgblack'] = "\033[0;1;40m"
1196
+ color['boldbgred'] = "\033[0;1;41m"
1197
+ color['boldbggreen'] = "\033[0;1;42m"
1198
+ color['boldbgyellow'] = "\033[0;1;43m"
1199
+ color['boldbgblue'] = "\033[0;1;44m"
1200
+ color['boldbgmagenta'] = "\033[0;1;45m"
1201
+ color['boldbgcyan'] = "\033[0;1;46m"
1202
+ color['boldbgwhite'] = "\033[0;1;47m"
1203
1203
  color['softpurple'] = "\033[0;35;40m"
1204
1204
  color['hotpants'] = "\033[7;34;40m"
1205
1205
  color['knightrider'] = "\033[7;30;40m"
@@ -1389,6 +1389,9 @@ EOS
1389
1389
  end
1390
1390
 
1391
1391
  def fmt_time(seconds)
1392
+ if seconds.nil?
1393
+ return [0, 0, 0]
1394
+ end
1392
1395
  minutes = (seconds / 60).to_i
1393
1396
  hours = (minutes / 60).to_i
1394
1397
  days = (hours / 24).to_i
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.14
4
+ version: 1.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra