{"action":"created","comment":{"url":"https://api.github.com/repos/bem-node/promised-models/pulls/comments/58686735","id":58686735,"diff_hunk":"@@ -91,10 +91,8 @@ Collection = Events.inherit(/** @lends Collection.prototype*/{\n \n         if (!this._isEqualToArray(this._getCacheBranch(branch))) {\n             this._cacheBranches[branch] = [].concat(this._models);\n-            if (!changed) {","path":"lib/collection.js","position":4,"original_position":4,"commit_id":"861c5130778f28bdff67e41e6b8a49d5165f5949","original_commit_id":"861c5130778f28bdff67e41e6b8a49d5165f5949","user":{"login":"mdidkivskyi","id":3295675,"avatar_url":"https://avatars.githubusercontent.com/u/3295675?v=3","gravatar_id":"","url":"https://api.github.com/users/mdidkivskyi","html_url":"https://github.com/mdidkivskyi","followers_url":"https://api.github.com/users/mdidkivskyi/followers","following_url":"https://api.github.com/users/mdidkivskyi/following{/other_user}","gists_url":"https://api.github.com/users/mdidkivskyi/gists{/gist_id}","starred_url":"https://api.github.com/users/mdidkivskyi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdidkivskyi/subscriptions","organizations_url":"https://api.github.com/users/mdidkivskyi/orgs","repos_url":"https://api.github.com/users/mdidkivskyi/repos","events_url":"https://api.github.com/users/mdidkivskyi/events{/privacy}","received_events_url":"https://api.github.com/users/mdidkivskyi/received_events","type":"User","site_admin":false},"body":"It could be good to have a test, that reproduce this issue","created_at":"2016-04-06T11:00:26Z","updated_at":"2016-04-06T11:00:26Z","html_url":"https://github.com/bem-node/promised-models/pull/32#discussion_r58686735","pull_request_url":"https://api.github.com/repos/bem-node/promised-models/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/bem-node/promised-models/pulls/comments/58686735"},"html":{"href":"https://github.com/bem-node/promised-models/pull/32#discussion_r58686735"},"pull_request":{"href":"https://api.github.com/repos/bem-node/promised-models/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/bem-node/promised-models/pulls/32","id":65438928,"html_url":"https://github.com/bem-node/promised-models/pull/32","diff_url":"https://github.com/bem-node/promised-models/pull/32.diff","patch_url":"https://github.com/bem-node/promised-models/pull/32.patch","issue_url":"https://api.github.com/repos/bem-node/promised-models/issues/32","number":32,"state":"open","locked":false,"title":"Collections commit event bugfix","user":{"login":"km256","id":1687850,"avatar_url":"https://avatars.githubusercontent.com/u/1687850?v=3","gravatar_id":"","url":"https://api.github.com/users/km256","html_url":"https://github.com/km256","followers_url":"https://api.github.com/users/km256/followers","following_url":"https://api.github.com/users/km256/following{/other_user}","gists_url":"https://api.github.com/users/km256/gists{/gist_id}","starred_url":"https://api.github.com/users/km256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/km256/subscriptions","organizations_url":"https://api.github.com/users/km256/orgs","repos_url":"https://api.github.com/users/km256/repos","events_url":"https://api.github.com/users/km256/events{/privacy}","received_events_url":"https://api.github.com/users/km256/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-06T09:56:24Z","updated_at":"2016-04-06T11:00:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0ff18aef4cfed235ae6f9dd88d01dc790f7656b3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bem-node/promised-models/pulls/32/commits","review_comments_url":"https://api.github.com/repos/bem-node/promised-models/pulls/32/comments","review_comment_url":"https://api.github.com/repos/bem-node/promised-models/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bem-node/promised-models/issues/32/comments","statuses_url":"https://api.github.com/repos/bem-node/promised-models/statuses/861c5130778f28bdff67e41e6b8a49d5165f5949","head":{"label":"km256:collections-commit-bugfix","ref":"collections-commit-bugfix","sha":"861c5130778f28bdff67e41e6b8a49d5165f5949","user":{"login":"km256","id":1687850,"avatar_url":"https://avatars.githubusercontent.com/u/1687850?v=3","gravatar_id":"","url":"https://api.github.com/users/km256","html_url":"https://github.com/km256","followers_url":"https://api.github.com/users/km256/followers","following_url":"https://api.github.com/users/km256/following{/other_user}","gists_url":"https://api.github.com/users/km256/gists{/gist_id}","starred_url":"https://api.github.com/users/km256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/km256/subscriptions","organizations_url":"https://api.github.com/users/km256/orgs","repos_url":"https://api.github.com/users/km256/repos","events_url":"https://api.github.com/users/km256/events{/privacy}","received_events_url":"https://api.github.com/users/km256/received_events","type":"User","site_admin":false},"repo":{"id":42579643,"name":"promised-models","full_name":"km256/promised-models","owner":{"login":"km256","id":1687850,"avatar_url":"https://avatars.githubusercontent.com/u/1687850?v=3","gravatar_id":"","url":"https://api.github.com/users/km256","html_url":"https://github.com/km256","followers_url":"https://api.github.com/users/km256/followers","following_url":"https://api.github.com/users/km256/following{/other_user}","gists_url":"https://api.github.com/users/km256/gists{/gist_id}","starred_url":"https://api.github.com/users/km256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/km256/subscriptions","organizations_url":"https://api.github.com/users/km256/orgs","repos_url":"https://api.github.com/users/km256/repos","events_url":"https://api.github.com/users/km256/events{/privacy}","received_events_url":"https://api.github.com/users/km256/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/km256/promised-models","description":"Promise based models with typed attributes, nested models and calculations","fork":true,"url":"https://api.github.com/repos/km256/promised-models","forks_url":"https://api.github.com/repos/km256/promised-models/forks","keys_url":"https://api.github.com/repos/km256/promised-models/keys{/key_id}","collaborators_url":"https://api.github.com/repos/km256/promised-models/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/km256/promised-models/teams","hooks_url":"https://api.github.com/repos/km256/promised-models/hooks","issue_events_url":"https://api.github.com/repos/km256/promised-models/issues/events{/number}","events_url":"https://api.github.com/repos/km256/promised-models/events","assignees_url":"https://api.github.com/repos/km256/promised-models/assignees{/user}","branches_url":"https://api.github.com/repos/km256/promised-models/branches{/branch}","tags_url":"https://api.github.com/repos/km256/promised-models/tags","blobs_url":"https://api.github.com/repos/km256/promised-models/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/km256/promised-models/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/km256/promised-models/git/refs{/sha}","trees_url":"https://api.github.com/repos/km256/promised-models/git/trees{/sha}","statuses_url":"https://api.github.com/repos/km256/promised-models/statuses/{sha}","languages_url":"https://api.github.com/repos/km256/promised-models/languages","stargazers_url":"https://api.github.com/repos/km256/promised-models/stargazers","contributors_url":"https://api.github.com/repos/km256/promised-models/contributors","subscribers_url":"https://api.github.com/repos/km256/promised-models/subscribers","subscription_url":"https://api.github.com/repos/km256/promised-models/subscription","commits_url":"https://api.github.com/repos/km256/promised-models/commits{/sha}","git_commits_url":"https://api.github.com/repos/km256/promised-models/git/commits{/sha}","comments_url":"https://api.github.com/repos/km256/promised-models/comments{/number}","issue_comment_url":"https://api.github.com/repos/km256/promised-models/issues/comments{/number}","contents_url":"https://api.github.com/repos/km256/promised-models/contents/{+path}","compare_url":"https://api.github.com/repos/km256/promised-models/compare/{base}...{head}","merges_url":"https://api.github.com/repos/km256/promised-models/merges","archive_url":"https://api.github.com/repos/km256/promised-models/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/km256/promised-models/downloads","issues_url":"https://api.github.com/repos/km256/promised-models/issues{/number}","pulls_url":"https://api.github.com/repos/km256/promised-models/pulls{/number}","milestones_url":"https://api.github.com/repos/km256/promised-models/milestones{/number}","notifications_url":"https://api.github.com/repos/km256/promised-models/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/km256/promised-models/labels{/name}","releases_url":"https://api.github.com/repos/km256/promised-models/releases{/id}","deployments_url":"https://api.github.com/repos/km256/promised-models/deployments","created_at":"2015-09-16T10:05:51Z","updated_at":"2016-02-17T14:01:39Z","pushed_at":"2016-04-06T09:56:07Z","git_url":"git://github.com/km256/promised-models.git","ssh_url":"git@github.com:km256/promised-models.git","clone_url":"https://github.com/km256/promised-models.git","svn_url":"https://github.com/km256/promised-models","homepage":"","size":181,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"bem-node:master","ref":"master","sha":"455008499706c67b20bb06cc818ef70416c8a4ab","user":{"login":"bem-node","id":6543583,"avatar_url":"https://avatars.githubusercontent.com/u/6543583?v=3","gravatar_id":"","url":"https://api.github.com/users/bem-node","html_url":"https://github.com/bem-node","followers_url":"https://api.github.com/users/bem-node/followers","following_url":"https://api.github.com/users/bem-node/following{/other_user}","gists_url":"https://api.github.com/users/bem-node/gists{/gist_id}","starred_url":"https://api.github.com/users/bem-node/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem-node/subscriptions","organizations_url":"https://api.github.com/users/bem-node/orgs","repos_url":"https://api.github.com/users/bem-node/repos","events_url":"https://api.github.com/users/bem-node/events{/privacy}","received_events_url":"https://api.github.com/users/bem-node/received_events","type":"Organization","site_admin":false},"repo":{"id":43067062,"name":"promised-models","full_name":"bem-node/promised-models","owner":{"login":"bem-node","id":6543583,"avatar_url":"https://avatars.githubusercontent.com/u/6543583?v=3","gravatar_id":"","url":"https://api.github.com/users/bem-node","html_url":"https://github.com/bem-node","followers_url":"https://api.github.com/users/bem-node/followers","following_url":"https://api.github.com/users/bem-node/following{/other_user}","gists_url":"https://api.github.com/users/bem-node/gists{/gist_id}","starred_url":"https://api.github.com/users/bem-node/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bem-node/subscriptions","organizations_url":"https://api.github.com/users/bem-node/orgs","repos_url":"https://api.github.com/users/bem-node/repos","events_url":"https://api.github.com/users/bem-node/events{/privacy}","received_events_url":"https://api.github.com/users/bem-node/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bem-node/promised-models","description":"Promise based models with typed attributes, nested models and calculations","fork":true,"url":"https://api.github.com/repos/bem-node/promised-models","forks_url":"https://api.github.com/repos/bem-node/promised-models/forks","keys_url":"https://api.github.com/repos/bem-node/promised-models/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bem-node/promised-models/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bem-node/promised-models/teams","hooks_url":"https://api.github.com/repos/bem-node/promised-models/hooks","issue_events_url":"https://api.github.com/repos/bem-node/promised-models/issues/events{/number}","events_url":"https://api.github.com/repos/bem-node/promised-models/events","assignees_url":"https://api.github.com/repos/bem-node/promised-models/assignees{/user}","branches_url":"https://api.github.com/repos/bem-node/promised-models/branches{/branch}","tags_url":"https://api.github.com/repos/bem-node/promised-models/tags","blobs_url":"https://api.github.com/repos/bem-node/promised-models/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bem-node/promised-models/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bem-node/promised-models/git/refs{/sha}","trees_url":"https://api.github.com/repos/bem-node/promised-models/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bem-node/promised-models/statuses/{sha}","languages_url":"https://api.github.com/repos/bem-node/promised-models/languages","stargazers_url":"https://api.github.com/repos/bem-node/promised-models/stargazers","contributors_url":"https://api.github.com/repos/bem-node/promised-models/contributors","subscribers_url":"https://api.github.com/repos/bem-node/promised-models/subscribers","subscription_url":"https://api.github.com/repos/bem-node/promised-models/subscription","commits_url":"https://api.github.com/repos/bem-node/promised-models/commits{/sha}","git_commits_url":"https://api.github.com/repos/bem-node/promised-models/git/commits{/sha}","comments_url":"https://api.github.com/repos/bem-node/promised-models/comments{/number}","issue_comment_url":"https://api.github.com/repos/bem-node/promised-models/issues/comments{/number}","contents_url":"https://api.github.com/repos/bem-node/promised-models/contents/{+path}","compare_url":"https://api.github.com/repos/bem-node/promised-models/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bem-node/promised-models/merges","archive_url":"https://api.github.com/repos/bem-node/promised-models/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bem-node/promised-models/downloads","issues_url":"https://api.github.com/repos/bem-node/promised-models/issues{/number}","pulls_url":"https://api.github.com/repos/bem-node/promised-models/pulls{/number}","milestones_url":"https://api.github.com/repos/bem-node/promised-models/milestones{/number}","notifications_url":"https://api.github.com/repos/bem-node/promised-models/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bem-node/promised-models/labels{/name}","releases_url":"https://api.github.com/repos/bem-node/promised-models/releases{/id}","deployments_url":"https://api.github.com/repos/bem-node/promised-models/deployments","created_at":"2015-09-24T13:03:15Z","updated_at":"2016-01-20T11:01:18Z","pushed_at":"2016-04-06T09:56:24Z","git_url":"git://github.com/bem-node/promised-models.git","ssh_url":"git@github.com:bem-node/promised-models.git","clone_url":"https://github.com/bem-node/promised-models.git","svn_url":"https://github.com/bem-node/promised-models","homepage":"","size":179,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bem-node/promised-models/pulls/32"},"html":{"href":"https://github.com/bem-node/promised-models/pull/32"},"issue":{"href":"https://api.github.com/repos/bem-node/promised-models/issues/32"},"comments":{"href":"https://api.github.com/repos/bem-node/promised-models/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/bem-node/promised-models/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/bem-node/promised-models/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bem-node/promised-models/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/bem-node/promised-models/statuses/861c5130778f28bdff67e41e6b8a49d5165f5949"}}}}