Kevin Clark | 9bf3362 | 2008-06-18 00:53:07 +0000 | [diff] [blame] | 1 | # |
| 2 | # Copyright (c) 2006- Facebook |
Kevin Clark | c5336ff | 2008-06-24 01:06:06 +0000 | [diff] [blame] | 3 | # Distributed under the Apache Software License |
Kevin Clark | 9bf3362 | 2008-06-18 00:53:07 +0000 | [diff] [blame] | 4 | # |
| 5 | # See accompanying file LICENSE or visit the Thrift site at: |
| 6 | # http://developers.facebook.com/thrift/ |
| 7 | # |
| 8 | # Author: Mark Slee <mcslee@facebook.com> |
| 9 | # |
| 10 | |
| 11 | $:.unshift File.dirname(__FILE__) |
| 12 | |
Kevin Clark | 0d1849d | 2008-06-18 00:55:29 +0000 | [diff] [blame] | 13 | module Thrift |
| 14 | # prevent the deprecation layer from being loaded if you require 'thrift' |
| 15 | DEPRECATION = false unless const_defined? :DEPRECATION |
| 16 | end |
| 17 | |
| 18 | require 'thrift/deprecation' |
Kevin Clark | 9bf3362 | 2008-06-18 00:53:07 +0000 | [diff] [blame] | 19 | require 'thrift/exceptions' |
| 20 | require 'thrift/types' |
Kevin Clark | 10cdf10 | 2008-06-18 00:53:48 +0000 | [diff] [blame] | 21 | require 'thrift/processor' |
Kevin Clark | 10cdf10 | 2008-06-18 00:53:48 +0000 | [diff] [blame] | 22 | require 'thrift/client' |
Kevin Clark | 10cdf10 | 2008-06-18 00:53:48 +0000 | [diff] [blame] | 23 | require 'thrift/struct' |
Kevin Clark | 74df0bf | 2008-06-18 01:00:33 +0000 | [diff] [blame] | 24 | require 'thrift/protocol' |
Kevin Clark | 75a15d8 | 2008-06-18 01:16:35 +0000 | [diff] [blame] | 25 | require 'thrift/protocol/binaryprotocol' |
Kevin Clark | 74df0bf | 2008-06-18 01:00:33 +0000 | [diff] [blame] | 26 | require 'thrift/transport' |
Kevin Clark | 75a15d8 | 2008-06-18 01:16:35 +0000 | [diff] [blame] | 27 | require 'thrift/transport/socket' |
Kevin Clark | 74df0bf | 2008-06-18 01:00:33 +0000 | [diff] [blame] | 28 | require 'thrift/server' |