Hackfut Security File Manager
Current Path:
/opt/td-agent/embedded/lib/ruby/gems/2.4.0/gems/cool.io-1.5.4/spec
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.4.0
/
gems
/
cool.io-1.5.4
/
spec
/
📁
..
📄
async_watcher_spec.rb
(1.55 KB)
📄
dns_spec.rb
(870 B)
📄
iobuffer_spec.rb
(3.93 KB)
📄
spec_helper.rb
(381 B)
📄
stat_watcher_spec.rb
(1.51 KB)
📄
tcp_server_spec.rb
(4.74 KB)
📄
tcp_socket_spec.rb
(3.82 KB)
📄
timer_watcher_spec.rb
(1.45 KB)
📄
udp_socket_spec.rb
(1.12 KB)
📄
unix_listener_spec.rb
(748 B)
📄
unix_server_spec.rb
(820 B)
Editing: spec_helper.rb
$LOAD_PATH.unshift File.dirname(__FILE__) $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'rspec' require 'cool.io' def unused_port s = TCPServer.open(0) port = s.addr[1] s.close port end RSpec.configure do |c| if RUBY_PLATFORM =~ /mingw|mswin/ $stderr.puts "Skip some specs on Windows" c.filter_run_excluding :env => :exclude_win end end
Upload File
Create Folder