na 1.2.101 → 1.2.102

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1cf2028aa8b5420b1943873ccd9defc0cea44ba83ed76d437d33fd2676d753d
4
- data.tar.gz: a33b579fa622f70a4b3771dc86a63d324be2fd751aa87980c02ad1a6f1556221
3
+ metadata.gz: 3e4ec9be9bb02df547b4d80dda0e81ccf1e33ab1eb31032e49f21012c9cffa1e
4
+ data.tar.gz: f3229716b013fd13fe48b03586df9bfd2d9cc07925b69c9d72882025a05fe39b
5
5
  SHA512:
6
- metadata.gz: b14815f0edac0f8d48ba15d0005e2c57b10e1db28e6fba687374d86b17cfd087eed8476a5e816d5ffb425009bfd20ee2b852a0fc5be5430efecc81d34843ae86
7
- data.tar.gz: ea4ef1b69c4bac50a371362439de89b3721d07b42533cc1bcff9e377ead25b8034a25f2ab9c98e1889c6ea5beec636670d469a9388b4178ea5b79296942c6790
6
+ metadata.gz: 0c56a1b6466fbef64e67b09cb11833cc74fbd487f5fdf78173ba092aa0efba062825988db6d60784ddafbc78fd5aefea6a8db77735e162f4620ba80b04ac0a27
7
+ data.tar.gz: 1b5ba39b700810493e09e684d693cef30a9eb7056e7a4b131afbd4b626cc022a03492272645690b160ab39238ef4921c281acaac57210a0cd66c706d4d2464a8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ### 1.2.102
2
+
3
+ 2026-04-27 04:36
4
+
5
+ #### CHANGED
6
+
7
+ - Allow next --available with filters to match actions without the default @na tag.
8
+ - Bump the gem version to 1.2.101.
9
+ - Bump the gem version to 1.2.102.
10
+
11
+ #### NEW
12
+
13
+ - Add next --available/-a to show the first available action per project.
14
+
15
+ #### FIXED
16
+
17
+ - Match unique nested projects by leaf name in add/update
18
+ - Make --color force colored output even when stdout is not a TTY.
19
+ - Make -f FILE --color force colored output when stdout is not a TTY.
20
+
1
21
  ### 1.2.101
2
22
 
3
23
  2026-04-26 12:06
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- na (1.2.101)
4
+ na (1.2.102)
5
5
  chronic (~> 0.10, >= 0.10.2)
6
6
  csv (~> 3.2)
7
7
  git (~> 3.0.0)
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.101.
12
+ The current version of `na` is 1.2.102.
13
13
 
14
14
 
15
15
  ### Table of contents
@@ -257,7 +257,7 @@ SYNOPSIS
257
257
  na [global options] command [command options] [arguments...]
258
258
 
259
259
  VERSION
260
- 1.2.101
260
+ 1.2.102
261
261
 
262
262
  GLOBAL OPTIONS
263
263
  -a, --add - Add a next action (deprecated, for backwards compatibility)
data/bin/na CHANGED
@@ -9,6 +9,8 @@ require 'na/benchmark'
9
9
  require 'fcntl'
10
10
  require 'tempfile'
11
11
 
12
+ ORIGINAL_ARGV = ARGV.dup
13
+
12
14
  NA::Benchmark.init
13
15
  NA::Benchmark.measure('Gem loading') { nil } # Measures time up to this point
14
16
 
@@ -116,7 +118,7 @@ class App
116
118
  NA::Plugins.ensure_plugins_home
117
119
  NA.verbose = global[:debug]
118
120
  NA::Pager.paginate = global[:pager] && $stdout.isatty
119
- NA::Color.coloring = global[:color] && ($stdout.isatty || NA.globals.include?('--color'))
121
+ NA::Color.coloring = global[:color] && ($stdout.isatty || ORIGINAL_ARGV.include?('--color'))
120
122
  NA.extension = global[:ext]
121
123
  NA.include_ext = global[:include_ext]
122
124
  NA.na_tag = global[:na_tag]
@@ -175,7 +177,7 @@ class App
175
177
  on_error do |exception|
176
178
  case exception
177
179
  when GLI::UnknownCommand
178
- if NA.command_line.count == 1
180
+ if NA.command_line.one?
179
181
  cmd = ['saved']
180
182
  cmd.concat(ARGV.unshift(NA.command_line[0]))
181
183
 
data/lib/na/version.rb CHANGED
@@ -5,5 +5,5 @@
5
5
  module Na
6
6
  ##
7
7
  # Current version of the na gem.
8
- VERSION = '1.2.101'
8
+ VERSION = '1.2.102'
9
9
  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.100<!--END VER-->.
12
+ The current version of `na` is <!--VER-->1.2.101<!--END VER-->.
13
13
 
14
14
  <!--GITHUB-->
15
15
  ### Table of contents
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.101
4
+ version: 1.2.102
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra