na 1.2.10 → 1.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGELOG.md +16 -0
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/bin/na +2 -2
- data/lib/na/next_action.rb +1 -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: 9f57d129b093d22ebfa8b31a1df536bbf2423fcc2760f7f6eeed09c69fa1f9de
|
4
|
+
data.tar.gz: 77a4e95fe464396a5021496c1bcbe39ff958bf12c69a3f76871333654444698f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71a714a64e56384f653fb2f8df83405d4b6cf024d1ac0a32d1494aa136d7df9ae937b0f50ffb15aafb8bf4db2bcd86e79c41bd7aee3f8893167cb3f0537481c0
|
7
|
+
data.tar.gz: 10575125bfd6f2fd591d041050c78d142ff93bfe90bac5c1f300c3d1269be529ae31788498e64e23bb121b2ed422fef1034f470432a1d919a73d57e87f7ccf4d
|
data/.travis.yml
CHANGED
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.12
|
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.12
|
81
81
|
|
82
82
|
GLOBAL OPTIONS
|
83
83
|
-a, --[no-]add - Add a next action (deprecated, for backwards compatibility)
|
data/bin/na
CHANGED
@@ -600,7 +600,7 @@ class App
|
|
600
600
|
c.action do |global_options, options, args|
|
601
601
|
if options[:save]
|
602
602
|
title = options[:save].gsub(/[^a-z0-9]/, '_').gsub(/_+/, '_')
|
603
|
-
NA.save_search(title, "
|
603
|
+
NA.save_search(title, "#{NA.command_line.join(' ').sub(/ --save[= ]*\S+/, '')}")
|
604
604
|
end
|
605
605
|
|
606
606
|
depth = if global_options[:recurse] && options[:depth].nil? && global_options[:depth] == 1
|
@@ -705,7 +705,7 @@ class App
|
|
705
705
|
c.action do |global_options, options, args|
|
706
706
|
if options[:save]
|
707
707
|
title = options[:save].gsub(/[^a-z0-9]/, '_').gsub(/_+/, '_')
|
708
|
-
NA.save_search(title, "
|
708
|
+
NA.save_search(title, "#{NA.command_line.join(' ').sub(/ --save[= ]*\S+/, '')}")
|
709
709
|
end
|
710
710
|
|
711
711
|
depth = if global_options[:recurse] && options[:depth].nil? && global_options[:depth] == 1
|
data/lib/na/next_action.rb
CHANGED
@@ -265,7 +265,7 @@ module NA
|
|
265
265
|
target_proj = nil
|
266
266
|
|
267
267
|
if project
|
268
|
-
project.sub
|
268
|
+
project = project.sub(/:$/, '')
|
269
269
|
target_proj = projects.select { |pr| pr.project =~ /#{project.gsub(/:/, '.*?:.*?')}/i }.first
|
270
270
|
if target_proj.nil?
|
271
271
|
res = NA.yn(NA::Color.template("{y}Project {bw}#{project}{xy} doesn't exist, add it"), default: true)
|
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.11<!--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.12
|
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-10-
|
11
|
+
date: 2022-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|