1. 01 Aug, 2016 1 commit
  2. 29 Jul, 2016 2 commits
  3. 25 Jul, 2016 3 commits
  4. 21 Jul, 2016 1 commit
  5. 18 May, 2016 2 commits
  6. 15 Apr, 2016 1 commit
  7. 03 Mar, 2016 1 commit
  8. 18 Feb, 2016 1 commit
  9. 20 Nov, 2015 2 commits
  10. 22 May, 2015 1 commit
  11. 14 May, 2015 1 commit
  12. 13 May, 2015 2 commits
    • Chris Fallin's avatar
      Added Ruby to Travis testing. · eb37551a
      Chris Fallin authored
      - Added RVM-based Ruby test driver that tests MRI and JRuby.
      - Fixed JRuby compilation (at least in my current setup): force source
        version to 1.6 (Java 6) to allow generics and annotations.
      - Modify the skipped JRuby JSON tests so that the exit code is 0 (skip()
        results in a failing exit code from `rake test`). An upcoming PR
        should fix JSON under JRuby in general soon.
      eb37551a
    • Adam Greene's avatar
      adding and simplifying encoders/decoders · d1b52a00
      Adam Greene authored
      * make consistent between mri and jruby
      * create a #to_h and have it use symbols for keys
      * add #to_json and #to_proto helpers on the Google::Protobuf message classes
      d1b52a00
  13. 02 May, 2015 2 commits
  14. 01 May, 2015 1 commit
    • Adam Greene's avatar
      add size alias for length · c70b6058
      Adam Greene authored
      starting to make `RepeatedField` quack like an array
      
      additional changes:
      * make sure gemspec gets all ruby code files
      * add homepage in gem spec removes one of the warnings, and the gem spec authors are pushing
      everyone to include a homepage in the gem
      * remove excess whitespace in test suite to bring formatting inline with the rest of the file
      c70b6058
  15. 13 Apr, 2015 1 commit
  16. 10 Mar, 2015 1 commit
  17. 14 Feb, 2015 1 commit
  18. 13 Feb, 2015 1 commit
    • Chris Fallin's avatar
      Properly support maps in Ruby protoc and another bugfix. · a2bea0a0
      Chris Fallin authored
      Previously, we supported map fields in the Ruby DSL. However, we never
      connected the final link in the chain and generated `map` DSL commands
      for map fields in `.proto` files. My apologies -- I had been testing
      with the DSL directly so I missed this.
      
      Also fixed a handlerdata-setup-infinite-loop when a map value field's
      type is its containing message.
      a2bea0a0
  19. 03 Feb, 2015 1 commit
  20. 02 Feb, 2015 1 commit
  21. 15 Jan, 2015 2 commits
  22. 14 Jan, 2015 2 commits
    • 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
    • Chris Fallin's avatar
      Support oneofs in MRI Ruby C extension. · fcd8889d
      Chris Fallin authored
      fcd8889d
  23. 13 Jan, 2015 1 commit
  24. 06 Jan, 2015 1 commit
    • Chris Fallin's avatar
      Support for maps in the MRI C Ruby extension. · fd1a3ff1
      Chris Fallin authored
      This adds the Map container and support for parsing and serializing maps
      in the protobuf wire format (as defined by the C++ implementation, with
      MapEntry submessages in a repeated field). JSON map
      serialization/parsing are not yet supported as these will require some
      changes to upb as well.
      fd1a3ff1
  25. 12 Dec, 2014 1 commit
  26. 10 Dec, 2014 1 commit
    • Chris Fallin's avatar
      Provide a Ruby extension. · 973f4257
      Chris Fallin authored
      This adds a Ruby extension in ruby/ that is based on the 'upb' library
      (now included as a submodule), and adds support for Ruby code generation
      to the protoc compiler.
      973f4257