mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[bundler/bundler] Remove unnecessary begin-end block
And freeze the resulting hash to appease rubocop.
f38ebff92f
This commit is contained in:
parent
f8c03b24ca
commit
b2baf6bb02
1 changed files with 13 additions and 15 deletions
|
@ -6,21 +6,19 @@ require "fileutils"
|
|||
|
||||
module Spec
|
||||
module Rubygems
|
||||
DEPS = begin
|
||||
{
|
||||
# artifice doesn't support rack 2.x now.
|
||||
"rack" => "< 2.0",
|
||||
"rack-test" => "~> 1.1",
|
||||
"artifice" => "~> 0.6.0",
|
||||
"compact_index" => "~> 0.11.0",
|
||||
"sinatra" => "~> 1.4.7",
|
||||
# Rake version has to be consistent for tests to pass
|
||||
"rake" => "12.3.2",
|
||||
"builder" => "~> 3.2",
|
||||
# ruby-graphviz is used by the viz tests
|
||||
"ruby-graphviz" => nil,
|
||||
}
|
||||
end
|
||||
DEPS = {
|
||||
# artifice doesn't support rack 2.x now.
|
||||
"rack" => "< 2.0",
|
||||
"rack-test" => "~> 1.1",
|
||||
"artifice" => "~> 0.6.0",
|
||||
"compact_index" => "~> 0.11.0",
|
||||
"sinatra" => "~> 1.4.7",
|
||||
# Rake version has to be consistent for tests to pass
|
||||
"rake" => "12.3.2",
|
||||
"builder" => "~> 3.2",
|
||||
# ruby-graphviz is used by the viz tests
|
||||
"ruby-graphviz" => nil,
|
||||
}.freeze
|
||||
|
||||
def self.setup
|
||||
Gem.clear_paths
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue