{"action":"created","comment":{"url":"https://api.github.com/repos/justCxx/ruby_internship/pulls/comments/39967750","id":39967750,"diff_hunk":"@@ -0,0 +1,149 @@\n+# Use this setup block to configure all options available in SimpleForm.\n+SimpleForm.setup do |config|\n+  config.error_notification_class = 'alert alert-danger'\n+  config.button_class = 'btn btn-default'\n+  config.boolean_label_class = nil\n+\n+  config.wrappers :vertical_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.use :placeholder\n+    b.optional :maxlength\n+    b.optional :pattern\n+    b.optional :min_max\n+    b.optional :readonly\n+    b.use :label, class: 'control-label'\n+\n+    b.use :input, class: 'form-control'\n+    b.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+    b.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+  end\n+\n+  config.wrappers :vertical_file_input, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.use :placeholder\n+    b.optional :maxlength\n+    b.optional :readonly\n+    b.use :label, class: 'control-label'\n+\n+    b.use :input\n+    b.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+    b.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+  end\n+\n+  config.wrappers :vertical_boolean, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.optional :readonly\n+\n+    b.wrapper tag: 'div', class: 'checkbox' do |ba|\n+      ba.use :label_input\n+    end\n+\n+    b.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+    b.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+  end\n+\n+  config.wrappers :vertical_radio_and_checkboxes, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.optional :readonly\n+    b.use :label, class: 'control-label'\n+    b.use :input\n+    b.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+    b.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+  end\n+\n+  config.wrappers :horizontal_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.use :placeholder\n+    b.optional :maxlength\n+    b.optional :pattern\n+    b.optional :min_max\n+    b.optional :readonly\n+    b.use :label, class: 'col-sm-3 control-label'\n+\n+    b.wrapper tag: 'div', class: 'col-sm-9' do |ba|\n+      ba.use :input, class: 'form-control'\n+      ba.use :error, wrap_with: { tag: 'span', class: 'help-block' }\n+      ba.use :hint,  wrap_with: { tag: 'p', class: 'help-block' }\n+    end\n+  end\n+\n+  config.wrappers :horizontal_file_input, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|\n+    b.use :html5\n+    b.use :placeholder\n+    b.optional :maxlength\n+    b.optional :readonly\n+    b.use :label, class: 'col-sm-3 control-label'","path":"config/initializers/simple_form_bootstrap.rb","position":75,"original_position":75,"commit_id":"e531ee5243256d9d43f9bba9f54bd136d8fd62c7","original_commit_id":"e531ee5243256d9d43f9bba9f54bd136d8fd62c7","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-09-21T13:09:15Z","updated_at":"2015-09-21T13:09:15Z","html_url":"https://github.com/justCxx/ruby_internship/pull/1#discussion_r39967750","pull_request_url":"https://api.github.com/repos/justCxx/ruby_internship/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/justCxx/ruby_internship/pulls/comments/39967750"},"html":{"href":"https://github.com/justCxx/ruby_internship/pull/1#discussion_r39967750"},"pull_request":{"href":"https://api.github.com/repos/justCxx/ruby_internship/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/justCxx/ruby_internship/pulls/1","id":45500245,"html_url":"https://github.com/justCxx/ruby_internship/pull/1","diff_url":"https://github.com/justCxx/ruby_internship/pull/1.diff","patch_url":"https://github.com/justCxx/ruby_internship/pull/1.patch","issue_url":"https://api.github.com/repos/justCxx/ruby_internship/issues/1","number":1,"state":"open","locked":false,"title":"Add task 1","user":{"login":"justCxx","id":6506296,"avatar_url":"https://avatars.githubusercontent.com/u/6506296?v=3","gravatar_id":"","url":"https://api.github.com/users/justCxx","html_url":"https://github.com/justCxx","followers_url":"https://api.github.com/users/justCxx/followers","following_url":"https://api.github.com/users/justCxx/following{/other_user}","gists_url":"https://api.github.com/users/justCxx/gists{/gist_id}","starred_url":"https://api.github.com/users/justCxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justCxx/subscriptions","organizations_url":"https://api.github.com/users/justCxx/orgs","repos_url":"https://api.github.com/users/justCxx/repos","events_url":"https://api.github.com/users/justCxx/events{/privacy}","received_events_url":"https://api.github.com/users/justCxx/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-20T17:25:16Z","updated_at":"2015-09-21T13:09:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37b0cc320ae0664a0997fe589f354d8b9682770d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/justCxx/ruby_internship/pulls/1/commits","review_comments_url":"https://api.github.com/repos/justCxx/ruby_internship/pulls/1/comments","review_comment_url":"https://api.github.com/repos/justCxx/ruby_internship/pulls/comments{/number}","comments_url":"https://api.github.com/repos/justCxx/ruby_internship/issues/1/comments","statuses_url":"https://api.github.com/repos/justCxx/ruby_internship/statuses/e531ee5243256d9d43f9bba9f54bd136d8fd62c7","head":{"label":"justCxx:develop","ref":"develop","sha":"e531ee5243256d9d43f9bba9f54bd136d8fd62c7","user":{"login":"justCxx","id":6506296,"avatar_url":"https://avatars.githubusercontent.com/u/6506296?v=3","gravatar_id":"","url":"https://api.github.com/users/justCxx","html_url":"https://github.com/justCxx","followers_url":"https://api.github.com/users/justCxx/followers","following_url":"https://api.github.com/users/justCxx/following{/other_user}","gists_url":"https://api.github.com/users/justCxx/gists{/gist_id}","starred_url":"https://api.github.com/users/justCxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justCxx/subscriptions","organizations_url":"https://api.github.com/users/justCxx/orgs","repos_url":"https://api.github.com/users/justCxx/repos","events_url":"https://api.github.com/users/justCxx/events{/privacy}","received_events_url":"https://api.github.com/users/justCxx/received_events","type":"User","site_admin":false},"repo":{"id":42749210,"name":"ruby_internship","full_name":"justCxx/ruby_internship","owner":{"login":"justCxx","id":6506296,"avatar_url":"https://avatars.githubusercontent.com/u/6506296?v=3","gravatar_id":"","url":"https://api.github.com/users/justCxx","html_url":"https://github.com/justCxx","followers_url":"https://api.github.com/users/justCxx/followers","following_url":"https://api.github.com/users/justCxx/following{/other_user}","gists_url":"https://api.github.com/users/justCxx/gists{/gist_id}","starred_url":"https://api.github.com/users/justCxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justCxx/subscriptions","organizations_url":"https://api.github.com/users/justCxx/orgs","repos_url":"https://api.github.com/users/justCxx/repos","events_url":"https://api.github.com/users/justCxx/events{/privacy}","received_events_url":"https://api.github.com/users/justCxx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/justCxx/ruby_internship","description":"","fork":false,"url":"https://api.github.com/repos/justCxx/ruby_internship","forks_url":"https://api.github.com/repos/justCxx/ruby_internship/forks","keys_url":"https://api.github.com/repos/justCxx/ruby_internship/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justCxx/ruby_internship/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justCxx/ruby_internship/teams","hooks_url":"https://api.github.com/repos/justCxx/ruby_internship/hooks","issue_events_url":"https://api.github.com/repos/justCxx/ruby_internship/issues/events{/number}","events_url":"https://api.github.com/repos/justCxx/ruby_internship/events","assignees_url":"https://api.github.com/repos/justCxx/ruby_internship/assignees{/user}","branches_url":"https://api.github.com/repos/justCxx/ruby_internship/branches{/branch}","tags_url":"https://api.github.com/repos/justCxx/ruby_internship/tags","blobs_url":"https://api.github.com/repos/justCxx/ruby_internship/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justCxx/ruby_internship/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justCxx/ruby_internship/git/refs{/sha}","trees_url":"https://api.github.com/repos/justCxx/ruby_internship/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justCxx/ruby_internship/statuses/{sha}","languages_url":"https://api.github.com/repos/justCxx/ruby_internship/languages","stargazers_url":"https://api.github.com/repos/justCxx/ruby_internship/stargazers","contributors_url":"https://api.github.com/repos/justCxx/ruby_internship/contributors","subscribers_url":"https://api.github.com/repos/justCxx/ruby_internship/subscribers","subscription_url":"https://api.github.com/repos/justCxx/ruby_internship/subscription","commits_url":"https://api.github.com/repos/justCxx/ruby_internship/commits{/sha}","git_commits_url":"https://api.github.com/repos/justCxx/ruby_internship/git/commits{/sha}","comments_url":"https://api.github.com/repos/justCxx/ruby_internship/comments{/number}","issue_comment_url":"https://api.github.com/repos/justCxx/ruby_internship/issues/comments{/number}","contents_url":"https://api.github.com/repos/justCxx/ruby_internship/contents/{+path}","compare_url":"https://api.github.com/repos/justCxx/ruby_internship/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justCxx/ruby_internship/merges","archive_url":"https://api.github.com/repos/justCxx/ruby_internship/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justCxx/ruby_internship/downloads","issues_url":"https://api.github.com/repos/justCxx/ruby_internship/issues{/number}","pulls_url":"https://api.github.com/repos/justCxx/ruby_internship/pulls{/number}","milestones_url":"https://api.github.com/repos/justCxx/ruby_internship/milestones{/number}","notifications_url":"https://api.github.com/repos/justCxx/ruby_internship/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justCxx/ruby_internship/labels{/name}","releases_url":"https://api.github.com/repos/justCxx/ruby_internship/releases{/id}","created_at":"2015-09-18T22:06:43Z","updated_at":"2015-09-18T22:07:01Z","pushed_at":"2015-09-21T13:09:08Z","git_url":"git://github.com/justCxx/ruby_internship.git","ssh_url":"git@github.com:justCxx/ruby_internship.git","clone_url":"https://github.com/justCxx/ruby_internship.git","svn_url":"https://github.com/justCxx/ruby_internship","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"justCxx:master","ref":"master","sha":"d462e6392a1959a466119faa0a61386b2fec5828","user":{"login":"justCxx","id":6506296,"avatar_url":"https://avatars.githubusercontent.com/u/6506296?v=3","gravatar_id":"","url":"https://api.github.com/users/justCxx","html_url":"https://github.com/justCxx","followers_url":"https://api.github.com/users/justCxx/followers","following_url":"https://api.github.com/users/justCxx/following{/other_user}","gists_url":"https://api.github.com/users/justCxx/gists{/gist_id}","starred_url":"https://api.github.com/users/justCxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justCxx/subscriptions","organizations_url":"https://api.github.com/users/justCxx/orgs","repos_url":"https://api.github.com/users/justCxx/repos","events_url":"https://api.github.com/users/justCxx/events{/privacy}","received_events_url":"https://api.github.com/users/justCxx/received_events","type":"User","site_admin":false},"repo":{"id":42749210,"name":"ruby_internship","full_name":"justCxx/ruby_internship","owner":{"login":"justCxx","id":6506296,"avatar_url":"https://avatars.githubusercontent.com/u/6506296?v=3","gravatar_id":"","url":"https://api.github.com/users/justCxx","html_url":"https://github.com/justCxx","followers_url":"https://api.github.com/users/justCxx/followers","following_url":"https://api.github.com/users/justCxx/following{/other_user}","gists_url":"https://api.github.com/users/justCxx/gists{/gist_id}","starred_url":"https://api.github.com/users/justCxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justCxx/subscriptions","organizations_url":"https://api.github.com/users/justCxx/orgs","repos_url":"https://api.github.com/users/justCxx/repos","events_url":"https://api.github.com/users/justCxx/events{/privacy}","received_events_url":"https://api.github.com/users/justCxx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/justCxx/ruby_internship","description":"","fork":false,"url":"https://api.github.com/repos/justCxx/ruby_internship","forks_url":"https://api.github.com/repos/justCxx/ruby_internship/forks","keys_url":"https://api.github.com/repos/justCxx/ruby_internship/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justCxx/ruby_internship/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justCxx/ruby_internship/teams","hooks_url":"https://api.github.com/repos/justCxx/ruby_internship/hooks","issue_events_url":"https://api.github.com/repos/justCxx/ruby_internship/issues/events{/number}","events_url":"https://api.github.com/repos/justCxx/ruby_internship/events","assignees_url":"https://api.github.com/repos/justCxx/ruby_internship/assignees{/user}","branches_url":"https://api.github.com/repos/justCxx/ruby_internship/branches{/branch}","tags_url":"https://api.github.com/repos/justCxx/ruby_internship/tags","blobs_url":"https://api.github.com/repos/justCxx/ruby_internship/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justCxx/ruby_internship/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justCxx/ruby_internship/git/refs{/sha}","trees_url":"https://api.github.com/repos/justCxx/ruby_internship/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justCxx/ruby_internship/statuses/{sha}","languages_url":"https://api.github.com/repos/justCxx/ruby_internship/languages","stargazers_url":"https://api.github.com/repos/justCxx/ruby_internship/stargazers","contributors_url":"https://api.github.com/repos/justCxx/ruby_internship/contributors","subscribers_url":"https://api.github.com/repos/justCxx/ruby_internship/subscribers","subscription_url":"https://api.github.com/repos/justCxx/ruby_internship/subscription","commits_url":"https://api.github.com/repos/justCxx/ruby_internship/commits{/sha}","git_commits_url":"https://api.github.com/repos/justCxx/ruby_internship/git/commits{/sha}","comments_url":"https://api.github.com/repos/justCxx/ruby_internship/comments{/number}","issue_comment_url":"https://api.github.com/repos/justCxx/ruby_internship/issues/comments{/number}","contents_url":"https://api.github.com/repos/justCxx/ruby_internship/contents/{+path}","compare_url":"https://api.github.com/repos/justCxx/ruby_internship/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justCxx/ruby_internship/merges","archive_url":"https://api.github.com/repos/justCxx/ruby_internship/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justCxx/ruby_internship/downloads","issues_url":"https://api.github.com/repos/justCxx/ruby_internship/issues{/number}","pulls_url":"https://api.github.com/repos/justCxx/ruby_internship/pulls{/number}","milestones_url":"https://api.github.com/repos/justCxx/ruby_internship/milestones{/number}","notifications_url":"https://api.github.com/repos/justCxx/ruby_internship/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justCxx/ruby_internship/labels{/name}","releases_url":"https://api.github.com/repos/justCxx/ruby_internship/releases{/id}","created_at":"2015-09-18T22:06:43Z","updated_at":"2015-09-18T22:07:01Z","pushed_at":"2015-09-21T13:09:08Z","git_url":"git://github.com/justCxx/ruby_internship.git","ssh_url":"git@github.com:justCxx/ruby_internship.git","clone_url":"https://github.com/justCxx/ruby_internship.git","svn_url":"https://github.com/justCxx/ruby_internship","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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/justCxx/ruby_internship/pulls/1"},"html":{"href":"https://github.com/justCxx/ruby_internship/pull/1"},"issue":{"href":"https://api.github.com/repos/justCxx/ruby_internship/issues/1"},"comments":{"href":"https://api.github.com/repos/justCxx/ruby_internship/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/justCxx/ruby_internship/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/justCxx/ruby_internship/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/justCxx/ruby_internship/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/justCxx/ruby_internship/statuses/e531ee5243256d9d43f9bba9f54bd136d8fd62c7"}}}}