Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updates to the package descriptor.

  • Loading branch information...
commit e0f5eeba1582a8ced6d7705ab418aec22110f760 1 parent 60c62ff
@freeformsystems authored
Showing with 10 additions and 16 deletions.
  1. +1 −1  LICENSE
  2. +3 −3 lib/module
  3. +1 −1  lib/modules/couchdb
  4. +5 −11 package.json
View
2  LICENSE
@@ -1,5 +1,5 @@
Copyright 2012 Freeform Systems and other contributors
-http://github.com/freeformsystems/xpm
+http://github.com/freeformsystems/strike
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
View
6 lib/module
@@ -75,9 +75,9 @@ function module_load {
fi
}
-#require 'couchdb';
-#couchdb "auth" "https://ffsys.cloudant.com" "hosts";
-#couchdb "info" && couchdb_print;
+require 'couchdb';
+couchdb "auth" "https://ffsys.cloudant.com" "hosts";
+couchdb "info" && couchdb_print;
#couchdb "head" "cyberfunk" && couchdb_print;
#couchdb "get" "cyberfunk" && couchdb_print;
#couchdb "put_file" "package" "/Users/cyberfunk/git/hosts/package.json";
View
2  lib/modules/couchdb
@@ -101,7 +101,7 @@ function couchdb_info {
function couchdb_get_url {
local path=${1:-};
- local db=${2:-$couchdb_dbname};
+ local db=${2:-"$couchdb_dbname"};
local out="${couchdb_url}/$db";
#strip any leading slash
path=${path#/};
View
16 package.json
@@ -1,25 +1,19 @@
{
"name": "strike",
- "private": false,
"description": "Suite of bash library functions",
"homepage": "https://github.com/freeformsystems/strike",
"version": "0.1.0",
"author": "muji <muji@xpm.io>",
"files": [ "bin", "lib", "test", "README.md", "LICENSE" ],
- "licenses": [{
- "type": "Creative Commons attribution and share-alike license",
- "url": "http://creativecommons.org/licenses/by-sa/2.0/uk/"
- }],
+ "licenses": [ {
+ "type": "MIT",
+ "url": "https://github.com/freeformsystems/strike/blob/master/LICENSE"
+ } ],
"repository": {
"type": "git",
"url": "git://github.com/freeformsystems/strike.git"
},
- "dependencies": {
- },
- "devDependencies": {
- },
"engine": [ "node >= 0.8.11" ],
- "main": null,
- "scripts": {"test": "./bin/runner"},
+ "scripts": { "test": "./bin/runner" },
"config" : {}
}
Please sign in to comment.
Something went wrong with that request. Please try again.