Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | adding and simplifying encoders/decoders | Adam Greene | 2015-05-13 | 4 | -59/+32 |
| | | | | | | * 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-nil | Chris Fallin | 2015-05-02 | 1 | -1/+3 |
|\ | | | | | ruby: allow a message field to be unset | ||||
| * | allow a message field to be unset | Adam Greene | 2015-05-02 | 1 | -1/+3 |
| | | |||||
* | | return nil if array index indicie is out of bounds | Adam Greene | 2015-05-01 | 1 | -6/+14 |
|/ | | | | | | | 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. | Chris Fallin | 2015-04-13 | 1 | -1/+1 |
| | | | | Includes repro test case from @wfarr. | ||||
* | Merge pull request #211 from isaiah/map_inspect | Chris Fallin | 2015-02-17 | 1 | -1/+1 |
|\ | | | | | Ruby implementation Map#inspect should be consistent with Hash#inspect | ||||
| * | Google::Protobuf::Map#inspect should be consistent with Hash#inspect | Isaiah Peng | 2015-02-14 | 1 | -1/+1 |
| | | |||||
* | | Addressed code-review comment. | Chris Fallin | 2015-02-13 | 1 | -0/+4 |
| | | |||||
* | | Properly support maps in Ruby protoc and another bugfix. | Chris Fallin | 2015-02-12 | 1 | -13/+10 |
| | | | | | | | | | | | | | | | | | | | | 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-upb | Joshua Haberman | 2015-02-05 | 2 | -104/+552 |
|\ \ | |/ |/| | Updated to latest upb and added test for JSON map operation. | ||||
| * | Updated to latest upb and added test for JSON map operation. | Chris Fallin | 2015-02-02 | 2 | -104/+552 |
| | | |||||
* | | Merge pull request #190 from isaiah/to_ary | Chris Fallin | 2015-02-03 | 1 | -31/+28 |
|\ \ | |/ |/| | add #to_ary to RepeatedField | ||||
| * | add #to_ary to RepeatedField | Isaiah Peng | 2015-02-03 | 1 | -31/+28 |
| | | |||||
* | | Updated based on code-review comments. | Chris Fallin | 2015-02-02 | 1 | -2/+1 |
| | | |||||
* | | Updated based on code-review comments. | Chris Fallin | 2015-02-02 | 3 | -16/+51 |
| | | |||||
* | | Addressed code-review comments. | Chris Fallin | 2015-01-26 | 2 | -12/+26 |
| | | |||||
* | | Addressed code-review comments. | Chris Fallin | 2015-01-26 | 3 | -7/+12 |
| | | |||||
* | | Ruby extension: added oneof accessor. | Chris Fallin | 2015-01-14 | 2 | -1/+47 |
| | | |||||
* | | Addressed code-review comments. | Chris Fallin | 2015-01-14 | 4 | -58/+65 |
| | | |||||
* | | Support oneofs in MRI Ruby C extension. | Chris Fallin | 2015-01-14 | 7 | -233/+1748 |
|/ | |||||
* | Addressed code-review comments. | Chris Fallin | 2015-01-12 | 2 | -23/+14 |
| | |||||
* | Update upb amalgamation. | Chris Fallin | 2015-01-09 | 2 | -400/+747 |
| | |||||
* | Addressed code-review comments. | Chris Fallin | 2015-01-09 | 6 | -135/+72 |
| | |||||
* | Addressed code-review comments. | Chris Fallin | 2015-01-06 | 6 | -32/+59 |
| | |||||
* | Support for maps in the MRI C Ruby extension. | Chris Fallin | 2015-01-06 | 11 | -161/+1617 |
| | | | | | | | | 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 build | Chris Fallin | 2014-12-12 | 11 | -32/+17528 |
| | | | | | | 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. | Chris Fallin | 2014-12-09 | 8 | -0/+4207 |
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. |