1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
sinatra/rack-protection/Gemfile
Patrik Ragnarsson 0a424f01ee
CI: handle dependencies the same way, add Tilt to the matrix (#1881)
Adds Tilt (https://rubygems.org/gems/tilt) to the CI matrix. It now
resides at https://github.com/jeremyevans/tilt

Changes `latest` to `head` because "latest" sounds a lot like "latest
release" but we mean using the main/master branch of the repo of the
dependency we test with. Matches `ruby-head`.
2023-02-22 08:42:41 +01:00

17 lines
365 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 == 'head'
gem 'rack', rack_version
gem 'sinatra', path: '..'
gemspec
gem 'rack-test', github: 'rack/rack-test'