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.2.5 lib/extface/engine.rb
extface-0.2.4 lib/extface/engine.rb
extface-0.2.3 lib/extface/engine.rb
extface-0.2.2 lib/extface/engine.rb
extface-0.2.1 lib/extface/engine.rb
extface-0.2.0 lib/extface/engine.rb
extface-0.1.9 lib/extface/engine.rb
extface-0.1.8 lib/extface/engine.rb
extface-0.1.7 lib/extface/engine.rb
extface-0.1.6 lib/extface/engine.rb
extface-0.1.5 lib/extface/engine.rb
extface-0.1.4 lib/extface/engine.rb
extface-0.1.3 lib/extface/engine.rb
extface-0.1.2 lib/extface/engine.rb
extface-0.1.1 lib/extface/engine.rb
extface-0.1.0 lib/extface/engine.rb
extface-0.0.8 lib/extface/engine.rb
extface-0.0.7 lib/extface/engine.rb
extface-0.0.6 lib/extface/engine.rb
extface-0.0.5 lib/extface/engine.rb