{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/pulls/1","id":37575474,"html_url":"https://github.com/alphagov/govuk-rails-app-template/pull/1","diff_url":"https://github.com/alphagov/govuk-rails-app-template/pull/1.diff","patch_url":"https://github.com/alphagov/govuk-rails-app-template/pull/1.patch","issue_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/issues/1","number":1,"state":"open","locked":false,"title":"Initial rails application template","user":{"login":"tekin","id":3687,"avatar_url":"https://avatars.githubusercontent.com/u/3687?v=3","gravatar_id":"","url":"https://api.github.com/users/tekin","html_url":"https://github.com/tekin","followers_url":"https://api.github.com/users/tekin/followers","following_url":"https://api.github.com/users/tekin/following{/other_user}","gists_url":"https://api.github.com/users/tekin/gists{/gist_id}","starred_url":"https://api.github.com/users/tekin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tekin/subscriptions","organizations_url":"https://api.github.com/users/tekin/orgs","repos_url":"https://api.github.com/users/tekin/repos","events_url":"https://api.github.com/users/tekin/events{/privacy}","received_events_url":"https://api.github.com/users/tekin/received_events","type":"User","site_admin":false},"body":"A first-pass rails app template for creating and configuring a bare Rails application with common GOV.UK features. This should save a fair amount of time when starting a fresh Rails application on GOV.UK.\r\n\r\nAs outlined in the [README](https://github.com/alphagov/govuk-rails-app-template/blob/044e15b07201fe1e77d88a6212c2d4c5b1c7a1c0/README.md#how-to-use), a new app can be generated as follows:\r\n\r\n```shell\r\nrails new APP_NAME --skip-test-unit --skip-spring -m govuk-rails-app-template/template.rb\r\n```\r\nThis will generate a new rails application, and also do the following:\r\n\r\n* Install and configure rspec for testing, skipping test-unit\r\n* Install and configure logstasher for JSON-formatted log output in production\r\n* Install and configure simple-cov for code coverage reporting\r\n* Add a `.ruby-version` file\r\n* Add a skeleton `README.md` based on the [styleguide](https://github.com/alphagov/styleguides/blob/master/use-of-READMEs.md)\r\n* Add a `LICENSE` file\r\n* Add jenkins scripts for master and branch builds\r\n* Add a `/healthcheck` endpoint, including test\r\n\r\nThis makes use of the [Rails application templating](http://guides.rubyonrails.org/rails_application_templates.html) functionality, which is a wrapper around [thor](http://www.rubydoc.info/github/erikhuda/thor/master/Thor/Actions).\r\n\r\n","created_at":"2015-06-12T15:31:31Z","updated_at":"2015-06-12T15:31:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/pulls/1/commits","review_comments_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/pulls/1/comments","review_comment_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/issues/1/comments","statuses_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/statuses/2d1f3baf2fd2e20af6846910c22d48b63fe5613b","head":{"label":"alphagov:initial-template","ref":"initial-template","sha":"2d1f3baf2fd2e20af6846910c22d48b63fe5613b","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":37321672,"name":"govuk-rails-app-template","full_name":"alphagov/govuk-rails-app-template","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk-rails-app-template","description":"","fork":false,"url":"https://api.github.com/repos/alphagov/govuk-rails-app-template","forks_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/forks","keys_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/events","assignees_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/merges","archive_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/releases{/id}","created_at":"2015-06-12T12:51:29Z","updated_at":"2015-06-12T12:51:29Z","pushed_at":"2015-06-12T15:30:25Z","git_url":"git://github.com/alphagov/govuk-rails-app-template.git","ssh_url":"git@github.com:alphagov/govuk-rails-app-template.git","clone_url":"https://github.com/alphagov/govuk-rails-app-template.git","svn_url":"https://github.com/alphagov/govuk-rails-app-template","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"ba7749fc0506dfe545fc5e82bba4e298f2bd6ef3","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":37321672,"name":"govuk-rails-app-template","full_name":"alphagov/govuk-rails-app-template","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk-rails-app-template","description":"","fork":false,"url":"https://api.github.com/repos/alphagov/govuk-rails-app-template","forks_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/forks","keys_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/events","assignees_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/merges","archive_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk-rails-app-template/releases{/id}","created_at":"2015-06-12T12:51:29Z","updated_at":"2015-06-12T12:51:29Z","pushed_at":"2015-06-12T15:30:25Z","git_url":"git://github.com/alphagov/govuk-rails-app-template.git","ssh_url":"git@github.com:alphagov/govuk-rails-app-template.git","clone_url":"https://github.com/alphagov/govuk-rails-app-template.git","svn_url":"https://github.com/alphagov/govuk-rails-app-template","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/govuk-rails-app-template/pulls/1"},"html":{"href":"https://github.com/alphagov/govuk-rails-app-template/pull/1"},"issue":{"href":"https://api.github.com/repos/alphagov/govuk-rails-app-template/issues/1"},"comments":{"href":"https://api.github.com/repos/alphagov/govuk-rails-app-template/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/govuk-rails-app-template/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/govuk-rails-app-template/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/govuk-rails-app-template/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/govuk-rails-app-template/statuses/2d1f3baf2fd2e20af6846910c22d48b63fe5613b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":12,"additions":200,"deletions":1,"changed_files":8}}