Skip to content

Commit

Permalink
make descriptor.proto match Google's, add Google::Protobuf to Message…
Browse files Browse the repository at this point in the history
…s in descriptors, recompile descriptor.proto
  • Loading branch information
bufdev committed Aug 14, 2013
1 parent d7885df commit e442ff3
Show file tree
Hide file tree
Showing 7 changed files with 268 additions and 252 deletions.
2 changes: 1 addition & 1 deletion lib/protocol_buffers/compiler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def self.compile_and_load(input_files, opts = {})
include_dirs.concat(input_files.map { |i| File.dirname(i) }.uniq)

compile(tempfile.path, input_files, opts)
descriptor_set = FileDescriptorSet.parse(tempfile)
descriptor_set = Google::Protobuf::FileDescriptorSet.parse(tempfile)
tempfile.close(true)
descriptor_set.file.each do |file|
parsed = FileDescriptorToRuby.new(file)
Expand Down
Loading

0 comments on commit e442ff3

Please sign in to comment.