{"id":17086436,"url":"https://github.com/dasch/riot-rack","last_synced_at":"2025-04-12T21:40:40.206Z","repository":{"id":781005,"uuid":"473358","full_name":"dasch/riot-rack","owner":"dasch","description":"Riot::Rack -- easily test Rack apps using Riot!","archived":false,"fork":false,"pushed_at":"2013-01-08T15:14:05.000Z","size":128,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-23T08:22:04.269Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dasch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-01-15T10:01:09.000Z","updated_at":"2019-08-13T14:30:32.000Z","dependencies_parsed_at":"2022-07-05T14:31:04.870Z","dependency_job_id":null,"html_url":"https://github.com/dasch/riot-rack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasch%2Friot-rack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasch%2Friot-rack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasch%2Friot-rack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasch%2Friot-rack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dasch","download_url":"https://codeload.github.com/dasch/riot-rack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232381012,"owners_count":18514708,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T13:28:38.845Z","updated_at":"2025-01-03T18:40:41.454Z","avatar_url":"https://github.com/dasch.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Riot::Rack\n\nUse [Riot](http://github.com/thumblemonks/riot/) to test your [Rack](http://rack.rubyforge.org/)\napps easily!\n\nHere's the gist of it:\n\n```ruby\nrequire 'riot'\nrequire 'riot/rack'\n\ncontext \"HelloWorldApp\" do\n  # Specify your app using the #app helper. If you don't specify\n  # one, Riot::Rack will recursively look for a config.ru file.\n  # Takes either an app class or a block argument.\n  app {|env| [200, {}, \"Hello, World!\"] }\n  \n  # Alternatively:\n  app(HelloWorldApp)\n  \n  # You can use all the Rack::Test helpers in the setup blocks.\n  setup { get '/' }\n  \n  # You can access the response directly.\n  asserts(:status).equals(200)\n  asserts(:body).equals(\"Hello, World!\")\nend\n```\n\n## Installation\n\nAdd Gemcutter to your gem sources:\n\n    sudo gem sources -a http://gemcutter.org\n\nThen, simply install the riot-rack gem like so:\n\n    sudo gem install riot-rack\n\n\n## Prerequisites\n\n- [Riot](http://github.com/thumblemonks/riot)\n- [Rack::Test](http://github.com/brynary/rack-test)\n\n\n## License\n\nCopyright (c) 2010 Daniel Schierbeck, Brian Carlson.\n\nRiot is released under the MIT license. See {file:MIT-LICENSE}.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdasch%2Friot-rack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdasch%2Friot-rack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdasch%2Friot-rack/lists"}