[Pkg-javascript-commits] [node-abbrev] 01/01: Imported Upstream version 1.0.9

Anthony Fok foka at debian.org
Wed Aug 17 04:17:23 UTC 2016


This is an automated email from the git hooks/post-receive script.

foka pushed a commit to branch upstream
in repository node-abbrev.

commit 1798a0b4d001bbecfffa88731ab2cbb1ed9baa7b
Author: Anthony Fok <foka at debian.org>
Date:   Tue Aug 16 21:27:15 2016 -0600

    Imported Upstream version 1.0.9
---
 .gitignore   |  4 ++++
 .travis.yml  |  8 ++++++++
 LICENSE      | 32 ++++++++++++--------------------
 package.json | 15 +++++++++------
 test.js      |  4 ++--
 5 files changed, 35 insertions(+), 28 deletions(-)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9d6cd2f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+.nyc_output
+nyc_output
+node_modules
+coverage
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..4af02b3
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,8 @@
+language: node_js
+node_js:
+  - '0.8'
+  - '0.10'
+  - '0.12'
+  - 'iojs'
+before_install:
+  - npm install -g npm at latest
diff --git a/LICENSE b/LICENSE
index 05a4010..19129e3 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,23 +1,15 @@
-Copyright 2009, 2010, 2011 Isaac Z. Schlueter.
-All rights reserved.
+The ISC License
 
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
+Copyright (c) Isaac Z. Schlueter and Contributors
 
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
 
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/package.json b/package.json
index 81867f9..d794c03 100644
--- a/package.json
+++ b/package.json
@@ -1,15 +1,18 @@
 {
   "name": "abbrev",
-  "version": "1.0.5",
+  "version": "1.0.9",
   "description": "Like ruby's abbrev module, but in js",
   "author": "Isaac Z. Schlueter <i at izs.me>",
   "main": "abbrev.js",
   "scripts": {
-    "test": "node test.js"
+    "test": "tap test.js --cov"
   },
   "repository": "http://github.com/isaacs/abbrev-js",
-  "license": {
-    "type": "MIT",
-    "url": "https://github.com/isaacs/abbrev-js/raw/master/LICENSE"
-  }
+  "license": "ISC",
+  "devDependencies": {
+    "tap": "^5.7.2"
+  },
+  "files": [
+    "abbrev.js"
+  ]
 }
diff --git a/test.js b/test.js
index d5a7303..eb30e42 100644
--- a/test.js
+++ b/test.js
@@ -2,7 +2,7 @@ var abbrev = require('./abbrev.js')
 var assert = require("assert")
 var util = require("util")
 
-console.log("TAP Version 13")
+console.log("TAP version 13")
 var count = 0
 
 function test (list, expect) {
@@ -44,4 +44,4 @@ test(["a", "ab", "abc", "abcd", "abcde", "acde"],
 , acde: 'acde'
 })
 
-console.log("0..%d", count)
+console.log("1..%d", count)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-abbrev.git



More information about the Pkg-javascript-commits mailing list