summaryrefslogtreecommitdiff
path: root/spec/runtime/inline_spec.rb
diff options
context:
space:
mode:
authorBundlerbot <bot@bundler.io>2019-09-05 23:56:32 +0000
committerBundlerbot <bot@bundler.io>2019-09-05 23:56:32 +0000
commitcb5b0b6f43ceaee283c6cde084664c69f231e3fd (patch)
treec59cc572b39d25907feb35be69379549ced23383 /spec/runtime/inline_spec.rb
parentb007fde67c77c1f15f13b97eda186644c2a2be04 (diff)
parent273681f3afb0c9a2f1c0ca1fc203040a8c8989e1 (diff)
downloadbundler-cb5b0b6f43ceaee283c6cde084664c69f231e3fd.tar.gz
Merge #7344
7344: Backport the latest ruby core changes r=hsbt a=hsbt ### What was the end-user problem that led to this PR? The master branch of Bundler with Ruby 2.7 fails some of tests. ### What was your diagnosis of the problem? It caused by deprecation warnings of Ruby 2.7 and some environmental issues. ### What is your fix for the problem, implemented in this PR? I fixed them. * rspec examples of Bundler failed randomly on GitHub Actions of ruby/ruby. We fixed it on `spec_group.rb` * `github_action_linux` label is no longer required. The current test suite is all green status with GitHub Actions. * The keyword separation feature warns stub code under the `inline_spec.rb`. I ignore them. ### Why did you choose this fix out of the possible options? Co-authored-by: Hiroshi SHIBATA <hsbt@ruby-lang.org> Co-authored-by: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
Diffstat (limited to 'spec/runtime/inline_spec.rb')
-rw-r--r--spec/runtime/inline_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/runtime/inline_spec.rb b/spec/runtime/inline_spec.rb
index 6c268a7c10..92243a77b6 100644
--- a/spec/runtime/inline_spec.rb
+++ b/spec/runtime/inline_spec.rb
@@ -90,7 +90,7 @@ RSpec.describe "bundler/inline#gemfile" do
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: The last/ }
+ err_lines.reject!{|line| line =~ /\.rb:\d+: warning: / }
expect(err_lines).to be_empty
expect(exitstatus).to be_zero if exitstatus
end