Sha256: a67875a20c169178dfbf51cdfe8deaff5add2ecd40015ecf57cb475a3c7a9771
Contents?: true
Size: 672 Bytes
Versions: 2
Compression:
Stored size: 672 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require "bundler/setup" require "fido_metadata" # Configure in-memory cache require "fido_metadata/test_cache_store" FidoMetadata.configure do |config| config.metadata_token = ENV["MDS_TOKEN"] config.cache_backend = FidoMetadata::TestCacheStore.new end unless FidoMetadata.configuration.metadata_token puts <<~TOKEN_HINT No MDS token configured via the MDS_TOKEN environment variable. Set one for this session: FidoMetadata.configuration.metadata_token = 'your token' TOKEN_HINT end puts "Reset the cache via: FidoMetadata.configuration.cache_backend.clear" # Start REPL require "pry-byebug" Pry.start
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fido_metadata-0.4.0 | bin/console |
fido_metadata-0.3.0 | bin/console |