45 Commits (512f42c8c65ff33a4cb1c726c48a0f01103f7e4a)

Author SHA1 Message Date
Jason Lunn 3a477b1952
Improve range handling logic of `RepeatedField` (#9799) 3 years ago
Mike Kruskal a29e0e3f44 Sync from Piper @439400376 3 years ago
Luc Thevenard d85f03d66a [Ruby] Fix RepeatedField#last, #first inconsistencies 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 d0fc2794c4 Cleanup warnings seen when running tests. 3 years ago
Jason Lunn 8e7f936696
Implement `respond_to?` in RubyMessage (#9677) 3 years ago
Joshua Haberman dbb9619a9d
Cherry-pick to get Ruby 3.1 support in protobuf 3.20.0 (#9657) 3 years ago
Joshua Haberman 7f1acff2a4
Fixed Ruby 3.1 tests by marking intersect? as unimplemented. (#9645) 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
Luka Dornhecker 24a0659f95
[Ruby] allow encode json options to be an object that responds to to_hash (#9513) 3 years ago
zhangskz 276add0b5c
Add ruby_upb_alloc using xrealloc/xfree so Ruby GC is aware of allocated memory for Arenas. (#9586) 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
Adam Cozzette d5ef16c6eb
Ruby: rename max_recursion_depth to recursion_limit (#9486) 3 years ago
Lukas Fittl fbe6ab2487
[Ruby] Message.decode/encode: Add max_recursion_depth option (#9218) 3 years ago
Joshua Haberman aceff710f4 Fixed data loss bug in Ruby extension. 3 years ago
Joshua Haberman c153dd9bf7 Updated to new upb APIs. 3 years ago
Joel Courtney bbdcea8547
Remove lib from require 3 years ago
Joel Courtney 4d94a7cd93 Fixed: incorrect tests 3 years ago
Joel Courtney 947a51a464 Test coverage: .from_ruby / #from_ruby 3 years ago
Joel Courtney 21478b371e
Update well_known_types_test.rb 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
Joshua Haberman 6d8b05bfd4 Added missing "options" parameter. 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
Chris McClymont 6d847adda7 Add class method from_time to ruby well known types - Timestamp 4 years ago
Adam Cozzette 4aa425c6c5
Cherry-pick #8356 into 3.16.x (#8518) 4 years ago
Joshua Haberman ce560630bf Sync from Piper @368734211 4 years ago
Lukas Fittl 93c703e816 Add test for json_name functionality 4 years ago
Joshua Haberman d69f482883 Fixed message equality in cases where the message type is different. 4 years ago
Joshua Haberman 96307d28f6 Sync from Piper @364389596 4 years ago
Joshua Haberman bb322c2b39 [Ruby] Fixed bug in string comparison logic. 4 years ago
Joshua Haberman dfa54577d6 [Ruby] Fixed SEGV when users pass nil messages. 4 years ago
Joshua Haberman 4e3ea74e42 [Ruby] Fix for FieldDescriptor.get(msg). 4 years ago
Joshua Haberman 3b3aac95a6 [Ruby] Fix for truncating behavior when converting Float to Duration. 4 years ago
Joshua Haberman 256f1327ea [Ruby] Bugfix for Message.[] for repeated or map fields. 4 years ago
Joel Courtney ef70acbc03 Improvement: better ruby from_* support in well_known_types.rb 4 years ago
Rob Widmer 48234f5f01 Make the new multi-level ruby tests fit the existing structure better and add them to the makefile 4 years ago
Rob Widmer 1d39f78818 Fix jruby support to handle messages nested more than 1 level deep 4 years ago
Joshua Haberman 9abf6e2ab0
Ported Ruby extension to upb_msg (#8184) 4 years ago
Rob Widmer 7b1d6abbe4 Fix some more failing tests 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
Masaki Hara f494cb222d
Test in Ruby 2.7 (#7386) 5 years ago
Joshua Haberman 6b759688a1
Implemented proto3 presence for Ruby. (#7406) 5 years ago