na 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/na/next_action.rb +3 -2
- data/lib/na/string.rb +3 -1
- data/lib/na/version.rb +1 -1
- data/src/README.md +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3bf171b4029a85c4a1277e989eef561e81306c925e1f816b75158885020df8d
|
4
|
+
data.tar.gz: e006d499ca796b2d40ee5079fd67c48a36c492882cecb252786805eaeddc3f3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad1811c1c5c6a9e9198d43ecb2b2fd8b3b14e6290a0b31e48822b4123bf156b5774d97334dba4ecb6f239e645356d087a98e238c64392cc50f47645dd4d2f05b
|
7
|
+
data.tar.gz: 235473855acaefc65b28eb88cfb21646a98573ad2e2d37fe2c33e5415671ea9b2f8d03e070913a534e21a31632794c3a44ca604da9acbe9e75b8f3c720cd1393
|
data/CHANGELOG.md
CHANGED
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.1.
|
12
|
+
The current version of `na` is 1.1.5
|
13
13
|
.
|
14
14
|
|
15
15
|
`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.
|
data/lib/na/next_action.rb
CHANGED
@@ -148,12 +148,13 @@ module NA
|
|
148
148
|
if indent.zero?
|
149
149
|
parent = [proj]
|
150
150
|
elsif indent <= indent_level
|
151
|
-
parent.slice!(
|
151
|
+
parent.slice!(indent, parent.count - indent)
|
152
152
|
parent.push(proj)
|
153
153
|
elsif indent > indent_level
|
154
154
|
parent.push(proj)
|
155
|
-
indent_level = indent
|
156
155
|
end
|
156
|
+
|
157
|
+
indent_level = indent
|
157
158
|
elsif line =~ /^[ \t]*- / && line !~ / @done/
|
158
159
|
next unless line =~ /@#{NA.na_tag}\b/
|
159
160
|
|
data/lib/na/string.rb
CHANGED
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.1.
|
12
|
+
The current version of `na` is <!--VER-->1.1.4<!--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,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: na
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Terpstra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|