Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.5.3 #20

Merged
merged 1 commit into from Mar 1, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 2 additions & 4 deletions .versions
Expand Up @@ -3,10 +3,8 @@ ejson@1.0.5
http@1.0.10
json@1.0.2
meteor@1.1.4
meteorhacks:async@1.0.0
meteorhacks:npm@1.2.2
ostrio:neo4jdriver@0.2.7
ostrio:neo4jreactivity@0.5.0
ostrio:neo4jdriver@0.2.10
ostrio:neo4jreactivity@0.5.3
reactive-dict@1.0.5
reactive-var@1.0.4
session@1.0.5
Expand Down
13 changes: 7 additions & 6 deletions ostrio:neo4jreactivity_driver.js
Expand Up @@ -8,8 +8,9 @@
/*global Neo4jCacheCollection:false */

if (Meteor.isServer) {

var Fiber = Meteor.npmRequire('fibers');
var bound = Meteor.bindEnvironment(function(callback){
callback()
});
Meteor.N4JDB = {};
this.N4JDB = Meteor.N4JDB;
}
Expand Down Expand Up @@ -426,11 +427,11 @@ Meteor.neo4j = {
type: 'READ'
});

Fiber(function() {
bound(function() {
affectedRecords.forEach(function(value){
Meteor.neo4j.run(value.uid, value.query, value.opts, value.created);
});
}).run();
});
}
}
});
Expand All @@ -452,13 +453,13 @@ Meteor.neo4j = {
this.check(query);

Meteor.N4JDB.query(query, opts, function(error, data) {
Fiber(function() {
bound(function() {
if (error) {
throw new Meteor.Error('500', 'Meteor.N4JDB.query: [Meteor.neo4j.run]: ' + [error, uid, query, opts, date].toString());
} else {
return Meteor.neo4j.cache.put(uid, data || null, query, opts, date);
}
}).run();
});
});
} : undefined,

Expand Down
17 changes: 6 additions & 11 deletions package.js
@@ -1,23 +1,18 @@
Package.describe({
name: 'ostrio:neo4jreactivity',
summary: 'Meteor.js Neo4j database pseudo-reactivity layer',
version: '0.5.0',
summary: 'Meteor.js Neo4j database reactivity layer',
version: '0.5.3',
git: 'https://github.com/VeliovGroup/ostrio-Neo4jreactivity.git'
});

Package.onUse(function(api) {
api.versionsFrom('1.0');
api.addFiles(['ostrio:neo4jreactivity_driver.js', 'ostrio:neo4jreactivity_collection.js', 'ostrio:neo4jreactivity_methods.js']);
api.use('underscore', ['client', 'server']);
api.use('tracker', 'client');
api.use('session', 'client');
api.use('reactive-var', 'client');
api.use('sha', ['client', 'server']);
api.use('ostrio:neo4jdriver@0.2.7');
api.use('meteorhacks:npm@1.2.2');
api.use(['underscore', 'sha'], ['client', 'server']);
api.use(['tracker', 'session', 'reactive-var'], 'client');
api.use('ostrio:neo4jdriver@0.2.10');
});

Npm.depends({
neo4j: '1.1.1',
fibers: '1.0.2'
neo4j: '1.1.1'
});
3 changes: 0 additions & 3 deletions packages.json

This file was deleted.

9 changes: 0 additions & 9 deletions packages/npm-container/index.js

This file was deleted.

21 changes: 0 additions & 21 deletions packages/npm-container/package.js

This file was deleted.

51 changes: 0 additions & 51 deletions versions.json

This file was deleted.