| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
* Check the message to be encoded is the wrong type. (#4885)
* Change TypeError to ArgumentError
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
|\ \
| | |
| | | |
Ruby JSON encoding omits zero-length repeated fields by default.
|
| | |
| | |
| | |
| | |
| | | |
This makes it behave the same way as the other implementations.
It is also nice to always encode an empty message as {}.
|
|\ \ \
| | | |
| | | | |
Google::Protobuf::Struct can access a missing key (#3846)
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* 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.
|
|\ \ \ \
| | |_|/
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Install rake compiler
* Add kokoro config to build ruby gem on linux
* Rename from linix to linux
* Fix prepare_build.sh name
* Clean up
* Install bundler
* Install bundler
* Use c99 in order to build gem on mingw-32 on ruby 2.0.0
See https://github.com/rake-compiler/rake-compiler-dock/issues/4
* Move c99 config to extcofig.rb
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Adopt ruby_package in ruby generated code.
* Add test for ruby_package
|
| | | | |
|
| | | | |
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
* Adopt ruby_package in ruby generated code.
* Add test for ruby_package
|
| | |
| | |
| | | |
Make RepeatedField#delete_if consistent with Array#delete_if.
|
| | |
| | |
| | |
| | |
| | | |
From:
https://github.com/rake-compiler/rake-compiler/issues/146#issuecomment-368539245
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Fix setup.py for windows build.
* Bump version number to 3.5.2
* Cat the test-suite.log on errors for presubits
|
|\ \ \
| | | |
| | | | |
Ruby: Fix scope resolution for MessageExts
|
| | |/
| |/| |
|
|\ \ \
| |/ /
|/| | |
Merge 3.5.x to master
|
| | | |
|
| | | |
|
| | | |
|
|\| | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* Fix ruby gc_test in ruby 2.4
* Initialize global variables to Qnil.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Add discard unknown API in ruby.
* Add test for oneof message field.
* Add TestUnknown to represent unknown field data clearly.
* Only serialize the message with unknown fields itself in test.
* Move discard_unknown from Message to Google.Protobuf
|
| | |
| | |
| | | |
--pre was not necessary to install google-protobuf when I tried it today (2017-12-06).
|
|\| | |
|
| |/ |
|
|\ \
| |/
|/|
| |
| | |
rubynerd-forks/ruby-fix-repeated-message-type-field
unwrap descriptor class before comparison of RepeatedField types
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Reserve unknown in ruby
* Revert ruby tests. Wait for cpp impl for conformance test
* Add conformance test for preserving unknown
* Add unknown field conformance test to csharp failure list.
* Fix comments
* Fix comment
* Fix comments
* Fix typo
* Use stringsink_string directly
* Mark hd unused
* Remove unused encodeunknown_handlerfunc
|
|\ \ |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
This makes the frame stack per-parser, and per-thread. Fixes #3250
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Fix ruby segment fault
1) rb_ary_new cannot be called during allocate function. During allocate
fucntion, the containing object hasn't been marked and rb_ary_new may
invoke gc to collect containing object.
2) The global map should be marked before allocating it. Otherwise it
may be garbage collected.
* Add test
* Remove commented code
* Fix grammer error
|
|\ \ \
| | | |
| | | | |
Allow initializing a chain of protos using only a hash in Ruby
|
| | | | |
|