Sha256: b2de961693903209391e2ead5d0b78d78a14390171d16c1ee3381ffca21212ec
Contents?: true
Size: 512 Bytes
Versions: 26
Compression:
Stored size: 512 Bytes
Contents
# frozen_string_literal: true $LOAD_PATH.unshift File.expand_path('../lib', __dir__) require 'download_tv' require 'minitest/autorun' def create_dummy_config(in_path, config = {}) config[:version] = DownloadTV::VERSION unless config[:version] File.write(in_path, JSON.generate(config)) end def run_silently previous_stdout = $stdout $stdout = StringIO.new previous_stderr = $stderr $stderr = StringIO.new yield $stdout.string ensure $stdout = previous_stdout $stderr = previous_stderr end
Version data entries
26 entries across 26 versions & 1 rubygems