Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update and remove Node < 4 #30

Merged
merged 2 commits into from Nov 5, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions .travis.yml
Expand Up @@ -3,9 +3,6 @@ node_js:
- node
- '6'
- '4'
- iojs
- '0.12'
- '0.10'
sudo: false
before_script:
- npm install -g codeclimate-test-reporter
Expand Down
5 changes: 3 additions & 2 deletions example/app.js
Expand Up @@ -18,7 +18,8 @@ const app = feathers()

// Create an in-memory localstorage Feathers service with a default page size of 2 items
// and a maximum size of 4
app.use('/messages', localstorage({
app.use('/todos', localstorage({
name: 'todos-app',
storage: storage,
paginate: {
default: 2,
Expand All @@ -29,4 +30,4 @@ app.use('/messages', localstorage({
// Start the server
module.exports = app.listen(3030);

console.log('Feathers Message localstorage service running on 127.0.0.1:3030');
console.log('Feathers Todos localstorage service running on 127.0.0.1:3030');
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -23,7 +23,7 @@
"url": "https://github.com/feathersjs/feathers-localstorage/issues"
},
"engines": {
"node": ">= 0.12.0"
"node": ">= 4"
},
"scripts": {
"clean": "rimraf dist/ && mkdir -p dist",
Expand Down
5 changes: 3 additions & 2 deletions test/index.test.js
Expand Up @@ -2,10 +2,11 @@ import { base, example } from 'feathers-service-tests';
import errors from 'feathers-errors';
import feathers from 'feathers';
import assert from 'assert';
import server from './test-app';
import service from '../src';
import storage from 'localstorage-memory';

import server from '../example/app';
import service from '../src';

describe('Feathers Localstorage Service', () => {
beforeEach(() => storage.clear());

Expand Down
32 changes: 0 additions & 32 deletions test/test-app.js

This file was deleted.