mirror of
				https://github.com/sinatra/sinatra
				synced 2023-03-27 23:18:01 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
	
		
			889 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
	
		
			889 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
source "https://rubygems.org" unless ENV['QUICK']
 | 
						|
gemspec
 | 
						|
 | 
						|
gem 'sinatra', :github => 'sinatra/sinatra'
 | 
						|
gem 'temple', :github => 'zzak/temple', :branch => '0-6-patched'
 | 
						|
 | 
						|
group :development, :test do
 | 
						|
  platform :ruby_18, :jruby do
 | 
						|
    gem 'json'
 | 
						|
    gem 'rdoc'
 | 
						|
  end
 | 
						|
 | 
						|
  platform :ruby do
 | 
						|
    gem 'execjs', '2.0.0'
 | 
						|
    gem 'nokogiri', '1.5.10'
 | 
						|
    gem 'redcarpet', '2.3.0'
 | 
						|
    gem 'slim', '2.1.0'
 | 
						|
    gem 'liquid', '2.6.1'
 | 
						|
    gem 'yajl-ruby'
 | 
						|
  end
 | 
						|
 | 
						|
  gem 'multi_json'
 | 
						|
end
 | 
						|
 | 
						|
# Allows stuff like `tilt=1.2.2 bundle install` or `tilt=master ...`.
 | 
						|
# Used by the CI.
 | 
						|
github = "git://github.com/%s.git"
 | 
						|
repos = { 'tilt' => github % "rtomayko/tilt", 'rack' => github % "rack/rack" }
 | 
						|
%w[tilt rack].each do |lib|
 | 
						|
  dep = (ENV[lib] || 'stable').sub "#{lib}-", ''
 | 
						|
  dep = nil if dep == 'stable'
 | 
						|
  dep = {:git => repos[lib], :branch => dep} if dep and dep !~ /(\d+\.)+\d+/
 | 
						|
  gem lib, dep unless dep
 | 
						|
end
 | 
						|
 |