aboutsummaryrefslogtreecommitdiff
path: root/ruby
Commit message (Collapse)AuthorAgeFilesLines
* add size alias for lengthAdam Greene2015-05-015-3/+57
| | | | | | | | | | starting to make `RepeatedField` quack like an array additional changes: * make sure gemspec gets all ruby code files * add homepage in gem spec removes one of the warnings, and the gem spec authors are pushing everyone to include a homepage in the gem * remove excess whitespace in test suite to bring formatting inline with the rest of the file
* build cleanupsAdam Greene2015-05-013-2/+3
| | | | | | * update docs to simplify build steps * Gemfile.lock seemed to have an older version specified * do not check in the pkg dir
* Bump gem version to release bugfix.Chris Fallin2015-04-131-1/+1
|
* Fixed issue #283: crash in JSON handler cleanup.Chris Fallin2015-04-132-1/+25
| | | | Includes repro test case from @wfarr.
* add jruby support by protobuf-java reflection APIIsaiah Peng2015-03-1028-25/+4641
|
* Updated Ruby gem version and added note to ruby/README.md regarding version ↵Chris Fallin2015-03-032-1/+25
| | | | | | number scheme. Change-Id: Idb29077c153530de78ce28c094442aa8f51ddd25
* Bump the version number to 3.0.0-alpha-3-preJisi Liu2015-03-021-1/+1
| | | | Change-Id: I33479e529b060e4fed532a827a386d3baecc835e
* Updated Ruby README with more details on getting started.Chris Fallin2015-02-231-2/+45
| | | | Change-Id: I54df314660cdb861ad8c4da75a08d4cb97faf638
* Update Ruby gem version to 3.0.0.alpha.2.0.Chris Fallin2015-02-201-1/+1
| | | | | | | | This update conforms to our two-numbers-after-alpha scheme that allows us to bump the last number if we need to re-upload a gem. (Rubygems does not allow re-use of a version number once a gem is uploaded.) Change-Id: Ia8e7c129d19800afd66f8052785cf5a00462c7ba
* Updated Ruby README.Chris Fallin2015-02-201-1/+0
| | | | Change-Id: I8c3717f549c9b4e9d07c77ec5875c9cd62b296ac
* Merge pull request #211 from isaiah/map_inspectChris Fallin2015-02-172-2/+2
|\ | | | | Ruby implementation Map#inspect should be consistent with Hash#inspect
| * Google::Protobuf::Map#inspect should be consistent with Hash#inspectIsaiah Peng2015-02-142-2/+2
| |
* | Addressed code-review comment.Chris Fallin2015-02-131-0/+4
| |
* | Properly support maps in Ruby protoc and another bugfix.Chris Fallin2015-02-122-73/+20
| | | | | | | | | | | | | | | | | | | | 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-upbJoshua Haberman2015-02-054-111/+565
|\ \ | |/ |/| Updated to latest upb and added test for JSON map operation.
| * README.md update for Ruby gem.Chris Fallin2015-02-051-7/+5
| |
| * Updated to latest upb and added test for JSON map operation.Chris Fallin2015-02-023-104/+560
| |
* | Merge pull request #190 from isaiah/to_aryChris Fallin2015-02-032-32/+30
|\ \ | |/ |/| add #to_ary to RepeatedField
| * add #to_ary to RepeatedFieldIsaiah Peng2015-02-032-32/+30
| |
* | Updated based on code-review comments.Chris Fallin2015-02-021-2/+1
| |
* | Updated based on code-review comments.Chris Fallin2015-02-023-16/+51
| |
* | Addressed code-review comments.Chris Fallin2015-01-262-12/+26
| |
* | Addressed code-review comments.Chris Fallin2015-01-263-7/+12
| |
* | Ruby extension: added oneof accessor.Chris Fallin2015-01-143-1/+53
| |
* | Addressed code-review comments.Chris Fallin2015-01-145-59/+71
| |
* | Two tests for Ruby code generator:Chris Fallin2015-01-144-1/+211
| | | | | | | | | | | | | | | | | | | | | | | | - A golden-file test that ensures protoc produces known-valid output. - A Ruby test that loads that golden file and ensures it actually works with the extension. This split strategy allows us to test end-to-end without needing to integrate the Ruby gem build system and the protoc build system. This is desirable because we do not want a gem build/install to depend on building protoc, and we do not want building protoc to depend on building and testing the gem.
* | Support oneofs in MRI Ruby C extension.Chris Fallin2015-01-148-233/+1840
|/
* Line-wraps at 80 chars.Chris Fallin2015-01-131-13/+18
|
* Addressed code-review comments.Chris Fallin2015-01-122-23/+14
|
* Update upb amalgamation.Chris Fallin2015-01-092-400/+747
|
* Addressed code-review comments.Chris Fallin2015-01-096-135/+72
|
* Addressed code-review comments.Chris Fallin2015-01-066-32/+59
|
* Support for maps in the MRI C Ruby extension.Chris Fallin2015-01-0612-163/+1873
| | | | | | | | 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 buildChris Fallin2014-12-1216-54/+17556
| | | | | | 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 Fallin2014-12-0913-0/+4980
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.