mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
Test vendor'd gems using local paths instead of git
This commit is contained in:
parent
772c988b43
commit
c3c10160f6
2 changed files with 2 additions and 7 deletions
|
@ -8,11 +8,6 @@ rack_version = nil if rack_version.empty? or rack_version == 'stable'
|
|||
rack_version = {:github => 'rack/rack'} if rack_version == 'master'
|
||||
gem 'rack', rack_version
|
||||
|
||||
sinatra_version = ENV['sinatra'].to_s
|
||||
sinatra_version = nil if sinatra_version.empty? or sinatra_version == 'stable'
|
||||
sinatra_version = {:github => 'sinatra/sinatra'} if sinatra_version == 'master'
|
||||
# TODO: Remove once sinatra 2.0 is released
|
||||
sinatra_version = {:github => 'sinatra/sinatra'}
|
||||
gem 'sinatra', sinatra_version
|
||||
gem 'sinatra', path: '..'
|
||||
|
||||
gemspec
|
||||
|
|
|
@ -3,6 +3,7 @@ gemspec
|
|||
|
||||
gem 'mustermann', github: 'sinatra/mustermann'
|
||||
gem 'sinatra', path: '..'
|
||||
gem 'rack-protection', path: '../rack-protection'
|
||||
|
||||
group :development, :test do
|
||||
platform :jruby do
|
||||
|
@ -42,4 +43,3 @@ repos = { 'tilt' => 'rtomayko/tilt', 'rack' => 'rack/rack' }
|
|||
gem lib, dep if dep
|
||||
end
|
||||
|
||||
gem "rack-protection", github: "sinatra/rack-protection"
|
||||
|
|
Loading…
Reference in a new issue