1. 24 Feb, 2019 1 commit
  2. 21 Feb, 2019 1 commit
  3. 12 Feb, 2019 1 commit
  4. 06 Feb, 2019 1 commit
  5. 17 Jan, 2019 1 commit
  6. 08 Jan, 2019 1 commit
  7. 26 Dec, 2018 1 commit
  8. 21 Dec, 2018 1 commit
  9. 19 Dec, 2018 1 commit
  10. 15 Dec, 2018 2 commits
  11. 23 Oct, 2018 1 commit
  12. 18 Oct, 2018 1 commit
    • Paul Yang's avatar
      Add ruby 2.3, 2.4 and 2.5 test for linux. (#5256) · 333b3cea
      Paul Yang authored
      * Add ruby 2.3, 2.4 and 2.5 test for linux.
      
      * Update kokoro files
      
      * Add back commented gc test
      
      * Fix gc_test failure
      
      * Remove unused code
      
      * Update ruby 2.5.0 to 2.5.1
      
      * Update ruby 2.3 to 2.3.8
      
      * Remove useless comment
      333b3cea
  13. 27 Sep, 2018 1 commit
    • Harshit Chopra's avatar
      Adds support for proto2 syntax for Ruby gem. · d0535cc0
      Harshit Chopra authored
      This change only adds basic proto2 support without advanced features
      like extensions, custom options, maps, etc.
      
      The protoc binary now generates ruby code for proto2 syntax.
      However, for now, it is restricted to proto2 files without advanced features
      like extensions, in which case it still errors out.
      
      This change also modifies the DSL to add proto messages to the DescriptorPool.
      There is a new DSL Builder#add_file to create a new FileDescriptor. With this,
      the generated ruby DSL looks something like:
      
      Google::Protobuf::DescriptorPool.generated_pool.build do
        add_file "test.proto" do
          add_message "foo" do
            optional :val, :int32, 1
          end
        end
      end
      d0535cc0
  14. 22 Aug, 2018 1 commit
  15. 23 Jul, 2018 1 commit
  16. 18 Jul, 2018 1 commit
    • Paul Yang's avatar
      Add continuous test for ruby 2.3, 2.4 and 2.5 (#4829) · 8356d270
      Paul Yang authored
      * Add continuous test for ruby 2.3, 2.4 and 2.5
      
      * Change ruby 2.5 to 2.5.0
      
      * No need to provide argument to rb_funcall when argc is 0
      
      * Fix tests for ruby 2.5
      
      * Use rescue instead of assert_raise to accept subclass of error
      8356d270
  17. 12 Jul, 2018 1 commit
  18. 02 Jul, 2018 1 commit
    • Paul Yang's avatar
      Add continuous test for ruby 2.3, 2.4 and 2.5 (#4829) · 78ba021b
      Paul Yang authored
      * Add continuous test for ruby 2.3, 2.4 and 2.5
      
      * Change ruby 2.5 to 2.5.0
      
      * No need to provide argument to rb_funcall when argc is 0
      
      * Fix tests for ruby 2.5
      
      * Use rescue instead of assert_raise to accept subclass of error
      78ba021b
  19. 27 Jun, 2018 2 commits
  20. 25 Jun, 2018 1 commit
  21. 20 Feb, 2018 1 commit
  22. 12 Jan, 2018 1 commit
  23. 08 Dec, 2017 1 commit
  24. 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
  25. 26 Oct, 2017 1 commit
    • Paul Yang's avatar
      Reserve unknown in Ruby (#3763) · 23adfeb0
      Paul Yang authored
      * 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
      23adfeb0
  26. 04 Oct, 2017 1 commit
    • Paul Yang's avatar
      Fix ruby segment fault (#3708) · cd5f49d0
      Paul Yang authored
      * 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
      cd5f49d0
  27. 21 Sep, 2017 1 commit
  28. 20 Sep, 2017 3 commits
  29. 13 Sep, 2017 2 commits
  30. 30 Aug, 2017 2 commits
  31. 19 Jun, 2017 1 commit
  32. 17 Mar, 2017 1 commit
    • Adam Cozzette's avatar
      Ruby: only link against specific version of memcpy if we're using glibc · ea5ef14a
      Adam Cozzette authored
      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.
      ea5ef14a
  33. 14 Mar, 2017 1 commit
  34. 09 Mar, 2017 1 commit