Skip to content

Commit a1ea602

Browse files
author
Ronen Babayoff
committed
Move package to practicalmeteor and update dependencies to practicalmeteor as well
1 parent ec64f72 commit a1ea602

6 files changed

+27
-28
lines changed

CHANGELOG.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.1.2
2+
3+
* Rename package from spacejamio:munit to practicalmeteor:munit.
4+
15
## 2.1.1
26

37
* Fix documentation and update changelog.
@@ -12,12 +16,12 @@
1216

1317
## 2.0.1
1418

15-
* Fix spacejamio:chai settings bug.
19+
* Fix practicalmeteor:chai settings bug.
1620

1721
## 2.0.0
1822

1923
* Update README to fix documentation bug regarding async tests, where usage description was incorrect.
20-
* Update spacejamio:chai and spacejamio:sinon dependencies to latest versions.
24+
* Update practicalmeteor:chai and practicalmeteor:sinon dependencies to latest versions.
2125
* Update required meteor version to 0.9.3
2226
* Update README to include only JavaScript examples and add tests for all the examples in the README.
2327

Describe.coffee

+3-10
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,6 @@ Declares a suite of tests. For example:
2020
type: Optional. Execution domain: 'client', 'server'
2121
###
2222
describe = (text, func, options = {}) ->
23-
# if not displayedAsyncTestsMessage
24-
# log.warn """
25-
# spacejamio:munit: The interface for async tests in describe has changed in v2.1.0.\n
26-
# Please visit https://github.com/spacejamio/meteor-munit for more info.
27-
# """
28-
# displayedAsyncTestsMessage = true
29-
3023
# Setup initial conditions.
3124
return unless _.isFunction(func)
3225

@@ -202,12 +195,12 @@ afterAll = (func) -> _suite?.suiteTearDown = wrap(func) if _.isFunction(func)
202195
# PRIVATE --------------------------------------------------------------------------
203196

204197
badParamsErrorMsg = """
205-
spacejamio:munit: Error: The interface for async tests has changed.\n
198+
Error: The interface for async tests has changed.\n
206199
Please use '(test, waitFor)' as function arguments,\n
207200
use waitFor as your callback function wrapper,
208201
enclose all your callback function code in try catch blocks and report exceptions with test.exception.\n
209-
For additional information, please visit the spacejamio:munit documentation at:\n
210-
https://github.com/spacejamio/meteor-munit
202+
For additional information, please visit the practicalmeteor:munit documentation at:\n
203+
https://github.com/practicalmeteor/meteor-munit
211204
"""
212205

213206
wrap = (func) ->

Helpers.coffee

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Those two are defined in spacejamio:sinon.
2-
# See: https://github.com/spacejamio/meteor-sinon/
1+
# Those two are defined in practicalmeteor:sinon.
2+
# See: https://github.com/practicalmeteor/meteor-sinon/
33
Munit.spies = spies
44
Munit.stubs = stubs

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.org/spacejamio/meteor-munit.svg?branch=master)](https://travis-ci.org/spacejamio/meteor-munit)
1+
[![Build Status](https://travis-ci.org/practicalmeteor/meteor-munit.svg?branch=master)](https://travis-ci.org/practicalmeteor/meteor-munit)
22

33
## Munit
44

@@ -9,9 +9,9 @@ For additional information regarding Tinytest, please refer to this excellent sc
99

1010
## Installation
1111

12-
``meteor add spacejamio:munit``
12+
``meteor add practicalmeteor:munit``
1313

14-
[spacejamio:chai](https://atmospherejs.com/spacejamio/chai) and [spacejamio:sinon](https://atmospherejs.com/spacejamio/sinon) will be automatically added as well, which you can use in your tests.
14+
[practicalmeteor:chai](https://atmospherejs.com/practicalmeteor/chai) and [practicalmeteor:sinon](https://atmospherejs.com/practicalmeteor/sinon) will be automatically added as well, which you can use in your tests.
1515

1616
## BDD Interface
1717

@@ -68,7 +68,7 @@ The `test` argument is the same test object passed to a test function by `Tinyte
6868

6969
The `msg` property is a custom error message for the assertion.
7070

71-
You can use either the test object for your assertions or the included spacejamio:chai library.
71+
You can use either the test object for your assertions or the included practicalmeteor:chai library.
7272

7373
You can see the source code [here](https://github.com/meteor/meteor/blob/devel/packages/tinytest/tinytest.js).
7474

@@ -365,8 +365,8 @@ Contributions are more than welcome. Here are some of our contributors:
365365

366366
## Changelog
367367

368-
[CHANGELOG](https://github.com/spacejamio/meteor-munit/blob/master/CHANGELOG.md)
368+
[CHANGELOG](https://github.com/practicalmeteor/meteor-munit/blob/master/CHANGELOG.md)
369369

370370
## License
371371

372-
[MIT](https://github.com/spacejamio/meteor-munit/blob/master/LICENSE.txt)
372+
[MIT](https://github.com/practicalmeteor/meteor-munit/blob/master/LICENSE.txt)

log.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
log = loglevel.createPackageLogger('practicalmeteor:munit', 'info');

package.js

+9-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package.describe({
22
summary: "Meteor unit testing framework for packages",
3-
name: "spacejamio:munit",
4-
version: "2.1.1",
5-
git: "https://github.com/spacejamio/meteor-munit.git"
3+
name: "practicalmeteor:munit",
4+
version: "2.1.2",
5+
git: "https://github.com/practicalmeteor/meteor-munit.git"
66
});
77

88
Package.onUse(function (api) {
@@ -12,14 +12,15 @@ Package.onUse(function (api) {
1212
api.use(["tinytest","test-helpers"]);
1313

1414
api.use([
15-
'spacejamio:[email protected].0_1',
16-
"spacejamio:[email protected].2_2",
17-
"spacejamio:[email protected].3_1"]);
15+
'practicalmeteor:[email protected].0_2',
16+
"practicalmeteor:[email protected].2_3",
17+
"practicalmeteor:[email protected].3_2"]);
1818

1919
api.imply(["tinytest","test-helpers"]);
2020

21-
api.imply(["spacejamio:[email protected].2_2", "spacejamio:[email protected].3_1"]);
21+
api.imply(["practicalmeteor:[email protected].2_3", "practicalmeteor:[email protected].3_2"]);
2222

23+
api.addFiles("log.js");
2324
api.addFiles("namespaces.js");
2425
api.addFiles("async_multi.js");
2526
api.addFiles("Munit.coffee");
@@ -32,7 +33,7 @@ Package.onUse(function (api) {
3233
});
3334

3435
Package.onTest(function(api) {
35-
api.use(["coffeescript", "spacejamio:[email protected].0_1", "spacejamio:munit"]);
36+
api.use(["coffeescript", "practicalmeteor:[email protected].0_2", "practicalmeteor:munit@2.1.2"]);
3637

3738
api.addFiles("tests/TDDTest.js");
3839
api.addFiles("tests/DescribeTest.js");

0 commit comments

Comments
 (0)