Hao Nguyen
b0d648664d
Update protobuf version
2019-05-21 14:07:13 -07:00
Hao Nguyen
2352a30e66
Revert "Update protobuf version"
...
This reverts commit 6d96493b31
.
2019-05-21 13:49:06 -07:00
Hao Nguyen
6d96493b31
Update protobuf version
2019-05-21 13:31:01 -07:00
Adam Cozzette
531505ca13
Updated gemspec to require Ruby 2.3 or higher
2019-05-10 11:36:35 -07:00
Paul Yang
7597f8ad24
Custom mktime to fix issue on mac ( #6118 )
...
* Custom mktime to fix issue on mac
* Remove succeeded tests from failure list
2019-05-09 20:51:35 -07:00
Hao Nguyen
37a89f8e1a
Update version to 3.8.0
2019-04-23 16:14:52 -07:00
Paul Yang
f425b9f059
Merge pull request #5953 from acozzette/merge-3-7-x
...
Merge 3.7.x into master
2019-03-28 17:28:22 -07:00
Bo Yang
33dd96c23f
Use mktime
2019-03-28 06:38:20 +00:00
Bo Yang
262cc06075
Fix ruby conformance test on mac
2019-03-28 06:35:07 +00:00
Bo Yang
2d9507ec74
Update upb for ruby
2019-03-28 02:17:39 +00:00
Bo Yang
a268b63284
Update upb for ruby
2019-03-27 21:19:01 +00:00
Joe Bolinger
e4bbca1fc5
Add wrapper type helpers for Ruby ( #5739 )
...
* add wrapper type helpers
* add check for _as_value suffix
2019-03-27 09:44:43 -07:00
Joe Bolinger
d2daa38986
Add native type setters for Timestamp and Duration in Ruby ( #5751 )
...
* add implicit time conversion
* add duration
* add init test
* more tests
* add type check and alternative c type check
* add rational and bigdecimal
* use rb_obj_is_kind_of
* use native time check
* chain implicit conversions
* remove unused variable
2019-03-26 16:48:24 -07:00
Adam Cozzette
8645d893ab
Merge branch '3.7.x' into merge-3-7-x
2019-03-26 14:32:20 -07:00
Paul Yang
6973c3a504
Update version number to 3.7.1 ( #5947 )
...
* Update version number to 3.7.1
* Update version number in port_def.inc
2019-03-26 09:30:12 -07:00
Adam Cozzette
077079573f
Fixed CI failures with Ruby 2.3 on OSX ( #5948 )
...
OSX has deprecated OpenSSL, so we need to install it via Homebrew and
build against that version when we build Ruby.
2019-03-25 17:19:48 -07:00
Benjamin Peterson
5939bc3619
Fix "the the".
2019-03-25 13:38:06 -07:00
Paul Yang
ba42cb53d9
Allow bytes field to be longer than 16000 bytes ( #5924 )
...
* Allow bytes field to be longer than 16000 bytes
* Remove empty line
2019-03-25 10:51:18 -07:00
Paul Yang
57b6597f46
Replace strptime with custom implementation ( #5906 )
...
* Replace strptime with custom implementation
* Fix ruby strptime
* Fix test
* Fix ruby conformance test
* Use mktime
* Remove EmptyFieldMask from failed conformance test list
2019-03-19 22:27:13 -07:00
Joe Bolinger
580826cd97
cherry-pick test fix from #5853
2019-03-14 16:32:01 -07:00
Joe Bolinger
604121aaa4
fix tests for older rubies
2019-03-14 11:42:22 -07:00
Joe Bolinger
0114727cc6
add more descriptive error messages to init methods
2019-03-14 11:37:39 -07:00
Paul Yang
4b145b1c7f
Parse nested listvalue in json for ruby ( #5867 )
...
* Add conformance test for nested listvalue
* Fix upb for parsing repeated Value/ListValue
* Add failed repeated ListValue conformance test into php failure list
2019-03-12 10:56:58 -07:00
Paul Yang
a18680890b
Encode empty ListValue ( #5857 )
...
* Encode empty ListValue
* Update mac ruby conformance failure list
2019-03-10 17:33:46 -07:00
bmoyles0117
0b5111dbab
Raise error for JSON overflow encoding in Ruby ( #5752 ) ( #5861 )
...
* add check for overflow
* de-nestify
* break long lines
2019-03-08 12:50:33 -08:00
Paul Yang
e75a689f7c
Fix ruby continuous tests ( #5853 )
...
* Fix ruby continuous tests
* Fix compatibility test
2019-03-07 17:16:31 -08:00
Joe Bolinger
f4f32a5b68
make tests work on older rubies ( #5823 )
2019-03-06 18:58:58 -08:00
Joshua Haberman
1568deab40
Revert "Updated upb from defcleanup branch and modified Ruby to use it ( #5539 )" ( #5848 )
...
This reverts commit 37581380fb
.
2019-03-06 15:44:38 -08:00
Joshua Haberman
37581380fb
Updated upb from defcleanup branch and modified Ruby to use it ( #5539 )
2019-03-06 10:20:18 -08:00
Joe Bolinger
8bdecd7430
remove return 0 ( #5840 )
2019-03-05 23:01:49 -08:00
Bo Yang
cb6fa92ee8
Merge branch '3.7.x'
2019-03-04 10:18:18 -08:00
Joe Bolinger
ae85b457d2
Fix Ruby module name generation when the ruby_package option is used (again) ( #5794 )
...
* Revert "Revert "Fix Ruby module name generation when the ruby_package option is used (#5735 )""
This reverts commit bb211e851e
.
* add new files to Makefile.am
2019-03-02 10:38:10 -08:00
Joe Bolinger
76685c6fae
Add frozen checks in Ruby ( #5726 )
...
* add frozen checks
* Use rb_check_frozen
* Correct assertion on frozen error message
The second argument for the method assert_raise is the message
to show when the assertion fails. It does not check the error
object's message.
Add an additional assertion that does check the error's message.
* do frozen check first
2019-03-02 10:37:37 -08:00
Joe Bolinger
a6e3ac0db1
Generate extra enum method helpers for Ruby ( #5670 )
...
* example with extra enum method
* update expected test output
* slight simplification
* add test for generated enum helpers
* move const helpers to c extension
* more explicit test
* more explicit test
* indent
* add foo test
* add check for _const suffix
2019-03-02 10:36:28 -08:00
Paul Yang
582743bf40
Update version number to 3.7.0 ( #5793 )
...
* Update version number to 3.7.0
* Add php/releash.sh to Makefile.am
* Make cpp_distcheck exit on fail
2019-02-28 12:55:14 -08:00
Paul Yang
bb211e851e
Revert "Fix Ruby module name generation when the ruby_package option is used ( #5735 )"
...
This reverts commit 9638dcc340
.
2019-02-27 20:56:03 -08:00
Joe Bolinger
9638dcc340
Fix Ruby module name generation when the ruby_package option is used ( #5735 )
...
* fix module name generation and add tests
* fix existing tests
* support both package name styles
2019-02-27 20:26:59 -08:00
Joe Bolinger
7f14ea9f48
Raise error for JSON overflow encoding in Ruby ( #5752 )
...
* add check for overflow
* de-nestify
* break long lines
2019-02-27 20:26:14 -08:00
Joe Bolinger
e780681e35
Allow repeated fields in Ruby to accept multiple arguments on push ( #5736 )
...
* let repeated fields push arrays
* add varargs push
* better test
2019-02-27 18:05:06 -08:00
Joe Bolinger
bc929a3e82
add eql? method ( #5730 )
2019-02-24 09:53:24 -08:00
Bo Yang
b52754b719
Update version to 3.7.0rc3
2019-02-22 11:31:48 -08:00
Xiang Dai
e479410564
delete all duplicate empty blanks ( #5758 )
...
Signed-off-by: Xiang Dai <764524258@qq.com>
2019-02-20 19:28:50 -08:00
Paul Yang
c7b3392201
Update version to 3.7.0 ( #5749 )
...
* Update version to 3.7.0
* Update version number for java bom
2019-02-19 15:54:45 -08:00
Joe Bolinger
39c0947893
implement to_s for message types ( #5710 )
2019-02-12 09:50:57 -08:00
Joe Bolinger
64eb9b6e85
Add more descriptive error messages to init methods in Ruby ( #5659 )
...
* add more descriptive error messages to init methods
* add type errors test to Makefile.am
2019-02-06 07:57:13 -08:00
Paul Yang
7d9377e7f3
Use gnu for ruby build because strptime is provided by posix ( #5660 )
...
* Use gnu for ruby build because strptime is provided by posix
* Move option to extconf.rb
* Remove unused code in Rakefile
* Add config files for kokoro test
* Use gnu 11
* Define _XOPEN_SOURCE
* Add gnu11 option
* Remove XOPEN
* Try base_cc_flags
* Try config_options
* Move time.h to top
* Try -D_XOPEN_SOURCE=700
* Define XOPEN_SOURCE directly
* Try extconf.rb
* Try CFLAGS
* Try ext.cross_config_options
* Make mac ruby release job fail on error
* Try again
* Try define _XOPEN_SOURCE in extconf.rb
* Try again
* Define __USE_XOPEN
* Remove 2.6.0
* No mingw
* Throw error on mingw
* Remove XOPEN_SOURCE in upb
* Add back mingw
* Remove comment
2019-02-01 10:09:34 -08:00
Adam Cozzette
1ee15baefc
Updated version to 3.7.0rc2
2019-01-30 21:08:04 -08:00
Hao Nguyen
d5be2baa46
Update version to 3.7.0
2019-01-24 10:23:02 -08:00
Paul Yang
37a0ab7d83
Fix Any json encoding/decoding for ruby. ( #5592 )
...
* Fix Any json encoding/decoding for ruby.
* Revert unnecessary changes
2019-01-17 10:24:41 -08:00
toc007
dda7ab0363
Ruby nested msg caps ( #5564 )
...
* Ruby nested msg caps
* nested types tests added
* test cases added for RubifyConstant
* extracted NestedMessage to TestNestedMessage
* removed nested tests with leading underscore
* extracted testLowercase to toplevel testLowercaseNested
2019-01-15 20:01:41 -08:00