mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
[rubygems/rubygems] Surpressing warning for CGI library of Ruby 3.5+
``` ❯ bin/rspec ./spec/bundler/friendly_errors_spec.rb /Users/hsbt/Documents/github.com/rubygems/rubygems/bundler/spec/bundler/friendly_errors_spec.rb:5: warning: CGI library is removed from Ruby 3.5. Please use cgi/escape instead for CGI.escape and CGI.unescape features. If you need to use the full features of CGI library, Please install cgi gem. ``` https://github.com/rubygems/rubygems/commit/a23a951004
This commit is contained in:
parent
22a7f6b6c2
commit
64c421db20
@ -2,7 +2,8 @@
|
||||
|
||||
require "bundler"
|
||||
require "bundler/friendly_errors"
|
||||
require "cgi"
|
||||
require "cgi/escape"
|
||||
require "cgi/util" unless defined?(CGI::EscapeExt)
|
||||
|
||||
RSpec.describe Bundler, "friendly errors" do
|
||||
context "with invalid YAML in .gemrc" do
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user