1 class BundlerCompletion < Formula
2 desc "Bash completion for Bundler"
3 homepage "https://github.com/mernen/completion-ruby"
4 url "https://github.com/mernen/completion-ruby/archive/refs/tags/v1.0.2.tar.gz"
5 sha256 "70b9ae9154076b561f0d7b2b74893258dc00168ded3e8686f14e349f4a324914"
8 head "https://github.com/mernen/completion-ruby.git", branch: "main"
11 formula "ruby-completion"
15 sha256 cellar: :any_skip_relocation, all: "f08e58b28795cd4563c8c7c868db8760b1a7fd0bb23fbfb75f31c999288df683"
19 bash_completion.install "completion-bundle" => "bundler"
23 assert_match "-F __bundle",
24 shell_output("bash -c 'source #{bash_completion}/bundler && complete -p bundle'")