homebrew-core/Formula/rbenv-whatis.rb
Stephen Touset 8f5949afd6 rbenv-use: fuzzy matching plugin for rbenv
These formulae allow an rbenv user to use fuzzy version matching when
switching Ruby versions.

    $ rbenv whatis 1.8.7
    1.8.7-p374
    $ rbenv whatis 2
    2.0.0-p247
    $ rbenv use 1.8.7
    $ rbenv version
    1.8.7-p374 (set by RBENV_VERSION environment variable)

Closes Homebrew/homebrew#21152.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-12 09:33:16 -07:00

13 lines
287 B
Ruby

require 'formula'
class RbenvWhatis < Formula
homepage 'https://github.com/rkh/rbenv-whatis'
url 'https://github.com/rkh/rbenv-whatis/archive/9bf9f2.tar.gz'
sha1 'a78eb1ce44974d7080087f96d8b17f1334b9e03c'
depends_on 'rbenv'
def install
prefix.install Dir['*']
end
end