Skip to content

Commit

Permalink
Merged tlrobinson/master
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Aug 26, 2009
2 parents 7feb0f7 + d6d8dc4 commit 77e4359
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 8 deletions.
47 changes: 45 additions & 2 deletions catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
"location": "http://github.com/kriskowal/creolejs/zipball/master"
},
"browserjs": {
"name": "browser",
"name": "browserjs",
"dependencies": [
"narwhal"
],
Expand Down Expand Up @@ -501,11 +501,54 @@
},
"activejs": {
"name": "activejs",
"jars": [
"jars/mysql-connector-java-5.1.8-bin.jar"
],
"author": "Aptana Inc.",
"description": "The Cross Platform JavaScript MVC, http://activejs.org/",
"githubName": "activejs",
"type": "zip",
"location": "http://github.com/tlrobinson/activejs/zipball/master"
"location": "http://github.com/tlrobinson/activejs/zipball/package"
},
"speller": {
"name": "speller",
"description": "A JavaScript spell-checker",
"author": "Panagiotis Astithas",
"keywords": [
"spell-checker",
"spelling",
"corrector"
],
"githubName": "speller",
"type": "zip",
"location": "http://github.com/past/speller/zipball/master"
},
"objj": {
"name": "objj",
"dependencies": [
"narwhal",
"jack",
"browserjs"
],
"lib": "lib-js",
"preload": [
"objj/loader"
],
"description": "Objective-J and Cappuccino tools",
"keywords": [
"Objective-J",
"Cappuccino"
],
"author": "280 North (http://280north.com/)",
"contributors": [
"Francisco Tolmasky (http://tolmasky.com/)",
"Ross Boucher (http://rossboucher.com/)",
"Tom Robinson (http://tlrobinson.net/)",
"Numerous others (http://contributors.cappuccino.org/)"
],
"githubName": "cappuccino",
"type": "zip",
"location": "http://github.com/280north/cappuccino/zipball/package"
}
}
}
5 changes: 3 additions & 2 deletions engines/rhino/lib/binary-engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,6 @@ function wrapper(that) {
return obj;
}

exports.ByteStringWrapper = wrapper;
exports.ByteArrayWrapper = wrapper;
// FIXME: disabling these because it broke several tests. figure out why.
//exports.ByteStringWrapper = wrapper;
//exports.ByteArrayWrapper = wrapper;
7 changes: 4 additions & 3 deletions lib/narwhal/tusk/create-catalog.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ parser.action(function (options) {

} else if (source.type == "github") {

var githubName = source.name || name;
var githubName = source.name || name,
githubRef = source.ref || "master";
if (!source.user)
throw new Error("package source " + util.enquote(name) + " did not have a github user name");
var project = source.user + '/' + githubName;
var url = "http://github.com/" + project + "/raw/master/package.json";
var url = "http://github.com/" + project + "/raw/" + githubRef + "/package.json";

// download package.json if not already provided
if (!info) {
Expand All @@ -60,7 +61,7 @@ parser.action(function (options) {

info.githubName = githubName;
info.type = "zip";
info.location = 'http://github.com/' + source.user + '/' + githubName + '/zipball/master';
info.location = 'http://github.com/' + source.user + '/' + githubName + '/zipball/' + githubRef;

} else {
throw new Error(
Expand Down
9 changes: 8 additions & 1 deletion sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,18 @@
},
"activejs": {
"type": "github",
"user": "tlrobinson"
"user": "tlrobinson",
"ref": "package"
},
"speller": {
"type": "github",
"user": "past"
},
"objj": {
"type": "github",
"name": "cappuccino",
"user": "280north",
"ref": "package"
}
}
}

0 comments on commit 77e4359

Please sign in to comment.