Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 17 lines (14 sloc) 0.502 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
source "http://rubygems.org"

gemspec

# Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
# Used by the CI.
github = "git://github.com/%s.git"
repos = {'sinatra' => github % "sinatra/sinatra", 'rdoc-rouge' => github % "zzak/rdoc-rouge"}

%w[sinatra rdoc-rouge].each do |lib|
  dep = case ENV[lib]
        when 'stable', nil then nil
        when /(\d+\.)+\d+/ then "~> " + ENV[lib].sub("#{lib}-", '')
        else {:git => repos[lib], :branch => dep}
        end
  gem lib, dep
end
Something went wrong with that request. Please try again.