aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby/lib
Commit message (Collapse)AuthorAge
* Merge pull request #3847 from FX-HAO/masterGravatar Joshua Haberman2018-07-02
|\ | | | | Google::Protobuf::Struct can access a missing key (#3846)
* | 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.
* | Add Google::Protobuf::Any.pack convenience class method. (#4719)Gravatar igorpeshansky2018-06-19
| |
* | Allows the json marshaller to be passed json marshal options (#4252)Gravatar Erik Benoist2018-05-22
| |
* | Fix RepeatedField#delete_if (#4292)Gravatar Stuart Campbell2018-04-30
| | | | | | Make RepeatedField#delete_if consistent with Array#delete_if.
| * Google::Protobuf::Struct can access a missing key (#3846)Gravatar parker2017-11-17
|/
* fix floating point accuracy problem in Timestamp#to_fGravatar Andreas Eger2017-05-13
| | | | | `.quo` return the most exact devision which fixes accuracy problems for the timestamp coercion
* Ruby: removed redundant RepeatedField#slice. (#2449)Gravatar Joshua Haberman2016-12-07
|
* Fixing regular expression...Gravatar Nicolas Noble2016-08-23
| | | This will allow loading the extension for Ruby 2.1.10...
* Ruby: added custom Struct exception type and fixed Makefile.am.Gravatar Josh Haberman2016-08-01
|
* Ruby: added API support for well-known types.Gravatar Josh Haberman2016-07-28
|
* Fix spelling in strings and commentsGravatar Otto Kekäläinen2016-07-03
|
* Added dig and bsearch_index to RepeatedField methods forwarded to arrayGravatar Adam Cozzette2016-04-27
| | | | | | | This fixes the test_acts_likes_an_array test in RepeatedFieldTest, which checks that repeated fields respond to the same methods as regular Ruby arrays. The bsearch_index and dig array methods seem to be new in Ruby 2.3 and so we should support those.
* 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
* 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
* 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'.
* 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.