Sha256: 9a09d3da5a02f1e385af78308294b419c20b5209b522db86d61cd3532d82ceb4

Contents?: true

Size: 729 Bytes

Versions: 7

Compression:

Stored size: 729 Bytes

Contents

# frozen_string_literal: true

# ------------------------------------------------------------
# SimpleCov setup

if ENV['COVERAGE']
  require 'simplecov'
  require 'simplecov-console'

  SimpleCov.minimum_coverage 100
  SimpleCov.start do
    add_filter '/spec/'
    SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
      SimpleCov::Formatter::HTMLFormatter,
      SimpleCov::Formatter::Console,
    ]
  end
end

# ------------------------------------------------------------
# Rspec configuration

require 'rspec'

RSpec.configure do |config|
  config.raise_errors_for_deprecations!
  config.mock_with :rspec
end

# ------------------------------------------------------------
# TypesafeEnum

require 'typesafe_enum'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
typesafe_enum-0.3.1 spec/spec_helper.rb
typesafe_enum-0.3.0 spec/spec_helper.rb
typesafe_enum-0.2.2 spec/spec_helper.rb
typesafe_enum-0.2.1 spec/spec_helper.rb
typesafe_enum-0.2.0 spec/spec_helper.rb
typesafe_enum-0.1.9 spec/spec_helper.rb
typesafe_enum-0.1.8 spec/spec_helper.rb