{"id":13879131,"url":"https://github.com/izumin5210/rspec-cheki","last_synced_at":"2025-10-26T09:04:20.803Z","repository":{"id":56892836,"uuid":"94283379","full_name":"izumin5210/rspec-cheki","owner":"izumin5210","description":"Support snapshot testing, inspired Jest.","archived":false,"fork":false,"pushed_at":"2018-07-15T14:29:48.000Z","size":31,"stargazers_count":8,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-28T13:29:41.575Z","etag":null,"topics":["rspec","snapshot","snapshot-testing"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/rspec-cheki","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/izumin5210.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-14T03:10:13.000Z","updated_at":"2023-12-05T20:13:03.000Z","dependencies_parsed_at":"2022-08-21T01:20:58.975Z","dependency_job_id":null,"html_url":"https://github.com/izumin5210/rspec-cheki","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/izumin5210/rspec-cheki","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izumin5210%2Frspec-cheki","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izumin5210%2Frspec-cheki/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izumin5210%2Frspec-cheki/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izumin5210%2Frspec-cheki/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/izumin5210","download_url":"https://codeload.github.com/izumin5210/rspec-cheki/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/izumin5210%2Frspec-cheki/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272315137,"owners_count":24912512,"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-27T02:00:09.397Z","response_time":76,"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":["rspec","snapshot","snapshot-testing"],"created_at":"2024-08-06T08:02:10.764Z","updated_at":"2025-10-26T09:04:20.724Z","avatar_url":"https://github.com/izumin5210.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# RSpec::Cheki\n[![Gem Version](https://badge.fury.io/rb/rspec-cheki.svg)](https://badge.fury.io/rb/rspec-cheki)\n[![Build Status](https://travis-ci.org/izumin5210/rspec-cheki.svg?branch=master)](https://travis-ci.org/izumin5210/rspec-cheki)\n[![license](https://img.shields.io/github/license/izumin5210/rspec-cheki.svg)](https://github.com/izumin5210/rspec-cheki/blob/master/LICENSE.txt)\n[![Dependency Status](https://gemnasium.com/badges/github.com/izumin5210/rspec-cheki.svg)](https://gemnasium.com/github.com/izumin5210/rspec-cheki)\n[![Inline docs](http://inch-ci.org/github/izumin5210/rspec-cheki.svg?branch=master\u0026style=shields)](http://inch-ci.org/github/izumin5210/rspec-cheki)\n\nSupport snapshot testing, inspired by [Jest](https://facebook.github.io/jest/).\n\n```ruby\nexpect(response.body).to match_snapshot\n\n# or...\n\nexpect(response.body).to say_cheese\n```\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'rspec-cheki'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install rspec-cheki\n\n## Usage\n\nRequire `rspec/cheki` from your `spec_helper.rb`.\n\n```ruby\nrequire 'rspec/cheki'\n```\n\n### `match_snapshot` matcher\n\n```ruby\nexpect(response.body).to match_snapshot\n\n# And you can use `say_cheese` matcher (This is an alias of `match_snapshot` matcher)\nexpect(response.body).to say_cheese\n```\n\n### Update snapshots\n\nRun rspec with `UPDATE_SNAPSHOTS=1` to update snapshot files.\n\n```\n$ UPDATE_SNAPSHOTS=1 rspec\n```\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/[USERNAME]/rspec-cheki. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizumin5210%2Frspec-cheki","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fizumin5210%2Frspec-cheki","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fizumin5210%2Frspec-cheki/lists"}