22 lines
576 B
Ruby
22 lines
576 B
Ruby
class RbenvReadline < Formula
|
|
desc "Automatically link Ruby installs to readline"
|
|
homepage "https://github.com/tpope/rbenv-readline"
|
|
url "https://github.com/tpope/rbenv-readline/archive/v1.0.0.tar.gz"
|
|
sha256 "8ce024f47ebcdf7a657412a69f1bc4355769ef1bdede96d88785c5bb69483b77"
|
|
|
|
bottle :unneeded
|
|
|
|
head "https://github.com/tpope/rbenv-readline.git"
|
|
|
|
depends_on "rbenv"
|
|
depends_on "ruby-build"
|
|
depends_on "readline"
|
|
|
|
def install
|
|
prefix.install Dir["*"]
|
|
end
|
|
|
|
test do
|
|
assert shell_output("rbenv hooks install").include? "readline-brew.bash"
|
|
end
|
|
end
|