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

Add support for options in CRuby, JRuby and FFI (#14594) #14739

Merged
merged 2 commits into from Nov 13, 2023

Conversation

JasonLunn
Copy link
Contributor

Rewrite and extension of #12828, with additional work for JRuby. Partially fixes #1198 by adding support for custom options. Handling of extensions will be handled in a follow up.

Also includes these unrelated fixes:

  • Removes code echo between google/protobuf/repeated_field.rb and google/protobuf/ffi/repeated_field.rb by require'ing the former in the latter.
  • Adds missing calles to testFrozen() from methods of RepeatedField under JRuby that mutate.
  • Various typos in comments.

Rewrrte and extension of #12828, with additional work for JRuby. Partially fixes #1198 by adding support for custom options. Handling of extensions will be handled in a follow up.

Also includes these unrelated fixes:
* Removes code echo between `google/protobuf/repeated_field.rb` and `google/protobuf/ffi/repeated_field.rb` by `require`'ing the former in the latter.
* Adds missing calles to `testFrozen()` from methods of `RepeatedField` under JRuby that mutate.
* Various typos in comments.

Closes #14594

COPYBARA_INTEGRATE_REVIEW=#14594 from protocolbuffers:add-support-for-options-in-ruby 16cc9e3
PiperOrigin-RevId: 580848874
@JasonLunn JasonLunn added ruby jruby Issues unique to the JRuby interpreter labels Nov 13, 2023
@JasonLunn JasonLunn requested a review from a team as a code owner November 13, 2023 18:11
@JasonLunn JasonLunn requested review from ericsalo and a team and removed request for a team and ericsalo November 13, 2023 18:11
@zhangskz zhangskz added the 🅰️ safe for tests Mark a commit as safe to run presubmits over label Nov 13, 2023
@zhangskz zhangskz merged commit 2495d4f into 25.x Nov 13, 2023
151 checks passed
@JasonLunn JasonLunn deleted the 25.x-with-ruby-options-support branch November 13, 2023 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🅰️ safe for tests Mark a commit as safe to run presubmits over jruby Issues unique to the JRuby interpreter ruby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants