1. 07 Mar, 2019 1 commit
  2. 06 Mar, 2019 3 commits
  3. 02 Mar, 2019 3 commits
    • Joe Bolinger's avatar
      Fix Ruby module name generation when the ruby_package option is used (again) (#5794) · ae85b457
      Joe Bolinger authored
      * Revert "Revert "Fix Ruby module name generation when the ruby_package option is used (#5735)""
      
      This reverts commit bb211e85.
      
      * add new files to Makefile.am
      ae85b457
    • Joe Bolinger's avatar
      Add frozen checks in Ruby (#5726) · 76685c6f
      Joe Bolinger authored
      * 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
      76685c6f
    • Joe Bolinger's avatar
      Generate extra enum method helpers for Ruby (#5670) · a6e3ac0d
      Joe Bolinger authored
      * 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
      a6e3ac0d
  4. 28 Feb, 2019 5 commits
  5. 24 Feb, 2019 1 commit
  6. 22 Feb, 2019 1 commit
  7. 21 Feb, 2019 1 commit
  8. 19 Feb, 2019 1 commit
  9. 12 Feb, 2019 1 commit
  10. 06 Feb, 2019 1 commit
  11. 01 Feb, 2019 1 commit
    • Paul Yang's avatar
      Use gnu for ruby build because strptime is provided by posix (#5660) · 7d9377e7
      Paul Yang authored
      * 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
      7d9377e7
  12. 31 Jan, 2019 1 commit
  13. 24 Jan, 2019 1 commit
  14. 17 Jan, 2019 1 commit
  15. 16 Jan, 2019 1 commit
    • toc007's avatar
      Ruby nested msg caps (#5564) · dda7ab03
      toc007 authored
      * 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
      dda7ab03
  16. 08 Jan, 2019 2 commits
  17. 03 Jan, 2019 1 commit
    • Paul Yang's avatar
      Add ruby 2.6 test (#5528) · de9e1a04
      Paul Yang authored
      * Add ruby 2.6 test
      
      * Fix broken tests
      
      * Fix compatibility test
      
      * Fix bundler version
      
      * Use new docker image
      
      * Fix broken test
      
      * Use new docker image in ruby26 test
      
      * Install ruby for mac
      de9e1a04
  18. 02 Jan, 2019 1 commit
  19. 26 Dec, 2018 1 commit
  20. 21 Dec, 2018 1 commit
  21. 19 Dec, 2018 1 commit
  22. 15 Dec, 2018 2 commits
  23. 19 Nov, 2018 1 commit
  24. 18 Nov, 2018 1 commit
  25. 29 Oct, 2018 1 commit
  26. 23 Oct, 2018 1 commit
  27. 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
  28. 08 Oct, 2018 1 commit
    • Paul Yang's avatar
      Fix broken ruby test (#5235) · a0da84bf
      Paul Yang authored
      * Replace assert_true/assert_false with assert, because they are not provided in newer version of test/unit
      
      * Use rescue to handle exception subclass
      
      * Commented out the require that caused gc_test failure.
      
      * Commented out test
      
      * Fix typo
      a0da84bf
  29. 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
  30. 22 Aug, 2018 1 commit