Sha256: 0152892214a2e9c70e6de0e5c0a5fe843c542fd920d488ee2e82f2dffbfbc04d

Contents?: true

Size: 1.53 KB

Versions: 3

Compression:

Stored size: 1.53 KB

Contents

require 'rubygems'

gem 'extlib', '~>0.9.8'
require 'extlib'

require File.expand_path(File.join(File.dirname(__FILE__), 'data_objects', 'support', 'pooling'))
require File.expand_path(File.join(File.dirname(__FILE__), 'data_objects', 'logger'))
require File.expand_path(File.join(File.dirname(__FILE__), 'data_objects', 'connection'))
require File.expand_path(File.join(File.dirname(__FILE__), 'data_objects', 'uri'))
require File.expand_path(File.join(File.dirname(__FILE__), 'data_objects', 'transaction'))
require File.expand_path(File.join(File.dirname(__FILE__), 'data_objects', 'command'))
require File.expand_path(File.join(File.dirname(__FILE__), 'data_objects', 'result'))
require File.expand_path(File.join(File.dirname(__FILE__), 'data_objects', 'reader'))
require File.expand_path(File.join(File.dirname(__FILE__), 'data_objects', 'field'))
require File.expand_path(File.join(File.dirname(__FILE__), 'data_objects', 'quoting'))


module DataObjects
  class LengthMismatchError < StandardError; end

  def self.root
    @root ||= Pathname(__FILE__).dirname.parent.expand_path
  end

  def self.find_const(name)
    klass = Object
    name.to_s.split('::').each do |part|
      klass = klass.const_get(part)
    end
    klass
  end
end

# class ConnectionFailed < StandardError; end
#
# class ReaderClosed < StandardError; end
#
# class ReaderError < StandardError; end
#
# class QueryError < StandardError; end
#
# class NoInsertError < StandardError; end
#
# class LostConnectionError < StandardError; end
#
# class UnknownError < StandardError; end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
data_objects-0.9.9 lib/data_objects.rb
data_objects-0.9.7 lib/data_objects.rb
data_objects-0.9.8 lib/data_objects.rb