[nodejs-caller-path] update to 1.0.0 release

Parag Nemade pnemade at fedoraproject.org
Mon Feb 2 07:48:34 UTC 2015


commit 3f5b420639ccdbf52d6e8f92cf142216a7249379
Author: Parag Nemade <pnemade at redhat.com>
Date:   Mon Feb 2 13:18:21 2015 +0530

    update to 1.0.0 release

 .gitignore              |    1 +
 nodejs-caller-path.spec |    5 ++++-
 sources                 |    2 +-
 test.js                 |   11 ++++++++---
 4 files changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index eafa59f..f4f17c5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /caller-path-0.1.0.tgz
+/caller-path-1.0.0.tgz
diff --git a/nodejs-caller-path.spec b/nodejs-caller-path.spec
index 7a2cd97..5eec81a 100644
--- a/nodejs-caller-path.spec
+++ b/nodejs-caller-path.spec
@@ -2,7 +2,7 @@
 %global module_name caller-path
 
 Name:           nodejs-%{module_name}
-Version:        0.1.0
+Version:        1.0.0
 Release:        1%{?dist}
 Summary:        Get the path of the caller module
 
@@ -53,6 +53,9 @@ mocha
 %{nodejs_sitelib}/%{module_name}
 
 %changelog
+* Tue Jan 27 2015 Parag Nemade <pnemade AT redhat DOT com> - 1.0.0-1
+- update to 1.0.0 release
+
 * Mon Dec 08 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.1.0-1
 - Initial packaging
 
diff --git a/sources b/sources
index 2421447..0d39571 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9196bdec9c17e0b57791a88bd1fa5bf1  caller-path-0.1.0.tgz
+b5247eed42bb7f51d5bad26d36fac288  caller-path-1.0.0.tgz
diff --git a/test.js b/test.js
index 54dafee..4ded399 100644
--- a/test.js
+++ b/test.js
@@ -1,8 +1,13 @@
 'use strict';
-var assert = require('assert');
 var path = require('path');
+var test = require('ava');
 var fixture = require('./fixture');
+var fixture2 = require('./fixture2');
+var fixture3 = require('./fixture3');
 
-it('should return the path of the caller module', function () {
-	assert.strictEqual(path.basename(fixture()), 'test.js');
+test(function (t) {
+	t.assert(path.basename(fixture()) === 'test.js');
+	t.assert(path.basename(fixture2()) === 'test.js');
+	t.assert(path.basename(fixture3()) === 'test.js');
+	t.end();
 });


More information about the scm-commits mailing list