Paul Yang
5289ee0c21
Adopt ruby_package in ruby generated code. ( #4627 )
...
* Adopt ruby_package in ruby generated code.
* Add test for ruby_package
7 years ago
Erik Benoist
a8e2359329
Allows the json marshaller to be passed json marshal options ( #4252 )
7 years ago
Paul Yang
9ccc3e536c
Adopt ruby_package in ruby generated code. ( #4627 )
...
* Adopt ruby_package in ruby generated code.
* Add test for ruby_package
7 years ago
Jisi Liu
45eb28b588
Update version number to 3.6.0
7 years ago
Stuart Campbell
05c2d01b61
Fix RepeatedField#delete_if ( #4292 )
...
Make RepeatedField#delete_if consistent with Array#delete_if.
7 years ago
Jisi Liu
9972e1608e
Set ext.no_native = true for non mac platform
...
From:
https://github.com/rake-compiler/rake-compiler/issues/146#issuecomment-368539245
7 years ago
Paul Yang
c931743461
Merge branch ( #4466 )
...
* Fix setup.py for windows build.
* Bump version number to 3.5.2
* Cat the test-suite.log on errors for presubits
7 years ago
Bo Yang
b5fbb742af
Bump version number to 3.5.2
7 years ago
Ewout
7b8f571756
Ruby JSON encoding omits zero-length repeated fields by default.
...
This makes it behave the same way as the other implementations.
It is also nice to always encode an empty message as {}.
7 years ago
Jisi Liu
2a8e10257f
Bumping number to fix ruby 2.1 on mac
7 years ago
Jisi Liu
53d907f646
Update rake file to build of 2.1.6.
7 years ago
Jisi Liu
d9f0f0bfac
Support ruby2.5
7 years ago
Michael Collis
2a6eaeb86e
Fix scope resolution for MessageExts in Ruby
7 years ago
Jisi Liu
050fc9a437
Update version number to 3.5.1
7 years ago
Paul Yang
cf7c15e31a
Fix ruby gc_test in ruby 2.4 ( #4011 )
...
* Fix ruby gc_test in ruby 2.4
* Initialize global variables to Qnil.
7 years ago
Paul Yang
0e7b589566
Add discard unknown API in ruby. ( #3990 )
...
* Add discard unknown API in ruby.
* Add test for oneof message field.
* Add TestUnknown to represent unknown field data clearly.
* Only serialize the message with unknown fields itself in test.
* Move discard_unknown from Message to Google.Protobuf
7 years ago
W
0316ae802d
--pre is not necessary
...
--pre was not necessary to install google-protobuf when I tried it today (2017-12-06).
7 years ago
parker
8695997eb5
Google::Protobuf::Struct can access a missing key ( #3846 )
7 years ago
Jisi Liu
97dd175a91
Update version number to 3.5.0
7 years ago
Paul Yang
23adfeb003
Reserve unknown in Ruby ( #3763 )
...
* Reserve unknown in ruby
* Revert ruby tests. Wait for cpp impl for conformance test
* Add conformance test for preserving unknown
* Add unknown field conformance test to csharp failure list.
* Fix comments
* Fix comment
* Fix comments
* Fix typo
* Use stringsink_string directly
* Mark hd unused
* Remove unused encodeunknown_handlerfunc
7 years ago
@rubynerd
1e58006b3c
test for field reassignment
7 years ago
Paul Yang
cd5f49d094
Fix ruby segment fault ( #3708 )
...
* Fix ruby segment fault
1) rb_ary_new cannot be called during allocate function. During allocate
fucntion, the containing object hasn't been marked and rb_ary_new may
invoke gc to collect containing object.
2) The global map should be marked before allocating it. Otherwise it
may be garbage collected.
* Add test
* Remove commented code
* Fix grammer error
7 years ago
Zachary Anker
633ef8bde9
Update message.c
7 years ago
Zachary Anker
8eae3fe6e9
Update message.c
7 years ago
Zachary Anker
87714836e3
Allow initializing a chain of protos using only a hash
7 years ago
Zachary Anker
83264bd160
Fixed to_h with repeated messages to return hashes in Ruby
7 years ago
Jisi Liu
2eb1bacc26
Bumping minor version for ruby gems
7 years ago
Jisi Liu
dba647a6b2
Bump version for minor release
7 years ago
Aaron Patterson
a459b224b5
Storing the frame on the map means we don't need the array
7 years ago
Aaron Patterson
c1dd8e85a1
Move parse frame array to the Map object
...
This makes the frame stack per-parser, and per-thread. Fixes #3250
7 years ago
Aaron Patterson
f55c6ec24f
Storing the frame on the map means we don't need the array
7 years ago
Aaron Patterson
d6152dd51c
Move parse frame array to the Map object
...
This makes the frame stack per-parser, and per-thread. Fixes #3250
7 years ago
Jisi Liu
d76e4c7068
Bump gemspec again
7 years ago
Jisi Liu
19266369f0
Bump gem version for the next upload
7 years ago
Jisi Liu
7bb39bef1a
Update version number for 3.4.0
7 years ago
Yilun Chong
5e7e2d3bb8
revert ruby proto built files
8 years ago
Yilun Chong
18a0c2c4d2
add proto2 supported for cpp,python,nodejs,ruby,php
8 years ago
Bo Yang
e7bcfc4241
Update version number to 3.3.2
8 years ago
Joshua Haberman
1325588982
Updated upb to fix JSON conformance issues. ( #3206 )
...
* Fixed a bunch of Ruby conformance errors.
* Fixed some more Ruby conformance errors in JSON.
8 years ago
Andreas Eger
78cb804063
change test for nanosecond accurate timestamps
8 years ago
Andreas Eger
ad203bcb2b
fix floating point accuracy problem in Timestamp#to_f
...
`.quo` return the most exact devision which fixes accuracy problems for the
timestamp coercion
8 years ago
Feng Xiao
58538ea919
Update version number to 3.3.1
8 years ago
Feng Xiao
80f0c0ac40
Update version number and changelog for 3.3.0
8 years ago
Adam Cozzette
ea5ef14aa0
Ruby: only link against specific version of memcpy if we're using glibc
...
We have some special code in wrap_memcpy.c to ensure that we use the
2.2.5 version of memcpy, for compatibility with older versions of glibc.
However, we need to make sure we only attempt to do this when we are
actually building with glibc, so that the code can also build
successfully against other libc implementations such as musl.
8 years ago
Ewout
aec0711075
Ruby tests compare parsed JSON instead of raw JSON
8 years ago
Adam Cozzette
e77a09e1e9
Incremented Ruby version number to 3.2.0.1
8 years ago
Josh Haberman
8c40b5149a
Ruby: update Gemspec.
8 years ago
Josh Haberman
014a5507fb
Ruby: build packages for Ruby 2.4.
8 years ago
Josh Haberman
324a299a55
Made formatting more consistent.
8 years ago
Josh Haberman
9c6b8cb9bf
Ruby: fixed Message#to_h for map fields.
8 years ago