Skip to content

Conversation

@hmac
Copy link
Contributor

@hmac hmac commented Oct 6, 2022

Model many ActiveSupport extensions to String, Hash and Object.

@github-actions github-actions bot added the Ruby label Oct 6, 2022
@hmac hmac force-pushed the activesupport branch 6 times, most recently from dadee98 to 62cb31a Compare October 17, 2022 21:01
@hmac hmac marked this pull request as ready for review October 17, 2022 22:53
@hmac hmac requested a review from a team as a code owner October 17, 2022 22:53
}

/**
* Extensions to the `Hash` class.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
* Extensions to the `Hash` class.
* Extensions to the `Hash` class.

result = DataFlow::Content::getKnownElementIndex(mc.getArgument(i)).serialize()
}

private class ExtractSummary extends SummarizedCallable {
Copy link
Contributor

Choose a reason for hiding this comment

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

This summary is sufficiently complicated that I can't quite follow what it's doing. Could you add a comment, perhaps with an example call to extract! and then an explanation of the flow step we're adding?

alexrford
alexrford previously approved these changes Oct 27, 2022
Copy link
Contributor

@alexrford alexrford left a comment

Choose a reason for hiding this comment

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

Looks great 👍

@hmac
Copy link
Contributor Author

hmac commented Oct 27, 2022

CI seems to have got stuck for some reason. I'll rebase this PR in the hope that unsticks it.

@hmac
Copy link
Contributor Author

hmac commented Oct 28, 2022

@alexrford could a get a 👍 on this again when you have a chance? CI has fixed itself now.

Copy link
Contributor

@alexrford alexrford left a comment

Choose a reason for hiding this comment

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

👍

@hmac hmac merged commit 3f403f0 into github:main Oct 30, 2022
@hmac hmac deleted the activesupport branch October 30, 2022 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants