Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update dependencies

  • Loading branch information...
commit 369d2c97bfb0e0c9558feb2b2e7e9e468411076e 1 parent 416bd31
@hickford authored
View
20 README.markdown
@@ -1,14 +1,14 @@
Imgurgitate
=========
-Download [Imgur](http://imgur.com) albums to disk. Download all of a [Redditor's](http://www.reddit.com/) albums to disk.
+Download [Imgur](http://imgur.com) albums to disk. Download a [Redditor's](http://www.reddit.com/) albums to disk.
Usage
----
Download Imgur albums to disk
Usage: imgurgitate album_url
- Usage imgurgitate reddit_user
+ Usage: imgurgitate reddit_user
Prerequisites
----------
@@ -31,21 +31,25 @@ Download an album:
imgurgitate http://imgur.com/a/SS6V5
-
Development
----
[![Build Status](https://travis-ci.org/matt-hickford/imgurgitate.png?branch=master)](https://travis-ci.org/matt-hickford/imgurgitate)
-You only need to read these instructions if you would like to develop the software. First, install [Iced CoffeeScript](http://maxtaco.github.com/coffee-script/) `npm install -g iced-coffee-script`, then
+Clone this project:
git clone https://github.com/matt-hickford/imgurgitate.git
-
+ cd imgurgitate
+
+Install development dependencies (principally [Iced CoffeeScript](http://maxtaco.github.com/coffee-script/))
+
+ npm install --dev
+
+Build the Coffeescripts to Javascript
+
icake build
- node lib/imgurgitate.js
- icake clean
-To publish to [npm registry](https://new.npmjs.org/package/imgurgitate)
+Publish to [npm registry](https://new.npmjs.org/package/imgurgitate)
npm publish
View
119 npm-shrinkwrap.json
@@ -1,28 +1,18 @@
{
"name": "imgurgitate",
- "version": "0.0.6",
+ "version": "0.0.7",
"dependencies": {
- "http-get": {
- "version": "0.5.7",
- "from": "http-get@>=0.5.7",
- "dependencies": {
- "semver": {
- "version": "1.1.3",
- "from": "semver@>=1.0.13"
- }
- }
- },
"request": {
- "version": "2.12.0",
- "from": "request@>=2.12.0",
+ "version": "2.16.6",
+ "from": "request@*",
"dependencies": {
"form-data": {
- "version": "0.0.3",
- "from": "form-data",
+ "version": "0.0.7",
+ "from": "form-data@~0.0.3",
"dependencies": {
"combined-stream": {
- "version": "0.0.3",
- "from": "combined-stream@0.0.3",
+ "version": "0.0.4",
+ "from": "combined-stream@~0.0.4",
"dependencies": {
"delayed-stream": {
"version": "0.0.5",
@@ -31,24 +21,78 @@
}
},
"async": {
- "version": "0.1.9",
- "from": "async@0.1.9"
+ "version": "0.1.22",
+ "from": "async@~0.1.9"
}
}
},
"mime": {
- "version": "1.2.7",
- "from": "mime"
+ "version": "1.2.9",
+ "from": "mime@~1.2.7"
+ },
+ "hawk": {
+ "version": "0.10.2",
+ "from": "hawk@~0.10.2",
+ "dependencies": {
+ "hoek": {
+ "version": "0.7.5",
+ "from": "hoek@0.7.x"
+ },
+ "boom": {
+ "version": "0.3.8",
+ "from": "boom@0.3.x"
+ },
+ "cryptiles": {
+ "version": "0.1.3",
+ "from": "cryptiles@0.1.x"
+ },
+ "sntp": {
+ "version": "0.1.4",
+ "from": "sntp@0.1.x"
+ }
+ }
+ },
+ "node-uuid": {
+ "version": "1.4.0",
+ "from": "node-uuid@~1.4.0"
+ },
+ "cookie-jar": {
+ "version": "0.2.0",
+ "from": "cookie-jar@~0.2.0"
+ },
+ "aws-sign": {
+ "version": "0.2.0",
+ "from": "aws-sign@~0.2.0"
+ },
+ "oauth-sign": {
+ "version": "0.2.0",
+ "from": "oauth-sign@~0.2.0"
+ },
+ "forever-agent": {
+ "version": "0.2.0",
+ "from": "forever-agent@~0.2.0"
+ },
+ "tunnel-agent": {
+ "version": "0.2.0",
+ "from": "tunnel-agent@~0.2.0"
+ },
+ "json-stringify-safe": {
+ "version": "3.0.0",
+ "from": "json-stringify-safe@~3.0.0"
+ },
+ "qs": {
+ "version": "0.5.5",
+ "from": "qs@~0.5.4"
}
}
},
"underscore": {
"version": "1.4.4",
- "from": "underscore@>=1.4.4"
+ "from": "underscore@*"
},
"optimist": {
"version": "0.3.5",
- "from": "optimist@>=0.3.5",
+ "from": "optimist@*",
"dependencies": {
"wordwrap": {
"version": "0.0.2",
@@ -56,23 +100,30 @@
}
}
},
+ "http-get": {
+ "version": "0.5.9",
+ "from": "http-get@*",
+ "resolved": "https://registry.npmjs.org/http-get/-/http-get-0.5.9.tgz",
+ "dependencies": {
+ "semver": {
+ "version": "1.1.4",
+ "from": "semver@>=1.0.13",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-1.1.4.tgz"
+ },
+ "buffer-concat": {
+ "version": "0.0.1",
+ "from": "buffer-concat@>=0.0.1",
+ "resolved": "https://registry.npmjs.org/buffer-concat/-/buffer-concat-0.0.1.tgz"
+ }
+ }
+ },
"iced-coffee-script": {
"version": "1.4.0c",
"from": "iced-coffee-script@>=1.4.0c"
},
"wrench": {
"version": "1.4.4",
- "from": "wrench@>=1.4.4"
- },
- "prettyjson": {
- "version": "0.7.1",
- "from": "prettyjson@>=0.7.1",
- "dependencies": {
- "colors": {
- "version": "0.6.0-1",
- "from": "colors@0.6.0-1"
- }
- }
+ "from": "wrench@*"
}
}
}
View
15 package.json
@@ -2,7 +2,7 @@
"author": "Matt Hickford <matt.hickford@gmail.com> (http://matt-hickford.github.com/)",
"name": "imgurgitate",
"description": "Download Imgur albums to disk. Download all of a Redditor's albums to disk.",
- "version": "0.0.6",
+ "version": "0.0.7",
"homepage": "https://github.com/matt-hickford/imgurgitate",
"bugs": {
"name": "https://github.com/matt-hickford/imgurgitate/issues"
@@ -30,18 +30,17 @@
"url": "https://matt-hickford@github.com/matt-hickford/imgurgitate.git"
},
"engines": {
- "node": "0.8.x"
+ "node": "0.8 - 0.10"
},
"dependencies": {
- "http-get": ">=0.5.7",
- "request": ">=2.12.0",
- "underscore": ">=1.4.4",
- "optimist": ">=0.3.5"
+ "request": "*",
+ "underscore": "*",
+ "optimist": "*",
+ "http-get": "*"
},
"devDependencies": {
"iced-coffee-script": ">=1.4.0c",
- "prettyjson": ">=0.7.1",
- "wrench": ">=1.4.4"
+ "wrench": "*"
},
"optionalDependencies": {}
}
View
17 src/imgurgitate.iced
@@ -1,11 +1,12 @@
#!/usr/bin/env iced
-# http://maxtaco.github.com/coffee-script/
-request = require('request')
-underscore = require('underscore')
-httpget = require('http-get')
-path = require('path')
-fs = require('fs')
-util = require('util')
+# from http://maxtaco.github.com/coffee-script/
+
+path = require 'path'
+fs = require 'fs'
+util = require 'util'
+underscore = require 'underscore'
+request = require 'request'
+httpget = require 'http-get'
imgur_album_url_pattern = RegExp("^http://(?:www\.)?imgur\.com/a/([a-zA-Z0-9]+)","i")
imgur_url_pattern = RegExp("^http://((www)|(i)\.)?imgur.com/[./a-zA-Z0-9&,]+","ig")
@@ -127,7 +128,7 @@ if (!module.parent)
argv = require('optimist').usage(
["Download Imgur albums to disk",
"Usage: $0 album_url",
- "Download all of a Redditor's albums to disk",
+ "Download a Redditor's albums to disk",
"Usage: $0 reddit_user"].join("\n")
).demand(1).argv
for arg in argv._
Please sign in to comment.
Something went wrong with that request. Please try again.