22/**
33 * @author Jason Dobry <jason.dobry@gmail.com>
44 * @file angular-data-mocks.js
5- * @version 1.0.0-rc.1 - Homepage <https://github.com/jmdobry/angular-data-mocks>
5+ * @version 1.0.0-rc.2 - Homepage <https://github.com/jmdobry/angular-data-mocks>
66 * @copyright (c) 2014 Jason Dobry <https://github.com/jmdobry/>
77 * @license MIT <https://github.com/jmdobry/angular-data-mocks/blob/master/LICENSE>
88 *
@@ -739,6 +739,7 @@ function DSProvider() {
739739 'bindAll' ,
740740 'bindOne' ,
741741 'changes' ,
742+ 'changeHistory' ,
742743 'compute' ,
743744 'createInstance' ,
744745 'defineResource' ,
@@ -762,6 +763,7 @@ function DSProvider() {
762763 'bindAll' ,
763764 'bindOne' ,
764765 'changes' ,
766+ 'changeHistory' ,
765767 'compute' ,
766768 'create' ,
767769 'createInstance' ,
@@ -1241,6 +1243,8 @@ function DSProvider() {
12411243 index : { } ,
12421244 modified : { } ,
12431245 saved : { } ,
1246+ changeHistories : { } ,
1247+ changeHistory : [ ] ,
12441248 previousAttributes : { } ,
12451249 observers : { } ,
12461250 collectionModified : 0
@@ -1288,7 +1292,7 @@ module.exports = DSProvider;
12881292 * @description
12891293 * Fake angular-data implementation suitable for unit testing angular applications that use the `angular-data.DS` module.
12901294 *
1291- * __Version:__ 1.0.0-rc.1
1295+ * __Version:__ 1.0.0-rc.2
12921296 *
12931297 * __angular-data-mocks requires SinonJS to be loaded in order to work.__
12941298 *
@@ -1474,7 +1478,7 @@ module.exports = DSProvider;
14741478 'angular-data.DSHttpAdapterMock' ,
14751479 'angular-data.DSLocalStorageAdapterMock'
14761480 ] )
1477- . value ( 'version' , '1.0.0-rc.1 ' ) ;
1481+ . value ( 'version' , '1.0.0-rc.2 ' ) ;
14781482
14791483} ) ( window , window . angular ) ;
14801484
0 commit comments