aboutsummaryrefslogtreecommitdiff
path: root/ruby
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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)
* Documented the JSON change and compatibility flags.Josh Haberman2016-04-141-13/+83
|
* Updated upb: picked up legacy JSON flags to help Ruby users migrate.Josh Haberman2016-04-142-1354/+1573
| | | | | | | | | | | | | 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/rubyjsoncamelJoshua Haberman2016-03-046-532/+1156
|\ | | | | Changed Ruby to properly camelCase its JSON by default.
| * Updated upb from latest changes.Josh Haberman2016-02-182-244/+133
| |
| * Changed Ruby to properly camelCase its JSON by default.Josh Haberman2016-02-186-417/+1152
| |
* | Generate well-known types in Ruby extension and prune unneeded proto2 ↵Josh Haberman2016-03-032-75/+44
|/ | | | dependencies.
* Merge pull request #1224 from google/rubysentinelJoshua Haberman2016-02-161-9/+9
|\ | | | | Removed 'optional' from proto3 syntax file.
| * Removed 'optional' from proto3 syntax file.Josh Haberman2016-02-101-9/+9
| |
* | Merge pull request #1144 from dongjoon-hyun/remove_redundant_theJoshua Haberman2016-02-111-1/+1
|\ \ | | | | | | Remove redundant `the`.
| * | Remove redundant `the` in comments.Dongjoon Hyun2016-02-031-1/+1
| | |
* | | Merge pull request #997 from anderscarling/better_errorsJoshua Haberman2016-02-113-6/+47
|\ \ \ | |_|/ |/| | ruby: Better exception text for common cases
| * | Invoke super implementation instead of raising errorAnders Carling2015-11-231-2/+2
| | |
| * | Add field name to initialization map exceptionsAnders Carling2015-11-203-5/+22
| | |
| * | Use same exception class in ruby and jrubyAnders Carling2015-11-201-1/+1
| | |
| * | Raise NoMethodError for unknown fieldsAnders Carling2015-11-203-1/+25
| | | | | | | | | | | | More informative and more ruby-like
* | | Actually enabling cross compilation.Nicolas "Pixel" Noble2016-02-061-1/+7
| | |
* | | Removing usage of git - not everyone grabs the gem using it.Nicolas "Pixel" Noble2016-02-061-2/+2
| | |
* | | Add rake-compiler-dock as a dep.Josh Haberman2016-02-042-3/+6
| | |
* | | Added support for binary gems.Josh Haberman2016-02-043-3/+12
| |/ |/|
* | Fixed Ruby conformance tests by running them under rvm Ruby.Josh Haberman2016-01-113-5/+4
| |
* | Added debugging output to debug type= problem on Travis.Josh Haberman2016-01-112-2/+3
| |
* | Allow conformance test runner to tolerate crashes, and re-enable conformance ↵Josh Haberman2016-01-111-4/+1
| | | | | | | | tests.
* | Disable conformance tests for csharp and ruby.Feng Xiao2015-12-211-3/+5
| | | | | | | | The testee program of these two languages crashes on some test input.
* | Update version numbers.Feng Xiao2015-12-211-1/+1
|/ | | | | 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.
* A very small fix to silence some warnings.Josh Haberman2015-09-282-2/+7
| | | | | | | 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.Feng Xiao2015-08-261-1/+1
|