Sha256: bb22cc9e26201b39b3118a67d349254244dfd6fed91a6d9d0ba2309c665bca4d

Contents?: true

Size: 652 Bytes

Versions: 77

Compression:

Stored size: 652 Bytes

Contents

# frozen_string_literal: true

require 'bundler/setup'
require 'rspec/its'

begin
  require 'coveralls'
  Coveralls.wear! do
    add_filter "spec/"
    add_filter "vendor/"
  end
rescue LoadError
  warn "warning: coveralls gem not found; skipping Coveralls"
  require 'simplecov'
  SimpleCov.start do
    add_filter "spec/"
    add_filter "vendor/"
  end
end if Gem.loaded_specs.key?("simplecov")

class TestHelper
  def self.native_supported?
    mri = RUBY_ENGINE == "ruby"
    windows = RUBY_PLATFORM.include?("mingw")

    mri && !windows
  end
end

RSpec.configure do |config|
  config.warnings = true
  config.filter_run_when_matching :focus
end

Version data entries

77 entries across 77 versions & 12 rubygems

Version Path
direct7-0.0.18 vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/spec/spec_helper.rb
direct7-0.0.17 vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/spec/spec_helper.rb
direct7-0.0.16 vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/spec/spec_helper.rb
cloudsmith-api-2.0.15 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/spec/spec_helper.rb
cloudsmith-api-2.0.14 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.7/spec/spec_helper.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/addressable-2.8.7/spec/spec_helper.rb
addressable-2.8.7 spec/spec_helper.rb
cloudsmith-api-2.0.13 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.6/spec/spec_helper.rb
cloudsmith-api-2.0.12 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.6/spec/spec_helper.rb
direct7-0.0.13 vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/spec/spec_helper.rb
cloudsmith-api-2.0.11 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.6/spec/spec_helper.rb
cloudsmith-api-2.0.10 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.6/spec/spec_helper.rb
cloudsmith-api-2.0.9 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.6/spec/spec_helper.rb
cloudsmith-api-2.0.8 vendor/bundle/ruby/2.6.0/gems/addressable-2.8.6/spec/spec_helper.rb
postfinancecheckout-ruby-sdk-4.5.0 vendor/bundle/ruby/3.3.0/gems/addressable-2.8.6/spec/spec_helper.rb
wallee-ruby-sdk-4.5.0 vendor/bundle/ruby/3.3.0/gems/addressable-2.8.6/spec/spec_helper.rb
direct7-0.0.12 vendor/bundle/ruby/2.7.0/gems/addressable-2.8.5/spec/spec_helper.rb
wallee-ruby-sdk-4.4.0 vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/spec/spec_helper.rb
postfinancecheckout-ruby-sdk-4.4.0 vendor/bundle/ruby/3.1.0/gems/addressable-2.8.6/spec/spec_helper.rb
postfinancecheckout-ruby-sdk-4.2.0 vendor/bundle/ruby/3.0.0/gems/addressable-2.8.6/spec/spec_helper.rb