{"action":"created","comment":{"url":"https://api.github.com/repos/nickcluc/office.ly/pulls/comments/22429459","id":22429459,"diff_hunk":"@@ -0,0 +1,166 @@\n+# Use this setup block to configure all options available in SimpleForm.\n+SimpleForm.setup do |config|\n+  # Wrappers are used by the form builder to generate a\n+  # complete input. You can remove any component from the\n+  # wrapper, change the order or even add your own to the\n+  # stack. The options given below are used to wrap the\n+  # whole input.\n+  config.wrappers :default, class: :input,\n+    hint_class: :field_with_hint, error_class: :field_with_errors do |b|\n+    ## Extensions enabled by default\n+    # Any of these extensions can be disabled for a\n+    # given input by passing: `f.input EXTENSION_NAME => false`.\n+    # You can make any of these extensions optional by\n+    # renaming `b.use` to `b.optional`.\n+\n+    # Determines whether to use HTML5 (:email, :url, ...)\n+    # and required attributes\n+    b.use :html5\n+\n+    # Calculates placeholders automatically from I18n\n+    # You can also pass a string as f.input placeholder: \"Placeholder\"\n+    b.use :placeholder\n+\n+    ## Optional extensions\n+    # They are disabled unless you pass `f.input EXTENSION_NAME => true`\n+    # to the input. If so, they will retrieve the values from the model\n+    # if any exists. If you want to enable any of those\n+    # extensions by default, you can change `b.optional` to `b.use`.\n+\n+    # Calculates maxlength from length validations for string inputs\n+    b.optional :maxlength\n+\n+    # Calculates pattern from format validations for string inputs\n+    b.optional :pattern\n+\n+    # Calculates min and max from length validations for numeric inputs\n+    b.optional :min_max\n+\n+    # Calculates readonly automatically from readonly attributes\n+    b.optional :readonly\n+\n+    ## Inputs\n+    b.use :label_input\n+    b.use :hint,  wrap_with: { tag: :span, class: :hint }\n+    b.use :error, wrap_with: { tag: :span, class: :error }\n+\n+    ## full_messages_for\n+    # If you want to display the full error message for the attribute, you can\n+    # use the component :full_error, like:\n+    #\n+    # b.use :full_error, wrap_with: { tag: :span, class: :error }\n+  end\n+\n+  # The default wrapper to be used by the FormBuilder.\n+  config.default_wrapper = :default\n+\n+  # Define the way to render check boxes / radio buttons with labels.\n+  # Defaults to :nested for bootstrap config.\n+  #   inline: input + label\n+  #   nested: label > input\n+  config.boolean_style = :nested\n+\n+  # Default class for buttons\n+  config.button_class = 'btn'\n+\n+  # Method used to tidy up errors. Specify any Rails Array method.\n+  # :first lists the first message for each field.\n+  # Use :to_sentence to list all errors for each field.\n+  # config.error_method = :first\n+\n+  # Default tag used for error notification helper.\n+  config.error_notification_tag = :div\n+\n+  # CSS class to add for error notification helper.\n+  config.error_notification_class = 'error_notification'\n+\n+  # ID to add for error notification helper.\n+  # config.error_notification_id = nil\n+\n+  # Series of attempts to detect a default label method for collection.\n+  # config.collection_label_methods = [ :to_label, :name, :title, :to_s ]\n+\n+  # Series of attempts to detect a default value method for collection.\n+  # config.collection_value_methods = [ :id, :to_s ]\n+\n+  # You can wrap a collection of radio/check boxes in a pre-defined tag, defaulting to none.\n+  # config.collection_wrapper_tag = nil\n+\n+  # You can define the class to use on all collection wrappers. Defaulting to none.\n+  # config.collection_wrapper_class = nil\n+\n+  # You can wrap each item in a collection of radio/check boxes with a tag,\n+  # defaulting to :span. Please note that when using :boolean_style = :nested,\n+  # SimpleForm will force this option to be a label.\n+  # config.item_wrapper_tag = :span\n+\n+  # You can define a class to use in all item wrappers. Defaulting to none.\n+  # config.item_wrapper_class = nil\n+\n+  # How the label text should be generated altogether with the required text.\n+  # config.label_text = lambda { |label, required, explicit_label| \"#{required} #{label}\" }\n+\n+  # You can define the class to use on all labels. Default is nil.\n+  # config.label_class = nil\n+\n+  # You can define the default class to be used on forms. Can be overriden\n+  # with `html: { :class }`. Defaulting to none.\n+  # config.default_form_class = nil\n+\n+  # You can define which elements should obtain additional classes\n+  # config.generate_additional_classes_for = [:wrapper, :label, :input]\n+\n+  # Whether attributes are required by default (or not). Default is true.\n+  # config.required_by_default = true\n+\n+  # Tell browsers whether to use the native HTML5 validations (novalidate form option).","path":"config/initializers/simple_form.rb","position":116,"original_position":116,"commit_id":"47f5bfad41f1ae1c6d5e0e3fbe74d6c7e8911543","original_commit_id":"47f5bfad41f1ae1c6d5e0e3fbe74d6c7e8911543","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":"Line is too long. [87/80]","created_at":"2015-01-03T04:17:09Z","updated_at":"2015-01-03T04:17:09Z","html_url":"https://github.com/nickcluc/office.ly/pull/3#discussion_r22429459","pull_request_url":"https://api.github.com/repos/nickcluc/office.ly/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/nickcluc/office.ly/pulls/comments/22429459"},"html":{"href":"https://github.com/nickcluc/office.ly/pull/3#discussion_r22429459"},"pull_request":{"href":"https://api.github.com/repos/nickcluc/office.ly/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/nickcluc/office.ly/pulls/3","id":26779277,"html_url":"https://github.com/nickcluc/office.ly/pull/3","diff_url":"https://github.com/nickcluc/office.ly/pull/3.diff","patch_url":"https://github.com/nickcluc/office.ly/pull/3.patch","issue_url":"https://api.github.com/repos/nickcluc/office.ly/issues/3","number":3,"state":"open","locked":false,"title":"Convert simple form","user":{"login":"nickcluc","id":8691993,"avatar_url":"https://avatars.githubusercontent.com/u/8691993?v=3","gravatar_id":"","url":"https://api.github.com/users/nickcluc","html_url":"https://github.com/nickcluc","followers_url":"https://api.github.com/users/nickcluc/followers","following_url":"https://api.github.com/users/nickcluc/following{/other_user}","gists_url":"https://api.github.com/users/nickcluc/gists{/gist_id}","starred_url":"https://api.github.com/users/nickcluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickcluc/subscriptions","organizations_url":"https://api.github.com/users/nickcluc/orgs","repos_url":"https://api.github.com/users/nickcluc/repos","events_url":"https://api.github.com/users/nickcluc/events{/privacy}","received_events_url":"https://api.github.com/users/nickcluc/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-03T04:17:06Z","updated_at":"2015-01-03T04:17:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86d8dc8ed38436b7bce717fcf6c0c7325218846b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nickcluc/office.ly/pulls/3/commits","review_comments_url":"https://api.github.com/repos/nickcluc/office.ly/pulls/3/comments","review_comment_url":"https://api.github.com/repos/nickcluc/office.ly/pulls/comments/{number}","comments_url":"https://api.github.com/repos/nickcluc/office.ly/issues/3/comments","statuses_url":"https://api.github.com/repos/nickcluc/office.ly/statuses/47f5bfad41f1ae1c6d5e0e3fbe74d6c7e8911543","head":{"label":"nickcluc:convert_simple_form","ref":"convert_simple_form","sha":"47f5bfad41f1ae1c6d5e0e3fbe74d6c7e8911543","user":{"login":"nickcluc","id":8691993,"avatar_url":"https://avatars.githubusercontent.com/u/8691993?v=3","gravatar_id":"","url":"https://api.github.com/users/nickcluc","html_url":"https://github.com/nickcluc","followers_url":"https://api.github.com/users/nickcluc/followers","following_url":"https://api.github.com/users/nickcluc/following{/other_user}","gists_url":"https://api.github.com/users/nickcluc/gists{/gist_id}","starred_url":"https://api.github.com/users/nickcluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickcluc/subscriptions","organizations_url":"https://api.github.com/users/nickcluc/orgs","repos_url":"https://api.github.com/users/nickcluc/repos","events_url":"https://api.github.com/users/nickcluc/events{/privacy}","received_events_url":"https://api.github.com/users/nickcluc/received_events","type":"User","site_admin":false},"repo":{"id":28657050,"name":"office.ly","full_name":"nickcluc/office.ly","owner":{"login":"nickcluc","id":8691993,"avatar_url":"https://avatars.githubusercontent.com/u/8691993?v=3","gravatar_id":"","url":"https://api.github.com/users/nickcluc","html_url":"https://github.com/nickcluc","followers_url":"https://api.github.com/users/nickcluc/followers","following_url":"https://api.github.com/users/nickcluc/following{/other_user}","gists_url":"https://api.github.com/users/nickcluc/gists{/gist_id}","starred_url":"https://api.github.com/users/nickcluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickcluc/subscriptions","organizations_url":"https://api.github.com/users/nickcluc/orgs","repos_url":"https://api.github.com/users/nickcluc/repos","events_url":"https://api.github.com/users/nickcluc/events{/privacy}","received_events_url":"https://api.github.com/users/nickcluc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nickcluc/office.ly","description":"","fork":false,"url":"https://api.github.com/repos/nickcluc/office.ly","forks_url":"https://api.github.com/repos/nickcluc/office.ly/forks","keys_url":"https://api.github.com/repos/nickcluc/office.ly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickcluc/office.ly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickcluc/office.ly/teams","hooks_url":"https://api.github.com/repos/nickcluc/office.ly/hooks","issue_events_url":"https://api.github.com/repos/nickcluc/office.ly/issues/events{/number}","events_url":"https://api.github.com/repos/nickcluc/office.ly/events","assignees_url":"https://api.github.com/repos/nickcluc/office.ly/assignees{/user}","branches_url":"https://api.github.com/repos/nickcluc/office.ly/branches{/branch}","tags_url":"https://api.github.com/repos/nickcluc/office.ly/tags","blobs_url":"https://api.github.com/repos/nickcluc/office.ly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickcluc/office.ly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickcluc/office.ly/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickcluc/office.ly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickcluc/office.ly/statuses/{sha}","languages_url":"https://api.github.com/repos/nickcluc/office.ly/languages","stargazers_url":"https://api.github.com/repos/nickcluc/office.ly/stargazers","contributors_url":"https://api.github.com/repos/nickcluc/office.ly/contributors","subscribers_url":"https://api.github.com/repos/nickcluc/office.ly/subscribers","subscription_url":"https://api.github.com/repos/nickcluc/office.ly/subscription","commits_url":"https://api.github.com/repos/nickcluc/office.ly/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickcluc/office.ly/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickcluc/office.ly/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickcluc/office.ly/issues/comments/{number}","contents_url":"https://api.github.com/repos/nickcluc/office.ly/contents/{+path}","compare_url":"https://api.github.com/repos/nickcluc/office.ly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickcluc/office.ly/merges","archive_url":"https://api.github.com/repos/nickcluc/office.ly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickcluc/office.ly/downloads","issues_url":"https://api.github.com/repos/nickcluc/office.ly/issues{/number}","pulls_url":"https://api.github.com/repos/nickcluc/office.ly/pulls{/number}","milestones_url":"https://api.github.com/repos/nickcluc/office.ly/milestones{/number}","notifications_url":"https://api.github.com/repos/nickcluc/office.ly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickcluc/office.ly/labels{/name}","releases_url":"https://api.github.com/repos/nickcluc/office.ly/releases{/id}","created_at":"2014-12-31T05:31:01Z","updated_at":"2015-01-03T03:49:21Z","pushed_at":"2015-01-03T04:16:50Z","git_url":"git://github.com/nickcluc/office.ly.git","ssh_url":"git@github.com:nickcluc/office.ly.git","clone_url":"https://github.com/nickcluc/office.ly.git","svn_url":"https://github.com/nickcluc/office.ly","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":"nickcluc:master","ref":"master","sha":"83f02f4ddd06b14575e8ab7dc48d2f6ca342318a","user":{"login":"nickcluc","id":8691993,"avatar_url":"https://avatars.githubusercontent.com/u/8691993?v=3","gravatar_id":"","url":"https://api.github.com/users/nickcluc","html_url":"https://github.com/nickcluc","followers_url":"https://api.github.com/users/nickcluc/followers","following_url":"https://api.github.com/users/nickcluc/following{/other_user}","gists_url":"https://api.github.com/users/nickcluc/gists{/gist_id}","starred_url":"https://api.github.com/users/nickcluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickcluc/subscriptions","organizations_url":"https://api.github.com/users/nickcluc/orgs","repos_url":"https://api.github.com/users/nickcluc/repos","events_url":"https://api.github.com/users/nickcluc/events{/privacy}","received_events_url":"https://api.github.com/users/nickcluc/received_events","type":"User","site_admin":false},"repo":{"id":28657050,"name":"office.ly","full_name":"nickcluc/office.ly","owner":{"login":"nickcluc","id":8691993,"avatar_url":"https://avatars.githubusercontent.com/u/8691993?v=3","gravatar_id":"","url":"https://api.github.com/users/nickcluc","html_url":"https://github.com/nickcluc","followers_url":"https://api.github.com/users/nickcluc/followers","following_url":"https://api.github.com/users/nickcluc/following{/other_user}","gists_url":"https://api.github.com/users/nickcluc/gists{/gist_id}","starred_url":"https://api.github.com/users/nickcluc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickcluc/subscriptions","organizations_url":"https://api.github.com/users/nickcluc/orgs","repos_url":"https://api.github.com/users/nickcluc/repos","events_url":"https://api.github.com/users/nickcluc/events{/privacy}","received_events_url":"https://api.github.com/users/nickcluc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nickcluc/office.ly","description":"","fork":false,"url":"https://api.github.com/repos/nickcluc/office.ly","forks_url":"https://api.github.com/repos/nickcluc/office.ly/forks","keys_url":"https://api.github.com/repos/nickcluc/office.ly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickcluc/office.ly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickcluc/office.ly/teams","hooks_url":"https://api.github.com/repos/nickcluc/office.ly/hooks","issue_events_url":"https://api.github.com/repos/nickcluc/office.ly/issues/events{/number}","events_url":"https://api.github.com/repos/nickcluc/office.ly/events","assignees_url":"https://api.github.com/repos/nickcluc/office.ly/assignees{/user}","branches_url":"https://api.github.com/repos/nickcluc/office.ly/branches{/branch}","tags_url":"https://api.github.com/repos/nickcluc/office.ly/tags","blobs_url":"https://api.github.com/repos/nickcluc/office.ly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickcluc/office.ly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickcluc/office.ly/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickcluc/office.ly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickcluc/office.ly/statuses/{sha}","languages_url":"https://api.github.com/repos/nickcluc/office.ly/languages","stargazers_url":"https://api.github.com/repos/nickcluc/office.ly/stargazers","contributors_url":"https://api.github.com/repos/nickcluc/office.ly/contributors","subscribers_url":"https://api.github.com/repos/nickcluc/office.ly/subscribers","subscription_url":"https://api.github.com/repos/nickcluc/office.ly/subscription","commits_url":"https://api.github.com/repos/nickcluc/office.ly/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickcluc/office.ly/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickcluc/office.ly/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickcluc/office.ly/issues/comments/{number}","contents_url":"https://api.github.com/repos/nickcluc/office.ly/contents/{+path}","compare_url":"https://api.github.com/repos/nickcluc/office.ly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickcluc/office.ly/merges","archive_url":"https://api.github.com/repos/nickcluc/office.ly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickcluc/office.ly/downloads","issues_url":"https://api.github.com/repos/nickcluc/office.ly/issues{/number}","pulls_url":"https://api.github.com/repos/nickcluc/office.ly/pulls{/number}","milestones_url":"https://api.github.com/repos/nickcluc/office.ly/milestones{/number}","notifications_url":"https://api.github.com/repos/nickcluc/office.ly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickcluc/office.ly/labels{/name}","releases_url":"https://api.github.com/repos/nickcluc/office.ly/releases{/id}","created_at":"2014-12-31T05:31:01Z","updated_at":"2015-01-03T03:49:21Z","pushed_at":"2015-01-03T04:16:50Z","git_url":"git://github.com/nickcluc/office.ly.git","ssh_url":"git@github.com:nickcluc/office.ly.git","clone_url":"https://github.com/nickcluc/office.ly.git","svn_url":"https://github.com/nickcluc/office.ly","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"CSS","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/nickcluc/office.ly/pulls/3"},"html":{"href":"https://github.com/nickcluc/office.ly/pull/3"},"issue":{"href":"https://api.github.com/repos/nickcluc/office.ly/issues/3"},"comments":{"href":"https://api.github.com/repos/nickcluc/office.ly/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/nickcluc/office.ly/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/nickcluc/office.ly/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/nickcluc/office.ly/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/nickcluc/office.ly/statuses/47f5bfad41f1ae1c6d5e0e3fbe74d6c7e8911543"}}}}