Josh Haberman
6d92233e72
Added unit test for PascalCasing package names in Ruby.
8 years ago
Josh Haberman
4f19797baf
Ruby: generated foo.proto -> foo_pb.rb instead of foo.rb.
...
This brings us more into line with other langauges, and makes it more
obvious when we are requiring protobuf generated code.
8 years ago
Nicolas "Pixel" Noble
edd29498f4
Properly generating well known proto files for the macos build.
9 years ago
Nicolas "Pixel" Noble
236b93937f
Addressing concerns.
9 years ago
Nicolas "Pixel" Noble
1f8b6da920
Few tweaks to the rakefile to permit native gems compilation with the proto files generation.
9 years ago
Josh Haberman
513875da77
Generate well-known types in Ruby extension and prune unneeded proto2 dependencies.
9 years ago
Nicolas "Pixel" Noble
bbb188acdd
Actually enabling cross compilation.
9 years ago
Josh Haberman
af4aa9bd64
Added support for binary gems.
9 years ago
Adam Greene
d55733c76e
return nil if array index indicie is out of bounds
...
ruby arrays don't throw an exception; they return nil. Lets do the
same!
this fix also includes the ability to use negative array indicies
10 years ago
Isaiah Peng
27e2b57830
add jruby support by protobuf-java reflection API
10 years ago
Chris Fallin
91473dcebf
Rename protobuf Ruby module to google/protobuf and rework its build
...
system. The Ruby module build now uses an amalgamated distribution of
upb, and successfully builds a Ruby gem called 'google-protobuf' with
module 'google/protobuf'.
10 years ago
Chris Fallin
973f425725
Provide a Ruby extension.
...
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.
10 years ago