From a572e78201e1a4f5a44b6e354dc7b91f5f6d9c93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 3 Jun 2020 20:46:54 +0200 Subject: [rubygems/rubygems] s/gem_command!/gem_command https://github.com/rubygems/rubygems/commit/f52733f6a4 --- spec/bundler/support/builders.rb | 4 ++-- spec/bundler/support/helpers.rb | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'spec/bundler/support') diff --git a/spec/bundler/support/builders.rb b/spec/bundler/support/builders.rb index ba1a6b5733..65f30d1f38 100644 --- a/spec/bundler/support/builders.rb +++ b/spec/bundler/support/builders.rb @@ -406,7 +406,7 @@ module Spec @_build_repo = File.basename(path) yield with_gem_path_as Path.base_system_gems do - gem_command! :generate_index, :dir => path + gem_command :generate_index, :dir => path end ensure @_build_path = nil @@ -753,7 +753,7 @@ module Spec elsif opts[:skip_validation] @context.gem_command "build --force #{@spec.name}", :dir => lib_path else - @context.gem_command! "build #{@spec.name}", :dir => lib_path + @context.gem_command "build #{@spec.name}", :dir => lib_path end gem_path = File.expand_path("#{@spec.full_name}.gem", lib_path) diff --git a/spec/bundler/support/helpers.rb b/spec/bundler/support/helpers.rb index 627367b555..c1ad1b24f6 100644 --- a/spec/bundler/support/helpers.rb +++ b/spec/bundler/support/helpers.rb @@ -295,7 +295,7 @@ module Spec def install_gem(path) raise "OMG `#{path}` does not exist!" unless File.exist?(path) - gem_command! "install --no-document --ignore-dependencies '#{path}'" + gem_command "install --no-document --ignore-dependencies '#{path}'" end def with_built_bundler(version = nil) @@ -323,7 +323,7 @@ module Spec replace_build_metadata(build_metadata, dir: build_path) # rubocop:disable Style/HashSyntax - gem_command! "build #{relative_gemspec}", :dir => build_path + gem_command "build #{relative_gemspec}", :dir => build_path yield(bundler_path) ensure @@ -411,7 +411,7 @@ module Spec with_gem_path_as(system_gem_path) do gems.each do |gem| - gem_command! "install --no-document #{gem}" + gem_command "install --no-document #{gem}" end end end -- cgit v1.2.3