na 1.2.70 → 1.2.71
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/bin/commands/add.rb +6 -6
- data/lib/na/version.rb +1 -1
- data/src/_README.md +1 -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: fe5fb0228e30d0d8b9fe50ce90045a6da7462a024e91e059e1b759726eb7d22b
|
4
|
+
data.tar.gz: 389a71c1253d5b8e29655772b36475e7ad9de34d55a21f68090264ccbdf593a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2388c34fb46474dbe2a133f1a561eab68809cd08e03f052841e956e910a1993e6d24d2b273ca360f5e40790ec32cad56e09e9b73cd637c7248b28ee1eba01b8c
|
7
|
+
data.tar.gz: 2465f8b85a9bb2cc3ef13c51aa29eb9aff242b577fe7e3cabadbc37c8fca19556a40abc320deea515bac57b680d2e8915cdb225168fe5dca335dd1b192ed15bd
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
### 1.2.71
|
2
|
+
|
3
|
+
2024-09-28 11:12
|
4
|
+
|
5
|
+
#### FIXED
|
6
|
+
|
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
|
9
|
+
- Error in concat for line notes
|
10
|
+
|
1
11
|
### 1.2.70
|
2
12
|
|
3
13
|
2024-09-28 11:10
|
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.71.
|
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.71
|
80
80
|
|
81
81
|
GLOBAL OPTIONS
|
82
82
|
-a, --add - Add a next action (deprecated, for backwards compatibility)
|
data/bin/commands/add.rb
CHANGED
@@ -133,11 +133,11 @@ class App
|
|
133
133
|
end
|
134
134
|
|
135
135
|
note_rx = /^(.+) \(([^)]+)\)$/
|
136
|
-
split_note = if action =~ note_rx
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
136
|
+
split_note = if action =~ note_rx
|
137
|
+
n = Regexp.last_match(2)
|
138
|
+
action.sub!(note_rx, '\1').strip!
|
139
|
+
n
|
140
|
+
end
|
141
141
|
|
142
142
|
if options[:priority]&.to_i&.positive?
|
143
143
|
action = "#{action.gsub(/@priority\(\d+\)/, "")} @priority(#{options[:priority]})"
|
@@ -170,7 +170,7 @@ split_note = if action =~ note_rx
|
|
170
170
|
|
171
171
|
note = stdin_note.empty? ? [] : stdin_note
|
172
172
|
note.<< split_note unless split_note.nil?
|
173
|
-
note
|
173
|
+
note.concat(line_note) unless line_note.nil?
|
174
174
|
|
175
175
|
NA.add_action(target, options[:project], action, note, finish: options[:finish], append: append)
|
176
176
|
end
|
data/lib/na/version.rb
CHANGED
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.70<!--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
|
|