[Pkg-javascript-commits] [node-gyp] 55/82: Imported Upstream version 0.10.10
Ximin Luo
infinity0 at debian.org
Mon Aug 31 00:41:00 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository node-gyp.
commit 9faecf543d903edc2f52896b02eb508e6cfc6a34
Author: Jérémy Lal <kapouer at melix.org>
Date: Tue Sep 17 02:04:25 2013 +0200
Imported Upstream version 0.10.10
---
lib/configure.js | 4 ++--
lib/install.js | 3 +++
package.json | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/lib/configure.js b/lib/configure.js
index 37c9ad3..357f27d 100644
--- a/lib/configure.js
+++ b/lib/configure.js
@@ -52,14 +52,14 @@ function configure (gyp, argv, callback) {
log.verbose('check python', 'checking for Python executable "%s" in the PATH', python)
which(python, function (err, execPath) {
if (err) {
- log.verbose('`which` failed for `%s`', python, err)
+ log.verbose('`which` failed', python, err)
if (win) {
guessPython()
} else {
failNoPython()
}
} else {
- log.verbose('`which` succeeded for `%s`', python, execPath)
+ log.verbose('`which` succeeded', python, execPath)
checkPythonVersion()
}
})
diff --git a/lib/install.js b/lib/install.js
index 2baaa82..9f5b80b 100644
--- a/lib/install.js
+++ b/lib/install.js
@@ -118,6 +118,9 @@ function install (gyp, argv, callback) {
var req = null
var requestOpts = {
uri: url
+ , headers: {
+ 'User-Agent': 'node-gyp v' + gyp.version + ' (node ' + process.version + ')'
+ }
}
// basic support for a proxy server
diff --git a/package.json b/package.json
index 6763ec7..ce2eded 100644
--- a/package.json
+++ b/package.json
@@ -10,7 +10,7 @@
"bindings",
"gyp"
],
- "version": "0.10.9",
+ "version": "0.10.10",
"installVersion": 9,
"author": "Nathan Rajlich <nathan at tootallnate.net> (http://tootallnate.net)",
"repository": {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-gyp.git
More information about the Pkg-javascript-commits
mailing list