doing 1.0.85 → 1.0.86
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/README.md +4 -1
- data/bin/doing +6 -1
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +2 -1
- 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: 2af84d93e54c8366719e285303dc11d966f9b83361ae4ac20ca172536465f4ee
|
4
|
+
data.tar.gz: 7fa72f0ec1ba1a18e45d80c1604910cabb00c8dad485b96d05bd8c3e33a5b4ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 158707f75c6375fb5d684457d0b17c874fb2dc0f9b2e5318a24f055665ed246e69149211fb45487acac2174b2ca9db6ebd62b071af0c283377d5e2fa78f663c2
|
7
|
+
data.tar.gz: 80bf8ff4da513c0d911afdf5bbeb2589f6a08bf46eb746c5eb610f5ddac1bdc7d7469f1f3eb399e86c4a671358df704c98596841c2f8964d3f81ebe985de1435
|
data/README.md
CHANGED
@@ -27,7 +27,7 @@ If there's something I want to look at later but doesn't need to be added to a t
|
|
27
27
|
|
28
28
|
## Installation
|
29
29
|
|
30
|
-
The current version of `doing` is <!--VER-->1.0.
|
30
|
+
The current version of `doing` is <!--VER-->1.0.85<!--END VER-->.
|
31
31
|
|
32
32
|
$ [sudo] gem install doing
|
33
33
|
|
@@ -92,6 +92,7 @@ A basic configuration looks like this:
|
|
92
92
|
date_format: '%_I:%M%P'
|
93
93
|
template: '%date > %title%odnote'
|
94
94
|
wrap_width: 50
|
95
|
+
count: 10
|
95
96
|
autotag:
|
96
97
|
whitelist:
|
97
98
|
- coding
|
@@ -239,6 +240,8 @@ and output my recent entries like this:
|
|
239
240
|
|
240
241
|
$
|
241
242
|
|
243
|
+
The recent template can include a `count` key to specify the number of entries shown when run without an argument. Default is 10.
|
244
|
+
|
242
245
|
### Custom views
|
243
246
|
|
244
247
|
You can create your own "views" in the `~/.doingrc` file and view them with `doing view view_name`. Just add a section like this:
|
data/bin/doing
CHANGED
@@ -1097,7 +1097,12 @@ command :recent do |c|
|
|
1097
1097
|
section = wwid.guess_section(options[:s]) || options[:s].cap_first
|
1098
1098
|
|
1099
1099
|
unless global_options[:version]
|
1100
|
-
|
1100
|
+
if wwid.config['templates']['recent'].key?('count')
|
1101
|
+
config_count = wwid.config['templates']['recent']['count'].to_i
|
1102
|
+
else
|
1103
|
+
config_count = 10
|
1104
|
+
end
|
1105
|
+
count = args.empty? ? config_count : args[0].to_i
|
1101
1106
|
options[:t] = true if options[:totals]
|
1102
1107
|
options[:sort_tags] = options[:tag_sort] =~ /^n/i
|
1103
1108
|
tags_color = wwid.config.key?('tags_color') ? wwid.config['tags_color'] : nil
|
data/lib/doing/version.rb
CHANGED
data/lib/doing/wwid.rb
CHANGED