mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
2ccd0dc29d
* Allow running with Rack 3. * Pull in `rack-session` gem if needed. * Try again. * Use separate gemfiles for testing. * Better test titles. * Fix dependency on rack-test. * Add rackup gem. * Fix server registration. * Update rack version constraints Co-authored-by: Jordan Owens <jkowens@gmail.com>
15 lines
322 B
Ruby
15 lines
322 B
Ruby
# frozen_string_literal: true
|
|
|
|
source 'https://rubygems.org'
|
|
# encoding: utf-8
|
|
|
|
gem 'rake'
|
|
|
|
rack_version = ENV['rack'].to_s
|
|
rack_version = nil if rack_version.empty? || (rack_version == 'stable')
|
|
rack_version = { github: 'rack/rack' } if rack_version == 'main'
|
|
gem 'rack', rack_version
|
|
|
|
gem 'sinatra', path: '..'
|
|
|
|
gemspec
|