distributable:
  url: https://github.com/defunkt/gist/archive/refs/tags/v{{ version }}.tar.gz
  strip-components: 1

provides:
  - bin/gist

versions:
  github: defunkt/gist/tags
  strip: /v/

dependencies:
  ruby-lang.org: ^3

build:
  dependencies:
    rubygems.org: '*'
  script:
    rake install prefix={{prefix}}

test:
  gist --help
