Skip to content

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

Merged
zhangskz merged 2 commits into25.xfrom
25.x-with-ruby-options-support
Nov 13, 2023
Merged

Add support for options in CRuby, JRuby and FFI (#14594)#14739
zhangskz merged 2 commits into25.xfrom
25.x-with-ruby-options-support

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 zhangskz November 13, 2023 18:11
@JasonLunn JasonLunn requested a review from a team as a code owner November 13, 2023 18:11
@JasonLunn JasonLunn requested review from a team and ericsalo 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
@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.

2 participants