Skip to content

Commit

Permalink
chore(pkg): rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlafroscia committed Jan 30, 2019
1 parent 6962e1c commit b12691c
Show file tree
Hide file tree
Showing 11 changed files with 43 additions and 50 deletions.
14 changes: 7 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ All notable changes to this project will be documented in this file. See [standa

<a name="0.2.0"></a>

# [0.2.0](https://github.com/alexlafroscia/ember-observable/compare/v0.1.0...v0.2.0) (2019-01-29)
# [0.2.0](https://github.com/alexlafroscia/ember-rx/compare/v0.1.0...v0.2.0) (2019-01-29)

### Bug Fixes

- remove original source of `subscribe` decorator ([a0d5959](https://github.com/alexlafroscia/ember-observable/commit/a0d5959))
- remove original source of `subscribe` decorator ([a0d5959](https://github.com/alexlafroscia/ember-rx/commit/a0d5959))

### Features

- add observable source from property changes ([6b66b92](https://github.com/alexlafroscia/ember-observable/commit/6b66b92)), closes [#1](https://github.com/alexlafroscia/ember-observable/issues/1)
- add utility for getting the first value as a Promise ([f6ac06d](https://github.com/alexlafroscia/ember-observable/commit/f6ac06d)), closes [#3](https://github.com/alexlafroscia/ember-observable/issues/3)
- add observable source from property changes ([6b66b92](https://github.com/alexlafroscia/ember-rx/commit/6b66b92)), closes [#1](https://github.com/alexlafroscia/ember-rx/issues/1)
- add utility for getting the first value as a Promise ([f6ac06d](https://github.com/alexlafroscia/ember-rx/commit/f6ac06d)), closes [#3](https://github.com/alexlafroscia/ember-rx/issues/3)

<a name="0.1.0"></a>

# 0.1.0 (2019-01-28)

### Features

- add decorator for subscribing to an observable ([949039a](https://github.com/alexlafroscia/ember-observable/commit/949039a))
- add helper subscribes to observable ([f92e65a](https://github.com/alexlafroscia/ember-observable/commit/f92e65a))
- add route base class for observable models ([29f7c7a](https://github.com/alexlafroscia/ember-observable/commit/29f7c7a))
- add decorator for subscribing to an observable ([949039a](https://github.com/alexlafroscia/ember-rx/commit/949039a))
- add helper subscribes to observable ([f92e65a](https://github.com/alexlafroscia/ember-rx/commit/f92e65a))
- add route base class for observable models ([29f7c7a](https://github.com/alexlafroscia/ember-rx/commit/29f7c7a))
24 changes: 12 additions & 12 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@

## Installation

* `git clone <repository-url>`
* `cd ember-observable`
* `yarn install`
- `git clone <repository-url>`
- `cd ember-rx`
- `yarn install`

## Linting

* `yarn lint:hbs`
* `yarn lint:js`
* `yarn lint:js --fix`
- `yarn lint:hbs`
- `yarn lint:js`
- `yarn lint:js --fix`

## Running tests

* `ember test` – Runs the test suite on the current Ember version
* `ember test --server` – Runs the test suite in "watch mode"
* `ember try:each` – Runs the test suite against multiple Ember versions
- `ember test` – Runs the test suite on the current Ember version
- `ember test --server` – Runs the test suite in "watch mode"
- `ember try:each` – Runs the test suite against multiple Ember versions

## Running the dummy application

* `ember serve`
* Visit the dummy application at [http://localhost:4200](http://localhost:4200).
- `ember serve`
- Visit the dummy application at [http://localhost:4200](http://localhost:4200).

For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).
For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).
25 changes: 8 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,22 @@
ember-observable
==============================================================================
# ember-rx

[Short description of the addon.]

## Compatibility

Compatibility
------------------------------------------------------------------------------
- Ember.js v2.18 or above
- Ember CLI v2.13 or above

* Ember.js v2.18 or above
* Ember CLI v2.13 or above


Installation
------------------------------------------------------------------------------
## Installation

```
ember install ember-observable
ember install ember-rx
```


Usage
------------------------------------------------------------------------------
## Usage

[Longer description of how to use the addon in apps.]


License
------------------------------------------------------------------------------
## License

This project is licensed under the [MIT License](LICENSE.md).
2 changes: 1 addition & 1 deletion app/helpers/subscribe.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default, subscribe } from 'ember-observable/helpers/subscribe';
export { default, subscribe } from "ember-rx/helpers/subscribe";
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"name": "ember-observable",
"name": "ember-rx",
"version": "0.2.0",
"description": "The default blueprint for ember-cli addons.",
"description": "RxJS integration for Ember.js",
"keywords": [
"ember-addon"
"ember-addon",
"rxjs",
"observable"
],
"repository": "",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions tests/acceptance/observable-model-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { module, test } from "qunit";
import { visit } from "@ember/test-helpers";
import { setupApplicationTest } from "ember-qunit";
import td from "testdouble";
import { setupScheduler } from "ember-observable/test-support";
import { LATER_VALUE_SUBSCRIPTION } from "ember-observable/-private/symbols";
import { setupScheduler } from "ember-rx/test-support";
import { LATER_VALUE_SUBSCRIPTION } from "ember-rx/-private/symbols";
import { of, merge } from "rxjs";
import { delay } from "rxjs/operators";

Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/observable-model/route.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Route from "ember-observable/route";
import Route from "ember-rx/route";

export default class ObservableModel extends Route {
constructor() {
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/helpers/subscribe-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { module, test } from "qunit";
import { setupRenderingTest } from "ember-qunit";
import { setupScheduler } from "ember-observable/test-support";
import { setupScheduler } from "ember-rx/test-support";
import { render, clearRender } from "@ember/test-helpers";
import hbs from "htmlbars-inline-precompile";
import td from "testdouble";
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/decorators/subscribe-test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { module, test } from "qunit";
import { setupScheduler } from "ember-observable/test-support";
import { setupScheduler } from "ember-rx/test-support";
import EmberObject from "@ember/object";
import { subscribe } from "ember-observable";
import { subscribe } from "ember-rx";

module("Unit | Decorator | subscribe", function(hooks) {
setupScheduler(hooks);
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/observables/from-property-change-test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { module, test } from "qunit";
import { setupScheduler } from "ember-observable/test-support";
import { setupScheduler } from "ember-rx/test-support";
import td from "testdouble";
import EmberObject from "@ember/object";
import { fromPropertyChange } from "ember-observable";
import { fromPropertyChange } from "ember-rx";

class Dummy extends EmberObject {
foo = "foo";
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/utils/first-to-promise-test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { module, test } from "qunit";
import { setupScheduler } from "ember-observable/test-support";
import { setupScheduler } from "ember-rx/test-support";
import td from "testdouble";
import { firstToPromise } from "ember-observable";
import { firstToPromise } from "ember-rx";
import { Promise as RSVPPromise } from "rsvp";

module("Unit | Utils | firstToPromise", function(hooks) {
Expand Down

0 comments on commit b12691c

Please sign in to comment.