From 69fd975a87853a00236dec7f214ba869389d0efc Mon Sep 17 00:00:00 2001 From: Steve Zhu Date: Sun, 21 Sep 2014 14:33:05 -0400 Subject: [PATCH] Npm version bump and small changes --- package.js | 9 ++++----- tests/fbgraph_test.js | 6 +++--- versions.json | 10 +++++++--- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/package.js b/package.js index 6172865..317decd 100644 --- a/package.js +++ b/package.js @@ -2,24 +2,23 @@ Npm.depends({'fbgraph': '0.2.11'}); Package.describe({ summary: "Node.js module to access the Facebook graph api.", - version: "1.0.2", + version: "1.1.0", git: "https://github.com/stevezhu/meteor-fbgraph.git" }); Package.onUse(function(api) { api.versionsFrom('METEOR@0.9.0'); - api.use('meteorhacks:npm@1.1.3'); + api.use('meteorhacks:npm@1.2.0'); api.addFiles('fbgraph.js', 'server'); api.export('FBGraph', 'server'); }); Package.onTest(function(api) { + api.use('tinytest'); api.use([ - 'stevezhu:fbgraph', - 'service-configuration', - 'tinytest' + 'service-configuration' ]); api.use('stevezhu:fbgraph'); api.addFiles('tests/fbgraph_test.js'); diff --git a/tests/fbgraph_test.js b/tests/fbgraph_test.js index a317df8..a0bd74e 100644 --- a/tests/fbgraph_test.js +++ b/tests/fbgraph_test.js @@ -5,13 +5,13 @@ var app = { }; if (Meteor.isClient) { - Tinytest.add("FBGraph - Undefined on client", function(test) { - test.equal(typeof FBGraph, "undefined", "Expected FBGraph to be undefined on client"); + Tinytest.add("FBGraph - FBGraph undefined on client", function(test) { + test.equal(typeof FBGraph, 'undefined', "Expected FBGraph to be undefined on client"); }); } if (Meteor.isServer) { - Tinytest.add("FBGraph - ServiceConfiguration", function(test) { + Tinytest.add("FBGraph - Facebook ServiceConfiguration", function(test) { ServiceConfiguration.configurations.remove({ service: 'facebook' }); diff --git a/versions.json b/versions.json index c87dc3c..43322d6 100644 --- a/versions.json +++ b/versions.json @@ -2,11 +2,15 @@ "dependencies": [ [ "meteor", - "1.0.3" + "1.1.0" + ], + [ + "meteorhacks:async", + "1.0.0" ], [ "meteorhacks:npm", - "1.1.3" + "1.2.0" ], [ "underscore", @@ -14,6 +18,6 @@ ] ], "pluginDependencies": [], - "toolVersion": "meteor-tool@1.0.27", + "toolVersion": "meteor-tool@1.0.31", "format": "1.0" } \ No newline at end of file