Skip to content

Commit e831e35

Browse files
committed
Stable Version 0.4.1.
1 parent c3986c4 commit e831e35

File tree

8 files changed

+24
-14
lines changed

8 files changed

+24
-14
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
##### 0.4.1 - 28 September 2014
2+
3+
###### Backwards compatible bugfixes
4+
- Corrected to use `resourceConfig.endpoint` rather than `resourceConfig.class`
5+
16
##### 0.4.0 - 27 September 2014
27

38
###### Breaking API changes

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing Guide
22

3-
First, feel free to contact me with questions. [Mailing List](https://groups.google.com/forum/?fromgroups#!forum/js-data-project). [Issues](https://github.com/js-data/js-data-firebase/issues).
3+
First, feel free to contact me with questions. [Mailing List](https://groups.io/org/groupsio/jsdata). [Issues](https://github.com/js-data/js-data-firebase/issues).
44

55
1. Contribute to the issue that is the reason you'll be developing in the first place
66
1. Fork js-data-firebase

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Firebase adapter for [js-data](http://www.js-data.io/js-data).
2424
## Quick Start
2525
`bower install --save js-data js-data-firebase` or `npm install --save js-data js-data-firebase`.
2626

27+
Load `firebase.js`.
28+
2729
Load `js-data-firebase.js` after `js-data.js`.
2830

2931
```js

bower.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "js-data-firebase",
33
"description": "Firebase adapter for js-data.",
4-
"version": "0.4.0",
4+
"version": "0.4.1",
55
"homepage": "http://www.js-data.io/js-data-firebase",
66
"repository": {
77
"type": "git",
@@ -29,11 +29,12 @@
2929
"karma.conf.js",
3030
"karma.start.js"
3131
],
32-
"peerDependencies": {
33-
"js-data": "~0.4.x"
32+
"dependencies": {
33+
"js-data": "~0.4.x",
34+
"firebase": "~1.0.x"
3435
},
3536
"devDependencies": {
36-
"firebase": "~1.0.21",
37+
"firebase": "~1.0.x",
3738
"js-data": "~0.4.x"
3839
}
3940
}

dist/js-data-firebase.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @author Jason Dobry <[email protected]>
33
* @file js-data-firebase.js
4-
* @version 0.4.0 - Homepage <http://www.js-data.iojs-data-firebase/>
4+
* @version 0.4.1 - Homepage <http://www.js-data.iojs-data-firebase/>
55
* @copyright (c) 2014 Jason Dobry
66
* @license MIT <https://github.com/js-data/js-data-firebase/blob/master/LICENSE>
77
*
@@ -172,7 +172,7 @@ var dsFirebaseAdapterPrototype = DSFirebaseAdapter.prototype;
172172

173173
dsFirebaseAdapterPrototype.getRef = function (resourceConfig, options) {
174174
options = options || {};
175-
return new Firebase(makePath(options.basePath || this.defaults.basePath || resourceConfig.basePath, resourceConfig.class));
175+
return new Firebase(makePath(options.basePath || this.defaults.basePath || resourceConfig.basePath, options.endpoint || resourceConfig.endpoint));
176176
};
177177

178178
dsFirebaseAdapterPrototype.find = function (resourceConfig, id, options) {

dist/js-data-firebase.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.

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{
22
"name": "js-data-firebase",
33
"description": "Firebase adapter for js-data.",
4-
"version": "0.4.0",
4+
"version": "0.4.1",
55
"homepage": "http://www.js-data.io/js-data-firebase",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/js-data/js-data-firebase.git"
99
},
1010
"author": {
1111
"name": "Jason Dobry",
12+
"url": "http://www.pseudobry.com",
1213
"email": "[email protected]"
1314
},
1415
"licenses": [
@@ -53,10 +54,11 @@
5354
"test": "grunt test"
5455
},
5556
"peerDependencies": {
56-
"js-data": "~0.3.x"
57+
"js-data": "~0.4.x",
58+
"firebase": "~1.0.x"
5759
},
5860
"dependencies": {
59-
"es6-promise": "1.0.0",
60-
"mout": "0.10.0"
61+
"mout": "0.10.0",
62+
"firebase": "~1.0.x"
6163
}
6264
}

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var dsFirebaseAdapterPrototype = DSFirebaseAdapter.prototype;
3131

3232
dsFirebaseAdapterPrototype.getRef = function (resourceConfig, options) {
3333
options = options || {};
34-
return new Firebase(makePath(options.basePath || this.defaults.basePath || resourceConfig.basePath, resourceConfig.class));
34+
return new Firebase(makePath(options.basePath || this.defaults.basePath || resourceConfig.basePath, options.endpoint || resourceConfig.endpoint));
3535
};
3636

3737
dsFirebaseAdapterPrototype.find = function (resourceConfig, id, options) {

0 commit comments

Comments
 (0)