{"id":92851,"library":"stub-server","title":"Stub Server","description":"Boot up a real server to serve testing replies for integration tests.","status":"active","version":"0.7.0","language":"ruby","source_language":null,"source_url":"https://github.com/grosser/stub_server","tags":["testing","stub","server","http"],"install":[{"cmd":"gem install stub_server","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'stub_server', '~> 0.7.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"StubServer","correct":"require 'stub_server'"}],"quickstart":{"code":"require 'stub_server'\nserver = StubServer.new(4567) do |request|\n  [200, { 'Content-Type' => 'text/plain' }, ['OK']]\nend\nserver.start\n# Make HTTP requests to localhost:4567\nserver.stop","lang":"ruby","description":"Start a stub HTTP server that returns a fixed response."},"warnings":[],"env_vars":null,"search_vec":"'boot':3 'http':18 'integr':13 'real':6 'repli':11 'serv':9 'server':2,7,17 'stub':1,16 'test':10,14,15","created_at":"2026-06-19T09:39:13.656024+00:00","updated_at":"2026-06-19T09:39:13.656024+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":"https://github.com/grosser/stub_server","github":"https://github.com/grosser/stub_server","docs":"http://www.rubydoc.info/gems/stub_server/","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-19","next_check":"2026-12-16","install_tag":null}}