ruby-changes:57785
From: Hiroshi <ko1@a...>
Date: Wed, 18 Sep 2019 20:21:40 +0900 (JST)
Subject: [ruby-changes:57785] 2da8574930 (master): Fixed the rubocop warnings
https://git.ruby-lang.org/ruby.git/commit/?id=2da8574930 From 2da8574930f14950ce78892fe65f383fcaf8a71b Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Wed, 18 Sep 2019 15:05:38 +0900 Subject: Fixed the rubocop warnings diff --git a/spec/bundler/runtime/inline_spec.rb b/spec/bundler/runtime/inline_spec.rb index b613317..92243a7 100644 --- a/spec/bundler/runtime/inline_spec.rb +++ b/spec/bundler/runtime/inline_spec.rb @@ -90,7 +90,7 @@ RSpec.describe "bundler/inline#gemfile" do https://github.com/ruby/ruby/blob/trunk/spec/bundler/runtime/inline_spec.rb#L90 expect(out).to include("Installing activesupport") err.gsub! %r{(.*lib/sinatra/base\.rb:\d+: warning: constant ::Fixnum is deprecated$)}, "" err_lines = err.split("\n") - err_lines.reject!{|line| line =~ /\.rb:\d+: warning: /} + err_lines.reject!{|line| line =~ /\.rb:\d+: warning: / } expect(err_lines).to be_empty expect(exitstatus).to be_zero if exitstatus end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/