Sha256: e36ce4fe6eb97bc328918a284af4413365a3cd890493a73850c62639ea5259e8

Contents?: true

Size: 360 Bytes

Versions: 4

Compression:

Stored size: 360 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
$:.unshift File.expand_path '../lib', File.dirname(__FILE__)
require 'minitest/autorun'
require 'em-cometio-client'
require File.expand_path 'app', File.dirname(__FILE__)

['SIGHUP', 'SIGINT', 'SIGKILL', 'SIGTERM'].each do |sig|
  Kernel.trap sig do
    App.stop
    EM::add_timer do
      EM::stop
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
em-cometio-client-0.1.0 test/test_helper.rb
em-cometio-client-0.0.7 test/test_helper.rb
em-cometio-client-0.0.6 test/test_helper.rb
em-cometio-client-0.0.5 test/test_helper.rb