thrift/lib/rb
Mark Slee 58dfb4fbe8 Lots of Ruby code generation improvements
Summary: Submitted by Kevin Clark, Ruby guru from Powerset

Reviewed By: mcslee

Test Plan: He updated the tests in trunk/test/rb/

Notes: The code is now officially "ruby-ish" and idiomatic


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665151 13f79535-47bb-0310-9956-ffa450edef68
2007-07-06 02:45:25 +00:00
..
lib/thrift Lots of Ruby code generation improvements 2007-07-06 02:45:25 +00:00
COPYING Get rid of all the using namespace and using boost:: declarations in Thrift header files 2007-03-05 22:55:59 +00:00
LICENSE Get rid of all the using namespace and using boost:: declarations in Thrift header files 2007-03-05 22:55:59 +00:00
README READMEs and DOCs and ant tasks, oh my 2007-03-06 00:06:27 +00:00
setup.rb Ruby support for Thrift 2007-01-27 01:44:22 +00:00

Thrift Ruby Software Library

Author: Mark Slee (mcslee@facebook.com)
Last Modified: 2007-Mar-05

Thrift is distributed under the Thrift open source software license.
Please see the included LICENSE file.

Using Thrift with Ruby
======================

Okay, I'll be honest. I learned Ruby by implementing the Thrift library in
Ruby and writing the code generator at the same time. I am not a trendy
web 2.0 programmer. Shit, I don't even know Rails. So if you care about Ruby
you will probably find that this is currently the least robust Thrift library
implementation. But there's plenty of time to improve it...

The source code for the Ruby library is designed for installation with the
Python-esque setup.rb utility, which is included here and redistributable
under the GPL license.

To install the Thrift Ruby libraries, become superuser and do:

ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install

Alternatively, if you know more about Ruby than me, you can improve the build
and installation process and contribute them back to this project. Wicked.