Skip to content

Commit

Permalink
refactor: rename package to meteor-rxjs
Browse files Browse the repository at this point in the history
refactor: rename files to RxJS-styled
  • Loading branch information
barbatus committed Sep 9, 2016
1 parent e163f52 commit aff3619
Show file tree
Hide file tree
Showing 21 changed files with 24 additions and 22 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Meteor + RxJS
Use Meteor API in RxJS style.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Observable } from 'rxjs';
import { ObservableCursor } from './observable-cursor';
import { ObservableCursor } from './ObservableCursor';
import Selector = Mongo.Selector;
import ObjectID = Mongo.ObjectID;
import SortSpecifier = Mongo.SortSpecifier;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict";
var rxjs_1 = require('rxjs');
var observable_cursor_1 = require('./observable-cursor');
var ObservableCursor_1 = require('./ObservableCursor');
var MongoObservable;
(function (MongoObservable) {
'use strict';
Expand Down Expand Up @@ -77,7 +77,7 @@ var MongoObservable;
};
Collection.prototype.find = function (selector, options) {
var cursor = this._collection.find(this._collection, arguments);
return observable_cursor_1.ObservableCursor.create(cursor);
return ObservableCursor_1.ObservableCursor.create(cursor);
};
Collection.prototype.findOne = function (selector, options) {
return this._collection.findOne.apply(this._collection, arguments);
Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from './observable-collection';
export * from './meteor-observable';
export * from './observable-cursor';
export * from './zone-operator';
export * from './ObservableCollection';
export * from './MeteorObservable';
export * from './ObservableCursor';
export * from './zone';
8 changes: 4 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
__export(require('./observable-collection'));
__export(require('./meteor-observable'));
__export(require('./observable-cursor'));
__export(require('./zone-operator'));
__export(require('./ObservableCollection'));
__export(require('./MeteorObservable'));
__export(require('./ObservableCursor'));
__export(require('./zone'));
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mongo-rxjs-observable",
"name": "meteor-rxjs",
"version": "0.1.0",
"description": "RxJS observables for Meteor API and Mongo collections",
"description": "Use Meteor API in RxJS style",
"keywords": [
"rxjs",
"angular",
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Observable, Subscriber} from 'rxjs';

import {ObservableCursor} from './observable-cursor';
import {ObservableCursor} from './ObservableCursor';

import Selector = Mongo.Selector;
import ObjectID = Mongo.ObjectID;
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from './observable-collection';
export * from './meteor-observable';
export * from './observable-cursor';
export * from './zone-operator';
export * from './ObservableCollection';
export * from './MeteorObservable';
export * from './ObservableCursor';
export * from './zone';
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/client/unit/meteor-observable.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {chai} from 'meteor/practicalmeteor:chai';
import {sinon} from 'meteor/practicalmeteor:sinon';
import {MeteorObservable} from 'mongo-rxjs-observable';
import {MeteorObservable} from 'meteor-rxjs';
import {Observable} from 'rxjs';

const expect = chai.expect;
Expand Down
2 changes: 1 addition & 1 deletion tests/client/unit/observable-collection.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {chai} from 'meteor/practicalmeteor:chai';
import {sinon} from 'meteor/practicalmeteor:sinon';
import {MongoObservable, ObservableCursor} from 'mongo-rxjs-observable';
import {MongoObservable, ObservableCursor} from 'meteor-rxjs';

const expect = chai.expect;

Expand Down
2 changes: 1 addition & 1 deletion tests/client/unit/observable-cursor.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {chai} from 'meteor/practicalmeteor:chai';
import {sinon} from 'meteor/practicalmeteor:sinon';
import {Observable} from 'rxjs';
import {ObservableCursor} from 'mongo-rxjs-observable';
import {ObservableCursor} from 'meteor-rxjs';

import 'rxjs/add/operator/map';
import 'rxjs/add/operator/count';
Expand Down
2 changes: 1 addition & 1 deletion tests/client/unit/zone-operator.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {chai} from 'meteor/practicalmeteor:chai';
import {sinon} from 'meteor/practicalmeteor:sinon';
import {Observable} from 'rxjs';
import {MeteorObservable} from 'mongo-rxjs-observable';
import {MeteorObservable} from 'meteor-rxjs';

import 'zone.js/dist/zone.js';

Expand Down

0 comments on commit aff3619

Please sign in to comment.