aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby
Commit message (Collapse)AuthorAge
* Update version number.Gravatar Feng Xiao2016-10-10
| | | | | | [skip ci] Change-Id: I1ba6f6372a08b5796570851336e1a548602f60da
* Fix travis, jenkins environment issues.Gravatar Bo Yang2016-10-10
|
* Bump version number to 3.1.0-alpha-1.Gravatar Bo Yang2016-10-10
|
* Add development dependency requirementsGravatar Jason Lunn2016-09-29
| | | Uses values from the removed `Gemfile.lock` as a baseline for version requirements, though it has been observed to work with the latest versions of all the referenced gems - see https://travis-ci.org/google/protobuf/builds/163625616 for details
* Delete Gemfile.lockGravatar Jason Lunn2016-09-29
| | | Avoid [failures in travis](https://travis-ci.org/google/protobuf/jobs/163611664) under jruby
* Set platform to "java" under JRubyGravatar Jason Lunn2016-09-29
| | | Proposed fix for #1594
* Fix hash computation for JRuby's RubyMessageGravatar Brendan Ribera2016-09-20
| | | | | | | | | | `System.identityHashCode` returns a hash that does not consider a Message's values. This means two Messages with identical values will not have identical hashCodes. This patch uses the pattern from RubyMap to combine the hashCodes from all values in a given message and produce a unique, consistent, value-based hash.
* Merge pull request #2037 from abscondment/fix-2036-ruby-hashGravatar Joshua Haberman2016-09-18
|\ | | | | Fix #2036 (Ruby `hash` broken for Messages with repeated fields.)
* \ Merge remote-tracking branch 'origin/3.0.x' into mergeGravatar Jisi Liu2016-09-14
|\ \
| * | Bump version number to 3.0.2Gravatar Jisi Liu2016-09-02
| | |
| | * fix #2036: use `rb_hash_*` to accumulate hashesGravatar Brendan Ribera2016-08-30
| | | | | | | | | | | | | | | | | | | | | Instead of shifting/xoring the hash at each field, use the built-in ruby apis for generating a hash from multiple input values. Now returns a Fixnum.
| | * failing test for #2036:Gravatar Brendan Ribera2016-08-30
| |/ |/| | | | | | | * add a repeated field to the tested hash * also assert that two messages with identical values produce identical hashes
| * Merge pull request #2012 from haberman/rubymapgcfixGravatar Joshua Haberman2016-08-30
| | | | | | Ruby: make sure map parsing frames are GC-rooted.
* | upb bugfix: JSON map entry keys were passing the wrong closure.Gravatar Josh Haberman2016-08-29
| |
* | Ruby: make sure map parsing frames are GC-rooted.Gravatar Josh Haberman2016-08-26
| |
* | Fixing regular expression...Gravatar Nicolas Noble2016-08-23
| | | | | | This will allow loading the extension for Ruby 2.1.10...
* | Merge pull request #1878 from haberman/rubywktGravatar Joshua Haberman2016-08-01
|\ \ | |/ |/| Ruby: added API support for well-known types.
| * Ruby: added custom Struct exception type and fixed Makefile.am.Gravatar Josh Haberman2016-08-01
| |
| * Fix for JRuby (assert_true is not present).Gravatar Josh Haberman2016-07-28
| |
| * Ruby: added API support for well-known types.Gravatar Josh Haberman2016-07-28
| |
* | Merge pull request #1847 from haberman/GAfixesGravatar Joshua Haberman2016-07-26
|\| | | | | GA fixes
| * Added unit test for PascalCasing package names in Ruby.Gravatar Josh Haberman2016-07-25
| |
| * Merge pull request #1837 from haberman/rubygencodenameGravatar Joshua Haberman2016-07-25
| |\ | | | | | | Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb.
* | | remove extra zeros.Gravatar Jisi Liu2016-07-25
| | |
* | | Make jruby still depend on beta-4Gravatar Jisi Liu2016-07-25
| | |
* | | Bump version number for GAGravatar Jisi Liu2016-07-25
|/ /
| * Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb.Gravatar Josh Haberman2016-07-25
| | | | | | | | | | This brings us more into line with other langauges, and makes it more obvious when we are requiring protobuf generated code.
* | Merge pull request #1821 from haberman/rubyfreezestrGravatar Joshua Haberman2016-07-25
|\ \ | |/ |/| Ruby: encode and freeze strings when the are assigned or decoded.
| * Ruby: fixed string freezing for JRuby.Gravatar Josh Haberman2016-07-25
| |
* | Add more tests to jenkins.Gravatar Feng Xiao2016-07-21
| | | | | | | | | | | | | | | | | | | | | | 1. Added ruby22 and jruby tests to jenkins. 2. Added javascript tests to jenkins. 3. Added golang tests to jenkins. 4. Removed ruby19/ruby20 tests from travis. Support for ruby 2.0 has ended since 2016/02/24. https://www.ruby-lang.org/en/news/2016/02/24/support-plan-of-ruby-2-0-0-and-2-1/ Change-Id: Ie984b06772335352a4be7067ab2485f923875685
| * Ruby: encode and freeze strings when the are assigned or decoded.Gravatar Josh Haberman2016-07-21
|/
* Update version number to 3.0.0-beta-4Gravatar Feng Xiao2016-07-13
|
* Fix spelling in strings and commentsGravatar Otto Kekäläinen2016-07-03
|
* Fixed oneof behavior for enums and fixed JRuby.Gravatar Josh Haberman2016-05-18
|
* Ruby oneofs: return default instead of nil for unset fields.Gravatar Josh Haberman2016-05-18
|
* Update version numbers for other languagesGravatar Jisi Liu2016-05-10
|
* Properly generating well known proto files for the macos build.Gravatar Nicolas "Pixel" Noble2016-05-04
|
* Merge pull request #1473 from nicolasnoble/rake-tweaksGravatar Joshua Haberman2016-05-03
|\ | | | | Few tweaks to the rakefile to permit native gems compilation with the proto files generation.
| * Addressing concerns.Gravatar Nicolas "Pixel" Noble2016-04-30
| |
| * Few tweaks to the rakefile to permit native gems compilation with the proto ↵Gravatar Nicolas "Pixel" Noble2016-04-29
| | | | | | | | files generation.
* | Merge pull request #1462 from acozzette/ruby-2.3Gravatar Adam Cozzette2016-04-28
|\ \ | |/ |/| Added dig and bsearch_index to RepeatedField methods forwarded to array
| * 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.
* | Updated upb and simplified ruby code a bit with new upb method.Gravatar Josh Haberman2016-04-22
|/
* 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.