aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby/src
Commit message (Collapse)AuthorAge
* Merge pull request #3627 from zanker/zanker/add-submsg-hash-initGravatar Joshua Haberman2017-09-21
|\ | | | | Allow initializing a chain of protos using only a hash in Ruby
| * Allow initializing a chain of protos using only a hashGravatar Zachary Anker2017-09-20
| |
* | Fixed to_h with repeated messages to return hashes in RubyGravatar Zachary Anker2017-09-20
|/
* Fix hash computation for JRuby's RubyMessageGravatar Brendan Ribera2016-09-20
| | | | | | | | | | `System.identityHashCode` returns a hash that does not consider a Message's values. This means two Messages with identical values will not have identical hashCodes. This patch uses the pattern from RubyMap to combine the hashCodes from all values in a given message and produce a unique, consistent, value-based hash.
* Ruby: fixed string freezing for JRuby.Gravatar Josh Haberman2016-07-25
|
* Fixed oneof behavior for enums and fixed JRuby.Gravatar Josh Haberman2016-05-18
|
* Merge pull request #1224 from google/rubysentinelGravatar Joshua Haberman2016-02-16
|\ | | | | Removed 'optional' from proto3 syntax file.
| * Removed 'optional' from proto3 syntax file.Gravatar Josh Haberman2016-02-10
| |
* | Invoke super implementation instead of raising errorGravatar Anders Carling2015-11-23
| |
* | Add field name to initialization map exceptionsGravatar Anders Carling2015-11-20
| |
* | Use same exception class in ruby and jrubyGravatar Anders Carling2015-11-20
| |
* | Raise NoMethodError for unknown fieldsGravatar Anders Carling2015-11-20
|/ | | | More informative and more ruby-like
* 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
* add jruby support by protobuf-java reflection APIGravatar Isaiah Peng2015-03-10