aboutsummaryrefslogtreecommitdiff
path: root/ruby
Commit message (Collapse)AuthorAgeFilesLines
* Move variable declarations before actual codeMarcin Wyszynski2016-11-141-2/+2
|
* Fix copy pasta in testMarcin Wyszynski2016-11-031-1/+1
|
* More Ruby-eqsue interfaceMarcin Wyszynski2016-11-032-0/+54
|
* Use git clean before installing via bundlerJason Lunn2016-10-141-0/+2
|
* Update version number.Feng Xiao2016-10-101-1/+1
| | | | | | [skip ci] Change-Id: I1ba6f6372a08b5796570851336e1a548602f60da
* Fix travis, jenkins environment issues.Bo Yang2016-10-101-1/+1
|
* Bump version number to 3.1.0-alpha-1.Bo Yang2016-10-101-1/+1
|
* Add development dependency requirementsJason Lunn2016-09-291-4/+4
| | | 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.lockJason Lunn2016-09-291-30/+0
| | | Avoid [failures in travis](https://travis-ci.org/google/protobuf/jobs/163611664) under jruby
* Set platform to "java" under JRubyJason Lunn2016-09-291-0/+1
| | | Proposed fix for #1594
* Fix hash computation for JRuby's RubyMessageBrendan Ribera2016-09-201-2/+17
| | | | | | | | | | `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-hashJoshua Haberman2016-09-182-8/+9
|\ | | | | Fix #2036 (Ruby `hash` broken for Messages with repeated fields.)
| * fix #2036: use `rb_hash_*` to accumulate hashesBrendan Ribera2016-08-301-7/+5
| | | | | | | | | | | | | | 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:Brendan Ribera2016-08-301-1/+4
| | | | | | | | | | * add a repeated field to the tested hash * also assert that two messages with identical values produce identical hashes
* | Merge remote-tracking branch 'origin/3.0.x' into mergeJisi Liu2016-09-142-2/+2
|\ \ | |/ |/|
| * Bump version number to 3.0.2Jisi Liu2016-09-022-2/+2
| |
| * Merge pull request #2012 from haberman/rubymapgcfixJoshua Haberman2016-08-304-9/+59
| | | | | | Ruby: make sure map parsing frames are GC-rooted.
* | upb bugfix: JSON map entry keys were passing the wrong closure.Josh Haberman2016-08-291-1/+1
| |
* | Ruby: make sure map parsing frames are GC-rooted.Josh Haberman2016-08-263-8/+58
| |
* | Fixing regular expression...Nicolas Noble2016-08-231-1/+1
| | | | | | This will allow loading the extension for Ruby 2.1.10...
* | Merge pull request #1878 from haberman/rubywktJoshua Haberman2016-08-013-2/+336
|\ \ | |/ |/| Ruby: added API support for well-known types.
| * Ruby: added custom Struct exception type and fixed Makefile.am.Josh Haberman2016-08-012-11/+41
| |
| * Fix for JRuby (assert_true is not present).Josh Haberman2016-07-282-3/+3
| |
| * Ruby: added API support for well-known types.Josh Haberman2016-07-282-0/+304
| |
* | Merge pull request #1847 from haberman/GAfixesJoshua Haberman2016-07-264-3/+15
|\| | | | | GA fixes
| * Added unit test for PascalCasing package names in Ruby.Josh Haberman2016-07-254-1/+13
| |
| * Merge pull request #1837 from haberman/rubygencodenameJoshua Haberman2016-07-252-2/+2
| |\ | | | | | | Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb.
| | * Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb.Josh Haberman2016-07-252-2/+2
| | | | | | | | | | | | | | | This brings us more into line with other langauges, and makes it more obvious when we are requiring protobuf generated code.
* | | remove extra zeros.Jisi Liu2016-07-251-1/+1
| | |
* | | Make jruby still depend on beta-4Jisi Liu2016-07-251-1/+1
| | |
* | | Bump version number for GAJisi Liu2016-07-252-2/+2
|/ /
* | Merge pull request #1821 from haberman/rubyfreezestrJoshua Haberman2016-07-2511-83/+132
|\ \ | |/ |/| Ruby: encode and freeze strings when the are assigned or decoded.
| * Ruby: fixed string freezing for JRuby.Josh Haberman2016-07-255-25/+30
| |
| * Ruby: encode and freeze strings when the are assigned or decoded.Josh Haberman2016-07-217-60/+104
| |
* | Add more tests to jenkins.Feng Xiao2016-07-211-1/+1
|/ | | | | | | | | | | 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
* Update version number to 3.0.0-beta-4Feng Xiao2016-07-132-2/+2
|
* Fix spelling in strings and commentsOtto Kekäläinen2016-07-032-2/+2
|
* Fixed oneof behavior for enums and fixed JRuby.Josh Haberman2016-05-183-11/+24
|
* Ruby oneofs: return default instead of nil for unset fields.Josh Haberman2016-05-182-20/+42
|
* Update version numbers for other languagesJisi Liu2016-05-101-1/+1
|
* Properly generating well known proto files for the macos build.Nicolas "Pixel" Noble2016-05-041-0/+1
|
* Merge pull request #1473 from nicolasnoble/rake-tweaksJoshua Haberman2016-05-033-31/+43
|\ | | | | Few tweaks to the rakefile to permit native gems compilation with the proto files generation.
| * Addressing concerns.Nicolas "Pixel" Noble2016-04-301-1/+9
| |
| * Few tweaks to the rakefile to permit native gems compilation with the proto ↵Nicolas "Pixel" Noble2016-04-293-32/+36
| | | | | | | | files generation.
* | Merge pull request #1462 from acozzette/ruby-2.3Adam Cozzette2016-04-281-2/+2
|\ \ | |/ |/| Added dig and bsearch_index to RepeatedField methods forwarded to array
| * Added dig and bsearch_index to RepeatedField methods forwarded to arrayAdam Cozzette2016-04-271-2/+2
| | | | | | | | | | | | | | 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.Josh Haberman2016-04-224-1222/+1552
|/
* Bugfix for JSON error case.Josh Haberman2016-04-141-1/+1
|
* Remove no longer applicable documentation from README.md.Josh Haberman2016-04-141-68/+0
|
* Ruby JSON: always accept both camelCase and original field names.Josh Haberman2016-04-147-33/+82
| | | | | | | | 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)