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
Show file tree
Hide file tree
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
Next Next commit
Manage development dependencies with Gemfiles
  • Loading branch information
dentarg committed Sep 16, 2023
commit 9b8b6e340689590492f710bb249bafc083a43b28
1 change: 1 addition & 0 deletions rack-protection/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ source 'https://rubygems.org'
# encoding: utf-8

gem 'rake'
gem 'rspec', '~> 3'

rack_version = ENV['rack'].to_s
rack_version = nil if rack_version.empty? || (rack_version == 'stable')
Expand Down
3 changes: 0 additions & 3 deletions rack-protection/rack-protection.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,4 @@ RubyGems 2.0 or newer is required to protect against public gem pushes. You can
# dependencies
s.add_dependency 'base64'
s.add_dependency 'rack', '~> 2.2', '>= 2.2.4'

s.add_development_dependency 'rack-test', '~> 2'
s.add_development_dependency 'rspec', '~> 3'
end
11 changes: 10 additions & 1 deletion sinatra-contrib/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ group :development, :test do

platform :ruby do
gem 'execjs', '>= 2.0.0'
gem 'nokogiri', '>= 1.13.6'
gem 'redcarpet', '>= 3.5.1'
gem 'yajl-ruby'
end
Expand All @@ -43,3 +42,13 @@ 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 'asciidoctor'
gem 'builder'
gem 'erubi'
gem 'haml'
gem 'markaby'
gem 'nokogiri', '>= 1.13.6'
gem 'rake', '>= 12.3.3'
gem 'rspec', '~> 3'
gem 'sass-embedded', '~> 1.54'
14 changes: 0 additions & 14 deletions sinatra-contrib/sinatra-contrib.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,4 @@ RubyGems 2.0 or newer is required to protect against public gem pushes. You can
s.add_dependency 'rack-protection', version
s.add_dependency 'sinatra', version
s.add_dependency 'tilt', '~> 2.0'

s.add_development_dependency 'asciidoctor'
s.add_development_dependency 'builder'
s.add_development_dependency 'erubi'
s.add_development_dependency 'haml'
s.add_development_dependency 'liquid'
s.add_development_dependency 'markaby'
s.add_development_dependency 'nokogiri'
s.add_development_dependency 'rack-test', '~> 2'
s.add_development_dependency 'rake', '>= 12.3.3'
s.add_development_dependency 'redcarpet'
s.add_development_dependency 'rspec', '~> 3'
s.add_development_dependency 'sass-embedded', '~> 1.54'
s.add_development_dependency 'slim'
end
2 changes: 0 additions & 2 deletions sinatra.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,4 @@ RubyGems 2.0 or newer is required to protect against public gem pushes. You can
s.add_dependency 'rack', '~> 2.2', '>= 2.2.4'
s.add_dependency 'rack-protection', version
s.add_dependency 'tilt', '~> 2.0'

s.add_development_dependency 'rack-test', '~> 2'
end