1. 07 Dec, 2017 1 commit
    • Paul Yang's avatar
      Add discard unknown API in ruby. (#3990) · 0e7b5895
      Paul Yang authored
      * 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
      0e7b5895
  2. 25 Jul, 2016 1 commit
  3. 22 May, 2015 1 commit
  4. 14 Jan, 2015 1 commit
    • Chris Fallin's avatar
      Two tests for Ruby code generator: · 3f3820d8
      Chris Fallin authored
      - A golden-file test that ensures protoc produces known-valid output.
      - A Ruby test that loads that golden file and ensures it actually works
        with the extension.
      
      This split strategy allows us to test end-to-end without needing to
      integrate the Ruby gem build system and the protoc build system. This is
      desirable because we do not want a gem build/install to depend on
      building protoc, and we do not want building protoc to depend on
      building and testing the gem.
      3f3820d8