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.4.5 lib/extface/engine.rb
extface-0.4.4b lib/extface/engine.rb
extface-0.4.4a lib/extface/engine.rb
extface-0.4.4 lib/extface/engine.rb
extface-0.4.3g lib/extface/engine.rb
extface-0.4.3f lib/extface/engine.rb
extface-0.4.3e lib/extface/engine.rb
extface-0.4.3d lib/extface/engine.rb
extface-0.4.3c lib/extface/engine.rb
extface-0.4.3b lib/extface/engine.rb
extface-0.4.3a lib/extface/engine.rb
extface-0.4.2a lib/extface/engine.rb
extface-0.4.2 lib/extface/engine.rb
extface-0.4.1b lib/extface/engine.rb
extface-0.4.1a lib/extface/engine.rb
extface-0.4.0 lib/extface/engine.rb
extface-0.3.0c lib/extface/engine.rb
extface-0.3.0b lib/extface/engine.rb
extface-0.3.0a lib/extface/engine.rb
extface-0.3.0 lib/extface/engine.rb