na 1.2.11 → 1.2.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df6c3659bf25a6c38341206f5b027ba52439eb030abd6dc81fa88664e712df53
4
- data.tar.gz: 917116b10e650483bce8ea1da88da95383ca463e11c7161cf6df0551380ca4c0
3
+ metadata.gz: 9f57d129b093d22ebfa8b31a1df536bbf2423fcc2760f7f6eeed09c69fa1f9de
4
+ data.tar.gz: 77a4e95fe464396a5021496c1bcbe39ff958bf12c69a3f76871333654444698f
5
5
  SHA512:
6
- metadata.gz: 7f636b24d884b8d1a568ada3b4112d71cb6c39a6204575ab3f44f8fdf38fb108306496dc460ec1f529d868811695f4f5bdc570d8f7789c5ee3b93aaae31211df
7
- data.tar.gz: e683364f1c9b8eeb14b5492533ee4fa562651e674881efd3267bd692a89e3eda7adceb2afb34b2cd703af2cb1b04375afc1e5d406909a2e73991f5cc525eb56e
6
+ metadata.gz: 71a714a64e56384f653fb2f8df83405d4b6cf024d1ac0a32d1494aa136d7df9ae937b0f50ffb15aafb8bf4db2bcd86e79c41bd7aee3f8893167cb3f0537481c0
7
+ data.tar.gz: 10575125bfd6f2fd591d041050c78d142ff93bfe90bac5c1f300c3d1269be529ae31788498e64e23bb121b2ed422fef1034f470432a1d919a73d57e87f7ccf4d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 1.2.12
2
+
3
+ 2022-10-31 13:52
4
+
5
+ #### FIXED
6
+
7
+ - --save flag for find and tagged not working properly
8
+
1
9
  ### 1.2.11
2
10
 
3
11
  2022-10-31 13:45
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- na (1.2.11)
4
+ na (1.2.12)
5
5
  chronic (~> 0.10, >= 0.10.2)
6
6
  gli (~> 2.21.0)
7
7
  mdless (~> 1.0, >= 1.0.32)
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.11
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.11
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, "find #{NA.command_line.map { |cmd| "\"#{cmd}\"" }.join(' ')}")
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, "tagged #{NA.command_line.map { |cmd| "\"#{cmd}\"" }.join(' ')}")
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/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Na
2
- VERSION = '1.2.11'
2
+ VERSION = '1.2.12'
3
3
  end
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.10<!--END VER-->.
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: na
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.11
4
+ version: 1.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra