{"action":"published","release":{"url":"https://api.github.com/repos/danielspaniel/ember-data-factory-guy/releases/3605795","assets_url":"https://api.github.com/repos/danielspaniel/ember-data-factory-guy/releases/3605795/assets","upload_url":"https://uploads.github.com/repos/danielspaniel/ember-data-factory-guy/releases/3605795/assets{?name,label}","html_url":"https://github.com/danielspaniel/ember-data-factory-guy/releases/tag/v2.7.0-beta.10","id":3605795,"tag_name":"v2.7.0-beta.10","target_commitish":"master","name":"","draft":false,"author":{"login":"danielspaniel","id":180456,"avatar_url":"https://avatars.githubusercontent.com/u/180456?v=3","gravatar_id":"","url":"https://api.github.com/users/danielspaniel","html_url":"https://github.com/danielspaniel","followers_url":"https://api.github.com/users/danielspaniel/followers","following_url":"https://api.github.com/users/danielspaniel/following{/other_user}","gists_url":"https://api.github.com/users/danielspaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/danielspaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielspaniel/subscriptions","organizations_url":"https://api.github.com/users/danielspaniel/orgs","repos_url":"https://api.github.com/users/danielspaniel/repos","events_url":"https://api.github.com/users/danielspaniel/events{/privacy}","received_events_url":"https://api.github.com/users/danielspaniel/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2016-07-07T11:09:37Z","published_at":"2016-07-07T11:18:27Z","assets":[],"tarball_url":"https://api.github.com/repos/danielspaniel/ember-data-factory-guy/tarball/v2.7.0-beta.10","zipball_url":"https://api.github.com/repos/danielspaniel/ember-data-factory-guy/zipball/v2.7.0-beta.10","body":"- mockUpdate now has ability to match arguments ( the way mockCreate does ) #216 #217 ( @cristinawithout )\r\n\r\n```js\r\n   let profile = make('profile');\r\n   profile.set('name', \"woo\");\r\n   mockUpdate(profile).match({name: \"moo}); \r\n   profile.save();  // will not succeed since the mock you set says the name must be \"woo\"\r\n\r\n   // either set the name to 'moo' which will now be mocked correctly\r\n   profile.set('name', \"moo\");\r\n   profile.save(); // succeeds\r\n\r\n   // or \r\n   \r\n   // keep the profile name as \"woo\"\r\n   // but change the mock to match the name \"woo\"\r\n   mockUpdate('profile', 1).match({name: \"woo});\r\n   profile.save();  // succeeds\r\n```"}}
{"actor":{"display_login":"danielspaniel"}}