na 1.2.72 → 1.2.74
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/CHANGELOG.md +22 -23
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/bin/commands/add.rb +1 -1
- data/lib/na/version.rb +1 -1
- data/na.gemspec +5 -5
- data/src/_README.md +1 -1
- metadata +49 -49
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 922769dc45fdde5d967c948a7b604e466bc9c48e6f2345b514655955de794f0b
|
4
|
+
data.tar.gz: 4c18ef737f73e5e7e0d76d42ee07a62627ddba0886b74c96cdb1aa9613006a56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62acdfe975dfbf05cd1dda653fdeb05784c1580959f3596b91dccf879df808f235eea4cb40d43e56bcf663479df2d2129858a0509b848ed80885c78d6791d594
|
7
|
+
data.tar.gz: 1bb44ff658386cd4dcdc0b9a9f4983c40c2f48be7a354c38864554f054760ba911342b390885dd18aaf332b4a5a324dfec20bce377458bfc357acb77ac4956b8
|
data/CHANGELOG.md
CHANGED
@@ -1,48 +1,47 @@
|
|
1
|
-
### 1.2.
|
1
|
+
### 1.2.74
|
2
2
|
|
3
|
-
2025-03-
|
3
|
+
2025-03-16 07:06
|
4
4
|
|
5
|
-
####
|
5
|
+
#### FIXED
|
6
6
|
|
7
|
-
-
|
7
|
+
- - - - - - @fixed Matching parenthetical notes at the end of a task entry was too greedy
|
8
|
+
- - - - - - - @fixed Matching parenthetical notes at the end of a task entry was too greedy - Error in concat for line notes
|
9
|
+
- - - - - - - @fixed Matching parenthetical notes at the end of a task entry was too greedy
|
10
|
+
- - - - - - - - @fixed Matching parenthetical notes at the end of a task entry was too greedy - Error in concat for line notes
|
11
|
+
- Failure on priority compare when priority is integer
|
8
12
|
|
9
|
-
|
13
|
+
### 1.2.73
|
10
14
|
|
11
|
-
-
|
15
|
+
2025-03-15 08:28
|
12
16
|
|
13
17
|
#### FIXED
|
14
18
|
|
15
|
-
- - - - @fixed Matching parenthetical notes at the end of a task entry was too greedy
|
16
|
-
- - - - - @fixed Matching parenthetical notes at the end of a task entry was too greedy - Error in concat for line notes
|
17
19
|
- - - - - @fixed Matching parenthetical notes at the end of a task entry was too greedy
|
18
20
|
- - - - - - @fixed Matching parenthetical notes at the end of a task entry was too greedy - Error in concat for line notes
|
21
|
+
- - - - - - @fixed Matching parenthetical notes at the end of a task entry was too greedy
|
22
|
+
- - - - - - - @fixed Matching parenthetical notes at the end of a task entry was too greedy - Error in concat for line notes
|
19
23
|
|
20
|
-
### 1.2.
|
21
|
-
|
22
|
-
2024-09-28 11:12
|
24
|
+
### 1.2.72
|
23
25
|
|
24
|
-
|
26
|
+
2025-03-15 08:13
|
25
27
|
|
26
|
-
|
27
|
-
- - - - @fixed Matching parenthetical notes at the end of a task entry was too greedy
|
28
|
-
- Error in concat for line notes
|
28
|
+
#### NEW
|
29
29
|
|
30
|
-
|
30
|
+
- --no_file option for `na next` to display without filename (instead of editing templates)
|
31
31
|
|
32
|
-
|
32
|
+
#### IMPROVED
|
33
33
|
|
34
|
-
|
34
|
+
- --priority in `na next` and `na add` accepts "h", "m", or "l" to equal 5, 3, 1
|
35
35
|
|
36
|
-
- - @fixed Matching parenthetical notes at the end of a task entry was too greedy
|
37
|
-
- - - @fixed Matching parenthetical notes at the end of a task entry was too greedy
|
38
36
|
|
39
|
-
### 1.2.
|
37
|
+
### 1.2.71
|
40
38
|
|
41
|
-
2024-09-28 11:
|
39
|
+
2024-09-28 11:12
|
42
40
|
|
43
41
|
#### FIXED
|
44
42
|
|
45
|
-
-
|
43
|
+
- Matching parenthetical notes at the end of a task entry was too greedy
|
44
|
+
- Error in concat for line notes
|
46
45
|
|
47
46
|
### 1.2.68
|
48
47
|
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
_If you're one of the rare people like me who find this useful, feel free to
|
10
10
|
[buy me some coffee][donate]._
|
11
11
|
|
12
|
-
The current version of `na` is 1.2.
|
12
|
+
The current version of `na` is 1.2.74.
|
13
13
|
|
14
14
|
`na` ("next action") is a command line tool designed to make it easy to see what your next actions are for any project, right from the command line. It works with TaskPaper-formatted files (but any plain text format will do), looking for `@na` tags (or whatever you specify) in todo files in your current folder.
|
15
15
|
|
@@ -76,7 +76,7 @@ SYNOPSIS
|
|
76
76
|
na [global options] command [command options] [arguments...]
|
77
77
|
|
78
78
|
VERSION
|
79
|
-
1.2.
|
79
|
+
1.2.74
|
80
80
|
|
81
81
|
GLOBAL OPTIONS
|
82
82
|
-a, --add - Add a next action (deprecated, for backwards compatibility)
|
data/bin/commands/add.rb
CHANGED
@@ -59,7 +59,7 @@ class App
|
|
59
59
|
reader = TTY::Reader.new
|
60
60
|
append = options[:at] ? options[:at] =~ /^[ae]/i : global_options[:add_at] =~ /^[ae]/
|
61
61
|
|
62
|
-
priority = options[:priority]
|
62
|
+
priority = options[:priority].to_s || "0"
|
63
63
|
if priority =~ /^[1-5]$/
|
64
64
|
priority = priority.to_i
|
65
65
|
elsif priority =~ /^[hml]$/
|
data/lib/na/version.rb
CHANGED
data/na.gemspec
CHANGED
@@ -17,19 +17,19 @@ spec = Gem::Specification.new do |s|
|
|
17
17
|
s.license = 'MIT'
|
18
18
|
s.files =`git ls-files -z`.split("\x0").reject { |f| f.strip =~ %r{^((test|spec|features)/|\.git|buildnotes|.*\.taskpaper)} }
|
19
19
|
s.require_paths << 'lib'
|
20
|
-
s.extra_rdoc_files = ['README.md','na.rdoc']
|
20
|
+
s.extra_rdoc_files = ['README.md', 'na.rdoc']
|
21
21
|
s.rdoc_options << '--title' << 'na' << '--main' << 'README.md' << '--markup' << 'markdown'
|
22
22
|
s.bindir = 'bin'
|
23
23
|
s.executables << 'na'
|
24
|
+
s.add_development_dependency('minitest', '~> 5.14')
|
24
25
|
s.add_development_dependency('rake','~> 0.9.2')
|
25
26
|
s.add_development_dependency('rdoc', '~> 4.3')
|
26
|
-
s.add_development_dependency('minitest', '~> 5.14')
|
27
|
-
s.add_development_dependency('yard', '~> 0.9', '>= 0.9.26')
|
28
27
|
s.add_development_dependency('rubocop', '~> 1.74')
|
28
|
+
s.add_development_dependency('yard', '~> 0.9', '>= 0.9.26')
|
29
|
+
s.add_runtime_dependency('chronic', '~> 0.10', '>= 0.10.2')
|
29
30
|
s.add_runtime_dependency('gli','~> 2.21.0')
|
31
|
+
s.add_runtime_dependency('mdless', '~> 1.0', '>= 1.0.32')
|
30
32
|
s.add_runtime_dependency('tty-reader', '~> 0.9', '>= 0.9.0')
|
31
33
|
s.add_runtime_dependency('tty-screen', '~> 0.8', '>= 0.8.1')
|
32
34
|
s.add_runtime_dependency('tty-which', '~> 0.5', '>= 0.5.0')
|
33
|
-
s.add_runtime_dependency('chronic', '~> 0.10', '>= 0.10.2')
|
34
|
-
s.add_runtime_dependency('mdless', '~> 1.0', '>= 1.0.32')
|
35
35
|
end
|
data/src/_README.md
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
_If you're one of the rare people like me who find this useful, feel free to
|
10
10
|
[buy me some coffee][donate]._
|
11
11
|
|
12
|
-
The current version of `na` is <!--VER-->1.2.
|
12
|
+
The current version of `na` is <!--VER-->1.2.73<!--END VER-->.
|
13
13
|
|
14
14
|
`na` ("next action") is a command line tool designed to make it easy to see what your next actions are for any project, right from the command line. It works with TaskPaper-formatted files (but any plain text format will do), looking for `@na` tags (or whatever you specify) in todo files in your current folder.
|
15
15
|
|
metadata
CHANGED
@@ -1,14 +1,28 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: na
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.74
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Terpstra
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-16 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: minitest
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - "~>"
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '5.14'
|
19
|
+
type: :development
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - "~>"
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '5.14'
|
12
26
|
- !ruby/object:Gem::Dependency
|
13
27
|
name: rake
|
14
28
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,19 +52,19 @@ dependencies:
|
|
38
52
|
- !ruby/object:Gem::Version
|
39
53
|
version: '4.3'
|
40
54
|
- !ruby/object:Gem::Dependency
|
41
|
-
name:
|
55
|
+
name: rubocop
|
42
56
|
requirement: !ruby/object:Gem::Requirement
|
43
57
|
requirements:
|
44
58
|
- - "~>"
|
45
59
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
60
|
+
version: '1.74'
|
47
61
|
type: :development
|
48
62
|
prerelease: false
|
49
63
|
version_requirements: !ruby/object:Gem::Requirement
|
50
64
|
requirements:
|
51
65
|
- - "~>"
|
52
66
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
67
|
+
version: '1.74'
|
54
68
|
- !ruby/object:Gem::Dependency
|
55
69
|
name: yard
|
56
70
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,19 +86,25 @@ dependencies:
|
|
72
86
|
- !ruby/object:Gem::Version
|
73
87
|
version: 0.9.26
|
74
88
|
- !ruby/object:Gem::Dependency
|
75
|
-
name:
|
89
|
+
name: chronic
|
76
90
|
requirement: !ruby/object:Gem::Requirement
|
77
91
|
requirements:
|
78
92
|
- - "~>"
|
79
93
|
- !ruby/object:Gem::Version
|
80
|
-
version: '
|
81
|
-
|
94
|
+
version: '0.10'
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 0.10.2
|
98
|
+
type: :runtime
|
82
99
|
prerelease: false
|
83
100
|
version_requirements: !ruby/object:Gem::Requirement
|
84
101
|
requirements:
|
85
102
|
- - "~>"
|
86
103
|
- !ruby/object:Gem::Version
|
87
|
-
version: '
|
104
|
+
version: '0.10'
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: 0.10.2
|
88
108
|
- !ruby/object:Gem::Dependency
|
89
109
|
name: gli
|
90
110
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,105 +120,85 @@ dependencies:
|
|
100
120
|
- !ruby/object:Gem::Version
|
101
121
|
version: 2.21.0
|
102
122
|
- !ruby/object:Gem::Dependency
|
103
|
-
name:
|
104
|
-
requirement: !ruby/object:Gem::Requirement
|
105
|
-
requirements:
|
106
|
-
- - "~>"
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version: '0.9'
|
109
|
-
- - ">="
|
110
|
-
- !ruby/object:Gem::Version
|
111
|
-
version: 0.9.0
|
112
|
-
type: :runtime
|
113
|
-
prerelease: false
|
114
|
-
version_requirements: !ruby/object:Gem::Requirement
|
115
|
-
requirements:
|
116
|
-
- - "~>"
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version: '0.9'
|
119
|
-
- - ">="
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
version: 0.9.0
|
122
|
-
- !ruby/object:Gem::Dependency
|
123
|
-
name: tty-screen
|
123
|
+
name: mdless
|
124
124
|
requirement: !ruby/object:Gem::Requirement
|
125
125
|
requirements:
|
126
126
|
- - "~>"
|
127
127
|
- !ruby/object:Gem::Version
|
128
|
-
version: '0
|
128
|
+
version: '1.0'
|
129
129
|
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.
|
131
|
+
version: 1.0.32
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: '0
|
138
|
+
version: '1.0'
|
139
139
|
- - ">="
|
140
140
|
- !ruby/object:Gem::Version
|
141
|
-
version: 0.
|
141
|
+
version: 1.0.32
|
142
142
|
- !ruby/object:Gem::Dependency
|
143
|
-
name: tty-
|
143
|
+
name: tty-reader
|
144
144
|
requirement: !ruby/object:Gem::Requirement
|
145
145
|
requirements:
|
146
146
|
- - "~>"
|
147
147
|
- !ruby/object:Gem::Version
|
148
|
-
version: '0.
|
148
|
+
version: '0.9'
|
149
149
|
- - ">="
|
150
150
|
- !ruby/object:Gem::Version
|
151
|
-
version: 0.
|
151
|
+
version: 0.9.0
|
152
152
|
type: :runtime
|
153
153
|
prerelease: false
|
154
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
155
|
requirements:
|
156
156
|
- - "~>"
|
157
157
|
- !ruby/object:Gem::Version
|
158
|
-
version: '0.
|
158
|
+
version: '0.9'
|
159
159
|
- - ">="
|
160
160
|
- !ruby/object:Gem::Version
|
161
|
-
version: 0.
|
161
|
+
version: 0.9.0
|
162
162
|
- !ruby/object:Gem::Dependency
|
163
|
-
name:
|
163
|
+
name: tty-screen
|
164
164
|
requirement: !ruby/object:Gem::Requirement
|
165
165
|
requirements:
|
166
166
|
- - "~>"
|
167
167
|
- !ruby/object:Gem::Version
|
168
|
-
version: '0.
|
168
|
+
version: '0.8'
|
169
169
|
- - ">="
|
170
170
|
- !ruby/object:Gem::Version
|
171
|
-
version: 0.
|
171
|
+
version: 0.8.1
|
172
172
|
type: :runtime
|
173
173
|
prerelease: false
|
174
174
|
version_requirements: !ruby/object:Gem::Requirement
|
175
175
|
requirements:
|
176
176
|
- - "~>"
|
177
177
|
- !ruby/object:Gem::Version
|
178
|
-
version: '0.
|
178
|
+
version: '0.8'
|
179
179
|
- - ">="
|
180
180
|
- !ruby/object:Gem::Version
|
181
|
-
version: 0.
|
181
|
+
version: 0.8.1
|
182
182
|
- !ruby/object:Gem::Dependency
|
183
|
-
name:
|
183
|
+
name: tty-which
|
184
184
|
requirement: !ruby/object:Gem::Requirement
|
185
185
|
requirements:
|
186
186
|
- - "~>"
|
187
187
|
- !ruby/object:Gem::Version
|
188
|
-
version: '
|
188
|
+
version: '0.5'
|
189
189
|
- - ">="
|
190
190
|
- !ruby/object:Gem::Version
|
191
|
-
version:
|
191
|
+
version: 0.5.0
|
192
192
|
type: :runtime
|
193
193
|
prerelease: false
|
194
194
|
version_requirements: !ruby/object:Gem::Requirement
|
195
195
|
requirements:
|
196
196
|
- - "~>"
|
197
197
|
- !ruby/object:Gem::Version
|
198
|
-
version: '
|
198
|
+
version: '0.5'
|
199
199
|
- - ">="
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version:
|
201
|
+
version: 0.5.0
|
202
202
|
description: A tool for managing a TaskPaper file of project todos for the current
|
203
203
|
directory. Easily create "next actions" to come back to, add tags and priorities,
|
204
204
|
and notes. Add prompt hooks to display your next actions automatically when cd'ing
|