{"action":"created","comment":{"url":"https://api.github.com/repos/refinery/refinerycms/pulls/comments/24791592","id":24791592,"diff_hunk":"@@ -0,0 +1,67 @@\n+require 'rbconfig'\n+\n+# We want to ensure that you have an ExecJS runtime available!\n+begin\n+  require 'execjs'\n+rescue LoadError\n+  abort \"ExecJS is not installed. Please re-start the installer after running:\\ngem install execjs\"\n+end\n+\n+if File.read(\"#{destination_root}/Gemfile\") !~ /assets.+coffee-rails/m\n+  gem \"coffee-rails\", :group => :assets\n+end\n+\n+append_file 'Gemfile' do\n+\"\n+gem 'refinerycms', git: 'https://github.com/refinery/refinerycms', branch: 'master'\n+\n+gem 'quiet_assets', :group => :development\n+\n+# Add support for refinerycms-acts-as-indexed\n+gem 'refinerycms-acts-as-indexed', ['~> 2.0', '>= 2.0.0']\n+\n+# Add support for refinerycms-wymeditor\n+gem 'refinerycms-wymeditor', ['~> 1.0', '>= 1.0.6']\n+\n+gem 'seo_meta', git: 'https://github.com/parndt/seo_meta', branch: 'master'\n+\n+gem 'paper_trail', git: 'https://github.com/airblade/paper_trail', branch: 'master'\n+\n+gem 'refinerycms-blog', git: 'https://github.com/refinery/refinerycms-blog', branch: 'master'\n+gem 'refinerycms-inquiries', git: 'https://github.com/refinery/refinerycms-inquiries', branch: 'master'\n+gem 'refinerycms-news', git: 'https://github.com/refinery/refinerycms-news', branch: 'master'\n+gem 'refinerycms-page-images', git: 'https://github.com/refinery/refinerycms-page-images', branch: 'master'\n+gem 'refinerycms-portfolio', git: 'https://github.com/refinery/refinerycms-portfolio', branch: 'master'\n+gem 'refinerycms-settings', git: 'https://github.com/refinery/refinerycms-settings', branch: 'master'","path":"templates/refinery/demo.rb","position":35,"original_position":35,"commit_id":"c8518c625e829130040f1173e7bac767974aaf0d","original_commit_id":"c8518c625e829130040f1173e7bac767974aaf0d","user":{"login":"bricesanchez","id":1678530,"avatar_url":"https://avatars.githubusercontent.com/u/1678530?v=3","gravatar_id":"","url":"https://api.github.com/users/bricesanchez","html_url":"https://github.com/bricesanchez","followers_url":"https://api.github.com/users/bricesanchez/followers","following_url":"https://api.github.com/users/bricesanchez/following{/other_user}","gists_url":"https://api.github.com/users/bricesanchez/gists{/gist_id}","starred_url":"https://api.github.com/users/bricesanchez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bricesanchez/subscriptions","organizations_url":"https://api.github.com/users/bricesanchez/orgs","repos_url":"https://api.github.com/users/bricesanchez/repos","events_url":"https://api.github.com/users/bricesanchez/events{/privacy}","received_events_url":"https://api.github.com/users/bricesanchez/received_events","type":"User","site_admin":false},"body":"I think yes until this gem is up-to-date. A demo is great to test gems in order to be able to know if we really need them in a real project.","created_at":"2015-02-17T04:21:12Z","updated_at":"2015-02-17T04:21:12Z","html_url":"https://github.com/refinery/refinerycms/pull/2894#discussion_r24791592","pull_request_url":"https://api.github.com/repos/refinery/refinerycms/pulls/2894","_links":{"self":{"href":"https://api.github.com/repos/refinery/refinerycms/pulls/comments/24791592"},"html":{"href":"https://github.com/refinery/refinerycms/pull/2894#discussion_r24791592"},"pull_request":{"href":"https://api.github.com/repos/refinery/refinerycms/pulls/2894"}}},"pull_request":{"url":"https://api.github.com/repos/refinery/refinerycms/pulls/2894","id":29416903,"html_url":"https://github.com/refinery/refinerycms/pull/2894","diff_url":"https://github.com/refinery/refinerycms/pull/2894.diff","patch_url":"https://github.com/refinery/refinerycms/pull/2894.patch","issue_url":"https://api.github.com/repos/refinery/refinerycms/issues/2894","number":2894,"state":"open","locked":false,"title":"Add demo refinery template","user":{"login":"bricesanchez","id":1678530,"avatar_url":"https://avatars.githubusercontent.com/u/1678530?v=3","gravatar_id":"","url":"https://api.github.com/users/bricesanchez","html_url":"https://github.com/bricesanchez","followers_url":"https://api.github.com/users/bricesanchez/followers","following_url":"https://api.github.com/users/bricesanchez/following{/other_user}","gists_url":"https://api.github.com/users/bricesanchez/gists{/gist_id}","starred_url":"https://api.github.com/users/bricesanchez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bricesanchez/subscriptions","organizations_url":"https://api.github.com/users/bricesanchez/orgs","repos_url":"https://api.github.com/users/bricesanchez/repos","events_url":"https://api.github.com/users/bricesanchez/events{/privacy}","received_events_url":"https://api.github.com/users/bricesanchez/received_events","type":"User","site_admin":false},"body":"This is the template to create a demo of Refinery CMS.\r\n\r\nHow could we automaticaly create the first user ?","created_at":"2015-02-17T04:06:50Z","updated_at":"2015-02-17T04:21:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1fd0d808e8d25e2df4bc3c00a732cf00d3e35b7d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/refinery/refinerycms/pulls/2894/commits","review_comments_url":"https://api.github.com/repos/refinery/refinerycms/pulls/2894/comments","review_comment_url":"https://api.github.com/repos/refinery/refinerycms/pulls/comments/{number}","comments_url":"https://api.github.com/repos/refinery/refinerycms/issues/2894/comments","statuses_url":"https://api.github.com/repos/refinery/refinerycms/statuses/c8518c625e829130040f1173e7bac767974aaf0d","head":{"label":"refinery:demo-template","ref":"demo-template","sha":"c8518c625e829130040f1173e7bac767974aaf0d","user":{"login":"refinery","id":339098,"avatar_url":"https://avatars.githubusercontent.com/u/339098?v=3","gravatar_id":"","url":"https://api.github.com/users/refinery","html_url":"https://github.com/refinery","followers_url":"https://api.github.com/users/refinery/followers","following_url":"https://api.github.com/users/refinery/following{/other_user}","gists_url":"https://api.github.com/users/refinery/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery/subscriptions","organizations_url":"https://api.github.com/users/refinery/orgs","repos_url":"https://api.github.com/users/refinery/repos","events_url":"https://api.github.com/users/refinery/events{/privacy}","received_events_url":"https://api.github.com/users/refinery/received_events","type":"Organization","site_admin":false},"repo":{"id":212862,"name":"refinerycms","full_name":"refinery/refinerycms","owner":{"login":"refinery","id":339098,"avatar_url":"https://avatars.githubusercontent.com/u/339098?v=3","gravatar_id":"","url":"https://api.github.com/users/refinery","html_url":"https://github.com/refinery","followers_url":"https://api.github.com/users/refinery/followers","following_url":"https://api.github.com/users/refinery/following{/other_user}","gists_url":"https://api.github.com/users/refinery/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery/subscriptions","organizations_url":"https://api.github.com/users/refinery/orgs","repos_url":"https://api.github.com/users/refinery/repos","events_url":"https://api.github.com/users/refinery/events{/privacy}","received_events_url":"https://api.github.com/users/refinery/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/refinery/refinerycms","description":"An extendable Ruby on Rails CMS that supports Rails 3.2 and 4.1","fork":false,"url":"https://api.github.com/repos/refinery/refinerycms","forks_url":"https://api.github.com/repos/refinery/refinerycms/forks","keys_url":"https://api.github.com/repos/refinery/refinerycms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/refinery/refinerycms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/refinery/refinerycms/teams","hooks_url":"https://api.github.com/repos/refinery/refinerycms/hooks","issue_events_url":"https://api.github.com/repos/refinery/refinerycms/issues/events{/number}","events_url":"https://api.github.com/repos/refinery/refinerycms/events","assignees_url":"https://api.github.com/repos/refinery/refinerycms/assignees{/user}","branches_url":"https://api.github.com/repos/refinery/refinerycms/branches{/branch}","tags_url":"https://api.github.com/repos/refinery/refinerycms/tags","blobs_url":"https://api.github.com/repos/refinery/refinerycms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/refinery/refinerycms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/refinery/refinerycms/git/refs{/sha}","trees_url":"https://api.github.com/repos/refinery/refinerycms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/refinery/refinerycms/statuses/{sha}","languages_url":"https://api.github.com/repos/refinery/refinerycms/languages","stargazers_url":"https://api.github.com/repos/refinery/refinerycms/stargazers","contributors_url":"https://api.github.com/repos/refinery/refinerycms/contributors","subscribers_url":"https://api.github.com/repos/refinery/refinerycms/subscribers","subscription_url":"https://api.github.com/repos/refinery/refinerycms/subscription","commits_url":"https://api.github.com/repos/refinery/refinerycms/commits{/sha}","git_commits_url":"https://api.github.com/repos/refinery/refinerycms/git/commits{/sha}","comments_url":"https://api.github.com/repos/refinery/refinerycms/comments{/number}","issue_comment_url":"https://api.github.com/repos/refinery/refinerycms/issues/comments/{number}","contents_url":"https://api.github.com/repos/refinery/refinerycms/contents/{+path}","compare_url":"https://api.github.com/repos/refinery/refinerycms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/refinery/refinerycms/merges","archive_url":"https://api.github.com/repos/refinery/refinerycms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/refinery/refinerycms/downloads","issues_url":"https://api.github.com/repos/refinery/refinerycms/issues{/number}","pulls_url":"https://api.github.com/repos/refinery/refinerycms/pulls{/number}","milestones_url":"https://api.github.com/repos/refinery/refinerycms/milestones{/number}","notifications_url":"https://api.github.com/repos/refinery/refinerycms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/refinery/refinerycms/labels{/name}","releases_url":"https://api.github.com/repos/refinery/refinerycms/releases{/id}","created_at":"2009-05-28T20:13:21Z","updated_at":"2015-02-17T00:49:34Z","pushed_at":"2015-02-17T04:05:39Z","git_url":"git://github.com/refinery/refinerycms.git","ssh_url":"git@github.com:refinery/refinerycms.git","clone_url":"https://github.com/refinery/refinerycms.git","svn_url":"https://github.com/refinery/refinerycms","homepage":"http://refinerycms.com/guides/","size":44552,"stargazers_count":3072,"watchers_count":3072,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":1171,"mirror_url":null,"open_issues_count":40,"forks":1171,"open_issues":40,"watchers":3072,"default_branch":"master"}},"base":{"label":"refinery:master","ref":"master","sha":"fd9f08023e4645ecdbd4be8e3e5b81a8b86e8693","user":{"login":"refinery","id":339098,"avatar_url":"https://avatars.githubusercontent.com/u/339098?v=3","gravatar_id":"","url":"https://api.github.com/users/refinery","html_url":"https://github.com/refinery","followers_url":"https://api.github.com/users/refinery/followers","following_url":"https://api.github.com/users/refinery/following{/other_user}","gists_url":"https://api.github.com/users/refinery/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery/subscriptions","organizations_url":"https://api.github.com/users/refinery/orgs","repos_url":"https://api.github.com/users/refinery/repos","events_url":"https://api.github.com/users/refinery/events{/privacy}","received_events_url":"https://api.github.com/users/refinery/received_events","type":"Organization","site_admin":false},"repo":{"id":212862,"name":"refinerycms","full_name":"refinery/refinerycms","owner":{"login":"refinery","id":339098,"avatar_url":"https://avatars.githubusercontent.com/u/339098?v=3","gravatar_id":"","url":"https://api.github.com/users/refinery","html_url":"https://github.com/refinery","followers_url":"https://api.github.com/users/refinery/followers","following_url":"https://api.github.com/users/refinery/following{/other_user}","gists_url":"https://api.github.com/users/refinery/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery/subscriptions","organizations_url":"https://api.github.com/users/refinery/orgs","repos_url":"https://api.github.com/users/refinery/repos","events_url":"https://api.github.com/users/refinery/events{/privacy}","received_events_url":"https://api.github.com/users/refinery/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/refinery/refinerycms","description":"An extendable Ruby on Rails CMS that supports Rails 3.2 and 4.1","fork":false,"url":"https://api.github.com/repos/refinery/refinerycms","forks_url":"https://api.github.com/repos/refinery/refinerycms/forks","keys_url":"https://api.github.com/repos/refinery/refinerycms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/refinery/refinerycms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/refinery/refinerycms/teams","hooks_url":"https://api.github.com/repos/refinery/refinerycms/hooks","issue_events_url":"https://api.github.com/repos/refinery/refinerycms/issues/events{/number}","events_url":"https://api.github.com/repos/refinery/refinerycms/events","assignees_url":"https://api.github.com/repos/refinery/refinerycms/assignees{/user}","branches_url":"https://api.github.com/repos/refinery/refinerycms/branches{/branch}","tags_url":"https://api.github.com/repos/refinery/refinerycms/tags","blobs_url":"https://api.github.com/repos/refinery/refinerycms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/refinery/refinerycms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/refinery/refinerycms/git/refs{/sha}","trees_url":"https://api.github.com/repos/refinery/refinerycms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/refinery/refinerycms/statuses/{sha}","languages_url":"https://api.github.com/repos/refinery/refinerycms/languages","stargazers_url":"https://api.github.com/repos/refinery/refinerycms/stargazers","contributors_url":"https://api.github.com/repos/refinery/refinerycms/contributors","subscribers_url":"https://api.github.com/repos/refinery/refinerycms/subscribers","subscription_url":"https://api.github.com/repos/refinery/refinerycms/subscription","commits_url":"https://api.github.com/repos/refinery/refinerycms/commits{/sha}","git_commits_url":"https://api.github.com/repos/refinery/refinerycms/git/commits{/sha}","comments_url":"https://api.github.com/repos/refinery/refinerycms/comments{/number}","issue_comment_url":"https://api.github.com/repos/refinery/refinerycms/issues/comments/{number}","contents_url":"https://api.github.com/repos/refinery/refinerycms/contents/{+path}","compare_url":"https://api.github.com/repos/refinery/refinerycms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/refinery/refinerycms/merges","archive_url":"https://api.github.com/repos/refinery/refinerycms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/refinery/refinerycms/downloads","issues_url":"https://api.github.com/repos/refinery/refinerycms/issues{/number}","pulls_url":"https://api.github.com/repos/refinery/refinerycms/pulls{/number}","milestones_url":"https://api.github.com/repos/refinery/refinerycms/milestones{/number}","notifications_url":"https://api.github.com/repos/refinery/refinerycms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/refinery/refinerycms/labels{/name}","releases_url":"https://api.github.com/repos/refinery/refinerycms/releases{/id}","created_at":"2009-05-28T20:13:21Z","updated_at":"2015-02-17T00:49:34Z","pushed_at":"2015-02-17T04:05:39Z","git_url":"git://github.com/refinery/refinerycms.git","ssh_url":"git@github.com:refinery/refinerycms.git","clone_url":"https://github.com/refinery/refinerycms.git","svn_url":"https://github.com/refinery/refinerycms","homepage":"http://refinerycms.com/guides/","size":44552,"stargazers_count":3072,"watchers_count":3072,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":1171,"mirror_url":null,"open_issues_count":40,"forks":1171,"open_issues":40,"watchers":3072,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/refinery/refinerycms/pulls/2894"},"html":{"href":"https://github.com/refinery/refinerycms/pull/2894"},"issue":{"href":"https://api.github.com/repos/refinery/refinerycms/issues/2894"},"comments":{"href":"https://api.github.com/repos/refinery/refinerycms/issues/2894/comments"},"review_comments":{"href":"https://api.github.com/repos/refinery/refinerycms/pulls/2894/comments"},"review_comment":{"href":"https://api.github.com/repos/refinery/refinerycms/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/refinery/refinerycms/pulls/2894/commits"},"statuses":{"href":"https://api.github.com/repos/refinery/refinerycms/statuses/c8518c625e829130040f1173e7bac767974aaf0d"}}}}