aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby/lib/google/protobuf.rb
Commit message (Collapse)AuthorAge
* Adds a base class for all explicitly raised TypeErrors (#4255)Gravatar Erik Benoist2018-06-26
| | | | | | | | | * 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.
* Allows the json marshaller to be passed json marshal options (#4252)Gravatar Erik Benoist2018-05-22
|
* Fixing regular expression...Gravatar Nicolas Noble2016-08-23
| | | This will allow loading the extension for Ruby 2.1.10...
* Added support for binary gems.Gravatar Josh Haberman2016-02-04
|
* Fixed lint errors and responded to CR comments.Gravatar Josh Haberman2015-07-17
| | | | Change-Id: If7b1cc0f03f609a7f43ddafc8509b44207c60910
* Added Ruby to conformance tests.Gravatar Josh Haberman2015-07-16
| | | | | | | | | | | | | This involved fixing a few important bugs in the Ruby implementation -- mostly cases of mixing upb field types and descriptor types (upb field types do not distinguish between int/sint/fixed/sfixed like descriptor types do). Also added protobuf-specific exceptions so parse errors can be caught specifically. Change-Id: Ib49d3db976900b2c6f3455c8b88af52cfb86e036
* 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
* add size alias for lengthGravatar Adam Greene2015-05-01
| | | | | | | | | | 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
* add jruby support by protobuf-java reflection APIGravatar Isaiah Peng2015-03-10
|
* 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'.