Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
Npm version bump and small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
stevezhu committed Sep 21, 2014
1 parent 02191ab commit 69fd975
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
9 changes: 4 additions & 5 deletions package.js
Original file line number Diff line number Diff line change
Expand Up @@ -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('[email protected]');

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');
Expand Down
6 changes: 3 additions & 3 deletions tests/fbgraph_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
});
Expand Down
10 changes: 7 additions & 3 deletions versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,22 @@
"dependencies": [
[
"meteor",
"1.0.3"
"1.1.0"
],
[
"meteorhacks:async",
"1.0.0"
],
[
"meteorhacks:npm",
"1.1.3"
"1.2.0"
],
[
"underscore",
"1.0.0"
]
],
"pluginDependencies": [],
"toolVersion": "[email protected].27",
"toolVersion": "[email protected].31",
"format": "1.0"
}

0 comments on commit 69fd975

Please sign in to comment.