77 Commits (0e7b58956684c7c2fc228eff9173ea2ae50de911)

Author SHA1 Message Date
Paul Yang 0e7b589566
Add discard unknown API in ruby. (#3990) 7 years ago
Paul Yang 23adfeb003 Reserve unknown in Ruby (#3763) 7 years ago
Paul Yang cd5f49d094 Fix ruby segment fault (#3708) 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
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 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 7 years ago
Joshua Haberman 1325588982 Updated upb to fix JSON conformance issues. (#3206) 8 years ago
Adam Cozzette ea5ef14aa0 Ruby: only link against specific version of memcpy if we're using glibc 8 years ago
Josh Haberman 9c6b8cb9bf Ruby: fixed Message#to_h for map fields. 8 years ago
Ewout 008dc92c9d Ruby version optionally emits default values in JSON encoding. 8 years ago
Adam Cozzette 9fa40314fc Ruby: wrap calls to memcpy so that gem is compatible with pre-2.14 glibc 8 years ago
Paul Yang 7f3e237071 Merge 3.2.x branch into master (#2648) 8 years ago
Marcin Wyszynski 74a636a7a2 Move variable declarations before actual code 8 years ago
Marcin Wyszynski 3bdaaa5dda More Ruby-eqsue interface 8 years ago
Brendan Ribera de028631fc fix #2036: use `rb_hash_*` to accumulate hashes 8 years ago
Joshua Haberman dd45c0b9fd Merge pull request #2012 from haberman/rubymapgcfix 8 years ago
Josh Haberman 3a674ffe05 upb bugfix: JSON map entry keys were passing the wrong closure. 8 years ago
Josh Haberman d4213d839f Ruby: make sure map parsing frames are GC-rooted. 8 years ago
Josh Haberman ff7f68ae9f Ruby: encode and freeze strings when the are assigned or decoded. 8 years ago
Otto Kekäläinen 3808d091f8 Fix spelling in strings and comments 9 years ago
Josh Haberman 2d514ce2d8 Fixed oneof behavior for enums and fixed JRuby. 9 years ago
Josh Haberman 545527e8cf Ruby oneofs: return default instead of nil for unset fields. 9 years ago
Josh Haberman d419ca10b4 Updated upb and simplified ruby code a bit with new upb method. 9 years ago
Josh Haberman e67ef3d449 Bugfix for JSON error case. 9 years ago
Josh Haberman 194ad621bb Ruby JSON: always accept both camelCase and original field names. 9 years ago
Josh Haberman 94e54b39c8 Updated upb: picked up legacy JSON flags to help Ruby users migrate. 9 years ago
Josh Haberman f654d49dd6 Updated upb from latest changes. 9 years ago
Josh Haberman 78da66698b Changed Ruby to properly camelCase its JSON by default. 9 years ago
Dongjoon Hyun 7a9040fe7f Remove redundant `the` in comments. 9 years ago
Josh Haberman fc7f8d9cd0 Fixed Ruby conformance tests by running them under rvm Ruby. 9 years ago
Josh Haberman bf50ec4ac9 Added debugging output to debug type= problem on Travis. 9 years ago
Anders Carling 0559f3ee9e Add field name to initialization map exceptions 9 years ago
Anders Carling 0df1e398eb Raise NoMethodError for unknown fields 9 years ago
Josh Haberman 14e2b4fa51 A very small fix to silence some warnings. 9 years ago
Josh Haberman d61e6adfcc Return TypedData_Wrap_Struct directly. 9 years ago
Josh Haberman 5bdf4a4271 Fixed several Ruby conformance test cases through upb update. 9 years ago
Josh Haberman 181c7f2636 Added Ruby to conformance tests. 10 years ago
Josh Haberman a1daeaba80 Conform to C89/C90 variable declaration rules. 10 years ago
Josh Haberman 8c717ad530 Worked around memory leak bug in Ruby interpreter. 10 years ago
Josh Haberman fb8ed707a2 Update upb to fix two bugs in the Ruby library. 10 years ago
Josh Haberman e3ce451b60 Fixed compiler warnings and added -std=c99. 10 years ago
Josh Haberman e8ed021ee7 Updated upb to latest version (C89). 10 years ago
Chris Fallin 231886f632 Ruby C extension speedup: don't re-intern constant string needlessly. 10 years ago
Chris Fallin d326277397 Update MRI C Ruby extension to use new version of upb. 10 years ago
Adam Greene cd7ebbe54f make repeated_field quack like an array 10 years ago