Sha256: 89cc3e8f6a7bded0bd6c298101f102f8eb26873d769ae52ed0ac17d4cb7f99dd

Contents?: true

Size: 655 Bytes

Versions: 1

Compression:

Stored size: 655 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require "bundler/setup"
require "fido_metadata"

# Configure in-memory cache
require_relative "../spec/support/test_cache_store"
FidoMetadata.configure do |config|
  config.metadata_token = ENV["MDS_TOKEN"]
  config.cache_backend = TestCacheStore.new
end

unless FidoMetadata.configuration.metadata_token
  puts <<~EOS
    No MDS token configured via the MDS_TOKEN environment variable.
    Set one for this session: FidoMetadata.configuration.metadata_token = 'your token'
  EOS
end
puts "Reset the cache via: FidoMetadata.configuration.cache_backend.clear"

# Start REPL
require "pry-byebug"
Pry.start

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fido_metadata-0.1.0 bin/console