[thrift] fix Ruby codegen: capitalize module name for enums
authorChristopher Piro <cpiro@apache.org>
Wed, 3 Oct 2007 07:13:44 +0000 (07:13 +0000)
committerChristopher Piro <cpiro@apache.org>
Wed, 3 Oct 2007 07:13:44 +0000 (07:13 +0000)
commit73e3dd7d5fdd30301816982d2cd6a961380538ac
tree4c67bf32c240134da6ccc6231ec5a56058ba171f
parent9b36ef3575c13aa360f1b2fac312683270978094
[thrift] fix Ruby codegen: capitalize module name for enums

Summary: all module names must be capitalized in Ruby -- if the enum name from the interface isn't capitalized \
         then it's a runtime error, e.g. in fb303_types.rb:

         -module fb_status
         +module Fb_status

Reviewed By: mcslee

Test Plan: fb303 now works with Ruby binding

Revert: OK

TracCamp Project: Thrift

DiffCamp Revision: 692

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665288 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_rb_generator.cc