Sha256: e7463ac2f57c8ec87bbf7283fb05b487afab0607d680b2706d84c0a2d8e5a06c
Contents?: true
Size: 795 Bytes
Versions: 3
Compression:
Stored size: 795 Bytes
Contents
require "active_support/core_ext/string/inflections" require "wisper" module PubsubNotifier def self.configure yield config end def self.config @_config ||= Config.new end def self.register_client(name, klass) config.clients[name.to_sym] = klass end def self.register_broadcaster(name, klass) Wisper.configuration.broadcaster(name.to_sym, klass.new) end def self.init! register_client :logger, PubsubNotifier::Client::LoggerClient end end require "pubsub_notifier/base" require "pubsub_notifier/broadcasters" require "pubsub_notifier/client" require "pubsub_notifier/config" require "pubsub_notifier/proxy" require "pubsub_notifier/pubsub" require "pubsub_notifier/railtie" if defined?(Rails) require "pubsub_notifier/version" PubsubNotifier.init!
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pubsub_notifier-0.1.2 | lib/pubsub_notifier.rb |
pubsub_notifier-0.1.1 | lib/pubsub_notifier.rb |
pubsub_notifier-0.1.0 | lib/pubsub_notifier.rb |