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
Deprecate rake task rcov options #974
Conversation
Looks good to me. Any reason not to merge? |
@@ -69,19 +69,34 @@ def warning=(true_or_false) | |||
# | |||
# default: | |||
# false | |||
attr_accessor :rcov | |||
attr_reader :rcov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth adding deprecation warnings to the attr readers as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't think so, but have done so anyway
Otherwise, users get deprecation warnings due to RSpec's usage of the deprecated methods.
Deprecate rake task rcov options
I had to rebase it and fix it up a bit after merging other branches. Also, I implemented the call site fix we talked about. |
RSpec.configuration.reporter.deprecation( | ||
{ | ||
:deprecated => deprecated, | ||
:call_site => caller(0)[2] | ||
:call_site => call_site |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should pick this across for all our deprecation specs
…cov_integration Deprecate rake task rcov options --- This commit was imported from rspec/rspec-core@013a04c.
The follow up to #965, this deprecates the options we will shortly be removing.