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

Commenting the contain_duplicates deprecation until we have a good alternative #1860

Merged
merged 2 commits into from
Jun 6, 2017

Conversation

alexpop
Copy link
Contributor

@alexpop alexpop commented May 30, 2017

No description provided.

…ood alternative.

Signed-off-by: Alex Pop <apop@chef.io>
@@ -88,7 +88,7 @@

RSpec::Matchers.define :contain_duplicates do
match do |arr|
warn '[DEPRECATION] `contain_duplicates` is deprecated and will be removed in the next major version. See https://github.com/chef/inspec/issues/738 for more details'
# warn '[DEPRECATION] `contain_duplicates` is deprecated and will be removed in the next major version. See https://github.com/chef/inspec/issues/738 for more details'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should just remove the comment completely

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to adopt this change now and remove the line.

We can add it back in when we have a better solution and we actually
want to deprecate it.

Signed-off-by: Adam Leff <adam@leff.co>
@adamleff adamleff added the Type: Enhancement Improves an existing feature label Jun 6, 2017
@adamleff adamleff merged commit 587cdf5 into master Jun 6, 2017
@adamleff adamleff deleted the ap/contain_duplicates_deprecation branch June 6, 2017 12:05
@alexpop
Copy link
Contributor Author

alexpop commented Jun 6, 2017

Thank you Adam!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improves an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants