Sha256: f9751d20c30e9f3105ad94f165c12f76fe6c254c80cee30e608877513e4f510c
Contents?: true
Size: 1.53 KB
Versions: 6
Compression:
Stored size: 1.53 KB
Contents
require "tekeya/version" require "tekeya/railtie" require "active_support" module Tekeya extend ActiveSupport::Autoload # Dependencies autoload :Redis, 'redis' autoload :Rebat, 'rebat' autoload :Resque, 'resque' # Modules autoload :Configuration autoload :Entity module Entity extend ActiveSupport::Autoload autoload :Group end module Errors extend ActiveSupport::Autoload autoload :TekeyaError autoload :TekeyaFatal autoload :TekeyaNonEntity autoload :TekeyaNonGroup autoload :TekeyaRelationAlreadyExists autoload :TekeyaRelationNonExistent end module Feed extend ActiveSupport::Autoload autoload :Activity autoload :Attachable autoload :Attachment autoload :Notification module Activity extend ActiveSupport::Autoload autoload :Item autoload :Resque module Resque extend ActiveSupport::Autoload autoload :ActivityFanout autoload :FeedCopy autoload :DeleteActivity autoload :UntrackFeed end end end # Configure Tekeya # # Example:: # # Tekeya.configure do |config| # redis_host = "localhost" # redis_port = 9200 # flockdb_host = 9200 # flockdb_port = 9200 # end def self.configure(&block) yield Tekeya::Configuration.instance Tekeya::Configuration.instance.setup_databases end def self.relations return Tekeya::Configuration.instance.rebat end def self.redis return Tekeya::Configuration.instance.redis end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
tekeya-0.0.10 | lib/tekeya.rb |
tekeya-0.0.9 | lib/tekeya.rb |
tekeya-0.0.7 | lib/tekeya.rb |
tekeya-0.0.6 | lib/tekeya.rb |
tekeya-0.0.5 | lib/tekeya.rb |
tekeya-0.0.4 | lib/tekeya.rb |