Sha256: c2e3df5e9179b043c610922e71ecfeca34b1c72592a35fd5ec82a33363b40dd6

Contents?: true

Size: 368 Bytes

Versions: 83

Compression:

Stored size: 368 Bytes

Contents

require "redis"
module Extface
  class Engine < ::Rails::Engine
    isolate_namespace Extface
  
    config.to_prepare do
      # Thread.new do
        # $redis.subscribe("extface") do |on|
          # on.message do |channel, msg|
            # #data = JSON.parse(msg)
            # p "##{channel} - #{msg}"
          # end
        # end
      # end
    end
  end
end

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
extface-0.5.4a lib/extface/engine.rb
extface-0.5.4 lib/extface/engine.rb
extface-0.5.3 lib/extface/engine.rb
extface-0.5.2 lib/extface/engine.rb
extface-0.5.1 lib/extface/engine.rb
extface-0.5.0 lib/extface/engine.rb
extface-0.4.9 lib/extface/engine.rb
extface-0.4.8 lib/extface/engine.rb
extface-0.4.7 lib/extface/engine.rb
extface-0.4.6k lib/extface/engine.rb
extface-0.4.6i lib/extface/engine.rb
extface-0.4.6h lib/extface/engine.rb
extface-0.4.6g lib/extface/engine.rb
extface-0.4.6f lib/extface/engine.rb
extface-0.4.6e lib/extface/engine.rb
extface-0.4.6d lib/extface/engine.rb
extface-0.4.6c lib/extface/engine.rb
extface-0.4.6b lib/extface/engine.rb
extface-0.4.6a lib/extface/engine.rb
extface-0.4.6 lib/extface/engine.rb