Sha256: 0b9d3fa6565ad6d7424f78417f7a002a0c2465c2ebd46fd6761b4652b03a7473

Contents?: true

Size: 590 Bytes

Versions: 13

Compression:

Stored size: 590 Bytes

Contents

if ENV['COVERAGE'] || ENV['TRAVIS']
	begin
		require 'simplecov'
		
		SimpleCov.start do
			add_filter "/spec/"
		end
		
		if ENV['TRAVIS']
			require 'coveralls'
			Coveralls.wear!
		end
	rescue LoadError
		warn "Could not load simplecov: #{$!}"
	end
end

require "bundler/setup"
require "async/io"

# Shared rspec helpers:
require "async/rspec"

require_relative 'addrinfo'

RSpec.configure do |config|
	# Enable flags like --only-failures and --next-failure
	config.example_status_persistence_file_path = ".rspec_status"

	config.expect_with :rspec do |c|
		c.syntax = :expect
	end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
async-io-1.16.4 spec/spec_helper.rb
async-io-1.16.3 spec/spec_helper.rb
async-io-1.16.2 spec/spec_helper.rb
async-io-1.16.1 spec/spec_helper.rb
async-io-1.16.0 spec/spec_helper.rb
async-io-1.15.5 spec/spec_helper.rb
async-io-1.15.4 spec/spec_helper.rb
async-io-1.15.3 spec/spec_helper.rb
async-io-1.15.2 spec/spec_helper.rb
async-io-1.15.1 spec/spec_helper.rb
async-io-1.15.0 spec/spec_helper.rb
async-io-1.14.0 spec/spec_helper.rb
async-io-1.13.0 spec/spec_helper.rb