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

Version Path
download_tv-2.9.1 test/test_helper.rb
download_tv-2.9.0 test/test_helper.rb
download_tv-2.8.5 test/test_helper.rb
download_tv-2.8.4 test/test_helper.rb
download_tv-2.8.3 test/test_helper.rb
download_tv-2.8.2 test/test_helper.rb
download_tv-2.8.1 test/test_helper.rb
download_tv-2.8.0 test/test_helper.rb
download_tv-2.7.0 test/test_helper.rb
download_tv-2.6.10 test/test_helper.rb
download_tv-2.6.9 test/test_helper.rb
download_tv-2.6.8 test/test_helper.rb
download_tv-2.6.7 test/test_helper.rb
download_tv-2.6.6 test/test_helper.rb
download_tv-2.6.5 test/test_helper.rb
download_tv-2.6.4 test/test_helper.rb
download_tv-2.6.3 test/test_helper.rb
download_tv-2.6.2 test/test_helper.rb
download_tv-2.6.1 test/test_helper.rb
download_tv-2.6.0 test/test_helper.rb