Skip to content

Commit

Permalink
Version bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitar committed Sep 20, 2019
1 parent b947d93 commit 63fdec0
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 46 deletions.
22 changes: 11 additions & 11 deletions .versions
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ [email protected]
[email protected]
[email protected]
[email protected]
coffeescript@2.0.3_3
coffeescript-compiler@2.0.3_3
coffeescript@2.4.1
coffeescript-compiler@2.4.1
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected].4
[email protected].7
[email protected]
[email protected]
[email protected]
Expand All @@ -27,7 +27,7 @@ [email protected]
[email protected]
lamhieu:[email protected]
lamhieu:[email protected]
local-test:peerlibrary:reactive-publish@0.8.1
local-test:peerlibrary:reactive-publish@0.9.0
[email protected]
[email protected]
[email protected]
Expand All @@ -40,13 +40,13 @@ [email protected]
[email protected]
[email protected]
[email protected]
peerlibrary:assert@0.2.5
peerlibrary:classy-test@0.3.0
peerlibrary:extend-publish@0.5.0
peerlibrary:fiber-utils@0.9.1
peerlibrary:reactive-mongo@0.3.0
peerlibrary:reactive-publish@0.8.1
peerlibrary:server-autorun@0.7.1
peerlibrary:assert@0.3.0
peerlibrary:classy-test@0.4.0
peerlibrary:extend-publish@0.6.0
peerlibrary:fiber-utils@0.10.0
peerlibrary:reactive-mongo@0.4.0
peerlibrary:reactive-publish@0.9.0
peerlibrary:server-autorun@0.8.0
[email protected]
[email protected]
[email protected]
Expand Down
24 changes: 12 additions & 12 deletions package.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
Package.describe({
summary: "Reactive publish endpoints",
version: '0.8.1',
version: '0.9.0',
name: 'peerlibrary:reactive-publish',
git: 'https://github.com/peerlibrary/meteor-reactive-publish.git'
});

Package.onUse(function (api) {
api.versionsFrom('METEOR@1.4.4.5');
api.versionsFrom('METEOR@1.8.1');

// Core dependencies.
api.use([
'coffeescript@2.0.3_3',
'coffeescript@2.4.1',
'ecmascript',
'mongo',
'minimongo',
Expand All @@ -19,9 +19,9 @@ Package.onUse(function (api) {

// 3rd party dependencies.
api.use([
'peerlibrary:server-autorun@0.7.1',
'peerlibrary:reactive-mongo@0.3.0',
'peerlibrary:extend-publish@0.5.0'
'peerlibrary:server-autorun@0.8.0',
'peerlibrary:reactive-mongo@0.4.0',
'peerlibrary:extend-publish@0.6.0'
], 'server');

api.addFiles([
Expand All @@ -30,11 +30,11 @@ Package.onUse(function (api) {
});

Package.onTest(function (api) {
api.versionsFrom('METEOR@1.4.4.5');
api.versionsFrom('METEOR@1.8.1');

// Core dependencies.
api.use([
'coffeescript@2.0.3_3',
'coffeescript@2.4.1',
'ecmascript',
'insecure',
'random',
Expand All @@ -51,13 +51,13 @@ Package.onTest(function (api) {

// 3rd party dependencies.
api.use([
'peerlibrary:assert@0.2.5',
'peerlibrary:server-autorun@0.7.1',
'peerlibrary:classy-test@0.3.0',
'peerlibrary:assert@0.3.0',
'peerlibrary:server-autorun@0.8.0',
'peerlibrary:classy-test@0.4.0',
'lamhieu:[email protected]'
]);

api.add_files([
api.addFiles([
'tests.coffee'
]);
});
46 changes: 23 additions & 23 deletions tests.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertTrue id
@posts.push id

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
@assertEqual Posts.find().fetch(), []
Expand All @@ -347,7 +347,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertTrue userId
@assertEqual userId, @userId

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
Posts.find().forEach (post) =>
Expand All @@ -364,7 +364,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertFalse error, error?.toString?() or error
@assertEqual count, 1

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
Posts.find().forEach (post) =>
Expand All @@ -379,7 +379,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertFalse error, error?.toString?() or error
@assertEqual count, 1

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
@assertItemsEqual _.pluck(Posts.find().fetch(), '_id'), []
Expand All @@ -392,7 +392,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertFalse error, error?.toString?() or error
@assertEqual count, 1

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
Posts.find().forEach (post) =>
Expand All @@ -404,7 +404,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertFalse error, error?.toString?() or error
@assertEqual count, 1

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
Posts.find().forEach (post) =>
Expand All @@ -416,7 +416,7 @@ for idGeneration in ['STRING', 'MONGO']
@expect (error) =>
@assertFalse error, error?.toString?() or error

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
@assertItemsEqual _.pluck(Posts.find().fetch(), '_id'), []
Expand Down Expand Up @@ -451,7 +451,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertTrue id
@posts.push id

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
@assertEqual Posts.find().fetch(), []
Expand All @@ -466,7 +466,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertTrue userId
@assertEqual userId, @userId

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
Posts.find().forEach (post) =>
Expand All @@ -482,7 +482,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertFalse error, error?.toString?() or error
@assertEqual count, 1

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
Posts.find().forEach (post) =>
Expand Down Expand Up @@ -544,7 +544,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertTrue id
@postId = id

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
@assertEqual Posts.find().fetch(), []
Expand All @@ -558,7 +558,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertTrue userId
@assertEqual userId, @userId

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
@assertItemsEqual Posts.find().fetch(), [
Expand All @@ -575,7 +575,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertFalse error, error?.toString?() or error
@assertEqual count, 1

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
@assertItemsEqual Posts.find().fetch(), [
Expand All @@ -592,7 +592,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertFalse error, error?.toString?() or error
@assertEqual count, 1

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
@assertItemsEqual Posts.find().fetch(), [
Expand All @@ -608,7 +608,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertFalse error, error?.toString?() or error
@assertEqual count, 1

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
@assertItemsEqual Posts.find().fetch(), [
Expand All @@ -625,7 +625,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertFalse error, error?.toString?() or error
@assertEqual count, 1

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
@assertItemsEqual Posts.find().fetch(), [
Expand Down Expand Up @@ -667,7 +667,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertTrue id
@addresses.push id

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
@assertEqual Posts.find().fetch(), []
Expand All @@ -683,7 +683,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertTrue userId
@assertEqual userId, @userId

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
@assertItemsEqual _.pluck(Posts.find().fetch(), '_id'), @posts
Expand All @@ -697,7 +697,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertFalse error, error?.toString?() or error
@assertEqual count, 1

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
@assertItemsEqual _.pluck(Posts.find().fetch(), '_id'), @posts[0..5]
Expand All @@ -711,7 +711,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertFalse error, error?.toString?() or error
@assertEqual count, 1

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
@assertItemsEqual _.pluck(Posts.find().fetch(), '_id'), @posts[0..5]
Expand All @@ -725,7 +725,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertFalse error, error?.toString?() or error
@assertEqual count, 1

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
@assertItemsEqual _.pluck(Posts.find().fetch(), '_id'), @posts[0..5]
Expand All @@ -735,7 +735,7 @@ for idGeneration in ['STRING', 'MONGO']
@assertFalse error, error?.toString?() or error
@assertEqual count, 1

Meteor.setTimeout @expect(), 200 # ms
Meteor.setTimeout @expect(), 1000 # ms
,
->
@assertItemsEqual _.pluck(Posts.find().fetch(), '_id'), []
Expand Down Expand Up @@ -780,7 +780,7 @@ for idGeneration in ['STRING', 'MONGO']
timestamp: timestamp

# We have to wait for all posts to be inserted and pushed to the client.
Meteor.setTimeout @expect(), 300 # ms
Meteor.setTimeout @expect(), 1000 # ms
->
@posts = _.sortBy @posts, 'timestamp'

Expand Down

0 comments on commit 63fdec0

Please sign in to comment.