Skip to content

Commit 4e6db89

Browse files
committed
Added missing methods to the defineResource methodsToProxy list.
Stable Version 0.5.5.
1 parent a9fec88 commit 4e6db89

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Jason Dobry",
33
"name": "angular-data-mocks",
44
"description": "A mock of angular-data for testing purposes.",
5-
"version": "0.5.4",
5+
"version": "0.5.5",
66
"homepage": "https://github.com/jmdobry/angular-data-mocks/",
77
"repository": {
88
"type": "git",

dist/angular-data-mocks.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* @author Jason Dobry <[email protected]>
44
* @file angular-data-mocks.js
5-
* @version 0.5.4 - Homepage <https://github.com/jmdobry/angular-data-mocks>
5+
* @version 0.5.5 - 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
*
@@ -756,10 +756,13 @@ function DSProvider() {
756756
var methodsToProxy = [
757757
'bindAll',
758758
'bindOne',
759+
'changes',
759760
'create',
760761
'createInstance',
761762
'destroy',
762763
'destroyAll',
764+
'eject',
765+
'ejectAll',
763766
'filter',
764767
'find',
765768
'findAll',
@@ -1275,7 +1278,7 @@ module.exports = DSProvider;
12751278
* @description
12761279
* Fake angular-data implementation suitable for unit testing angular applications that use the `angular-data.DS` module.
12771280
*
1278-
* __Version:__ 0.5.4
1281+
* __Version:__ 0.5.5
12791282
*
12801283
* __angular-data-mocks requires SinonJS to be loaded in order to work.__
12811284
*
@@ -1460,7 +1463,7 @@ module.exports = DSProvider;
14601463
'angular-data.DSHttpAdapterMock',
14611464
'angular-data.DSLocalStorageAdapterMock'
14621465
])
1463-
.value('version', '0.5.4');
1466+
.value('version', '0.5.5');
14641467

14651468
})(window, window.angular);
14661469

dist/angular-data-mocks.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)