aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby/ext
Commit message (Collapse)AuthorAge
* Merge pull request #338 from skippy/encode-decode-helpersGravatar Chris Fallin2015-05-15
|\ | | | | ruby: Encode decode cleanup and behavior normalization
* | make repeated_field quack like an arrayGravatar Adam Greene2015-05-14
| |
| * adding and simplifying encoders/decodersGravatar Adam Greene2015-05-13
|/ | | | | | * make consistent between mri and jruby * create a #to_h and have it use symbols for keys * add #to_json and #to_proto helpers on the Google::Protobuf message classes
* Merge pull request #334 from skippy/allow-msg-to-accept-nilGravatar Chris Fallin2015-05-02
|\ | | | | ruby: allow a message field to be unset
| * allow a message field to be unsetGravatar Adam Greene2015-05-02
| |
* | return nil if array index indicie is out of boundsGravatar Adam Greene2015-05-01
|/ | | | | | | ruby arrays don't throw an exception; they return nil. Lets do the same! this fix also includes the ability to use negative array indicies
* Fixed issue #283: crash in JSON handler cleanup.Gravatar Chris Fallin2015-04-13
| | | | Includes repro test case from @wfarr.
* Merge pull request #211 from isaiah/map_inspectGravatar Chris Fallin2015-02-17
|\ | | | | Ruby implementation Map#inspect should be consistent with Hash#inspect
| * Google::Protobuf::Map#inspect should be consistent with Hash#inspectGravatar Isaiah Peng2015-02-14
| |
* | Addressed code-review comment.Gravatar Chris Fallin2015-02-13
| |
* | Properly support maps in Ruby protoc and another bugfix.Gravatar Chris Fallin2015-02-12
| | | | | | | | | | | | | | | | | | | | Previously, we supported map fields in the Ruby DSL. However, we never connected the final link in the chain and generated `map` DSL commands for map fields in `.proto` files. My apologies -- I had been testing with the DSL directly so I missed this. Also fixed a handlerdata-setup-infinite-loop when a map value field's type is its containing message.
* | Merge pull request #189 from cfallin/update-ruby-upbGravatar Joshua Haberman2015-02-05
|\ \ | |/ |/| Updated to latest upb and added test for JSON map operation.
* | Merge pull request #190 from isaiah/to_aryGravatar Chris Fallin2015-02-03
|\ \ | | | | | | add #to_ary to RepeatedField
| * | add #to_ary to RepeatedFieldGravatar Isaiah Peng2015-02-03
| | |
| | * Updated to latest upb and added test for JSON map operation.Gravatar Chris Fallin2015-02-02
| |/ |/|
* | Updated based on code-review comments.Gravatar Chris Fallin2015-02-02
| |
* | Updated based on code-review comments.Gravatar Chris Fallin2015-02-02
| |
* | Addressed code-review comments.Gravatar Chris Fallin2015-01-26
| |
* | Addressed code-review comments.Gravatar Chris Fallin2015-01-26
| |
* | Ruby extension: added oneof accessor.Gravatar Chris Fallin2015-01-14
| |
* | Addressed code-review comments.Gravatar Chris Fallin2015-01-14
| |
* | Support oneofs in MRI Ruby C extension.Gravatar Chris Fallin2015-01-14
|/
* Addressed code-review comments.Gravatar Chris Fallin2015-01-12
|
* Update upb amalgamation.Gravatar Chris Fallin2015-01-09
|
* Addressed code-review comments.Gravatar Chris Fallin2015-01-09
|
* Addressed code-review comments.Gravatar Chris Fallin2015-01-06
|
* Support for maps in the MRI C Ruby extension.Gravatar Chris Fallin2015-01-06
| | | | | | | | 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.
* Rename protobuf Ruby module to google/protobuf and rework its buildGravatar Chris Fallin2014-12-12
| | | | | | 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'.
* Provide a Ruby extension.Gravatar Chris Fallin2014-12-09
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.