aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby
Commit message (Collapse)AuthorAge
* Add continuous test for ruby 2.3, 2.4 and 2.5 (#4829)Gravatar Paul Yang2018-07-02
| | | | | | | | | | | | * Add continuous test for ruby 2.3, 2.4 and 2.5 * Change ruby 2.5 to 2.5.0 * No need to provide argument to rb_funcall when argc is 0 * Fix tests for ruby 2.5 * Use rescue instead of assert_raise to accept subclass of error
* Merge pull request #4321 from devwout/ruby_json_omit_repeatedGravatar Joshua Haberman2018-07-02
|\ | | | | Ruby JSON encoding omits zero-length repeated fields by default.
* \ Merge pull request #3847 from FX-HAO/masterGravatar Joshua Haberman2018-07-02
|\ \ | | | | | | Google::Protobuf::Struct can access a missing key (#3846)
* | | When initializing a message, skip a field if value is nil (#3693)Gravatar Zachary Anker2018-06-26
| | |
* | | 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.
* | | Merge branch '3.6.x' into merge-3-6-xGravatar Adam Cozzette2018-06-25
|\ \ \
| * | | Build ruby gem on kokoro (#4819)Gravatar Paul Yang2018-06-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Install rake compiler * Add kokoro config to build ruby gem on linux * Rename from linix to linux * Fix prepare_build.sh name * Clean up * Install bundler * Install bundler * Use c99 in order to build gem on mingw-32 on ruby 2.0.0 See https://github.com/rake-compiler/rake-compiler-dock/issues/4 * Move c99 config to extcofig.rb
* | | | 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-25
| | | |
| * | | Adopt ruby_package in ruby generated code. (#4627)Gravatar Paul Yang2018-05-25
| | | | | | | | | | | | | | | | | | | | | | | | * Adopt ruby_package in ruby generated code. * Add test for ruby_package
* | | | Allows the json marshaller to be passed json marshal options (#4252)Gravatar Erik Benoist2018-05-22
| | | |
* | | | Adopt ruby_package in ruby generated code. (#4627)Gravatar Paul Yang2018-05-17
| | | | | | | | | | | | | | | | | | | | | | | | * Adopt ruby_package in ruby generated code. * Add test for ruby_package
| * | | Update version number to 3.6.0Gravatar Jisi Liu2018-05-14
|/ / /
* | | Fix RepeatedField#delete_if (#4292)Gravatar Stuart Campbell2018-04-30
| | | | | | | | | Make RepeatedField#delete_if consistent with Array#delete_if.
* | | Set ext.no_native = true for non mac platformGravatar Jisi Liu2018-04-25
| | | | | | | | | | | | | | | From: https://github.com/rake-compiler/rake-compiler/issues/146#issuecomment-368539245
* | | Merge branch (#4466)Gravatar Paul Yang2018-04-02
| | | | | | | | | | | | | | | | | | | | | | | | * Fix setup.py for windows build. * Bump version number to 3.5.2 * Cat the test-suite.log on errors for presubits
* | | Merge pull request #4167 from mike9005/patch-1Gravatar Joshua Haberman2018-03-13
|\ \ \ | | | | | | | | Ruby: Fix scope resolution for MessageExts
* \ \ \ Merge pull request #4291 from google/3.5.xGravatar Jisi Liu2018-02-26
|\ \ \ \ | | | | | | | | | | Merge 3.5.x to master
| | | | * Ruby JSON encoding omits zero-length repeated fields by default.Gravatar Ewout2018-02-20
| |_|_|/ |/| | | | | | | | | | | | | | | This makes it behave the same way as the other implementations. It is also nice to always encode an empty message as {}.
| * | | Bumping number to fix ruby 2.1 on macGravatar Jisi Liu2018-01-26
| | | |
| * | | Update rake file to build of 2.1.6.Gravatar Jisi Liu2018-01-17
| | | |
| * | | Support ruby2.5Gravatar Jisi Liu2018-01-17
| | | |
| | * | Fix scope resolution for MessageExts in RubyGravatar Michael Collis2018-01-12
| |/ / |/| |
* | | Merge remote-tracking branch 'origin/3.5.x' into masterGravatar Jisi Liu2018-01-03
|\| |
| * | Update version number to 3.5.1Gravatar Jisi Liu2017-12-19
| | |
| * | Fix ruby gc_test in ruby 2.4 (#4011)Gravatar Paul Yang2017-12-08
| | | | | | | | | | | | | | | | | | * Fix ruby gc_test in ruby 2.4 * Initialize global variables to Qnil.
| * | Add discard unknown API in ruby. (#3990)Gravatar Paul Yang2017-12-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add discard unknown API in ruby. * Add test for oneof message field. * Add TestUnknown to represent unknown field data clearly. * Only serialize the message with unknown fields itself in test. * Move discard_unknown from Message to Google.Protobuf
* | | --pre is not necessaryGravatar W2017-12-06
| | | | | | | | | --pre was not necessary to install google-protobuf when I tried it today (2017-12-06).
* | | Merge branch '3.5.x' into 3.5.x-mergeGravatar Adam Cozzette2017-11-30
|\| |
* | | Merge pull request #2519 from ↵Gravatar Joshua Haberman2017-11-29
|\ \ \ | | | | | | | | | | | | | | | | rubynerd-forks/ruby-fix-repeated-message-type-field unwrap descriptor class before comparison of RepeatedField types
| | | * Google::Protobuf::Struct can access a missing key (#3846)Gravatar parker2017-11-17
| |_|/ |/| |
| | * Update version number to 3.5.0Gravatar Jisi Liu2017-11-02
| |/ |/|
* | Reserve unknown in Ruby (#3763)Gravatar Paul Yang2017-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Reserve unknown in ruby * Revert ruby tests. Wait for cpp impl for conformance test * Add conformance test for preserving unknown * Add unknown field conformance test to csharp failure list. * Fix comments * Fix comment * Fix comments * Fix typo * Use stringsink_string directly * Mark hd unused * Remove unused encodeunknown_handlerfunc
| * test for field reassignmentGravatar @rubynerd2017-10-12
| |
* | Merge remote-tracking branch 'origin/3.4.x' into masterGravatar Jisi Liu2017-10-11
|\ \
* | | Fix ruby segment fault (#3708)Gravatar Paul Yang2017-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix ruby segment fault 1) rb_ary_new cannot be called during allocate function. During allocate fucntion, the containing object hasn't been marked and rb_ary_new may invoke gc to collect containing object. 2) The global map should be marked before allocating it. Otherwise it may be garbage collected. * Add test * Remove commented code * Fix grammer error
* | | 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
| * | | Update message.cGravatar Zachary Anker2017-09-21
| | | |
* | | | Update message.cGravatar Zachary Anker2017-09-20
| | | |
| * | | 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
|/ / /
| * | Bumping minor version for ruby gemsGravatar Jisi Liu2017-09-15
| | |
| * | Bump version for minor releaseGravatar Jisi Liu2017-09-14
| | |
| * | Storing the frame on the map means we don't need the arrayGravatar Aaron Patterson2017-09-13
| | |
| * | Move parse frame array to the Map objectGravatar Aaron Patterson2017-09-13
| | | | | | | | | | | | This makes the frame stack per-parser, and per-thread. Fixes #3250
* | | Storing the frame on the map means we don't need the arrayGravatar Aaron Patterson2017-08-30
| | |
* | | Move parse frame array to the Map objectGravatar Aaron Patterson2017-08-30
|/ / | | | | | | This makes the frame stack per-parser, and per-thread. Fixes #3250
* | Bump gemspec againGravatar Jisi Liu2017-08-18
| |
* | Bump gem version for the next uploadGravatar Jisi Liu2017-08-17
| |
* | Update version number for 3.4.0Gravatar Jisi Liu2017-07-24
| |