Sha256: 04ec3df5eb08b359b7ef19560a2b7a9f3ce6fb7b9e0467ebc88498ce19902f89

Contents?: true

Size: 1.56 KB

Versions: 20

Compression:

Stored size: 1.56 KB

Contents

# frozen_string_literal: true

# Copyright (c) 2018 Yegor Bugayenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

gem 'openssl'
require 'openssl'
require 'minitest/autorun'

STDOUT.sync = true

ENV['RACK_ENV'] = 'test'

require 'simplecov'
SimpleCov.start
if ENV['CI'] == 'true'
  require 'codecov'
  SimpleCov.formatter = SimpleCov::Formatter::Codecov
end

module Minitest
  class Test
    def test_log
      require_relative '../lib/zold/log'
      @test_log = Zold::Log::Verbose.new
      @test_log = Zold::Log::Quiet.new if ENV['TEST_QUIET_LOG']
      @test_log
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
zold-0.14.28 test/test__helper.rb
zold-0.14.27 test/test__helper.rb
zold-0.14.26 test/test__helper.rb
zold-0.14.25 test/test__helper.rb
zold-0.14.24 test/test__helper.rb
zold-0.14.23 test/test__helper.rb
zold-0.14.22 test/test__helper.rb
zold-0.14.21 test/test__helper.rb
zold-0.14.20 test/test__helper.rb
zold-0.14.19 test/test__helper.rb
zold-0.14.18 test/test__helper.rb
zold-0.14.17 test/test__helper.rb
zold-0.14.16 test/test__helper.rb
zold-0.14.15 test/test__helper.rb
zold-0.14.14 test/test__helper.rb
zold-0.14.13 test/test__helper.rb
zold-0.14.12 test/test__helper.rb
zold-0.14.11 test/test__helper.rb
zold-0.14.10 test/test__helper.rb
zold-0.14.9 test/test__helper.rb