Skip to content
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

Merged
merged 4 commits into from Jul 14, 2013

Conversation

JonRowe
Copy link
Member

@JonRowe JonRowe commented Jul 11, 2013

The follow up to #965, this deprecates the options we will shortly be removing.

@alindeman
Copy link
Contributor

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
Copy link
Member

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?

Copy link
Member Author

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

myronmarston added a commit that referenced this pull request Jul 14, 2013
@myronmarston myronmarston merged commit 013a04c into 2-99-maintenance Jul 14, 2013
@myronmarston myronmarston deleted the deprecate_rcov_integration branch July 14, 2013 06:35
@myronmarston
Copy link
Member

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
Copy link
Member Author

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

yujinakayama pushed a commit to yujinakayama/rspec-monorepo that referenced this pull request Oct 6, 2021
…cov_integration

Deprecate rake task rcov options

---
This commit was imported from rspec/rspec-core@013a04c.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants