na 1.2.93 → 1.2.94

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: d71185523bd5dc5bd29bca30dda53bedc598c7cd3df911aff0e6cfd6a1adb8cd
4
- data.tar.gz: 388f8288110e0510397d9a7aa8fc75fc13305725c6dfdac10363274a4b2b6aef
3
+ metadata.gz: be595b84ced2283de971f650c8a7fcc906fe3f85afb632d28844226948b2e04a
4
+ data.tar.gz: 42c3e923bc87a57ce003a1f09abbb36fbe50ae7a8cb0f53ba61a39cfe396b26f
5
5
  SHA512:
6
- metadata.gz: 2b045eef10b1132aa64324d3e62f1910ac1e0754f60ee4b368ed85d841f594c5c2a960c908bd04966cdfc223752b54e2ee67a9f60b9960d684868daefcdbef0a
7
- data.tar.gz: 8289a691269c86e829ae8e2abc48a97a0cf680240837f0fbdd48dbfe0f83feb65fb9fb729811253f22ab93215556b46321cfc3914b7dfb0fc8fbec1adf1b3cc7
6
+ metadata.gz: a58da516e33145ca50285e373c62d2cee940fc477027f8cbcbb17035a3105298ca69c29a2d7f50fcc7154e545fa31999cf0e4c19fca17d974b8804de21538c32
7
+ data.tar.gz: 53bc7323992af3458ca1b797c82e25a47fa4d3d0fcff842575795eb23606b6a405628e8e8ed83c7f8bb177074b72bc763c01e09136888864752b92e3cfa9c5e1
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 1.2.94
2
+
3
+ 2025-12-01 09:22
4
+
5
+ #### FIXED
6
+
7
+ - Regex search in `na update` no longer raises errors when using `-e` with tokens that compile to a Regexp.
8
+
1
9
  ### 1.2.93
2
10
 
3
11
  2025-11-29 21:51
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- na (1.2.93)
4
+ na (1.2.94)
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.93.
12
+ The current version of `na` is 1.2.94.
13
13
 
14
14
 
15
15
  ### Table of contents
@@ -116,7 +116,7 @@ SYNOPSIS
116
116
  na [global options] command [command options] [arguments...]
117
117
 
118
118
  VERSION
119
- 1.2.93
119
+ 1.2.94
120
120
 
121
121
  GLOBAL OPTIONS
122
122
  -a, --add - Add a next action (deprecated, for backwards compatibility)
data/Rakefile CHANGED
@@ -1,4 +1,4 @@
1
- require 'rake/clean'
1
+ require "rake/clean"
2
2
  require 'rubygems'
3
3
  require 'rubygems/package_task'
4
4
  require 'rdoc/task'
@@ -55,21 +55,21 @@ Rake::TestTask.new do |t|
55
55
  t.test_files = FileList['test/*_test.rb']
56
56
  end
57
57
 
58
- desc 'Install current gem in all versions of asdf-controlled ruby'
58
+ desc 'Install current gem in all versions of mise-managed ruby'
59
59
  task :install do
60
60
  Rake::Task['clobber'].invoke
61
61
  Rake::Task['package'].invoke
62
62
  Dir.chdir 'pkg'
63
63
  file = Dir.glob('*.gem').last
64
64
 
65
- current_ruby = `asdf current ruby`.match(/(\d.\d+.\d+)/)[1]
65
+ current_ruby = `mise current ruby`.match(/(\d.\d+.\d+)/)[1]
66
66
 
67
- `asdf list ruby`.split.map { |ruby| ruby.strip.sub(/^*/, '') }.each do |ruby|
68
- `asdf shell ruby #{ruby}`
67
+ `mise list ruby`.split.map { |ruby| ruby.strip.sub(/^*/, '') }.each do |ruby|
68
+ `mise shell ruby #{ruby}`
69
69
  puts `gem install #{file}`
70
70
  end
71
71
 
72
- `asdf shell ruby #{current_ruby}`
72
+ `mise shell ruby #{current_ruby}`
73
73
  end
74
74
 
75
75
  desc 'Development version check'
data/lib/na/todo.rb CHANGED
@@ -97,7 +97,7 @@ module NA
97
97
  # Track whether strings came from direct path (need escaping) or parse_search (already processed)
98
98
  strings_from_direct_path = false
99
99
  unless settings[:search].nil? || (settings[:search].respond_to?(:empty?) && settings[:search].empty?)
100
- if settings[:regex] || settings[:search].is_a?(String)
100
+ if settings[:regex] || settings[:search].is_a?(String) || settings[:search].is_a?(Regexp)
101
101
  strings_from_direct_path = true
102
102
  if settings[:negate]
103
103
  negated.push(settings[:search])
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.93'
8
+ VERSION = '1.2.94'
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.92<!--END VER-->.
12
+ The current version of `na` is <!--VER-->1.2.93<!--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.93
4
+ version: 1.2.94
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra