Sha256: 01ae094af45317f91de590867d7a1ee4a0bb5eb88a93caf319e9b85653d77854

Contents?: true

Size: 381 Bytes

Versions: 45

Compression:

Stored size: 381 Bytes

Contents

$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

Version data entries

45 entries across 45 versions & 6 rubygems

Version Path
cool.io-1.9.0 spec/spec_helper.rb
fluent-plugin-nuopenlineage-light-0.1.0 vendor/bundle/ruby/3.3.0/gems/cool.io-1.8.1/spec/spec_helper.rb
fluent-plugin-openlineage-light-0.1.4 vendor/bundle/ruby/3.3.0/gems/cool.io-1.8.1/spec/spec_helper.rb
fluent-plugin-openlineage-light-0.1.3 vendor/bundle/ruby/3.3.0/gems/cool.io-1.8.1/spec/spec_helper.rb
fluent-plugin-openlineage-0.1.0 vendor/bundle/ruby/3.3.0/gems/cool.io-1.8.1/spec/spec_helper.rb
cool.io-1.8.0 spec/spec_helper.rb
fluent-plugin-google-cloud-logging-on-prem-0.1.0 vendor/ruby/3.1.0/gems/cool.io-1.7.1/spec/spec_helper.rb
cool.io-1.7.1-x86-mingw32 spec/spec_helper.rb
cool.io-1.7.1-x64-mingw32 spec/spec_helper.rb
cool.io-1.7.1 spec/spec_helper.rb
cool.io-1.7.0 spec/spec_helper.rb
cool.io-1.6.1 spec/spec_helper.rb
cool.io-1.6.0-x64-mingw32 spec/spec_helper.rb
cool.io-1.6.0-x86-mingw32 spec/spec_helper.rb
cool.io-1.6.0 spec/spec_helper.rb
cool.io-1.5.4-x64-mingw32 spec/spec_helper.rb
cool.io-1.5.4-x86-mingw32 spec/spec_helper.rb
cool.io-1.5.4 spec/spec_helper.rb
cool.io-1.5.3-x86-mingw32 spec/spec_helper.rb
cool.io-1.5.3-x64-mingw32 spec/spec_helper.rb