{"id":94734,"library":"spectator","title":"Spectator","description":"Spectator watches specs for Ruby or Rails projects and automatically reruns them on file changes.","status":"active","version":"1.4.1","language":"ruby","source_language":null,"source_url":null,"tags":["testing","watch","spec","autotest"],"install":[{"cmd":"gem install spectator","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'spectator', '~> 1.4.1'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Spectator","correct":"require 'spectator'"}],"quickstart":{"code":"require 'spectator'\nSpectator.watch('spec/') do |file|\n  system(\"rspec #{file}\")\nend","lang":"ruby","description":"Watch a spec directory and run tests on changes."},"warnings":[{"fix":"Use a modern test watcher like guard-rspec or rspec-watch.","message":"Spectator is designed for Ruby 1.8/1.9 and Rails 2/3; may not work with modern Ruby versions.","severity":"breaking","affected_versions":">= 1.0.0"}],"env_vars":null,"search_vec":"'automat':11 'autotest':20 'chang':16 'file':15 'project':9 'rail':8 'rerun':12 'rubi':6 'spec':4,19 'spectat':1,2 'test':17 'watch':3,18","created_at":"2026-06-19T10:11:34.757661+00:00","updated_at":"2026-06-19T10:11:34.757661+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":null,"github":null,"docs":"http://www.rubydoc.info/gems/spectator/","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}}