Sha256: 3376b8e00ab4502e4edd2ba71279064d5dfd16314ef487930d5166469c3ff653
Contents?: true
Size: 1.21 KB
Versions: 2
Compression:
Stored size: 1.21 KB
Contents
require_relative "./activerecord/version" require 'active_record' module Qyu module Store module ActiveRecord autoload :Adapter, 'qyu/store/activerecord/adapter' autoload :ConfigurationValidator, 'qyu/store/activerecord/configuration_validator' autoload :Logger, 'qyu/store/activerecord/logger' autoload :Utils, 'qyu/store/activerecord/utils' autoload :Job, 'qyu/store/activerecord/models/job' autoload :Task, 'qyu/store/activerecord/models/task' autoload :Workflow, 'qyu/store/activerecord/models/workflow' class << self def interface defined?(Qyu::Store::Base) ? Qyu::Store::Base : Object end end end end class << self unless defined?(logger) def logger=(logger) @@__logger = logger end def logger @@__logger ||= Qyu::Store::ActiveRecord::Logger.new(STDOUT) end end end end Qyu::Config::StoreConfig.register(Qyu::Store::ActiveRecord::Adapter) if defined?(Qyu::Config::StoreConfig) Qyu::Factory::StoreFactory.register(Qyu::Store::ActiveRecord::Adapter) if defined?(Qyu::Factory::StoreFactory)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
qyu-store-activerecord-1.0.1 | lib/qyu/store/activerecord.rb |
qyu-store-activerecord-1.0.0 | lib/qyu/store/activerecord.rb |