{"id":79312,"library":"test-construct","title":"Test Construct","description":"A DSL for creating temporary files and directories during testing, simplifying test setup and teardown.","status":"active","version":"1.2.2","language":"ruby","source_language":null,"source_url":"https://github.com/devver/construct","tags":["testing","temporary","filesystem","dsl"],"install":[{"cmd":"gem install test-construct","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'test-construct', '~> 1.2.2'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Construct","correct":"require 'construct'"}],"quickstart":{"code":"require 'construct'\nConstruct.new.within do |dir|\n  dir.file('test.txt', 'content')\n  puts Dir.glob('*').inspect\nend","lang":"ruby","description":"Create a temporary directory with a file"},"warnings":[],"env_vars":null,"search_vec":"'construct':2 'creat':6 'directori':10 'dsl':4,21 'file':8 'filesystem':20 'setup':15 'simplifi':13 'teardown':17 'temporari':7,19 'test':1,12,14,18","created_at":"2026-06-18T04:46:42.436146+00:00","updated_at":"2026-06-18T04:46:42.436146+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://github.com/devver/construct","github":"https://github.com/devver/construct","docs":"http://www.rubydoc.info/gems/test-construct/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}