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

Commit

Permalink
Merge pull request #128 from Medium/nick-node12
Browse files Browse the repository at this point in the history
Make shepherd compatible with node 0.12
  • Loading branch information
nicks committed Feb 12, 2015
2 parents ae3f8d0 + 40dec48 commit 1fe399e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: node_js
node_js:
- "0.12"
- "0.10"
- "0.8"
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
shepherd: asynchronous dependency injection and more!
==================================

[![Build Status](https://travis-ci.org/Medium/shepherd.svg)](https://travis-ci.org/Medium/shepherd)

**Shepherd** is a graph-based dependency resolution system, designed to simplify request pipelines that have multiple asynchronous steps. Shepherd makes it easy to split code into fine-grained, composable units.

For example, a feed may draw on multiple sources of data which need to be fetched in parallel (and each may have multiple processing steps), but they may have some common dependencies. With **Shepherd**, you would break each step into a single function, which would return immediately or through a promise, and specify any direct dependencies. Once all of the components are created atomically, the `Graph` will handle when each node runs and provide you with the processed output once all steps have completed.
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "shepherd",
"description": "asynchronous dependency injection for node.js",
"version": "2.3.3-alpha.3",
"homepage": "https://github.com/Obvious/shepherd",
"version": "2.4.0",
"homepage": "https://github.com/Medium/shepherd",
"authors": [
"Jeremy Stanley <[email protected]> (https://github.com/azulus)",
"Elizabeth Ford <[email protected]> (https://github.com/eford1)"
Expand All @@ -12,14 +12,14 @@
"main": "lib/shepherd.js",
"repository": {
"type": "git",
"url": "https://github.com/Obvious/shepherd.git"
"url": "https://github.com/Medium/shepherd.git"
},
"dependencies": {
"graphviz": "0.0.8",
"kew": "0.5.0-alpha",
"oid": "0.5.0",
"kew": "0.5.0",
"oid": "1.0.0",
"typ": "0.6.3",
"xxhash": "0.1.3"
"xxhash": "0.2.1"
},
"externDependencies": {
"graphviz": "./externs/graphviz.js",
Expand All @@ -28,7 +28,7 @@
},
"devDependencies": {
"closure-npc": "0.1.2",
"nodeunit": "0.7.4",
"nodeunit": "0.9.0",
"nodeunitq": "0.1.1"
},
"scripts": {
Expand Down

0 comments on commit 1fe399e

Please sign in to comment.