class Gibo < Formula desc "Access GitHub's .gitignore boilerplates" homepage "https://github.com/simonwhitaker/gibo" url "https://github.com/simonwhitaker/gibo/archive/2.2.2.tar.gz" sha256 "1ce2497b0d8a5ad165d7428c4e87e40072581f3ba6ff56b3fceeb53c52630442" bottle :unneeded def install bin.install "gibo" bash_completion.install "shell-completions/gibo-completion.bash" zsh_completion.install "shell-completions/gibo-completion.zsh" => "_gibo" fish_completion.install "shell-completions/gibo.fish" end test do system "#{bin}/gibo", "update" assert_includes shell_output("#{bin}/gibo dump Python"), "Python.gitignore" end end