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

Rename to feathers-reactive #13

Merged
merged 1 commit into from
May 24, 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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# feathers-rx
# feathers-reactive

[![Build Status](https://travis-ci.org/feathersjs/feathers-rx.png?branch=master)](https://travis-ci.org/feathersjs/feathers-rx)
[![Build Status](https://travis-ci.org/feathersjs/feathers-reactive.png?branch=master)](https://travis-ci.org/feathersjs/feathers-reactive)

> Reactive API extensions for Feathers

## About

`feathers-rx` turns a [Feathers service](http://docs.feathersjs.com/services/readme.html) call into an [RxJS](/~https://github.com/Reactive-Extensions/RxJS) observables that automatically updates on [real-time events](http://docs.feathersjs.com/real-time/events.html).
`feathers-reactive` turns a [Feathers service](http://docs.feathersjs.com/services/readme.html) call into an [RxJS](/~https://github.com/Reactive-Extensions/RxJS) observables that automatically updates on [real-time events](http://docs.feathersjs.com/real-time/events.html).

## Simple example

```js
const feathers = require('feathers');
const memory = require('feathers-memory');
const rx = require('feathers-rx');
const rx = require('feathers-reactive');
const RxJS = require('rxjs');

const app = feathers()
Expand Down
2 changes: 1 addition & 1 deletion examples/react-todos/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import ReactDOM from 'react-dom';
import feathers from 'feathers/client';
import socketio from 'feathers-socketio/client';
import rx from 'feathers-rx';
import rx from 'feathers-reactive';
import RxJS from 'rxjs';

const socket = io();
Expand Down
2 changes: 1 addition & 1 deletion examples/react-todos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"dependencies": {
"feathers": "^2.0.1",
"feathers-rx": "^0.1.1",
"feathers-reactive": "^0.1.1",
"feathers-socketio": "^1.4.0",
"react": "^15.0.2",
"react-dom": "^15.0.2",
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "feathers-rx",
"name": "feathers-reactive",
"description": "Reactive API extensions for Feathers services",
"version": "0.1.1",
"homepage": "/~https://github.com/feathersjs/feathers-rx",
"homepage": "/~https://github.com/feathersjs/feathers-reactive",
"main": "lib/index",
"keywords": [
"feathers",
Expand All @@ -11,7 +11,7 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/feathersjs/feathers-rx.git"
"url": "git://github.com/feathersjs/feathers-reactive.git"
},
"author": {
"name": "Feathers contributors",
Expand All @@ -20,15 +20,15 @@
},
"contributors": [],
"bugs": {
"url": "/~https://github.com/feathersjs/feathers-rx/issues"
"url": "/~https://github.com/feathersjs/feathers-reactive/issues"
},
"engines": {
"node": ">= 0.12.0"
},
"scripts": {
"prepublish": "npm run compile && npm run browserify",
"publish": "git push origin && git push origin --tags",
"browserify": "mkdir -p dist/ && browserify src/index.js -t babelify --standalone feathers.rx --outfile dist/feathers-rx.js",
"browserify": "mkdir -p dist/ && browserify src/index.js -t babelify --standalone feathers.rx --outfile dist/feathers-reactive.js",
"release:patch": "npm version patch && npm publish",
"release:minor": "npm version minor && npm publish",
"release:major": "npm version major && npm publish",
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import reactiveResource from './resource';
import reactiveList from './list';
import strategies from './strategies';

const debug = require('debug')('feathers-rx');
const debug = require('debug')('feathers-reactive');

function FeathersRx(Rx, options) {
if(!Rx) {
Expand Down Expand Up @@ -56,7 +56,7 @@ function FeathersRx(Rx, options) {
};

return function() {
debug('Initializing feathers-rx plugin');
debug('Initializing feathers-reactive plugin');

this.mixins.push(mixin);
};
Expand Down
2 changes: 1 addition & 1 deletion test/index.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from 'assert';

describe('feathers-rx', () => {
describe('feathers-reactive', () => {
it('is CommonJS compatible', () => {
assert.equal(typeof require('../lib'), 'function');
});
Expand Down
2 changes: 1 addition & 1 deletion test/utils.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import assert from 'assert';
import * as utils from '../src/utils';

describe('feathers-rx utils', () => {
describe('feathers-reactive utils', () => {
it('promisify', done => {
let promise = Promise.resolve('Hi');
let obj = { test: 'me' };
Expand Down