{"action":"created","comment":{"url":"https://api.github.com/repos/Omlala97/MyL_repo/pulls/comments/62336482","id":62336482,"diff_hunk":"@@ -0,0 +1,121 @@\n+`import DS from 'ember-data'`\n+`import EmberValidations from 'ember-validations'`\n+`import REGEXS from '../utils/regexs'`\n+\n+Provider = DS.Model.extend EmberValidations,\n+  created_at: DS.attr('isodate')\n+  credits: DS.attr('number')\n+  state: DS.attr('string')\n+  service_category_id: DS.attr ('number')\n+  service_category: DS.belongsTo('service-category', { async: false})\n+  business_type: DS.attr ('string')\n+  business_type_name: DS.attr('string')\n+  description: DS.attr('string')\n+  services: DS.hasMany('service', { async: false })\n+  service_id: DS.attr('number')\n+  url: DS.attr('string')\n+  phone: DS.attr('string')\n+  company_number: DS.attr('string')\n+  user: DS.belongsTo('user', { async: false })\n+  approved_by_user: DS.belongsTo('user', { async: false })\n+  facebook_url: DS.attr('string')\n+  fivehundredpx_url: DS.attr('string')\n+  flickr_url: DS.attr('string')\n+  linkedin_url: DS.attr('string')\n+  twitter_url: DS.attr('string')\n+  google_plus_url: DS.attr('string')\n+  qualifications: DS.attr('array')\n+  memberships: DS.attr('array')\n+  certifications: DS.attr('array')\n+  coverages: DS.attr('array')\n+  notes: DS.attr('array')\n+  name: DS.attr('string')\n+  num_employees: DS.attr('number')\n+  founding_year: DS.attr('number', { defaultValue: null })\n+  base_price: DS.attr('number')\n+  travel_distance: DS.attr('number')\n+  travel_postcode: DS.attr('string')\n+  logo: DS.attr('string')\n+  title: DS.attr('string')\n+  signup_request_id: DS.attr('number')\n+  signup_request: DS.belongsTo('request', { async: false })\n+  user_state: DS.belongsTo('user-state')\n+  provider_stats: DS.attr()\n+  lifecycle: DS.attr()\n+  logo_cloudinary_url: (->\n+    logo = @get('logo')\n+    if logo? and logo.length\n+      cl = cloudinary.Cloudinary.new()\n+      cl.init()\n+      cl.url(logo)\n+    else\n+      ''\n+  ).property('logo')\n+\n+  travel_preference_remote: DS.attr('boolean', { defaultValue: false })\n+  travel_preference_customer_travels: DS.attr('boolean', { defaultValue: false })\n+  travel_preference_provider_travels: DS.attr('boolean', { defaultValue: false })\n+  address_attributes: DS.belongsTo('address', { async: false })\n+  receive_sms: DS.attr('boolean')\n+  full_address: DS.attr('string')\n+\n+  # Property verifiers\n+  phone_approved: DS.attr('boolean', { defaultValue: false })\n+  facebook_url_approved: DS.attr('boolean', { defaultValue: false })\n+  fivehundredpx_url_approved: DS.attr('boolean', { defaultValue: false })\n+  flickr_url_approved: DS.attr('boolean', { defaultValue: false })\n+  linkedin_url_approved: DS.attr('boolean', { defaultValue: false })\n+  twitter_url_approved: DS.attr('boolean', { defaultValue: false })\n+  google_plus_url_approved: DS.attr('boolean', { defaultValue: false })\n+\n+  selected: false\n+\n+  # Validations\n+  travelPreferencesValid: (->\n+    !@get('travel_preference_provider_travels') and\n+    !@get('travel_preference_remote') and\n+    !@get('travel_preference_customer_travels')\n+  ).property('travel_preference_remote',\n+  'travel_preference_customer_travels',\n+  'travel_preference_provider_travels')\n+  validateTravelPostcode: Ember.computed 'travel_preference_provider_travels', 'travel_preference_customer_travels', ->\n+    @get('travel_preference_provider_travels') or @get('travel_preference_customer_travels')","path":"app/models/provider.coffee","position":82,"original_position":82,"commit_id":"bf06b973ee448deff858946e40ab6b03fc57ade2","original_commit_id":"bf06b973ee448deff858946e40ab6b03fc57ade2","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line exceeds maximum allowed length","created_at":"2016-05-06T14:26:44Z","updated_at":"2016-05-06T14:26:44Z","html_url":"https://github.com/Omlala97/MyL_repo/pull/5#discussion_r62336482","pull_request_url":"https://api.github.com/repos/Omlala97/MyL_repo/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/Omlala97/MyL_repo/pulls/comments/62336482"},"html":{"href":"https://github.com/Omlala97/MyL_repo/pull/5#discussion_r62336482"},"pull_request":{"href":"https://api.github.com/repos/Omlala97/MyL_repo/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/Omlala97/MyL_repo/pulls/5","id":69070170,"html_url":"https://github.com/Omlala97/MyL_repo/pull/5","diff_url":"https://github.com/Omlala97/MyL_repo/pull/5.diff","patch_url":"https://github.com/Omlala97/MyL_repo/pull/5.patch","issue_url":"https://api.github.com/repos/Omlala97/MyL_repo/issues/5","number":5,"state":"closed","locked":false,"title":"test01","user":{"login":"Omlala97","id":10803346,"avatar_url":"https://avatars.githubusercontent.com/u/10803346?v=3","gravatar_id":"","url":"https://api.github.com/users/Omlala97","html_url":"https://github.com/Omlala97","followers_url":"https://api.github.com/users/Omlala97/followers","following_url":"https://api.github.com/users/Omlala97/following{/other_user}","gists_url":"https://api.github.com/users/Omlala97/gists{/gist_id}","starred_url":"https://api.github.com/users/Omlala97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Omlala97/subscriptions","organizations_url":"https://api.github.com/users/Omlala97/orgs","repos_url":"https://api.github.com/users/Omlala97/repos","events_url":"https://api.github.com/users/Omlala97/events{/privacy}","received_events_url":"https://api.github.com/users/Omlala97/received_events","type":"User","site_admin":false},"body":"add index, delete comment in yml file","created_at":"2016-05-05T21:03:42Z","updated_at":"2016-05-06T14:26:45Z","closed_at":"2016-05-06T14:24:29Z","merged_at":null,"merge_commit_sha":"8b239d71f00fb4cb185e3dac3696a21092cbc7ce","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Omlala97/MyL_repo/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Omlala97/MyL_repo/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Omlala97/MyL_repo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Omlala97/MyL_repo/issues/5/comments","statuses_url":"https://api.github.com/repos/Omlala97/MyL_repo/statuses/bf06b973ee448deff858946e40ab6b03fc57ade2","head":{"label":"Omlala97:test","ref":"test","sha":"bf06b973ee448deff858946e40ab6b03fc57ade2","user":{"login":"Omlala97","id":10803346,"avatar_url":"https://avatars.githubusercontent.com/u/10803346?v=3","gravatar_id":"","url":"https://api.github.com/users/Omlala97","html_url":"https://github.com/Omlala97","followers_url":"https://api.github.com/users/Omlala97/followers","following_url":"https://api.github.com/users/Omlala97/following{/other_user}","gists_url":"https://api.github.com/users/Omlala97/gists{/gist_id}","starred_url":"https://api.github.com/users/Omlala97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Omlala97/subscriptions","organizations_url":"https://api.github.com/users/Omlala97/orgs","repos_url":"https://api.github.com/users/Omlala97/repos","events_url":"https://api.github.com/users/Omlala97/events{/privacy}","received_events_url":"https://api.github.com/users/Omlala97/received_events","type":"User","site_admin":false},"repo":{"id":54335673,"name":"MyL_repo","full_name":"Omlala97/MyL_repo","owner":{"login":"Omlala97","id":10803346,"avatar_url":"https://avatars.githubusercontent.com/u/10803346?v=3","gravatar_id":"","url":"https://api.github.com/users/Omlala97","html_url":"https://github.com/Omlala97","followers_url":"https://api.github.com/users/Omlala97/followers","following_url":"https://api.github.com/users/Omlala97/following{/other_user}","gists_url":"https://api.github.com/users/Omlala97/gists{/gist_id}","starred_url":"https://api.github.com/users/Omlala97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Omlala97/subscriptions","organizations_url":"https://api.github.com/users/Omlala97/orgs","repos_url":"https://api.github.com/users/Omlala97/repos","events_url":"https://api.github.com/users/Omlala97/events{/privacy}","received_events_url":"https://api.github.com/users/Omlala97/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Omlala97/MyL_repo","description":"","fork":false,"url":"https://api.github.com/repos/Omlala97/MyL_repo","forks_url":"https://api.github.com/repos/Omlala97/MyL_repo/forks","keys_url":"https://api.github.com/repos/Omlala97/MyL_repo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Omlala97/MyL_repo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Omlala97/MyL_repo/teams","hooks_url":"https://api.github.com/repos/Omlala97/MyL_repo/hooks","issue_events_url":"https://api.github.com/repos/Omlala97/MyL_repo/issues/events{/number}","events_url":"https://api.github.com/repos/Omlala97/MyL_repo/events","assignees_url":"https://api.github.com/repos/Omlala97/MyL_repo/assignees{/user}","branches_url":"https://api.github.com/repos/Omlala97/MyL_repo/branches{/branch}","tags_url":"https://api.github.com/repos/Omlala97/MyL_repo/tags","blobs_url":"https://api.github.com/repos/Omlala97/MyL_repo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Omlala97/MyL_repo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Omlala97/MyL_repo/git/refs{/sha}","trees_url":"https://api.github.com/repos/Omlala97/MyL_repo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Omlala97/MyL_repo/statuses/{sha}","languages_url":"https://api.github.com/repos/Omlala97/MyL_repo/languages","stargazers_url":"https://api.github.com/repos/Omlala97/MyL_repo/stargazers","contributors_url":"https://api.github.com/repos/Omlala97/MyL_repo/contributors","subscribers_url":"https://api.github.com/repos/Omlala97/MyL_repo/subscribers","subscription_url":"https://api.github.com/repos/Omlala97/MyL_repo/subscription","commits_url":"https://api.github.com/repos/Omlala97/MyL_repo/commits{/sha}","git_commits_url":"https://api.github.com/repos/Omlala97/MyL_repo/git/commits{/sha}","comments_url":"https://api.github.com/repos/Omlala97/MyL_repo/comments{/number}","issue_comment_url":"https://api.github.com/repos/Omlala97/MyL_repo/issues/comments{/number}","contents_url":"https://api.github.com/repos/Omlala97/MyL_repo/contents/{+path}","compare_url":"https://api.github.com/repos/Omlala97/MyL_repo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Omlala97/MyL_repo/merges","archive_url":"https://api.github.com/repos/Omlala97/MyL_repo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Omlala97/MyL_repo/downloads","issues_url":"https://api.github.com/repos/Omlala97/MyL_repo/issues{/number}","pulls_url":"https://api.github.com/repos/Omlala97/MyL_repo/pulls{/number}","milestones_url":"https://api.github.com/repos/Omlala97/MyL_repo/milestones{/number}","notifications_url":"https://api.github.com/repos/Omlala97/MyL_repo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Omlala97/MyL_repo/labels{/name}","releases_url":"https://api.github.com/repos/Omlala97/MyL_repo/releases{/id}","deployments_url":"https://api.github.com/repos/Omlala97/MyL_repo/deployments","created_at":"2016-03-20T19:18:15Z","updated_at":"2016-05-05T19:46:00Z","pushed_at":"2016-05-06T14:24:08Z","git_url":"git://github.com/Omlala97/MyL_repo.git","ssh_url":"git@github.com:Omlala97/MyL_repo.git","clone_url":"https://github.com/Omlala97/MyL_repo.git","svn_url":"https://github.com/Omlala97/MyL_repo","homepage":null,"size":56703,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Omlala97:master","ref":"master","sha":"cf89e8b3dae919cf722cdf4b83fe05092ed47bc9","user":{"login":"Omlala97","id":10803346,"avatar_url":"https://avatars.githubusercontent.com/u/10803346?v=3","gravatar_id":"","url":"https://api.github.com/users/Omlala97","html_url":"https://github.com/Omlala97","followers_url":"https://api.github.com/users/Omlala97/followers","following_url":"https://api.github.com/users/Omlala97/following{/other_user}","gists_url":"https://api.github.com/users/Omlala97/gists{/gist_id}","starred_url":"https://api.github.com/users/Omlala97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Omlala97/subscriptions","organizations_url":"https://api.github.com/users/Omlala97/orgs","repos_url":"https://api.github.com/users/Omlala97/repos","events_url":"https://api.github.com/users/Omlala97/events{/privacy}","received_events_url":"https://api.github.com/users/Omlala97/received_events","type":"User","site_admin":false},"repo":{"id":54335673,"name":"MyL_repo","full_name":"Omlala97/MyL_repo","owner":{"login":"Omlala97","id":10803346,"avatar_url":"https://avatars.githubusercontent.com/u/10803346?v=3","gravatar_id":"","url":"https://api.github.com/users/Omlala97","html_url":"https://github.com/Omlala97","followers_url":"https://api.github.com/users/Omlala97/followers","following_url":"https://api.github.com/users/Omlala97/following{/other_user}","gists_url":"https://api.github.com/users/Omlala97/gists{/gist_id}","starred_url":"https://api.github.com/users/Omlala97/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Omlala97/subscriptions","organizations_url":"https://api.github.com/users/Omlala97/orgs","repos_url":"https://api.github.com/users/Omlala97/repos","events_url":"https://api.github.com/users/Omlala97/events{/privacy}","received_events_url":"https://api.github.com/users/Omlala97/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Omlala97/MyL_repo","description":"","fork":false,"url":"https://api.github.com/repos/Omlala97/MyL_repo","forks_url":"https://api.github.com/repos/Omlala97/MyL_repo/forks","keys_url":"https://api.github.com/repos/Omlala97/MyL_repo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Omlala97/MyL_repo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Omlala97/MyL_repo/teams","hooks_url":"https://api.github.com/repos/Omlala97/MyL_repo/hooks","issue_events_url":"https://api.github.com/repos/Omlala97/MyL_repo/issues/events{/number}","events_url":"https://api.github.com/repos/Omlala97/MyL_repo/events","assignees_url":"https://api.github.com/repos/Omlala97/MyL_repo/assignees{/user}","branches_url":"https://api.github.com/repos/Omlala97/MyL_repo/branches{/branch}","tags_url":"https://api.github.com/repos/Omlala97/MyL_repo/tags","blobs_url":"https://api.github.com/repos/Omlala97/MyL_repo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Omlala97/MyL_repo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Omlala97/MyL_repo/git/refs{/sha}","trees_url":"https://api.github.com/repos/Omlala97/MyL_repo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Omlala97/MyL_repo/statuses/{sha}","languages_url":"https://api.github.com/repos/Omlala97/MyL_repo/languages","stargazers_url":"https://api.github.com/repos/Omlala97/MyL_repo/stargazers","contributors_url":"https://api.github.com/repos/Omlala97/MyL_repo/contributors","subscribers_url":"https://api.github.com/repos/Omlala97/MyL_repo/subscribers","subscription_url":"https://api.github.com/repos/Omlala97/MyL_repo/subscription","commits_url":"https://api.github.com/repos/Omlala97/MyL_repo/commits{/sha}","git_commits_url":"https://api.github.com/repos/Omlala97/MyL_repo/git/commits{/sha}","comments_url":"https://api.github.com/repos/Omlala97/MyL_repo/comments{/number}","issue_comment_url":"https://api.github.com/repos/Omlala97/MyL_repo/issues/comments{/number}","contents_url":"https://api.github.com/repos/Omlala97/MyL_repo/contents/{+path}","compare_url":"https://api.github.com/repos/Omlala97/MyL_repo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Omlala97/MyL_repo/merges","archive_url":"https://api.github.com/repos/Omlala97/MyL_repo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Omlala97/MyL_repo/downloads","issues_url":"https://api.github.com/repos/Omlala97/MyL_repo/issues{/number}","pulls_url":"https://api.github.com/repos/Omlala97/MyL_repo/pulls{/number}","milestones_url":"https://api.github.com/repos/Omlala97/MyL_repo/milestones{/number}","notifications_url":"https://api.github.com/repos/Omlala97/MyL_repo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Omlala97/MyL_repo/labels{/name}","releases_url":"https://api.github.com/repos/Omlala97/MyL_repo/releases{/id}","deployments_url":"https://api.github.com/repos/Omlala97/MyL_repo/deployments","created_at":"2016-03-20T19:18:15Z","updated_at":"2016-05-05T19:46:00Z","pushed_at":"2016-05-06T14:24:08Z","git_url":"git://github.com/Omlala97/MyL_repo.git","ssh_url":"git@github.com:Omlala97/MyL_repo.git","clone_url":"https://github.com/Omlala97/MyL_repo.git","svn_url":"https://github.com/Omlala97/MyL_repo","homepage":null,"size":56703,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Omlala97/MyL_repo/pulls/5"},"html":{"href":"https://github.com/Omlala97/MyL_repo/pull/5"},"issue":{"href":"https://api.github.com/repos/Omlala97/MyL_repo/issues/5"},"comments":{"href":"https://api.github.com/repos/Omlala97/MyL_repo/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Omlala97/MyL_repo/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Omlala97/MyL_repo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Omlala97/MyL_repo/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Omlala97/MyL_repo/statuses/bf06b973ee448deff858946e40ab6b03fc57ade2"}}}}