{"id":16808889,"url":"https://github.com/timakin/capistrano3-ridgepole","last_synced_at":"2025-04-11T01:20:58.326Z","repository":{"id":59151823,"uuid":"49010347","full_name":"timakin/capistrano3-ridgepole","owner":"timakin","description":"Capistrano3 plugin for ridgepole tasks","archived":false,"fork":false,"pushed_at":"2016-01-05T14:37:16.000Z","size":13,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-24T17:09:44.968Z","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/timakin.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-01-04T16:55:16.000Z","updated_at":"2022-05-26T14:37:48.000Z","dependencies_parsed_at":"2022-09-13T10:50:23.319Z","dependency_job_id":null,"html_url":"https://github.com/timakin/capistrano3-ridgepole","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Fcapistrano3-ridgepole","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Fcapistrano3-ridgepole/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Fcapistrano3-ridgepole/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Fcapistrano3-ridgepole/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timakin","download_url":"https://codeload.github.com/timakin/capistrano3-ridgepole/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248323208,"owners_count":21084463,"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-13T10:00:17.024Z","updated_at":"2025-04-11T01:20:58.311Z","avatar_url":"https://github.com/timakin.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Capistrano3 Ridgepole\n\nCapistrano3 plugin for db schema management with [ridgepole](https://github.com/winebarrel/ridgepole)\n\n[![Gem Version](https://badge.fury.io/rb/capistrano3-ridgepole.svg)](https://badge.fury.io/rb/capistrano3-ridgepole)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'capistrano3-ridgepole'\n```\n\n## Loading\n\nIn your configuration file ( `Capfile` ) , load this capistrano3-ridgepole module.\n\n```ruby\nrequire 'capistrano3/ridgepole'\n```\n\n## Supported tasks' usage\n\n```\ncap ridgepole:apply   # Apply Schemafile with ridgepole\ncap ridgepole:diff    # Show difference that will be created by schema application\ncap ridgepole:dry_run # Test Schemafile application with ridgepole dry-run\n```\n\n## Options\n\n```ruby\n# Target server(role) where you'll apply the database schema settings.\nset :ridgepole_roles, :db\n\n# Path of Schemafile  (default path is root of your app directory) \nset :ridgepole_schema_file, File.join((fetch(:current_path)), \"Schemafile\") \n\n# Path of database.yml (default path is config/database.yml)\nset :ridgepole_config_file, File.join(fetch(:current_path), \"config\", \"database.yml\")\n\n# Environment of rails application that you'd apply schema. (default env is \"development\")\nset :ridgepole_env, fetch(:rails_env)\n\n# Additional ridgepole options (default is empty)\nset :ridgepole_options, \"--alter-extra='LOCK=NONE' --debug\"\n```\n\n\n## Contributing\n\n1. Fork it ( https://github.com/timakin/capistrano3-ridgepole/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimakin%2Fcapistrano3-ridgepole","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimakin%2Fcapistrano3-ridgepole","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimakin%2Fcapistrano3-ridgepole/lists"}