Sha256: 3b72584152c6044e20e650aeed5bb09ec66a4928221ee7dcf737dff774cddd19
Contents?: true
Size: 837 Bytes
Versions: 3
Compression:
Stored size: 837 Bytes
Contents
require "replication/version" module Replication autoload :Process, 'replication/process' autoload :Config, 'replication/config' autoload :StrandMethods, 'replication/strand_methods' module ActiveRecord autoload :Strand, 'replication/active_record/strand' end module Modules autoload :SemiConservative, 'replication/modules/semi_conservative' autoload :Proofreading, 'replication/modules/proofreading' autoload :Association, 'replication/modules/association' end def self.defaults defaults = { only: [], except: [] } defaults.merge!({ strand_class: ::Replication::ActiveRecord::Strand, except: [:id, :created_at, :updated_at] }) if defined?(ActiveRecord) end class UnwoundError < StandardError; end; end require 'replication/engine' if defined?(Rails)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
replication-0.3.2 | lib/replication.rb |
replication-0.3.1 | lib/replication.rb |
replication-0.3.0 | lib/replication.rb |