{"id":17770065,"url":"https://github.com/j3rn/guard-foreman","last_synced_at":"2025-03-15T14:30:56.932Z","repository":{"id":19785566,"uuid":"23044598","full_name":"J3RN/guard-foreman","owner":"J3RN","description":"A gem to restart Foreman with Guard","archived":false,"fork":false,"pushed_at":"2016-05-18T19:05:25.000Z","size":46,"stargazers_count":8,"open_issues_count":3,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T03:11:26.242Z","etag":null,"topics":["foreman","guard","guard-foreman","ruby"],"latest_commit_sha":null,"homepage":null,"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/J3RN.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-17T16:21:52.000Z","updated_at":"2023-09-18T07:19:28.000Z","dependencies_parsed_at":"2022-08-20T22:00:42.932Z","dependency_job_id":null,"html_url":"https://github.com/J3RN/guard-foreman","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/J3RN%2Fguard-foreman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J3RN%2Fguard-foreman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J3RN%2Fguard-foreman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J3RN%2Fguard-foreman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/J3RN","download_url":"https://codeload.github.com/J3RN/guard-foreman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243742745,"owners_count":20340697,"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":["foreman","guard","guard-foreman","ruby"],"created_at":"2024-10-26T21:20:21.719Z","updated_at":"2025-03-15T14:30:55.783Z","avatar_url":"https://github.com/J3RN.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Guard::Foreman\n\nThis project was originally a fork of [Guard::Unicorn] [gdu], but has since\ndiverged significantly.\n\n`Guard::Foreman` automatically restarts Foreman using [Guard] [gu].\n\n[gu]: https://github.com/guard/guard\n\n\n## Installation\n\nUsing Rubygems:\n\n    $ gem install guard-foreman\n\nUsing Bundler, you can add this to your `Gemfile`, preferably in the `development` group:\n\n```ruby\ngroup :development do\n  gem 'guard-foreman'\nend\n```\n\nAdd a sample Guard definition to your `Guardfile`:\n\n    $ guard init foreman\n\n\n## Guard General Usage\n\nPlease read the [guard usage doc] [gd] in order to find out more about Guard and\nhow to use Guards. There is also [a Railscast about Guard] [gc], created by Ryan\nBates.\n\n\n[gd]: https://github.com/guard/guard/blob/master/README.md\n[gc]: http://railscasts.com/episodes/264-guard\n\nIt is recommended that you also install the [ruby-gntp] [gntp] on Mac OS X,\n[libnotify] [ln] on Linux, FreeBSD or Solaris or [rb-notifu] [notifu] in order\nto have graphical notifications.\n\n[gntp]: https://rubygems.org/gems/ruby_gntp\n[ln]: https://rubygems.org/gems/libnotify\n[notifu]: https://rubygems.org/gems/rb-notifu\n\n\n## Guardfile for guard-foreman\n\n```ruby\nguard :foreman, procfile: 'Procfile.dev'\n```\n\nAvailable options (Note: mostly stolen directly from the [Foreman documentation]\n [fd]):\n\n[fd]: http://ddollar.github.io/foreman/\n\n* `:log_file` Specify a location to pipe the Foreman logs into. Defaults to\n  `log/foreman.log`\n* `:concurrency` Specify the number of each process to run. This should be\n  passed in the format `process=num,process=num`\n* `:env` Specify one or more .env files to load\n* `:procfile` Specify an alternate Procfile to load\n* `:port` Specify which port to use as the base for this application. Should be\n  a multiple of 1000.\n* `:root` Specify an alternate application root. This defaults to the directory\n  containing the Procfile.\n\nNOTE: The parent project of Guard::Foreman, [Guard::Unicorn] [gdu], has a\n`:bundler` option available for using `bundle exec`. I have removed this bit of\nfunctionality as the [Foreman Github page] [fgp] asks users to *not* put\nForeman in their Gemfiles.\n\n[gdu]: https://github.com/andreimaxim/guard-unicorn\n[fgp]: https://github.com/ddollar/foreman\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj3rn%2Fguard-foreman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj3rn%2Fguard-foreman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj3rn%2Fguard-foreman/lists"}