Sha256: 74caef997e4a96fcddbe5b8d053846f2943c3d6abbf3cd2a41fe9f962bcc71dd

Contents?: true

Size: 1.54 KB

Versions: 6

Compression:

Stored size: 1.54 KB

Contents

# Copyright (C) 2011 AMEE UK Ltd. - http://www.amee.com
# Released as Open Source Software under the BSD 3-Clause license. See LICENSE.txt for details.

require 'amee'
require 'uuidtools'
require 'quantify'

require File.dirname(__FILE__) + '/core-extensions/class'
require File.dirname(__FILE__) + '/core-extensions/ordered_hash'
require File.dirname(__FILE__) + '/core-extensions/hash'
require File.dirname(__FILE__) + '/core-extensions/proc'
require File.dirname(__FILE__) + '/config/amee_units'
require File.dirname(__FILE__) + '/amee-data-abstraction/exceptions'
require File.dirname(__FILE__) + '/amee-data-abstraction/terms_list'
require File.dirname(__FILE__) + '/amee-data-abstraction/calculation'
require File.dirname(__FILE__) + '/amee-data-abstraction/ongoing_calculation'
require File.dirname(__FILE__) + '/amee-data-abstraction/prototype_calculation'
require File.dirname(__FILE__) + '/amee-data-abstraction/calculation_set'
require File.dirname(__FILE__) + '/amee-data-abstraction/term'
require File.dirname(__FILE__) + '/amee-data-abstraction/input'
require File.dirname(__FILE__) + '/amee-data-abstraction/drill'
require File.dirname(__FILE__) + '/amee-data-abstraction/profile'
require File.dirname(__FILE__) + '/amee-data-abstraction/usage'
require File.dirname(__FILE__) + '/amee-data-abstraction/output'
require File.dirname(__FILE__) + '/amee-data-abstraction/metadatum'

module AMEE::DataAbstraction
  # Connection to AMEE server.
  mattr_accessor :connection
  
  if defined?(Rails)
    def self.connection
      AMEE::Rails.connection
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
amee-data-abstraction-2.2.2 lib/amee-data-abstraction.rb
amee-data-abstraction-2.2.1 lib/amee-data-abstraction.rb
amee-data-abstraction-2.2.0 lib/amee-data-abstraction.rb
amee-data-abstraction-2.1.1 lib/amee-data-abstraction.rb
amee-data-abstraction-2.1.0 lib/amee-data-abstraction.rb
amee-data-abstraction-2.0.0 lib/amee-data-abstraction.rb