From f3b129241c2f12c2db8382be67fa304d4034c9ba Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 15 Mar 2023 18:07:35 +0900 Subject: [rubygems/rubygems] Applied Layout/SpaceAroundOperators cop https://github.com/rubygems/rubygems/commit/3139587be9 --- spec/bundler/install/gemfile/sources_spec.rb | 2 +- spec/bundler/runtime/self_management_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/bundler') diff --git a/spec/bundler/install/gemfile/sources_spec.rb b/spec/bundler/install/gemfile/sources_spec.rb index b20ab0090f..7189967d29 100644 --- a/spec/bundler/install/gemfile/sources_spec.rb +++ b/spec/bundler/install/gemfile/sources_spec.rb @@ -1074,7 +1074,7 @@ RSpec.describe "bundle install with gems on multiple sources" do it "refuses to install the existing lockfile and prints an error", :bundler => "3" do bundle "config set --local deployment true" - bundle "install", :artifice => "compact_index", :raise_on_error =>false + bundle "install", :artifice => "compact_index", :raise_on_error => false expect(lockfile).to eq(aggregate_gem_section_lockfile) expect(err).to include("Your lockfile contains a single rubygems source section with multiple remotes, which is insecure.") diff --git a/spec/bundler/runtime/self_management_spec.rb b/spec/bundler/runtime/self_management_spec.rb index 61cfc9b795..700084babf 100644 --- a/spec/bundler/runtime/self_management_spec.rb +++ b/spec/bundler/runtime/self_management_spec.rb @@ -92,7 +92,7 @@ RSpec.describe "Self management", :rubygems => ">= 3.3.0.dev", :realworld => tru end it "shows a discrete message if locked bundler does not exist" do - missing_minor ="#{Bundler::VERSION[0]}.999.999" + missing_minor = "#{Bundler::VERSION[0]}.999.999" lockfile_bundled_with(missing_minor) -- cgit v1.2.1