{"id":16538666,"url":"https://github.com/kyleect/curb","last_synced_at":"2025-08-25T19:02:44.624Z","repository":{"id":132692232,"uuid":"51619423","full_name":"kyleect/curb","owner":"kyleect","description":"A gherkin parser/runner gem","archived":false,"fork":false,"pushed_at":"2016-02-15T13:38:28.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T00:44:33.558Z","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/kyleect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-12T22:02:11.000Z","updated_at":"2017-12-02T19:26:03.000Z","dependencies_parsed_at":"2023-05-02T10:44:08.698Z","dependency_job_id":null,"html_url":"https://github.com/kyleect/curb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kyleect/curb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleect%2Fcurb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleect%2Fcurb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleect%2Fcurb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleect%2Fcurb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyleect","download_url":"https://codeload.github.com/kyleect/curb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleect%2Fcurb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272116857,"owners_count":24876268,"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","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11T18:46:18.863Z","updated_at":"2025-08-25T19:02:44.599Z","avatar_url":"https://github.com/kyleect.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Curb\n\nCurb is a learning excercise implementing a gherkin parser and test runner.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'curb'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install curb\n\n## Usage\n\n1. Write gerkin in to `features/**/*.feature` files\n2. Define step handlers in `features/steps/**/*.rb`\n\n### Gherkin/Feature Files\n\n```gherkin\n# ./features/login.feature\n\nFeature: Login\nScenario: Login sucessfully\nGiven I am not logged in\nWhen I login with valid credentials\nThen I was able to login\n```\n\n### Step Handlers\n\n```ruby\n# ./features/steps/login_steps.rb\n\nCurb::Runner.add_handlers([\n\tCurb::StepHandler.new(/I (am|am not) logged in/) do |logged_in|\n\t\t# Setup authentication state based on logged_in\n\tend,\n\n\tCurb::StepHandler.new(/I login with (valid|invalid) credentials/) do |are_valid|\n\t\t# Fill out login form with valid/invalid credentials\n\t\t# Submit login form\n\tend,\n\n\tCurb::StepHandler.new(/I (was|was not) able to login/) do |name|\n\t\t# Assert login was/wasn't successful\n\tend\n])\n```\n\n### Run tests\n\nRun the `curb` command in your project's root directory\n\n    $ curb\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/kyleect/curb.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyleect%2Fcurb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyleect%2Fcurb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyleect%2Fcurb/lists"}