{"action":"created","comment":{"url":"https://api.github.com/repos/Parsimotion/producteca-syncer/pulls/comments/48375340","id":48375340,"diff_hunk":"@@ -0,0 +1,8 @@\n+app.factory \"entities\", (Auth, Producteca) ->\n+  Auth.getCurrentUser().$promise.then (user) ->\n+    Producteca.then (Producteca) ->","path":"client/components/services/entities.service.coffee","position":3,"original_position":3,"commit_id":"d45d621c5cc0f6ff78f02e6f24d0ca154e5e6932","original_commit_id":"d45d621c5cc0f6ff78f02e6f24d0ca154e5e6932","user":{"login":"NahuelP","id":7072017,"avatar_url":"https://avatars.githubusercontent.com/u/7072017?v=3","gravatar_id":"","url":"https://api.github.com/users/NahuelP","html_url":"https://github.com/NahuelP","followers_url":"https://api.github.com/users/NahuelP/followers","following_url":"https://api.github.com/users/NahuelP/following{/other_user}","gists_url":"https://api.github.com/users/NahuelP/gists{/gist_id}","starred_url":"https://api.github.com/users/NahuelP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NahuelP/subscriptions","organizations_url":"https://api.github.com/users/NahuelP/orgs","repos_url":"https://api.github.com/users/NahuelP/repos","events_url":"https://api.github.com/users/NahuelP/events{/privacy}","received_events_url":"https://api.github.com/users/NahuelP/received_events","type":"User","site_admin":false},"body":"No entiendo esto. El Producteca factory no devuelve una función?","created_at":"2015-12-23T20:01:43Z","updated_at":"2015-12-23T20:01:43Z","html_url":"https://github.com/Parsimotion/producteca-syncer/pull/5#discussion_r48375340","pull_request_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/Parsimotion/producteca-syncer/pulls/comments/48375340"},"html":{"href":"https://github.com/Parsimotion/producteca-syncer/pull/5#discussion_r48375340"},"pull_request":{"href":"https://api.github.com/repos/Parsimotion/producteca-syncer/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/Parsimotion/producteca-syncer/pulls/5","id":54145852,"html_url":"https://github.com/Parsimotion/producteca-syncer/pull/5","diff_url":"https://github.com/Parsimotion/producteca-syncer/pull/5.diff","patch_url":"https://github.com/Parsimotion/producteca-syncer/pull/5.patch","issue_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/issues/5","number":5,"state":"open","locked":false,"title":"Producteca Syncer: UI","user":{"login":"rodri042","id":1631752,"avatar_url":"https://avatars.githubusercontent.com/u/1631752?v=3","gravatar_id":"","url":"https://api.github.com/users/rodri042","html_url":"https://github.com/rodri042","followers_url":"https://api.github.com/users/rodri042/followers","following_url":"https://api.github.com/users/rodri042/following{/other_user}","gists_url":"https://api.github.com/users/rodri042/gists{/gist_id}","starred_url":"https://api.github.com/users/rodri042/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodri042/subscriptions","organizations_url":"https://api.github.com/users/rodri042/orgs","repos_url":"https://api.github.com/users/rodri042/repos","events_url":"https://api.github.com/users/rodri042/events{/privacy}","received_events_url":"https://api.github.com/users/rodri042/received_events","type":"User","site_admin":false},"body":"[Finishes #106701806](https://www.pivotaltracker.com/story/show/106701806)\r\n@canofm \r\n\r\nEs la UI para configurar las sincronizaciones con Dropbox / Excel.\r\n\r\nLa lógica de mapear atributos con columnas está en `mappings.directive`\r\nComo los mappings era mucho más fácil manejarlos como una colección, los convertimos a array y antes de guardar hacemos `build()` a la *synchronization* para que convierta eso al modelo que la api persiste.\r\n\r\nLo de FixedWidthParser y DelimitedParser, es lo que estaba en [este pull request](https://github.com/Parsimotion/producteca-syncer/pull/4), que quedó acá por temas de logística (?).","created_at":"2015-12-18T20:22:25Z","updated_at":"2015-12-23T20:01:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eea230ae9d5fdf9bb7744defe9e0eb6034236207","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/issues/5/comments","statuses_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/statuses/d45d621c5cc0f6ff78f02e6f24d0ca154e5e6932","head":{"label":"Parsimotion:ui","ref":"ui","sha":"d45d621c5cc0f6ff78f02e6f24d0ca154e5e6932","user":{"login":"Parsimotion","id":8582957,"avatar_url":"https://avatars.githubusercontent.com/u/8582957?v=3","gravatar_id":"","url":"https://api.github.com/users/Parsimotion","html_url":"https://github.com/Parsimotion","followers_url":"https://api.github.com/users/Parsimotion/followers","following_url":"https://api.github.com/users/Parsimotion/following{/other_user}","gists_url":"https://api.github.com/users/Parsimotion/gists{/gist_id}","starred_url":"https://api.github.com/users/Parsimotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Parsimotion/subscriptions","organizations_url":"https://api.github.com/users/Parsimotion/orgs","repos_url":"https://api.github.com/users/Parsimotion/repos","events_url":"https://api.github.com/users/Parsimotion/events{/privacy}","received_events_url":"https://api.github.com/users/Parsimotion/received_events","type":"Organization","site_admin":false},"repo":{"id":46137398,"name":"producteca-syncer","full_name":"Parsimotion/producteca-syncer","owner":{"login":"Parsimotion","id":8582957,"avatar_url":"https://avatars.githubusercontent.com/u/8582957?v=3","gravatar_id":"","url":"https://api.github.com/users/Parsimotion","html_url":"https://github.com/Parsimotion","followers_url":"https://api.github.com/users/Parsimotion/followers","following_url":"https://api.github.com/users/Parsimotion/following{/other_user}","gists_url":"https://api.github.com/users/Parsimotion/gists{/gist_id}","starred_url":"https://api.github.com/users/Parsimotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Parsimotion/subscriptions","organizations_url":"https://api.github.com/users/Parsimotion/orgs","repos_url":"https://api.github.com/users/Parsimotion/repos","events_url":"https://api.github.com/users/Parsimotion/events{/privacy}","received_events_url":"https://api.github.com/users/Parsimotion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Parsimotion/producteca-syncer","description":"Product Syncer between Producteca and other services","fork":false,"url":"https://api.github.com/repos/Parsimotion/producteca-syncer","forks_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/forks","keys_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/teams","hooks_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/hooks","issue_events_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/issues/events{/number}","events_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/events","assignees_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/assignees{/user}","branches_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/branches{/branch}","tags_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/tags","blobs_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/statuses/{sha}","languages_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/languages","stargazers_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/stargazers","contributors_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/contributors","subscribers_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/subscribers","subscription_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/subscription","commits_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/contents/{+path}","compare_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/merges","archive_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/downloads","issues_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/issues{/number}","pulls_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/pulls{/number}","milestones_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/milestones{/number}","notifications_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/labels{/name}","releases_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/releases{/id}","created_at":"2015-11-13T17:38:10Z","updated_at":"2015-11-13T17:38:26Z","pushed_at":"2015-12-23T19:43:00Z","git_url":"git://github.com/Parsimotion/producteca-syncer.git","ssh_url":"git@github.com:Parsimotion/producteca-syncer.git","clone_url":"https://github.com/Parsimotion/producteca-syncer.git","svn_url":"https://github.com/Parsimotion/producteca-syncer","homepage":null,"size":337,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"development"}},"base":{"label":"Parsimotion:development","ref":"development","sha":"5d7213f93b2efa5e29671bca032354a24eb6f845","user":{"login":"Parsimotion","id":8582957,"avatar_url":"https://avatars.githubusercontent.com/u/8582957?v=3","gravatar_id":"","url":"https://api.github.com/users/Parsimotion","html_url":"https://github.com/Parsimotion","followers_url":"https://api.github.com/users/Parsimotion/followers","following_url":"https://api.github.com/users/Parsimotion/following{/other_user}","gists_url":"https://api.github.com/users/Parsimotion/gists{/gist_id}","starred_url":"https://api.github.com/users/Parsimotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Parsimotion/subscriptions","organizations_url":"https://api.github.com/users/Parsimotion/orgs","repos_url":"https://api.github.com/users/Parsimotion/repos","events_url":"https://api.github.com/users/Parsimotion/events{/privacy}","received_events_url":"https://api.github.com/users/Parsimotion/received_events","type":"Organization","site_admin":false},"repo":{"id":46137398,"name":"producteca-syncer","full_name":"Parsimotion/producteca-syncer","owner":{"login":"Parsimotion","id":8582957,"avatar_url":"https://avatars.githubusercontent.com/u/8582957?v=3","gravatar_id":"","url":"https://api.github.com/users/Parsimotion","html_url":"https://github.com/Parsimotion","followers_url":"https://api.github.com/users/Parsimotion/followers","following_url":"https://api.github.com/users/Parsimotion/following{/other_user}","gists_url":"https://api.github.com/users/Parsimotion/gists{/gist_id}","starred_url":"https://api.github.com/users/Parsimotion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Parsimotion/subscriptions","organizations_url":"https://api.github.com/users/Parsimotion/orgs","repos_url":"https://api.github.com/users/Parsimotion/repos","events_url":"https://api.github.com/users/Parsimotion/events{/privacy}","received_events_url":"https://api.github.com/users/Parsimotion/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Parsimotion/producteca-syncer","description":"Product Syncer between Producteca and other services","fork":false,"url":"https://api.github.com/repos/Parsimotion/producteca-syncer","forks_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/forks","keys_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/teams","hooks_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/hooks","issue_events_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/issues/events{/number}","events_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/events","assignees_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/assignees{/user}","branches_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/branches{/branch}","tags_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/tags","blobs_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/statuses/{sha}","languages_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/languages","stargazers_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/stargazers","contributors_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/contributors","subscribers_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/subscribers","subscription_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/subscription","commits_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/contents/{+path}","compare_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/merges","archive_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/downloads","issues_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/issues{/number}","pulls_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/pulls{/number}","milestones_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/milestones{/number}","notifications_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/labels{/name}","releases_url":"https://api.github.com/repos/Parsimotion/producteca-syncer/releases{/id}","created_at":"2015-11-13T17:38:10Z","updated_at":"2015-11-13T17:38:26Z","pushed_at":"2015-12-23T19:43:00Z","git_url":"git://github.com/Parsimotion/producteca-syncer.git","ssh_url":"git@github.com:Parsimotion/producteca-syncer.git","clone_url":"https://github.com/Parsimotion/producteca-syncer.git","svn_url":"https://github.com/Parsimotion/producteca-syncer","homepage":null,"size":337,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/Parsimotion/producteca-syncer/pulls/5"},"html":{"href":"https://github.com/Parsimotion/producteca-syncer/pull/5"},"issue":{"href":"https://api.github.com/repos/Parsimotion/producteca-syncer/issues/5"},"comments":{"href":"https://api.github.com/repos/Parsimotion/producteca-syncer/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Parsimotion/producteca-syncer/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Parsimotion/producteca-syncer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Parsimotion/producteca-syncer/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Parsimotion/producteca-syncer/statuses/d45d621c5cc0f6ff78f02e6f24d0ca154e5e6932"}}}}