diff options
author | temiola <temiola@google.com> | 2015-01-06 17:50:59 -0800 |
---|---|---|
committer | Nicolas Noble <nnoble@google.com> | 2015-01-06 18:17:10 -0800 |
commit | 54535552559beae3465a92b2f5ed53e9636d45aa (patch) | |
tree | 4fe709bc00642e16160124c87375d5cfc814609e /src/compiler/ruby_plugin.cc | |
parent | ddef24620a67fa352d94415dc56121c01e3d8af8 (diff) |
bugfix: ruby code-gen capitalization
Change on 2015/01/06 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83391912
Diffstat (limited to 'src/compiler/ruby_plugin.cc')
-rw-r--r-- | src/compiler/ruby_plugin.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/ruby_plugin.cc b/src/compiler/ruby_plugin.cc index 73d1508ad0..62229f9217 100644 --- a/src/compiler/ruby_plugin.cc +++ b/src/compiler/ruby_plugin.cc @@ -62,7 +62,7 @@ class RubyGrpcGenerator : public google::protobuf::compiler::CodeGenerator { } std::unique_ptr<google::protobuf::io::ZeroCopyOutputStream> output( - context->OpenForInsert(file_name, "module_scope")); + context->Open(file_name)); google::protobuf::io::CodedOutputStream coded_out(output.get()); string code = grpc_ruby_generator::GetServices(file); coded_out.WriteRaw(code.data(), code.size()); |