Sha256: e19d0bb8401de60c409b20ef924ad70918136baa293ab4fa53f805f2b76e1624

Contents?: true

Size: 709 Bytes

Versions: 3

Compression:

Stored size: 709 Bytes

Contents

$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'test/unit'

require 'metal_archives'

# Configuration
MetalArchives.configure do |c|
  c.app_name = 'MetalArchivesGemTestSuite'
  c.app_version = MetalArchives::VERSION
  c.app_contact = `git config user.email`.chomp || 'user@example.com'

  # Cache config (optional)
  c.enable_cache = false
  # c.cache_store = ActiveSupport::Cache.lookup_store(:file_store, '/tmp/metal_archives-cache')

  # Request throttling (optional, overrides defaults)
  c.request_rate = 1
  c.request_timeout = 3

  # Print debugging information
  c.debug = false
end

def data_for(filename)
  File.read(File.join(File.dirname(__FILE__) + "/data/#{filename}"))
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
metal_archives-0.3.0 test/test_helper.rb
metal_archives-0.2.1 test/test_helper.rb
metal_archives-0.2.0 test/test_helper.rb