Last active
April 3, 2020 10:33
-
-
Save olleolleolle/dfc93562af9e0346e7e7d3f040e79211 to your computer and use it in GitHub Desktop.
Some Ruby warnings, perhaps to hunt!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# webmock - Warnings TODO - haha this led me to https://github.com/taf2/curb/pull/408 | |
/Users/olle/.gem/ruby/2.6.4/gems/webmock-3.8.3/lib/webmock/http_lib_adapters/curb_adapter.rb:93: warning: instance variable @put_data not initialized | |
# Can VCR ask for Content-Type here? | |
/Users/olle/.rubies/ruby-2.6.4/lib/ruby/2.6.0/net/http/generic_request.rb:186: warning: net/http: Content-Type did not set; using application/x-www-form-urlencoded | |
# httpclient Warnings - led me to make https://github.com/nahi/httpclient/pull/421 and https://github.com/nahi/httpclient/pull/422 | |
/Users/olle/.gem/ruby/2.6.4/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb:370: warning: assigned but unused variable - pathlen | |
/Users/olle/.gem/ruby/2.6.4/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb:51: warning: method redefined; discarding old initialize | |
/Users/olle/.gem/ruby/2.6.4/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb:58: warning: method redefined; discarding old add_cert | |
/Users/olle/.gem/ruby/2.6.4/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb:58: warning: method redefined; discarding old add_file | |
/Users/olle/.gem/ruby/2.6.4/gems/httpclient-2.8.3/lib/httpclient/ssl_config.rb:58: warning: method redefined; discarding old add_path | |
# Warnings: I made the PR https://github.com/toland/patron/pull/177 | |
/Users/olle/.gem/ruby/2.6.4/gems/patron-0.6.3/lib/patron/request.rb:61: warning: `*' interpreted as argument prefix | |
/Users/olle/.gem/ruby/2.6.4/gems/patron-0.6.3/lib/patron/request.rb:62: warning: `*' interpreted as argument prefix | |
# Can the typheous require 'faraday' get in the way of Faraday? | |
# typhoeus-1.1.2/lib/typhoeus/adapters/faraday.rb | |
/Users/olle/.gem/ruby/2.6.4/gems/faraday-1.0.1/lib/faraday/dependency_loader.rb:11: warning: /Users/olle/.gem/ruby/2.6.4/gems/faraday-1.0.1/lib/faraday/dependency_loader.rb:11: warning: loading in progress, circular require considered harmful - /Users/olle/.gem/ruby/2.6.4/gems/typhoeus-1.1.2/lib/typhoeus/adapters/faraday.rb | |
--- | |
## Bundler: I fixed this in the merged PR https://github.com/rubygems/rubygems/pull/3477 | |
/home/travis/.rvm/rubies/ruby-head/lib/ruby/2.8.0/bundler/definition.rb:569: warning: instance variable @new_platform not initialized | |
/home/travis/.rvm/rubies/ruby-head/lib/ruby/2.8.0/bundler/definition.rb:537: warning: instance variable @new_platform not initialized | |
# test-unit: (used in curb) Include commit "Gemfile.lock: Use test-unit 3.3.5" to fix | |
/home/travis/build/taf2/curb/vendor/bundle/ruby/2.8.0/gems/test-unit-3.2.8/lib/test/unit/attribute.rb:203: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead | |
/home/travis/build/taf2/curb/vendor/bundle/ruby/2.8.0/gems/test-unit-3.2.8/lib/test/unit/autorunner.rb:36: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead | |
/home/travis/build/taf2/curb/vendor/bundle/ruby/2.8.0/gems/test-unit-3.2.8/lib/test/unit/autorunner.rb:49: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead | |
/home/travis/build/taf2/curb/vendor/bundle/ruby/2.8.0/gems/test-unit-3.2.8/lib/test/unit/autorunner.rb:18: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment