Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Gemfiles to manage dev/test dependencies + cleanup #1949

Merged
merged 8 commits into from
Sep 24, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove Gemfile groups, it is all test/dev deps
Also

- No longer necessary to use slim main
- Sort list of deps alphabetically
  • Loading branch information
dentarg committed Sep 16, 2023
commit 473568182449cf5c72ffe76be8dae05c39073dcd
29 changes: 9 additions & 20 deletions sinatra-contrib/Gemfile
Original file line number Diff line number Diff line change
@@ -1,37 +1,26 @@
# frozen_string_literal: true

source 'https://rubygems.org'
gemspec

gem 'rack-protection', path: '../rack-protection'
gem 'sinatra', path: '..'

gem 'rack-test', github: 'rack/rack-test'

group :development, :test do
platform :jruby, :ruby do
gem 'hamlit', '>= 3'
# Use main until there's a slim release that can be used with Tilt 2.1.0
# https://github.com/slim-template/slim/pull/910
gem 'slim', github: 'slim-template/slim'
end

platform :ruby do
gem 'yajl-ruby'
end
end
gemspec

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

tilt_version = ENV['tilt'].to_s
tilt_version = nil if tilt_version.empty? || (tilt_version == 'stable')
tilt_version = { github: 'jeremyevans/tilt' } if tilt_version == 'head'
gem 'tilt', tilt_version

gem 'erubi'
gem 'haml'
gem 'hamlit', '>= 3'
gem 'rack', rack_version
gem 'rack-protection', path: '../rack-protection'
gem 'rack-test', github: 'rack/rack-test'
gem 'rake', '>= 12.3.3'
gem 'rspec', '~> 3'
gem 'sinatra', path: '..'
gem 'slim'
gem 'tilt', tilt_version
gem 'yajl-ruby', platforms: [:ruby] # c-ext