Skip to content

Commit

Permalink
v2.12.9
Browse files Browse the repository at this point in the history
 - Fix for cases when route's param isn't String
 - Fix broken redirects in triggers
 - Fix exception on `new Route()` without arguments
 - Preserve `%` and `+` symbols in URI
 - Allow to use triggersEnter in Group without Array, see [PR
kadirahq#659](kadirahq#659)
 - Fix generation of URLs with a ROOT_URL containing a path, see [PR
kadirahq#691](kadirahq#691)
 - Support RegEx ([0-9]*) in .path, see [PR
kadirahq#654](kadirahq#654)
 - Fix nested groups on server, see [PR
kadirahq#663](kadirahq#663)
 - Same behavior for Server groups, as for groups on Client
 - Add auto-tests
 - NPM Dependencies update
  • Loading branch information
dr-dimitru committed Feb 23, 2017
1 parent 34074d2 commit 45fa826
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .npm/package/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 30 additions & 2 deletions package.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package.describe({
name: 'ostrio:flow-router-extra',
summary: 'Carefully extended flow-router with waitOn and template context',
version: '2.12.7',
version: '2.12.9',
git: 'https://github.com/VeliovGroup/flow-router'
});

Expand Down Expand Up @@ -39,9 +39,37 @@ Package.onUse(function (api) {
api.addFiles('lib/router.js', ['client', 'server']);

api.export('FlowRouter');
// Uncomment before running tests
// api.export('Triggers');
});

Package.onTest(function(api) {
api.use(['tinytest', 'underscore', 'reactive-var', 'tracker', 'check', 'mongo', 'http', 'random', 'ostrio:flow-router-extra', 'meteorhacks:fast-render', 'meteorhacks:inject-data', 'tmeasday:html5-history-api']);

api.addFiles('test/common/fast_render_route.js', ['client', 'server']);

api.addFiles('test/client/_helpers.js', 'client');
api.addFiles('test/server/_helpers.js', 'server');

api.addFiles('test/client/loader.spec.js', 'client');
api.addFiles('test/client/route.reactivity.spec.js', 'client');
api.addFiles('test/client/router.core.spec.js', 'client');
api.addFiles('test/client/router.subs_ready.spec.js', 'client');
api.addFiles('test/client/router.reactivity.spec.js', 'client');
api.addFiles('test/client/group.spec.js', 'client');
api.addFiles('test/client/trigger.spec.js', 'client');
api.addFiles('test/client/triggers.js', 'client');

api.addFiles('test/server/plugins/fast_render.js', 'server');

api.addFiles('test/common/router.path.spec.js', ['client', 'server']);
api.addFiles('test/common/router.url.spec.js', ['client', 'server']);
api.addFiles('test/common/router.addons.spec.js', ['client', 'server']);
api.addFiles('test/common/route.spec.js', ['client', 'server']);
api.addFiles('test/common/group.spec.js', ['client', 'server']);
});

Npm.depends({
'page': '1.7.1',
'qs': '6.3.0'
'qs': '6.3.1'
});

0 comments on commit 45fa826

Please sign in to comment.