{"id":80602,"library":"webstub","title":"WebStub","description":"Easily stub out HTTP responses in RubyMotion specs.","status":"active","version":"1.1.6","language":"ruby","source_language":null,"source_url":"https://github.com/nathankot/webstub","tags":["testing","http","stub","rubymotion"],"install":[{"cmd":"gem install webstub","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'webstub', '~> 1.1.6'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"WebStub","correct":"require 'webstub'"}],"quickstart":{"code":"require 'webstub'\n\n# Stub an HTTP request\nWebStub.stub_request(:get, 'https://api.example.com/data') do |request|\n  request.respond_with(body: '{\"key\":\"value\"}', status: 200)\nend\n\n# Make the request\nBW::HTTP.get('https://api.example.com/data') do |response|\n  puts response.body\nend","lang":"ruby","description":"Stub HTTP requests in RubyMotion specs"},"warnings":[],"env_vars":null,"search_vec":"'easili':2 'http':5,11 'respons':6 'rubymot':8,13 'spec':9 'stub':3,12 'test':10 'webstub':1","created_at":"2026-06-18T05:28:45.048528+00:00","updated_at":"2026-06-18T05:28:45.048528+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/nathankot/webstub","github":"https://github.com/nathankot/webstub","docs":"http://www.rubydoc.info/gems/webstub/","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}}