15 Commits (c1082780837867032b9190f15834a6ea630a5b4b)

Author SHA1 Message Date
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
Harshit Chopra d0535cc09e Adds support for proto2 syntax for Ruby gem. 6 years ago
Paul Yang 8356d270a5 Add continuous test for ruby 2.3, 2.4 and 2.5 (#4829) 6 years ago
Paul Yang 78ba021b84
Add continuous test for ruby 2.3, 2.4 and 2.5 (#4829) 7 years ago
Zachary Anker 70544627cb When initializing a message, skip a field if value is nil (#3693) 7 years ago
Erik Benoist 74f8e24232 Adds a base class for all explicitly raised TypeErrors (#4255) 7 years ago
Ewout 7b8f571756 Ruby JSON encoding omits zero-length repeated fields by default. 7 years ago
Zachary Anker 87714836e3 Allow initializing a chain of protos using only a hash 7 years ago
Zachary Anker 83264bd160 Fixed to_h with repeated messages to return hashes in Ruby 7 years ago
Aaron Patterson c1dd8e85a1 Move parse frame array to the Map object 7 years ago