na 1.2.52 → 1.2.53

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: ab5b88ac338b40822248e4c33b5c87b65add30e67ffdebda203c66c8dd77330a
4
- data.tar.gz: 3bb7a4bf303ffa98502c30b122ebe728c1c31dc2377f839daa1a34ed3f516570
3
+ metadata.gz: 8cecace1a262d294c8ef240dd6413f488b736fc04b7a5edaff413df8184ce2c8
4
+ data.tar.gz: 2d34dedd3c0cedc257ad1e7761afab581522aed6d97aa48ad53f4e1b424b1c68
5
5
  SHA512:
6
- metadata.gz: c75a990f0117537c9087ee6872c93e6213b98fe57b992c0d0c82476df603427fc3f3586a307f4b05be0af77adf20950777576cd3d3966936d2e0cb9d88562cdd
7
- data.tar.gz: 531a7e450af89094784b0228be1821d11c71b3e40b94ad6c68c613eb6f79a29a03285d1c5724cc76932ad8891756363385108c9ba67e2a7d8f7481f6c2ae567d
6
+ metadata.gz: a46c75398d031fa5a4d029ab99bf6df3cdc3958cbda22de87402480f5327afcfaed5b9353df6515a7610990b5d97e5553e37a94186402c0af0cb817bb7b59674
7
+ data.tar.gz: 705c122dbd8714a18676b633f201707a515d69e3e24ddbce2c008cce498e3ccdf4f9b3829f3e28e474b5aaa1e41de93ed775da14bc414db16649bece9ab185cc
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 1.2.53
2
+
3
+ 2023-09-10 08:26
4
+
5
+ #### FIXED
6
+
7
+ - Nil error when requesting input
8
+
1
9
  ### 1.2.52
2
10
 
3
11
  2023-09-10 06:32
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- na (1.2.52)
4
+ na (1.2.53)
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.52
12
+ The current version of `na` is 1.2.53
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.52
80
+ 1.2.53
81
81
 
82
82
  GLOBAL OPTIONS
83
83
  -a, --add - Add a next action (deprecated, for backwards compatibility)
data/Test.todo.markdown CHANGED
@@ -8,8 +8,13 @@ Project2:
8
8
  - new_task @na
9
9
  - new_task @na
10
10
  Project0:
11
- - new_task @na
12
-
11
+ - other task @na
12
+ - other task @na
13
+ - There, that's better @na
14
+ Subproject:
15
+ - new_task 2 @na
16
+ - new_task @na
17
+ - new_task 2 @na
13
18
  Project1:
14
19
  - Test4
15
20
  - Test5
@@ -835,7 +835,7 @@ module NA
835
835
  ## @param prompt [String] The prompt
836
836
  ##
837
837
  def request_input(options, prompt: 'Enter text')
838
- if $stdin.isatty && TTY::Which.exist?('gum') && options[:tagged].empty?
838
+ if $stdin.isatty && TTY::Which.exist?('gum') && (options[:tagged].nil? || options[:tagged].empty?)
839
839
  opts = [%(--placeholder "#{prompt}"),
840
840
  '--char-limit=500',
841
841
  "--width=#{TTY::Screen.columns}"]
data/lib/na/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Na
2
- VERSION = '1.2.52'
2
+ VERSION = '1.2.53'
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.51<!--END VER-->.
12
+ The current version of `na` is <!--VER-->1.2.52<!--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.52
4
+ version: 1.2.53
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra