{"id":23869502,"url":"https://github.com/fredwu/app_reset","last_synced_at":"2025-10-25T14:48:02.806Z","repository":{"id":62553447,"uuid":"5066661","full_name":"fredwu/app_reset","owner":"fredwu","description":"Resets (and if available, seeds) your databases.","archived":false,"fork":false,"pushed_at":"2013-12-11T02:55:14.000Z","size":137,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-16T22:23:11.587Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fredwu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-07-16T11:47:09.000Z","updated_at":"2023-02-21T06:53:17.000Z","dependencies_parsed_at":"2022-11-03T04:30:30.909Z","dependency_job_id":null,"html_url":"https://github.com/fredwu/app_reset","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/fredwu/app_reset","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredwu%2Fapp_reset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredwu%2Fapp_reset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredwu%2Fapp_reset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredwu%2Fapp_reset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fredwu","download_url":"https://codeload.github.com/fredwu/app_reset/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredwu%2Fapp_reset/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274231438,"owners_count":25245585,"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-09-08T02:00:09.813Z","response_time":121,"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":"2025-01-03T12:35:56.140Z","updated_at":"2025-10-25T14:48:02.721Z","avatar_url":"https://github.com/fredwu.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AppReset\n\n## Why?\n\nCompared to __db:reset__:\n\n`db:reset` resets your database from `schema.rb` - during early stage of development, the migration files are often edited directly to keep the sanity.\n\nCompared to __db:migrate:reset__:\n\nAppReset always calls `db:create` to ensure databases exist, and then calls `db:migrate:reset`. It also ensures `seeds.rb` will get called if you are in a rails engine environment.\n\nAppReset basically replaces the following steps:\n\n- db:create\n- db:migrate:reset\n- RAILS_ENV=test db:migrate:reset\n- run seeds.rb from your rails engine\n\n## Installation\n\nIt is recommended you only include `app_reset` in your development environment:\n\n```ruby\ngem 'app_reset', :group =\u003e :development\n```\n\nIf you are using it in a rails engine, don't forget to require it:\n\n```ruby\nrequire 'app_reset' if Rails.env.development?\n```\n\n## Usage\n\nResets (and if available, seeds) your development and test databases via:\n\n    rake app:reset\n\n## License\n\nThis gem is released under the [MIT License](http://www.opensource.org/licenses/mit-license.php).\n\n## Author\n\n[Fred Wu](https://github.com/fredwu)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredwu%2Fapp_reset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffredwu%2Fapp_reset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredwu%2Fapp_reset/lists"}