Make the Ruby generator use non-hardcoded namespaces.
authorDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:42:16 +0000 (21:42 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:42:16 +0000 (21:42 +0000)
commit6a4b82c4b7cc4d77daa6e11f8eb69f1a8f5e3218
tree52df9436932d01021c366b2add36bbbe99ff0a50
parentae253583e75b77177dd09533420561d22e1ace6b
Make the Ruby generator use non-hardcoded namespaces.

- Make the Ruby generator use program->get_namespace("ruby")
  instead of program->get_ruby_namespace()
- Eliminate the explicit "ruby_namespace" in t_program.
- Deprecate the ruby_namespace token.
- Update example .thrift files and syntax files.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665620 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_rb_generator.cc
compiler/cpp/src/parse/t_program.h
compiler/cpp/src/thrifty.yy
test/ThriftTest.thrift
thrift.el
thrift.vim