Skip to content

Commit

Permalink
nq 1.0
Browse files Browse the repository at this point in the history
autobump: add nq

Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed Jul 6, 2024
1 parent 91c12da commit 5ed04cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1731,6 +1731,7 @@ notcurses
nox
npm-check-updates
npth
nq
ns-3
nsd
nsq
Expand Down
6 changes: 3 additions & 3 deletions Formula/n/nq.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Nq < Formula
desc "Unix command-line queue utility"
homepage "https://github.com/leahneukirchen/nq"
url "https://github.com/leahneukirchen/nq/archive/refs/tags/v0.5.tar.gz"
sha256 "3f01aaf0b8eee4f5080ed1cd71887cb6485d366257d4cf5470878da2b734b030"
url "https://github.com/leahneukirchen/nq/archive/refs/tags/v1.0.tar.gz"
sha256 "d5b79a488a88f4e4d04184efa0bc116929baf9b34617af70d8debfb37f7431f4"
license "CC0-1.0"
head "https://github.com/leahneukirchen/nq.git", branch: "master"

Expand All @@ -24,7 +24,7 @@ def install
end

test do

Check warning on line 26 in Formula/n/nq.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew test --verbose nq` failed on Linux!

/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/bin/bundle clean ==> Testing nq ==> /home/linuxbrew/.linuxbrew/Cellar/nq/1.0/bin/nq touch TEST ,19085d1b8b4.7382 ==> /home/linuxbrew/.linuxbrew/Cellar/nq/1.0/bin/fq -a Error: nq: failed ::error::nq: failed An exception occurred within a child process: Errno::ENOENT: No such file or directory - /home/linuxbrew/.linuxbrew/Cellar/nq/1.0/bin/fq /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_assertions.rb:24:in ``' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula_assertions.rb:24:in `shell_output' /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/n/nq.rb:20:in `block in <class:Nq>' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2784:in `block (3 levels) in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/kernel.rb:528:in `with_env' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2783:in `block (2 levels) in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:1189:in `with_logging' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2782:in `block in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `block in run' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `chdir' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `run' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:3093:in `mktemp' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2776:in `run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test.rb:46:in `block in <main>' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/lib/ruby/3.3.0/timeout.rb:41:in `handle_timeout' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test.rb:50:in `<main>'

Check failure on line 26 in Formula/n/nq.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew test --verbose nq` failed on macOS Sonoma (14) on Apple Silicon!

/opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/bin/bundle clean ==> Testing nq ==> /opt/homebrew/Cellar/nq/1.0/bin/nq touch TEST ,19085d2669f.6891 ==> /opt/homebrew/Cellar/nq/1.0/bin/fq -a Error: nq: failed ::error::nq: failed An exception occurred within a child process: Errno::ENOENT: No such file or directory - /opt/homebrew/Cellar/nq/1.0/bin/fq /opt/homebrew/Library/Homebrew/formula_assertions.rb:24:in ``' /opt/homebrew/Library/Homebrew/formula_assertions.rb:24:in `shell_output' /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/n/nq.rb:20:in `block in <class:Nq>' /opt/homebrew/Library/Homebrew/formula.rb:2784:in `block (3 levels) in run_test' /opt/homebrew/Library/Homebrew/extend/kernel.rb:528:in `with_env' /opt/homebrew/Library/Homebrew/formula.rb:2783:in `block (2 levels) in run_test' /opt/homebrew/Library/Homebrew/formula.rb:1189:in `with_logging' /opt/homebrew/Library/Homebrew/formula.rb:2782:in `block in run_test' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `block in run' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `chdir' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `run' /opt/homebrew/Library/Homebrew/formula.rb:3093:in `mktemp' /opt/homebrew/Library/Homebrew/formula.rb:2776:in `run_test' /opt/homebrew/Library/Homebrew/test.rb:46:in `block in <main>' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/lib/ruby/3.3.0/timeout.rb:41:in `handle_timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /opt/homebrew/Library/Homebrew/test.rb:50:in `<main>'

Check failure on line 26 in Formula/n/nq.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

`brew test --verbose nq` failed on macOS Ventura (13) on Apple Silicon!

/opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/bin/bundle clean ==> Testing nq ==> /opt/homebrew/Cellar/nq/1.0/bin/nq touch TEST ,19085d27864.6599 ==> /opt/homebrew/Cellar/nq/1.0/bin/fq -a Error: nq: failed ::error::nq: failed An exception occurred within a child process: Errno::ENOENT: No such file or directory - /opt/homebrew/Cellar/nq/1.0/bin/fq /opt/homebrew/Library/Homebrew/formula_assertions.rb:24:in ``' /opt/homebrew/Library/Homebrew/formula_assertions.rb:24:in `shell_output' /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/n/nq.rb:20:in `block in <class:Nq>' /opt/homebrew/Library/Homebrew/formula.rb:2784:in `block (3 levels) in run_test' /opt/homebrew/Library/Homebrew/extend/kernel.rb:528:in `with_env' /opt/homebrew/Library/Homebrew/formula.rb:2783:in `block (2 levels) in run_test' /opt/homebrew/Library/Homebrew/formula.rb:1189:in `with_logging' /opt/homebrew/Library/Homebrew/formula.rb:2782:in `block in run_test' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `block in run' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `chdir' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `run' /opt/homebrew/Library/Homebrew/formula.rb:3093:in `mktemp' /opt/homebrew/Library/Homebrew/formula.rb:2776:in `run_test' /opt/homebrew/Library/Homebrew/test.rb:46:in `block in <main>' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/lib/ruby/3.3.0/timeout.rb:41:in `handle_timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /opt/homebrew/Library/Homebrew/test.rb:50:in `<main>'

Check failure on line 26 in Formula/n/nq.rb

View workflow job for this annotation

GitHub Actions / macOS 12-arm64

`brew test --verbose nq` failed on macOS Monterey (12) on Apple Silicon!

/opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/bin/bundle clean ==> Testing nq ==> /opt/homebrew/Cellar/nq/1.0/bin/nq touch TEST ,19085d265af.6561 ==> /opt/homebrew/Cellar/nq/1.0/bin/fq -a Error: nq: failed ::error::nq: failed An exception occurred within a child process: Errno::ENOENT: No such file or directory - /opt/homebrew/Cellar/nq/1.0/bin/fq /opt/homebrew/Library/Homebrew/formula_assertions.rb:24:in ``' /opt/homebrew/Library/Homebrew/formula_assertions.rb:24:in `shell_output' /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/n/nq.rb:20:in `block in <class:Nq>' /opt/homebrew/Library/Homebrew/formula.rb:2784:in `block (3 levels) in run_test' /opt/homebrew/Library/Homebrew/extend/kernel.rb:528:in `with_env' /opt/homebrew/Library/Homebrew/formula.rb:2783:in `block (2 levels) in run_test' /opt/homebrew/Library/Homebrew/formula.rb:1189:in `with_logging' /opt/homebrew/Library/Homebrew/formula.rb:2782:in `block in run_test' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `block in run' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `chdir' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `run' /opt/homebrew/Library/Homebrew/formula.rb:3093:in `mktemp' /opt/homebrew/Library/Homebrew/formula.rb:2776:in `run_test' /opt/homebrew/Library/Homebrew/test.rb:46:in `block in <main>' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/lib/ruby/3.3.0/timeout.rb:41:in `handle_timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /opt/homebrew/Library/Homebrew/test.rb:50:in `<main>'
system "#{bin}/nq", "touch", "TEST"
system bin/"nq", "touch", "TEST"
assert_match "exited with status 0", shell_output("#{bin}/fq -a")
assert_predicate testpath/"TEST", :exist?
end
Expand Down

0 comments on commit 5ed04cf

Please sign in to comment.