Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updated version numbers to 3.6.1 | Adam Cozzette | 2018-07-27 | 1 | -1/+1 |
| | |||||
* | Check the message to be encoded is the wrong type. (#4885) (#4949) | Paul Yang | 2018-07-23 | 2 | -0/+17 |
| | | | | | | * Check the message to be encoded is the wrong type. (#4885) * Change TypeError to ArgumentError | ||||
* | Add continuous test for ruby 2.3, 2.4 and 2.5 (#4829) | Paul Yang | 2018-07-17 | 5 | -36/+135 |
| | | | | | | | | | | | | * 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 | ||||
* | Build ruby gem on kokoro (#4819) | Paul Yang | 2018-06-25 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Allows the json marshaller to be passed json marshal options (#4252) | Erik Benoist | 2018-05-25 | 3 | -4/+28 |
| | |||||
* | Adopt ruby_package in ruby generated code. (#4627) | Paul Yang | 2018-05-25 | 3 | -0/+14 |
| | | | | | | * Adopt ruby_package in ruby generated code. * Add test for ruby_package | ||||
* | Update version number to 3.6.0 | Jisi Liu | 2018-05-14 | 1 | -1/+1 |
| | |||||
* | Fix RepeatedField#delete_if (#4292) | Stuart Campbell | 2018-04-30 | 2 | -2/+11 |
| | | | Make RepeatedField#delete_if consistent with Array#delete_if. | ||||
* | Set ext.no_native = true for non mac platform | Jisi Liu | 2018-04-25 | 1 | -0/+6 |
| | | | | | From: https://github.com/rake-compiler/rake-compiler/issues/146#issuecomment-368539245 | ||||
* | Merge branch (#4466) | Paul Yang | 2018-04-02 | 1 | -1/+1 |
| | | | | | | | | * 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-1 | Joshua Haberman | 2018-03-13 | 1 | -2/+2 |
|\ | | | | | Ruby: Fix scope resolution for MessageExts | ||||
| * | Fix scope resolution for MessageExts in Ruby | Michael Collis | 2018-01-12 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #4291 from google/3.5.x | Jisi Liu | 2018-02-26 | 2 | -3/+3 |
|\ \ | |/ |/| | Merge 3.5.x to master | ||||
| * | Bumping number to fix ruby 2.1 on mac | Jisi Liu | 2018-01-26 | 1 | -1/+1 |
| | | |||||
| * | Update rake file to build of 2.1.6. | Jisi Liu | 2018-01-17 | 1 | -2/+2 |
| | | |||||
| * | Support ruby2.5 | Jisi Liu | 2018-01-17 | 2 | -3/+3 |
| | | |||||
* | | Merge remote-tracking branch 'origin/3.5.x' into master | Jisi Liu | 2018-01-03 | 9 | -14/+181 |
|\| | |||||
| * | Update version number to 3.5.1 | Jisi Liu | 2017-12-19 | 1 | -1/+1 |
| | | |||||
| * | Fix ruby gc_test in ruby 2.4 (#4011) | Paul Yang | 2017-12-08 | 3 | -13/+13 |
| | | | | | | | | | | | | * Fix ruby gc_test in ruby 2.4 * Initialize global variables to Qnil. | ||||
| * | Add discard unknown API in ruby. (#3990) | Paul Yang | 2017-12-07 | 5 | -0/+167 |
| | | | | | | | | | | | | | | | | | | | | | | | | * 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 necessary | W | 2017-12-06 | 1 | -4/+0 |
| | | | | | | --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-merge | Adam Cozzette | 2017-11-30 | 1 | -1/+1 |
|\| | |||||
| * | Update version number to 3.5.0 | Jisi Liu | 2017-11-02 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #2519 from ↵ | Joshua Haberman | 2017-11-29 | 2 | -4/+18 |
|\ \ | |/ |/| | | | | | rubynerd-forks/ruby-fix-repeated-message-type-field unwrap descriptor class before comparison of RepeatedField types | ||||
| * | test for field reassignment | @rubynerd | 2017-10-12 | 1 | -0/+6 |
| | | |||||
| * | handle sanity check for repeating enums correctly | @rubynerd | 2016-12-30 | 1 | -3/+11 |
| | | |||||
| * | unwrap descriptor class before comparison of RepeatedField types | @rubynerd | 2016-12-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | self->field_type_class returns the correct Ruby class, get_def_obj returns the Descriptor object used to generate the Ruby class via msgclass, so to compare the two types we get the msgclass from the descriptor. | ||||
* | | Reserve unknown in Ruby (#3763) | Paul Yang | 2017-10-26 | 5 | -827/+1958 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | | Merge remote-tracking branch 'origin/3.4.x' into master | Jisi Liu | 2017-10-11 | 1 | -1/+1 |
|\ \ | |||||
| * | | Bumping minor version for ruby gems | Jisi Liu | 2017-09-15 | 1 | -1/+1 |
| | | | |||||
| * | | Bump version for minor release | Jisi Liu | 2017-09-14 | 1 | -1/+1 |
| | | | |||||
| * | | Storing the frame on the map means we don't need the array | Aaron Patterson | 2017-09-13 | 3 | -14/+9 |
| | | | |||||
| * | | Move parse frame array to the Map object | Aaron Patterson | 2017-09-13 | 5 | -23/+42 |
| | | | | | | | | | | | | This makes the frame stack per-parser, and per-thread. Fixes #3250 | ||||
* | | | Fix ruby segment fault (#3708) | Paul Yang | 2017-10-03 | 6 | -9/+82 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-init | Joshua Haberman | 2017-09-21 | 5 | -26/+116 |
|\ \ \ | | | | | | | | | Allow initializing a chain of protos using only a hash in Ruby | ||||
| * | | | Update message.c | Zachary Anker | 2017-09-21 | 1 | -2/+1 |
| | | | | |||||
| * | | | Allow initializing a chain of protos using only a hash | Zachary Anker | 2017-09-20 | 5 | -26/+117 |
| | | | | |||||
* | | | | Update message.c | Zachary Anker | 2017-09-20 | 1 | -1/+1 |
| | | | | |||||
* | | | | Fixed to_h with repeated messages to return hashes in Ruby | Zachary Anker | 2017-09-20 | 3 | -3/+22 |
|/ / / | |||||
* | | | Storing the frame on the map means we don't need the array | Aaron Patterson | 2017-08-30 | 3 | -14/+9 |
| | | | |||||
* | | | Move parse frame array to the Map object | Aaron Patterson | 2017-08-30 | 5 | -23/+42 |
|/ / | | | | | | | This makes the frame stack per-parser, and per-thread. Fixes #3250 | ||||
* | | Bump gemspec again | Jisi Liu | 2017-08-18 | 1 | -1/+1 |
| | | |||||
* | | Bump gem version for the next upload | Jisi Liu | 2017-08-17 | 1 | -1/+1 |
| | | |||||
* | | Update version number for 3.4.0 | Jisi Liu | 2017-07-24 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #2482 from andreaseger/fix_ruby_timestamp_accuracy | Adam Cozzette | 2017-07-06 | 2 | -3/+11 |
|\ \ | | | | | | | [Ruby] fix floating point accuracy problem in Timestamp#to_f | ||||
| * | | change test for nanosecond accurate timestamps | Andreas Eger | 2017-05-13 | 1 | -2/+5 |
| | | | |||||
| * | | fix floating point accuracy problem in Timestamp#to_f | Andreas Eger | 2017-05-13 | 2 | -3/+8 |
| | | | | | | | | | | | | | | | `.quo` return the most exact devision which fixes accuracy problems for the timestamp coercion | ||||
* | | | Updated upb to fix JSON conformance issues. (#3206) | Joshua Haberman | 2017-06-19 | 3 | -506/+488 |
| | | | | | | | | | | | | | | | | | | * Fixed a bunch of Ruby conformance errors. * Fixed some more Ruby conformance errors in JSON. | ||||
* | | | Merge pull request #2815 from devwout/ruby_json_emit_defaults | Joshua Haberman | 2017-05-15 | 2 | -33/+149 |
|\ \ \ | |/ / |/| | | Ruby version optionally emits default values in JSON encoding. | ||||
| * | | Ruby tests compare parsed JSON instead of raw JSON | Ewout | 2017-03-17 | 1 | -12/+89 |
| | | |