- 17 Jun, 2019 1 commit
-
-
Paul Yang authored
* Change int64 json encoding to be string for php and ruby * Fix ruby test * Sync upb change
-
- 16 Jun, 2019 1 commit
-
-
Sorah Fukumori authored
value_field_typeclass should be a enum module, not EnumDescriptor object. Also expanding tests for enum valued maps. Fixes #4580 Signed-off-by:
Sorah Fukumori <her@sorah.jp>
-
- 27 Mar, 2019 1 commit
-
-
Joe Bolinger authored
* add wrapper type helpers * add check for _as_value suffix
-
- 26 Mar, 2019 1 commit
-
-
Joe Bolinger authored
* add implicit time conversion * add duration * add init test * more tests * add type check and alternative c type check * add rational and bigdecimal * use rb_obj_is_kind_of * use native time check * chain implicit conversions * remove unused variable
-
- 14 Mar, 2019 2 commits
-
-
Joe Bolinger authored
-
Joe Bolinger authored
-
- 08 Mar, 2019 1 commit
-
-
bmoyles0117 authored
* add check for overflow * de-nestify * break long lines
-
- 07 Mar, 2019 1 commit
-
-
Joe Bolinger authored
-
- 06 Mar, 2019 2 commits
-
-
Joshua Haberman authored
This reverts commit 37581380.
-
Joshua Haberman authored
-
- 02 Mar, 2019 3 commits
-
-
Joe Bolinger authored
* Revert "Revert "Fix Ruby module name generation when the ruby_package option is used (#5735)"" This reverts commit bb211e85. * add new files to Makefile.am
-
Joe Bolinger authored
* add frozen checks * Use rb_check_frozen * Correct assertion on frozen error message The second argument for the method assert_raise is the message to show when the assertion fails. It does not check the error object's message. Add an additional assertion that does check the error's message. * do frozen check first
-
Joe Bolinger authored
* example with extra enum method * update expected test output * slight simplification * add test for generated enum helpers * move const helpers to c extension * more explicit test * more explicit test * indent * add foo test * add check for _const suffix
-
- 28 Feb, 2019 4 commits
-
-
Joe Bolinger authored
* fix module name generation and add tests * fix existing tests * support both package name styles
-
Joe Bolinger authored
* add check for overflow * de-nestify * break long lines
-
Joe Bolinger authored
* let repeated fields push arrays * add varargs push * better test
- 24 Feb, 2019 1 commit
-
-
Joe Bolinger authored
-
- 12 Feb, 2019 1 commit
-
-
Joe Bolinger authored
-
- 06 Feb, 2019 1 commit
-
-
Joe Bolinger authored
* add more descriptive error messages to init methods * add type errors test to Makefile.am
-
- 17 Jan, 2019 1 commit
-
-
Paul Yang authored
* Fix Any json encoding/decoding for ruby. * Revert unnecessary changes
-
- 16 Jan, 2019 1 commit
-
-
toc007 authored
* Ruby nested msg caps * nested types tests added * test cases added for RubifyConstant * extracted NestedMessage to TestNestedMessage * removed nested tests with leading underscore * extracted testLowercase to toplevel testLowercaseNested
-
- 08 Jan, 2019 1 commit
-
-
Paul Yang authored
Revert "Revert "Enable the ignore_unknown_field option in the Ruby unmarshal options" (#5511)" (#5533) * Revert "Revert "Enable the ignore_unknown_field option in the Ruby unmarshal options" (#5511)" This reverts commit be1716a6. * Separate ruby conformance test on Mac * Fix shell syntax * Fix test
-
- 03 Jan, 2019 1 commit
-
-
Paul Yang authored
* Add ruby 2.6 test * Fix broken tests * Fix compatibility test * Fix bundler version * Use new docker image * Fix broken test * Use new docker image in ruby26 test * Install ruby for mac
-
- 26 Dec, 2018 1 commit
-
-
Paul Yang authored
-
- 21 Dec, 2018 1 commit
-
-
Erik Benoist authored
This adds the ability for the MRI Ruby library to optionally pass in a ignore_unknown_fields option when decoding JSON. The functionality was added upstream in upb, this change exposes that option.
-
- 18 Nov, 2018 1 commit
-
-
Toby Hsieh authored
* Fix most of the unused variable warnings in Ruby tests * Add encoded_field_b back in tests/common_tests.rb
-
- 29 Oct, 2018 1 commit
-
-
Toby Hsieh authored
Given an argument, the previous implementation was off by one (`.first(2)` would return 3 elements) compared to the `Enumerable#first` method.
-
- 18 Oct, 2018 1 commit
-
-
Paul Yang authored
* Add ruby 2.3, 2.4 and 2.5 test for linux. * Update kokoro files * Add back commented gc test * Fix gc_test failure * Remove unused code * Update ruby 2.5.0 to 2.5.1 * Update ruby 2.3 to 2.3.8 * Remove useless comment
-
- 08 Oct, 2018 1 commit
-
-
Paul Yang authored
* Replace assert_true/assert_false with assert, because they are not provided in newer version of test/unit * Use rescue to handle exception subclass * Commented out the require that caused gc_test failure. * Commented out test * Fix typo
-
- 27 Sep, 2018 1 commit
-
-
Harshit Chopra authored
This change only adds basic proto2 support without advanced features like extensions, custom options, maps, etc. The protoc binary now generates ruby code for proto2 syntax. However, for now, it is restricted to proto2 files without advanced features like extensions, in which case it still errors out. This change also modifies the DSL to add proto messages to the DescriptorPool. There is a new DSL Builder#add_file to create a new FileDescriptor. With this, the generated ruby DSL looks something like: Google::Protobuf::DescriptorPool.generated_pool.build do add_file "test.proto" do add_message "foo" do optional :val, :int32, 1 end end end
-
- 23 Jul, 2018 1 commit
-
-
Paul Yang authored
* Check the message to be encoded is the wrong type. (#4885) * Change TypeError to ArgumentError
-
- 18 Jul, 2018 1 commit
-
-
Paul Yang authored
* Add continuous test for ruby 2.3, 2.4 and 2.5 * Change ruby 2.5 to 2.5.0 * No need to provide argument to rb_funcall when argc is 0 * Fix tests for ruby 2.5 * Use rescue instead of assert_raise to accept subclass of error
-
- 12 Jul, 2018 1 commit
-
-
Paul Yang authored
-
- 02 Jul, 2018 1 commit
-
-
Paul Yang authored
* Add continuous test for ruby 2.3, 2.4 and 2.5 * Change ruby 2.5 to 2.5.0 * No need to provide argument to rb_funcall when argc is 0 * Fix tests for ruby 2.5 * Use rescue instead of assert_raise to accept subclass of error
-
- 27 Jun, 2018 2 commits
-
-
Zachary Anker authored
-
Erik Benoist authored
* This allows for ruby code to catch and handle Protobuf TypeErrors separately from the standard Ruby TypeError * Maintains backwards compatibility by having the new Google::Protobuf::TypeError inherit from the base TypeError. Any code that was catching TypeError should continue to work.
-
- 19 Jun, 2018 1 commit
-
-
igorpeshansky authored
-
- 25 May, 2018 2 commits
-
-
Erik Benoist authored
-
Paul Yang authored
* Adopt ruby_package in ruby generated code. * Add test for ruby_package
-