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

Require Set (from stdlib) #99

Merged
merged 2 commits into from
Feb 18, 2022
Merged

Conversation

sbrinkhorst
Copy link

Solves #98

Copy link
Owner

@davishmcclurg davishmcclurg left a comment

Choose a reason for hiding this comment

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

Thanks for the bug report and fix, @sbrinkhorst!

I wonder how to catch something like this in the future, since the test dependencies must be requiring set somewhere.

@@ -1,4 +1,6 @@
# frozen_string_literal: true
require 'set'
Copy link
Owner

Choose a reason for hiding this comment

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

For consistency, I think this should be with the other stdlib require statements here:

require 'base64'
require 'ipaddr'
require 'json'
require 'net/http'
require 'pathname'
require 'time'
require 'uri'

Copy link
Author

Choose a reason for hiding this comment

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

That makes sense, I've moved it.

I have no ideas about how to test this either. I don't even understand why it suddenly became a problem for us while we had no code changes.

@davishmcclurg davishmcclurg merged commit bf9f473 into davishmcclurg:master Feb 18, 2022
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

2 participants