na 1.1.7 → 1.1.8
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 +8 -0
- data/Gemfile.lock +1 -1
- data/README.md +6 -1
- data/bin/na +10 -2
- data/lib/na/version.rb +1 -1
- data/src/README.md +6 -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: 5b233e64c028a52fe153ef2a02449e90f511a9950c6454d9ed6f198fa79340f0
|
4
|
+
data.tar.gz: 0d2a00e4b387fb2917b22180f34a353038c8eb5a7944fea9570418de10e24c6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab2fe89531b2b4b278375cc35e62922e16101c910d9e95c913202bb1a5879facc00ce868420943cb2fcceb18309a9691bb2b76f8990b7b49f4675d93adb837e6
|
7
|
+
data.tar.gz: 4881155bbc7cb33600462ef01d939847bdca6456fe9c862ef194f9175503246bfc23ecf10983da555d381a113638dd6e6f6b09e17a985f29cdead7c3e082ef38
|
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.8
|
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.
|
@@ -22,6 +22,11 @@ It can also auto-display next actions when you enter a project directory, automa
|
|
22
22
|
|
23
23
|
Assuming you have Ruby and RubyGems installed, you can just run `gem install na`. If you run into errors, use `sudo gem install na`.
|
24
24
|
|
25
|
+
If you're using Homebrew, you have the option to install via [brew-gem](https://github.com/sportngin/brew-gem):
|
26
|
+
|
27
|
+
brew install brew-gem
|
28
|
+
brew gem install na
|
29
|
+
|
25
30
|
If you don't have Ruby/RubyGems, you can install them pretty easily with Homebrew, rvm, or asdf. I can't swear this tool is worth the time, but there _are_ a lot of great gems available...
|
26
31
|
|
27
32
|
|
data/bin/na
CHANGED
@@ -91,11 +91,19 @@ class App
|
|
91
91
|
end
|
92
92
|
end
|
93
93
|
|
94
|
-
|
94
|
+
if options[:tag] == NA.na_tag
|
95
|
+
tag = nil
|
96
|
+
require_na = true
|
97
|
+
else
|
98
|
+
tag = options[:tag]
|
99
|
+
require_na = false
|
100
|
+
end
|
101
|
+
|
95
102
|
tag = [{ tag: tag, value: nil }]
|
96
103
|
files, actions = NA.parse_actions(depth: depth,
|
97
104
|
query: tokens,
|
98
|
-
tag: tag
|
105
|
+
tag: tag,
|
106
|
+
require_na: require_na)
|
99
107
|
|
100
108
|
NA.output_actions(actions, depth, files: files)
|
101
109
|
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.1.
|
12
|
+
The current version of `na` is <!--VER-->1.1.7<!--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
|
|
@@ -21,6 +21,11 @@ It can also auto-display next actions when you enter a project directory, automa
|
|
21
21
|
|
22
22
|
Assuming you have Ruby and RubyGems installed, you can just run `gem install na`. If you run into errors, use `sudo gem install na`.
|
23
23
|
|
24
|
+
If you're using Homebrew, you have the option to install via [brew-gem](https://github.com/sportngin/brew-gem):
|
25
|
+
|
26
|
+
brew install brew-gem
|
27
|
+
brew gem install na
|
28
|
+
|
24
29
|
If you don't have Ruby/RubyGems, you can install them pretty easily with Homebrew, rvm, or asdf. I can't swear this tool is worth the time, but there _are_ a lot of great gems available...
|
25
30
|
|
26
31
|
<!--JEKYLL> You can find the na source code (MIT license) on [GitHub][].-->
|