na 1.2.61 → 1.2.62
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 +2 -2
- data/lib/na/next_action.rb +4 -0
- 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: 7593e49883f52039a97b3ab2120d8ff33d4fc96e26668c0ced93925ccbdb50dd
|
4
|
+
data.tar.gz: a2d81d64424252333b43892e2084b6723f2a86bb49b21bf7e4b2b41910ac276f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aeb67a3726ca053efe7f453659d40bb87a776f1d52f7bd40d843821ee3569edd8ad5edf3e3e0d5f6d4b3f1ec850f3215f21bee5fda495faf8024771dd4115ca1
|
7
|
+
data.tar.gz: afa3e3a0cdeaffd7d400f1be9351ef4ed832e0b60311610055a6249d6645e649bb51cf1586b52176620b18665f929ffef8543d110ebc721c9cdbb15fa6fbec8c
|
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.2.
|
12
|
+
The current version of `na` is 1.2.62
|
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.
|
@@ -77,7 +77,7 @@ SYNOPSIS
|
|
77
77
|
na [global options] command [command options] [arguments...]
|
78
78
|
|
79
79
|
VERSION
|
80
|
-
1.2.
|
80
|
+
1.2.62
|
81
81
|
|
82
82
|
GLOBAL OPTIONS
|
83
83
|
-a, --add - Add a next action (deprecated, for backwards compatibility)
|
data/lib/na/next_action.rb
CHANGED
@@ -581,6 +581,7 @@ module NA
|
|
581
581
|
NA.notify("#{NA.theme[:warning]}No matches, loosening search", debug: true)
|
582
582
|
match_working_dir(search, distance: 2, require_last: false)
|
583
583
|
else
|
584
|
+
NA.notify("Matched files: {x}#{dirs.join(', ')}", debug: true)
|
584
585
|
dirs
|
585
586
|
end
|
586
587
|
end
|
@@ -767,7 +768,10 @@ module NA
|
|
767
768
|
else
|
768
769
|
match_working_dir(query)
|
769
770
|
end
|
771
|
+
|
770
772
|
target = files.count > 1 ? NA.select_file(files) : files[0]
|
773
|
+
return if target.nil?
|
774
|
+
|
771
775
|
projects = find_projects(target)
|
772
776
|
projects.each do |proj|
|
773
777
|
parts = proj.project.split(/:/)
|
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.61<!--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.2.
|
4
|
+
version: 1.2.62
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Terpstra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|