Skip to content

Conversation

smcatala
Copy link
Member

No description provided.

smcatala added 30 commits July 20, 2016 00:05
…liance

* extract class 'Index' into a dedicated 'index-generator' module dependency
to allow mocking.
* 100% coverage of IndexedQueue code
* modify argument invariants of valid service method call accordingly
* add unit test for undefined args property
* simplify message handling in ServiceProxy
* modify WorkerService to comply with ServiceProxy message format
* update WorkerService unit tests accordingly
* refactor message-related interfaces
* refactor proxy method
* prune unused functions
…ingly

* extract utility functions into common src/lib/utils.ts
* improve managent of argument invariants
* add ServiceProxy configuration options for dependency injection
* add duck-type based type validation functions for Worker, IndexedQueue
  and IndexGenerator
* remove generic type from IndexedQueue, not required for ServiceProxy
  implementation
* modify handling of index conflict in IndexedQueue#push,
  allowing multiple attempts to push an entry into the queue
  with successive calls to push
* remove IndexGenerator#undo, not required any longer
* add IndexGenerator#value instead, only required for IndexGenerator testing
* modify unit tests accordingly
* remove `worker` property from `opts` argument
* rename `path` argument to `worker`, which can now be a {string} or
  {Worker}
* modify dependents accordingly, including README example
smcatala added 26 commits July 28, 2016 22:11
* include link in README
* add 'test:web' scripts to generate the unit test scripts for the live page
* replace Object.assign with tslib/__assign
* replace Object.assign in workerFn of proxy tests with or-else operator
* add support for require() in worker script through `webworkify`
* add unit tests to validate new use-case with webworkify
* add webworkify section in README
* rebase example code on `src` rather than `dist`, update build scripts
  accordingly
* fix incorrect method binding in WorkerServiceClass#callTargetMethod
* add support for 'methods' option in ServiceBinderSpec
* include details on new 'methods' option in README
* bump package version and update corresponding CDN links in README
* add support for injecting revokeObjectURL mock in place of
  URL#revokeObjectURL
* remove unreachable code
@coveralls
Copy link

coveralls commented Dec 12, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling d8d8c4c on smcatala:master into 86e3949 on ZenyWay:master.

smcatala added a commit that referenced this pull request Dec 12, 2016
* travis: fix google-chrome config, upgrade node versions,
  container-based (sudo: false)
* bump dependencies

commit d8d8c4c
Author: S. M. Catala <stephane@zenyway.com>
Date:   Mon Dec 12 16:22:59 2016 +0100

    travis: attempt to setup google chrome properly

commit 722d12c
Author: S. M. Catala <stephane@zenyway.com>
Date:   Mon Dec 12 15:59:55 2016 +0100

    travis: replace google download with addons entry

commit dc78545
Author: S. M. Catala <stephane@zenyway.com>
Date:   Mon Dec 12 15:28:24 2016 +0100

    2.1.2 bump dependencies
@smcatala
Copy link
Member Author

smcatala commented Dec 12, 2016

closed with d34132c

@smcatala smcatala closed this Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants