Skip to content

Commit 706c615

Browse files
committed
3.0.0-alpha.3
1 parent 2b099cc commit 706c615

8 files changed

+28
-20
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
##### 3.0.0-alpha.3 - 18 February 2016
2+
3+
- Upgraded dependencies
4+
15
##### 3.0.0-alpha.2 - 13 February 2016
26

37
- Now making use of JSData.utils.forEachRelation

dist/js-data-localstorage.js

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

dist/js-data-localstorage.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js-data-localstorage.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

karma.conf.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ module.exports = function (config) {
4141
config.set({
4242
// base path, that will be used to resolve files and exclude
4343
basePath: './',
44-
frameworks: ['mocha'],
44+
frameworks: ['chai', 'mocha'],
4545
plugins: [
4646
// these plugins will be require() by Karma
47+
'karma-chai',
4748
'karma-mocha',
4849
'karma-phantomjs-launcher',
4950
'karma-coverage',
@@ -56,9 +57,10 @@ module.exports = function (config) {
5657

5758
// list of files / patterns to load in the browser
5859
files: [
59-
'node_modules/es6-promise/dist/es6-promise.js',
60+
'node_modules/babel-polyfill/dist/polyfill.js',
6061
'node_modules/js-data/dist/js-data.js',
6162
'dist/js-data-localstorage.js',
63+
'karma.prestart.js',
6264
'node_modules/js-data-adapter-tests/dist/js-data-adapter-tests.js',
6365
'karma.start.js'
6466
],

karma.prestart.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
window.assert = chai.assert

karma.start.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ beforeEach(function () {
22
localStorage.clear()
33
})
44

5-
window.assert = TestRunner.assert
6-
75
TestRunner.init({
6+
debug: false,
87
features: [],
98
JSData: JSData,
109
Adapter: LocalStorageAdapter,
@@ -14,7 +13,8 @@ TestRunner.init({
1413
})
1514

1615
describe('relation functionality', function () {
17-
it('nested create', function () {
16+
// will be available in js-data 3.0.0-alpha.15
17+
it.skip('nested create', function () {
1818
return this.$$container.create('user', {
1919
name: 'John',
2020
profile: {
@@ -29,7 +29,7 @@ describe('relation functionality', function () {
2929
}
3030
]
3131
}, { with: ['profile', 'post', 'organization'] }).then(function (user) {
32-
// console.log(JSON.stringify(user, null, 2))
32+
console.log(JSON.stringify(user, null, 2))
3333
assert.isDefined(user)
3434
assert.isDefined(user.id)
3535
assert.isDefined(user.organization)

package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "js-data-localstorage",
33
"description": "localStorage adapter for js-data.",
4-
"version": "3.0.0-alpha.2",
4+
"version": "3.0.0-alpha.3",
55
"homepage": "https://github.com/js-data/js-data-localstorage",
66
"repository": {
77
"type": "git",
@@ -49,27 +49,28 @@
4949
},
5050
"devDependencies": {
5151
"babel-core": "6.5.2",
52-
"babel-eslint": "4.1.8",
53-
"babel-loader": "6.2.2",
52+
"babel-eslint": "5.0.0",
53+
"babel-loader": "6.2.3",
5454
"babel-polyfill": "6.5.0",
5555
"babel-preset-es2015": "6.5.0",
5656
"chai": "3.5.0",
5757
"codacy-coverage": "1.1.3",
5858
"coveralls": "2.11.6",
59-
"es6-promise": "3.0.2",
60-
"ink-docstrap": "1.1.1",
61-
"js-data-adapter-tests": "^2.0.0-alpha.1",
59+
"es6-promise": "3.1.2",
60+
"ink-docstrap": "1.1.2",
61+
"js-data-adapter-tests": "^2.0.0-alpha.5",
6262
"jsdoc": "3.4.0",
6363
"karma": "0.13.21",
6464
"karma-browserstack-launcher": "0.1.10",
65+
"karma-chai": "0.1.0",
6566
"karma-coverage": "0.5.3",
6667
"karma-junit-reporter": "0.3.8",
67-
"karma-mocha": "0.2.1",
68+
"karma-mocha": "0.2.2",
6869
"karma-phantomjs-launcher": "1.0.0",
6970
"mocha": "2.4.5",
7071
"mout": "0.11.1",
71-
"phantomjs-prebuilt": "^2.1.4",
72-
"standard": "6.0.5",
72+
"phantomjs-prebuilt": "2.1.4",
73+
"standard": "6.0.6",
7374
"uglify-js": "2.6.1",
7475
"webpack": "1.12.13"
7576
}

0 commit comments

Comments
 (0)