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

[Ruby] Delegate difference, intersection, union from RepeatedField to Array #15652

Conversation

marianosimone
Copy link
Contributor

Coming from [protobuf/issues/15180] [Ruby] Support for currently ignored Array methods in RepeatedField

This adds a couple of Array methods to what gets delegated from RepeatedField.

  • intersection, because | was already delegated
  • union, because & was already delegated
  • difference, because - was already delegated

@marianosimone marianosimone requested a review from a team as a code owner January 30, 2024 23:56
@marianosimone marianosimone requested review from JasonLunn and removed request for a team January 30, 2024 23:56
@JasonLunn JasonLunn added 🅰️ safe for tests Mark a commit as safe to run presubmits over ruby labels Jan 31, 2024
@github-actions github-actions bot removed the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Jan 31, 2024
@JasonLunn JasonLunn added the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Jan 31, 2024
@github-actions github-actions bot removed the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Jan 31, 2024
@marianosimone
Copy link
Contributor Author

cc @JasonLunn the failed build task seems unrelated

@zhangskz
Copy link
Member

zhangskz commented Feb 5, 2024

Triggered rerun on the macOS failure which is a known flake.

@copybara-service copybara-service bot closed this in 11eab86 Feb 6, 2024
deannagarcia pushed a commit to deannagarcia/protobuf that referenced this pull request Jun 20, 2024
… Array (protocolbuffers#15652)

Coming from [[protobuf/issues/15180] [Ruby] Support for currently ignored Array methods in `RepeatedField`](protocolbuffers#15180)

This adds a couple of `Array` methods to what gets delegated from `RepeatedField`.

- `intersection`, because `|` was already delegated
- `union`, because `&` was already delegated
- `difference`, because `-` was already delegated

Closes protocolbuffers#15652

COPYBARA_INTEGRATE_REVIEW=protocolbuffers#15652 from marianosimone:delegate_rb_array_methods 2971981
PiperOrigin-RevId: 604534655
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants