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 +4 -4
- data/CHANGELOG.md +20 -0
- data/Gemfile.lock +1 -1
- data/README.md +2 -2
- data/bin/na +4 -2
- data/lib/na/version.rb +1 -1
- data/src/_README.md +1 -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: 3e4ec9be9bb02df547b4d80dda0e81ccf1e33ab1eb31032e49f21012c9cffa1e
|
|
4
|
+
data.tar.gz: f3229716b013fd13fe48b03586df9bfd2d9cc07925b69c9d72882025a05fe39b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
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.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.
|
|
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 ||
|
|
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.
|
|
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
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.101<!--END VER-->.
|
|
13
13
|
|
|
14
14
|
<!--GITHUB-->
|
|
15
15
|
### Table of contents
|