aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby
Commit message (Collapse)AuthorAge
* Ruby: removed redundant RepeatedField#slice. (#2449)Gravatar Joshua Haberman2016-12-07
|
* Factored Conformance and Benchmark test messages into shared test schema. ↵Gravatar Joshua Haberman2016-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#1971) * Factored Conformance test messages into shared test schema. * Updated benchmarks to use new proto3 message locations. * Fixed include path. * Conformance: fixed include of Python test messages. * Make maven in Rakefile use --batch-mode. * Revert changes to benchmarks. On second thought I think a separate schema for CPU benchmarking makes sense. * Try regenerating C# protos for new test protos. * Removed benchmark messages from test proto. * Added Jon Skeet's fixes for C#. * Removed duplicate/old test messages C# file. * C# fixes for test schema move. * Fixed C# to use the correct TestAllTypes message. * Fixes for Objective C test schema move. * Added missing EXTRA_DIST file.
* Fixed Ruby tests for JRuby 1.7Gravatar Adam Cozzette2016-11-23
| | | | | | | | | This makes a couple of changes to fix the tests for JRuby 1.7: - Avoid using assert_false since that assertion seems not to exist in older versions - Disable a test related to respond_to? for JRuby. It's hard to tell what is going wrong here but it looks like probably a JRuby bug that has been fixed in more recent versions.
* Move variable declarations before actual codeGravatar Marcin Wyszynski2016-11-14
|
* Fix copy pasta in testGravatar Marcin Wyszynski2016-11-03
|
* More Ruby-eqsue interfaceGravatar Marcin Wyszynski2016-11-03
|
* Use git clean before installing via bundlerGravatar Jason Lunn2016-10-14
|
* 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
|/