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.7.3 lib/extface/engine.rb
extface-0.7.2 lib/extface/engine.rb
extface-0.7.1 lib/extface/engine.rb
extface-0.7.0 lib/extface/engine.rb
extface-0.6.9 lib/extface/engine.rb
extface-0.6.8 lib/extface/engine.rb
extface-0.6.7 lib/extface/engine.rb
extface-0.6.6 lib/extface/engine.rb
extface-0.6.5 lib/extface/engine.rb
extface-0.6.4 lib/extface/engine.rb
extface-0.6.3 lib/extface/engine.rb
extface-0.6.2 lib/extface/engine.rb
extface-0.6.1 lib/extface/engine.rb
extface-0.6.0 lib/extface/engine.rb
extface-0.5.9 lib/extface/engine.rb
extface-0.5.8 lib/extface/engine.rb
extface-0.5.7 lib/extface/engine.rb
extface-0.5.6 lib/extface/engine.rb
extface-0.5.5 lib/extface/engine.rb
extface-0.5.4b lib/extface/engine.rb