-
Notifications
You must be signed in to change notification settings - Fork 982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking change for octokit in 0.16.1 #1033
Comments
The version modeled off of activesupport's deprecations methods was causing issues when classes inherited from the deprecated class. Switch to a metaprogrammed class that warns upon initialization. Failing spec for lostisland#1033 rename module to DeprecatedClass Fix incorrect usage of rspec raise_error WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`.
The version modeled off of activesupport's deprecations methods was causing issues when classes inherited from the deprecated class. Switch to a metaprogrammed class that warns upon initialization. Failing spec for lostisland#1033 rename module to DeprecatedClass Fix incorrect usage of rspec raise_error WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. Update class doc
The version modeled off of activesupport's deprecations methods was causing issues when classes inherited from the deprecated class. Switch to a metaprogrammed class that warns upon initialization. Failing spec for #1033 rename module to DeprecatedClass Fix incorrect usage of rspec raise_error WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. Update class doc
The latest version is breaking the specs. See lostisland/faraday#1033
I ran into this issue yesterday. It broke my dev site. Just updated to 0.16.2. My dev site is back up. I.e., no more |
The version modeled off of activesupport's deprecations methods was causing issues when classes inherited from the deprecated class. Switch to a metaprogrammed class that warns upon initialization. Failing spec for lostisland#1033 rename module to DeprecatedClass Fix incorrect usage of rspec raise_error WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. Update class doc
Hello everyone, we are really sorry for all the disruptions caused by the v0.16.x releases. |
Basic Info
Issue description
Been having issues related to faraday with a new project using octokit.
Tested with 0.15.4 and there is no issue there.
If it is a desired breaking change then let me know, I will gladly report this to the octokit repository, maybe they will freeze faraday usage to a compatible version.
Steps to reproduce
Create a new ruby file, install octokit, which will depends at some point on faraday latest, then at line
require octokit
this error will happen.The text was updated successfully, but these errors were encountered: