1
0
Fork 0
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:
David Rodríguez 2019-07-08 12:58:24 +02:00 committed by Hiroshi SHIBATA
parent f8c03b24ca
commit b2baf6bb02
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -6,8 +6,7 @@ require "fileutils"
module Spec module Spec
module Rubygems module Rubygems
DEPS = begin DEPS = {
{
# artifice doesn't support rack 2.x now. # artifice doesn't support rack 2.x now.
"rack" => "< 2.0", "rack" => "< 2.0",
"rack-test" => "~> 1.1", "rack-test" => "~> 1.1",
@ -19,8 +18,7 @@ module Spec
"builder" => "~> 3.2", "builder" => "~> 3.2",
# ruby-graphviz is used by the viz tests # ruby-graphviz is used by the viz tests
"ruby-graphviz" => nil, "ruby-graphviz" => nil,
} }.freeze
end
def self.setup def self.setup
Gem.clear_paths Gem.clear_paths