aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/compiler/ruby
diff options
context:
space:
mode:
authorGravatar Chris Fallin <cfallin@c1f.net>2014-12-12 15:58:26 -0800
committerGravatar Chris Fallin <cfallin@c1f.net>2014-12-12 15:58:26 -0800
commit91473dcebfbd90a8e256568e287e168b70c77ff0 (patch)
tree6a2fc1a9242659963b5f3bae9c146d957027f5e2 /src/google/protobuf/compiler/ruby
parentf473bb9903370cc9324b0881873e0d0861f5d325 (diff)
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'.
Diffstat (limited to 'src/google/protobuf/compiler/ruby')
-rw-r--r--src/google/protobuf/compiler/ruby/ruby_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/ruby/ruby_generator.cc b/src/google/protobuf/compiler/ruby/ruby_generator.cc
index 82ccd72b..e70425ff 100644
--- a/src/google/protobuf/compiler/ruby/ruby_generator.cc
+++ b/src/google/protobuf/compiler/ruby/ruby_generator.cc
@@ -261,7 +261,7 @@ void GenerateFile(const google::protobuf::FileDescriptor* file,
"filename", file->name());
printer->Print(
- "require 'protobuf'\n\n");
+ "require 'google/protobuf'\n\n");
for (int i = 0; i < file->dependency_count(); i++) {
const std::string& name = file->dependency(i)->name();