- 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
-
- 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
-
- 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 2 commits
-
-
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 2 commits
-
-
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
-
- 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
-
- 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
-