/[Apache-SVN]
ViewVC logotype

Revision 1294949


Jump to revision: Previous Next
Author: ilyam
Date: Wed Feb 29 02:40:28 2012 UTC (12 years, 8 months ago)
Changed paths: 1
Log Message:
THRIFT-1204: Ruby autogenerated files should require 'thrift' gem
Library: Ruby
Patch: Ilya Maykov
This patch does 2 things:
1) Adds a "require 'thrift'" line to the *_types.rb and *_constants.rb files,
   to be consistent with *_service.rb which was generating the thrift require
   already.
2) Adds a "rubygems" option to the --gen rb compiler target. When this option
   is specified, the compiler will add a "require 'rubygems'" line to the top
   of each gen-rb file. Defaults to false.


Changed paths

Path Details
Directorythrift/trunk/compiler/cpp/src/generate/t_rb_generator.cc modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26