Using a package name like package greeting_api; should generate code in a module like module GreetingApi. Instead, the underscore remains and we get module Greeting_Api.
Source: https://gist.github.com/nolanamy/5290516
Generated: https://gist.github.com/nolanamy/5290512
Is a continue needed at https://github.com/localshred/protobuf/blob/master/ext/ruby_generator/RubyGenerator.h#L128?