aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby
Commit message (Collapse)AuthorAge
* 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.
* Bugfix for JSON error case.Gravatar Josh Haberman2016-04-14
|
* Remove no longer applicable documentation from README.md.Gravatar Josh Haberman2016-04-14
|
* Ruby JSON: always accept both camelCase and original field names.Gravatar Josh Haberman2016-04-14
| | | | | | | | For JSON encoding we provide a new option to decide at encode time whether to use camelCase or original proto field names: json = MapMessage.encode_json(m, :preserve_proto_fieldnames => true)
* Documented the JSON change and compatibility flags.Gravatar Josh Haberman2016-04-14
|
* Updated upb: picked up legacy JSON flags to help Ruby users migrate.Gravatar Josh Haberman2016-04-14
| | | | | | | | | | | | | The flags are: UPB_JSON_ACCEPT_LEGACY_FIELD_NAMES UPB_JSON_WRITE_LEGACY_FIELD_NAMES The first just allows the parser to accept the old field names. The second makes the printer print the old field names. These flags are intended to be temporary, as a migration aid for users.
* Merge pull request #1139 from haberman/rubyjsoncamelGravatar Joshua Haberman2016-03-04
|\ | | | | Changed Ruby to properly camelCase its JSON by default.
* | Generate well-known types in Ruby extension and prune unneeded proto2 ↵Gravatar Josh Haberman2016-03-03
| | | | | | | | dependencies.
| * Updated upb from latest changes.Gravatar Josh Haberman2016-02-18
| |
| * Changed Ruby to properly camelCase its JSON by default.Gravatar Josh Haberman2016-02-18
|/
* Merge pull request #1224 from google/rubysentinelGravatar Joshua Haberman2016-02-16
|\ | | | | Removed 'optional' from proto3 syntax file.
* \ Merge pull request #1144 from dongjoon-hyun/remove_redundant_theGravatar Joshua Haberman2016-02-11
|\ \ | | | | | | Remove redundant `the`.
* \ \ Merge pull request #997 from anderscarling/better_errorsGravatar Joshua Haberman2016-02-11
|\ \ \ | | | | | | | | ruby: Better exception text for common cases
| | | * Removed 'optional' from proto3 syntax file.Gravatar Josh Haberman2016-02-10
| |_|/ |/| |
* | | Actually enabling cross compilation.Gravatar Nicolas "Pixel" Noble2016-02-06
| | |
* | | Removing usage of git - not everyone grabs the gem using it.Gravatar Nicolas "Pixel" Noble2016-02-06
| | |
* | | Add rake-compiler-dock as a dep.Gravatar Josh Haberman2016-02-04
| | |
* | | Added support for binary gems.Gravatar Josh Haberman2016-02-04
| | |
| | * Remove redundant `the` in comments.Gravatar Dongjoon Hyun2016-02-03
| |/ |/|
* | Fixed Ruby conformance tests by running them under rvm Ruby.Gravatar Josh Haberman2016-01-11
| |
* | Added debugging output to debug type= problem on Travis.Gravatar Josh Haberman2016-01-11
| |
* | Allow conformance test runner to tolerate crashes, and re-enable conformance ↵Gravatar Josh Haberman2016-01-11
| | | | | | | | tests.
* | Disable conformance tests for csharp and ruby.Gravatar Feng Xiao2015-12-21
| | | | | | | | The testee program of these two languages crashes on some test input.
* | Update version numbers.Gravatar Feng Xiao2015-12-21
| | | | | | | | | | Version number for beta languages is updated to v3.0.0-beta-2. Version number for alpha languages is updated to v3.0.0-alpha-5.
| * 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
* A very small fix to silence some warnings.Gravatar Josh Haberman2015-09-28
| | | | | | | Also updated the Gemfile.lock since alpha-4 has been pushed to RubyGems. Change-Id: I8ddc5f125f28aa9a33c88dfe48251a75a877e1d3
* Make jruby use Java 3.0.0-alpha-3.Gravatar Feng Xiao2015-08-26
|
* Update version number.Gravatar Feng Xiao2015-08-26
| | | | | Protoc, C++ runtime and Java runtime are updated to v3.0.0-beta-1, other languages are updated to v3.0.0-alpha-4.
* Merge pull request #584 from haberman/cwarningsGravatar Joshua Haberman2015-08-21
|\ | | | | Ruby: Conform to C89/C90 variable declaration rules.
| * Return TypedData_Wrap_Struct directly.Gravatar Josh Haberman2015-08-20
| | | | | | | | Change-Id: I6cf77f01370204ad4bc7b345a040a9a3de1706a0
* | Fixed several Ruby conformance test cases through upb update.Gravatar Josh Haberman2015-08-12
| | | | | | | | Change-Id: Ief77de7134e05e07b1a7e3970d49880c2d5e6fe9
* | Fixed lint errors and responded to CR comments.Gravatar Josh Haberman2015-07-17
| | | | | | | | Change-Id: If7b1cc0f03f609a7f43ddafc8509b44207c60910
* | Exclude JRuby from conformance tests for now.Gravatar Josh Haberman2015-07-17
| | | | | | | | Change-Id: Id008ebac5159f773e1bde8b85acb2626cbd16de8
* | 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
| * Conform to C89/C90 variable declaration rules.Gravatar Josh Haberman2015-07-10
| | | | | | | | | | | | | | | | | | | | | | | | While we are C99 in general, the Ruby build system for building C extensions enables several flags that throw warnings for C89/C90 variable ordering rules. To avoid spewing a million warnings (or trying to specifically override these warnings with command-line flags, which would be tricky and possibly fragile) we conform to Ruby's world of C89/C90. Change-Id: I0e03e62d95068dfdfde112df0fb16a248a2f32a0
* | Worked around memory leak bug in Ruby interpreter.Gravatar Josh Haberman2015-07-08
|/ | | | | Change-Id: I8e2b425f9008e6b82d41d59783bb8b04af1f886f Fixes: https://github.com/google/protobuf/issues/474.
* Update upb to fix two bugs in the Ruby library.Gravatar Josh Haberman2015-06-22
| | | | | | Fixes: https://github.com/google/protobuf/issues/502 https://github.com/google/protobuf/issues/425
* Fixed compiler warnings and added -std=c99.Gravatar Josh Haberman2015-06-09
| | | | | upb no longer requires -std=c99 but the Ruby/C code still uses C99 features.
* Updated upb to latest version (C89).Gravatar Josh Haberman2015-06-08
| | | | | Since this version of upb supports C89, all of the extra compiler flags are no longer required.
* Update version number to 3.0.0-alpha-4Gravatar Bo Yang2015-05-29
|
* Update version number to 3.0.0-alpha-3Gravatar teboring2015-05-23
|
* down-integrate internal changesGravatar Bo Yang2015-05-21
|
* Ruby C extension speedup: don't re-intern constant string needlessly.Gravatar Chris Fallin2015-05-19
| | | | Also fixed lines with > 80 char length.
* Merge pull request #387 from cfallin/ruby-upb-updateGravatar Joshua Haberman2015-05-18
|\ | | | | Update MRI C Ruby extension to use new version of upb (with upb_env).
* | Don't hardcode bashGravatar Tamir Duberstein2015-05-15
| |
| * Update MRI C Ruby extension to use new version of upb.Gravatar Chris Fallin2015-05-15
| | | | | | | | | | | | | | | | | | - Alter encode/decode paths to use the `upb_env` (environment) abstraction. - Update upb amalgamation to upstream `93791bfe`. - Fix a compilation warning (void*->char* cast). - Modify build flags so that upb doesn't produce warnings -- the Travis build logs were pretty cluttered previously.
* | Merge pull request #338 from skippy/encode-decode-helpersGravatar Chris Fallin2015-05-15
|\ \ | | | | | | ruby: Encode decode cleanup and behavior normalization