Sha256: 8170ecda55464ab1ba96a1b1331dc6b5c274040bae12a695f44c01952f42fd53

Contents?: true

Size: 1.5 KB

Versions: 4

Compression:

Stored size: 1.5 KB

Contents

#
# Gem management
#
require 'architect4r/version'

#
# External libraries
#
require 'logger'

#
# Extensions
#
require 'active_model'
require 'active_support'
require 'active_support/core_ext'
#require 'architect4r/extensions/object'

#
# Core modules
#
require 'architect4r/core/configuration'
require 'architect4r/core/cypher_methods'
require 'architect4r/core/node_methods'
require 'architect4r/core/relationship_methods'

#
# Basic server interaction
#
require 'architect4r/server'

#
# Model features
#
require 'architect4r/model/connection'
require 'architect4r/model/properties'
require 'architect4r/model/persistency'
require 'architect4r/model/queries'
require 'architect4r/model/validations'
require 'architect4r/model/callbacks'
require 'architect4r/model/links_query_interface'
require 'architect4r/model/relationships'
require 'architect4r/model/node'
require 'architect4r/model/relationship'

#
# Generic items
#
require 'architect4r/generic_node'

#
# Support for multi database environments
#
require 'architect4r/has_node'
# Auto load the extension when active record is used
if defined?(ActiveRecord::Base)
  ActiveRecord::Base.send(:include, Architect4r::HasNode)
end

#
# The namespace
#
module Architect4r
  
  def self.logger
    @log ||= Logger.new(STDOUT)
  end
  
  def self.logger=(logger_instance)
    @log = logger_instance
  end
  
  def self.version
    "Architect4r version #{Architect4r::VERSION}"
  end
  
  class InvalidCypherQuery < SyntaxError; end
  class RecordNotFound < StandardError; end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
architect4r-0.4.3.1 lib/architect4r.rb
architect4r-0.4.3 lib/architect4r.rb
architect4r-0.4.2 lib/architect4r.rb
architect4r-0.4.1 lib/architect4r.rb