- 06 Mar, 2019 1 commit
-
-
Joshua Haberman authored
-
- 21 Feb, 2019 1 commit
-
-
Xiang Dai authored
Signed-off-by:
Xiang Dai <764524258@qq.com>
-
- 06 Feb, 2019 1 commit
-
-
Joe Bolinger authored
* add more descriptive error messages to init methods * add type errors test to Makefile.am
-
- 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
-
- 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
-
- 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 1 commit
-
-
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.
-
- 20 Sep, 2017 1 commit
-
-
Zachary Anker authored
-
- 30 Dec, 2016 1 commit
-
-
@rubynerd authored
-
- 19 Dec, 2016 1 commit
-
-
@rubynerd authored
self->field_type_class returns the correct Ruby class, get_def_obj returns the Descriptor object used to generate the Ruby class via msgclass, so to compare the two types we get the msgclass from the descriptor.
-
- 21 Jul, 2016 1 commit
-
-
Josh Haberman authored
-
- 18 May, 2016 2 commits
-
-
Josh Haberman authored
-
Josh Haberman authored
-
- 10 Jul, 2015 1 commit
-
-
Josh Haberman authored
While we are C99 in general, the Ruby build system for building C extensions enables several flags that throw warnings for C89/C90 variable ordering rules. To avoid spewing a million warnings (or trying to specifically override these warnings with command-line flags, which would be tricky and possibly fragile) we conform to Ruby's world of C89/C90. Change-Id: I0e03e62d95068dfdfde112df0fb16a248a2f32a0
-
- 19 May, 2015 1 commit
-
-
Chris Fallin authored
Also fixed lines with > 80 char length.
-
- 02 May, 2015 1 commit
-
-
Adam Greene authored
-
- 02 Feb, 2015 1 commit
-
-
Chris Fallin authored
-
- 26 Jan, 2015 2 commits
-
-
Chris Fallin authored
-
Chris Fallin authored
-
- 15 Jan, 2015 1 commit
-
-
Chris Fallin authored
-
- 14 Jan, 2015 1 commit
-
-
Chris Fallin authored
-
- 09 Jan, 2015 1 commit
-
-
Chris Fallin authored
-
- 07 Jan, 2015 1 commit
-
-
Chris Fallin authored
-
- 06 Jan, 2015 1 commit
-
-
Chris Fallin authored
This adds the Map container and support for parsing and serializing maps in the protobuf wire format (as defined by the C++ implementation, with MapEntry submessages in a repeated field). JSON map serialization/parsing are not yet supported as these will require some changes to upb as well.
-
- 12 Dec, 2014 1 commit
-
-
Chris Fallin authored
system. The Ruby module build now uses an amalgamated distribution of upb, and successfully builds a Ruby gem called 'google-protobuf' with module 'google/protobuf'.
-
- 10 Dec, 2014 1 commit
-
-
Chris Fallin authored
This adds a Ruby extension in ruby/ that is based on the 'upb' library (now included as a submodule), and adds support for Ruby code generation to the protoc compiler.
-