From 12c780b2b183e28650d177165a9f573b200c2f0e Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Fri, 18 Jul 2025 11:37:03 +0900 Subject: [PATCH 1/2] Update nanoc completion version 4.13.5 --- src/_nanoc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/_nanoc b/src/_nanoc index 0a87f1a..f88d62f 100644 --- a/src/_nanoc +++ b/src/_nanoc @@ -23,7 +23,7 @@ # Description # ----------- # -# Completion script for nanoc 4.12.16 (https://nanoc.app/) +# Completion script for nanoc 4.13.5 (https://nanoc.app/) # # ------------------------------------------------------------------------------ # Authors @@ -94,7 +94,8 @@ case $state in args=( {-W,--watch}'[watch for changes and recompile when needed]' "--diff[generate diff]" - ) + "--focus=[compile only items matching the given pattern]:pattern" + ) ;; create-site) args=( @@ -108,22 +109,21 @@ case $state in {-L,--list}"[list available locations to deploy to]" {-n,--dry-run}"[show what would be deployed]" {-t,--target=}"[specify the location to deploy to (default:\`default\`)]:target" - ) + ) ;; prune) - args=( + args+=( {-n,--dry-run}"[print files to be deleted instead of actually deleting them]" {-y,--yes}"[confirm deletion]" - ) + ) ;; shell) args=( {-p,--preprocess}"[run preprocessor]" - ) + ) ;; show-data|show-plugins|show-rules) - args=( - ) + args=() ;; view) args=( @@ -131,7 +131,7 @@ case $state in {-L,--live-reload}"[reload on changes]" {-o,--host=}"[specify the host to listen on(default: 127.0.0.1)]:host" {-p,--port=}"[specify the port to listen on(default: 3000)]:port" - ) + ) ;; esac From 06b7c9bc38d3a22331e5f51420a5e4540ad81b54 Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Fri, 18 Jul 2025 11:37:16 +0900 Subject: [PATCH 2/2] Update bundle completion 2.7.0 --- src/_bundle | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/_bundle b/src/_bundle index d3b3e27..0122fd2 100644 --- a/src/_bundle +++ b/src/_bundle @@ -28,7 +28,7 @@ # Description # ----------- # -# Completion script for Bundler 2.4.1 (https://bundler.io/). +# Completion script for Bundler 2.7.0 (https://bundler.io/). # # ------------------------------------------------------------------------------ # Authors @@ -199,6 +199,8 @@ case $state in '--github=-[specify the github source for the added gem]:github' \ '--branch=-[specify the git branch for the added gem]:branch' \ '--ref=-[specify the git ref for the added gem]' \ + "--glob=[specify the location of a dependency's .gemspec, expanded within Ruby]:glob" \ + '--quiet[do not print progress information to the starndard output]' \ '--skip-install[adds the gem to the Gemfile but does not install it]' \ '--optimistic[adds optimistic declaration of version]' \ '--strict[adds strict declaration of version]' \ @@ -277,6 +279,7 @@ case $state in '--full-index[fall back to using the single file index of all gems]' \ '--add-platform=-[add a new platform to the lockfile, re-resolving for the addition of that platform]' \ '--remove-platform=-[remove a platform from the lockfile]' \ + '--normalize-platforms[normalize lockfile platforms]' \ '--patch[if updating, prefer updating only to next patch version]' \ '--minor[if updating, prefer updating only to next minor version]' \ '--major[if updating, prefer updating to next major version(default)]' \ @@ -296,6 +299,7 @@ case $state in init) _arguments \ '--gemspec=-[use the specified .gemspec to create the Gemfile]: :_files' \ + '--gemfile=[use the specified name for the gamfile instead of Gemfile]:name' \ && ret=0 ;; gem) @@ -308,9 +312,12 @@ case $state in '(--ext --no-ext)--no-ext[do not add extension code]' \ '(--no-mit --mit)--mit[add an MIT license to a LICENSE.txt file in the root of the generated project]' \ '(--mit --no-mit)--no-mit[do not create a LICENSE.txt]' \ - '(-t --test)'{-t,--test}=-'[specify the test framework]: :(minitest rspec test-unit)' \ - '--ci=-[specify the continuous integration service]: :(github travis gitlab circle)' \ - '--linter=-[specify the linter and code formatter]: :(rubocop standard)' \ + '(-t --test --no-test)'{-t,--test}=-'[specify the test framework]: :(minitest rspec test-unit)' \ + '(-t --test --no-test)--no-test[do not use a test framework]' \ + '(--ci --no-ci)--ci=-[specify the continuous integration service]: :(github travis gitlab circle)' \ + '(--ci --no-ci)--no-ci[do not use a continuous integration service]' \ + '(--linter --no-linter)--linter=-[specify the linter and code formatter]: :(rubocop standard)' \ + '(--linter --no-linter)--no-linter[do not add a linter]' \ '(-e --edit)'{-e,--edit}=-'[open the resulting GEM_NAME.gemspec in EDITOR]' \ '1::gem_name:' \ && ret=0