24 Commits (2dd2dfaca358784e55f3be731d32b55fe1cc3584)

Author SHA1 Message Date
Joshua Haberman dbd4dcede0 Breaking Change: Removed `syntax` and added `has_presence?`/`is_packed?`. 11 months ago
Joshua Haberman 31313b1652 Breaking Change: freeze is now recursive, affecting all sub-messages, maps, and repeated fields. 11 months ago
Joshua Haberman fd699383f4 Breaking Change: Fixed inconsistencies in `Message#to_h`, [as previously announced](https://protobuf.dev/news/2023-12-27/). 11 months ago
Joshua Haberman 5cfc9e775d Breaking Change: Dropped support for Ruby DSL, [as previously announced](https://engdoc.corp.google.com/eng/doc/devguide/proto/news/2023-12-27.md#ruby-breaking-changes). 11 months ago
Iori IKEDA 34908e2898 Fix TypeError when passing an instance of a subclass of String to a string field (#13818) 12 months ago
Jason Lunn 42f8b7782e Add support for extensions in CRuby, JRuby, and FFI Ruby (#14703) 1 year ago
Jason Lunn ae1f2b7e1b Add support for options in CRuby, JRuby and FFI (#14594) 1 year ago
Joshua Haberman 3f98af287b Updated Ruby min version to 2.7, and removed some compat code 1 year ago
Jason Lunn 15b215f30b Bulk update to use `assert_*` methods wherever possible. (#13156) 1 year ago
Charles OuGuo d1a3c6d08b For Ruby oneof fields, generate hazzers for members (#11655) 2 years ago
Mike Kruskal a29e0e3f44 Sync from Piper @439400376 3 years ago
Jason Lunn 31a6482b85 Implement `respond_to?` in RubyMessage (#9677) 3 years ago
Jason Lunn 7fa212bba1 Fix NPE during encoding and add regression test for issue 9507. 3 years ago
Jason Lunn 8e7f936696
Implement `respond_to?` in RubyMessage (#9677) 3 years ago
Jason Lunn 58e320a732 Fix NPE during encoding and add regression test for issue 9507. 3 years ago
Adam Cozzette b20209f321 Sync from Piper @acozzette/proto_github_202203101748 3 years ago
Joshua Haberman 349d74d92e
Updated PHP upb, and utf8_range for Ruby/PHP (#9585) 3 years ago
Anthony Dmitriyev 2ce9604227
Use rb_obj_class instead of CLASS_OF in Ruby C to ignore singleton classes (#9342) 3 years ago
Joshua Haberman aceff710f4 Fixed data loss bug in Ruby extension. 3 years ago
miyucy 3881f49ce9
Add size to Map class (#8068) 3 years ago
Jason Lunn 3581d85ced Update JRuby to leverage pure-Ruby DSL. 3 years ago
zhangskz 740c4b082d
Update ruby_generator.cc to allow proto2 imports in proto3 (#9003) 3 years ago
Adam Cozzette 562fc946c7 Sync from Piper @388508285 3 years ago
Joshua Haberman 367e4691d2
Fixed memory bug: properly root repeated/map field when assigning. (#8639) 4 years ago
Joshua Haberman 96307d28f6 Sync from Piper @364389596 4 years ago
Joshua Haberman dfa54577d6 [Ruby] Fixed SEGV when users pass nil messages. 4 years ago
Joshua Haberman 256f1327ea [Ruby] Bugfix for Message.[] for repeated or map fields. 4 years ago
Joshua Haberman 9abf6e2ab0
Ported Ruby extension to upb_msg (#8184) 4 years ago
Rob Widmer 8313e577e5 Fix ruby gem to work with JRuby 4 years ago
listonjesse 2ae7cf0e03 Auxillary -> Auxiliary 5 years ago
Joshua Haberman 32e5deb1ac Sync from Piper @308829107 5 years ago
Joshua Haberman 6b759688a1
Implemented proto3 presence for Ruby. (#7406) 5 years ago
David L. Jones 94afb8ab36
Add Ruby tests for oneof cases. (#7385) 5 years ago
Joshua Haberman c649397029
Set execute bit on files if and only if they begin with (#!). (#7347) 5 years ago
Rafi Kamal 37fc4327ef
Fix for wrappers with a zero value (#7195) (#7201) 5 years ago
Joshua Haberman 1a74ba4cb4
Fix for wrappers with a zero value (#7195) 5 years ago
Joshua Haberman 8393d4833f Nearly all known cases (map, repeated field, and top-level) have been addressed. 5 years ago
Joshua Haberman 63f324a993 Roll forward Ruby upb changes now that protobuf Ruby build is fixed (#5866) 5 years ago
Joe Bolinger 41e12344a1 Support hashes for struct initializers (#5716) 5 years ago
Sorah Fukumori 997bd354d5 Fix TypeError on decoding enum map values in Ruby (#6262) 6 years ago
Joe Bolinger 0114727cc6 add more descriptive error messages to init methods 6 years ago
Joe Bolinger f4f32a5b68 make tests work on older rubies (#5823) 6 years ago
Joshua Haberman 1568deab40
Revert "Updated upb from defcleanup branch and modified Ruby to use it (#5539)" (#5848) 6 years ago
Joshua Haberman 37581380fb
Updated upb from defcleanup branch and modified Ruby to use it (#5539) 6 years ago
Joe Bolinger 76685c6fae Add frozen checks in Ruby (#5726) 6 years ago
Joe Bolinger 64eb9b6e85 Add more descriptive error messages to init methods in Ruby (#5659) 6 years ago
Paul Yang aa5c12e882
Revert "Revert "Enable the ignore_unknown_field option in the Ruby unmarshal options" (#5511)" (#5533) 6 years ago
Paul Yang be1716a6d0
Revert "Enable the ignore_unknown_field option in the Ruby unmarshal options" (#5511) 6 years ago
Erik Benoist 9ac11326df Adds the ability to ignore unknown fields on parse 6 years ago
Paul Yang a0da84bff4
Fix broken ruby test (#5235) 6 years ago