[nodejs-cookie-signature] Update to upstream release 1.0.0
Jamie Nguyen
jamielinux at fedoraproject.org
Mon Apr 15 14:39:46 UTC 2013
commit a5394c56fb8603d6ee6fdf469407fb8b8d5de5f9
Author: Jamie Nguyen <j at jamielinux.com>
Date: Mon Apr 15 15:39:37 2013 +0100
Update to upstream release 1.0.0
.gitignore | 1 +
index-test.js | 6 +++---
nodejs-cookie-signature.spec | 9 ++++++---
sources | 2 +-
4 files changed, 11 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8436d93..a30a85e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/cookie-signature-0.0.1.tgz
+/cookie-signature-1.0.0.tgz
diff --git a/index-test.js b/index-test.js
index 9305174..0bf2a7f 100644
--- a/index-test.js
+++ b/index-test.js
@@ -8,10 +8,10 @@ var cookie = require('..');
describe('.sign(val, secret)', function(){
it('should sign the cookie', function(){
var val = cookie.sign('hello', 'tobiiscool');
- val.should.equal('hello.DGDUkGlIkCzPz+C0B064FNgHdEjox7ch8tOBGslZ5QI');
+ val.should.equal('hello.kVofCuivbz8r8NiCfWJV5JsZQBX6WGHgt8ihyKktT7OdEObssUD5JItXNDH9PIaD+rTEQTK9V6+prF9qR0aDSg');
var val = cookie.sign('hello', 'luna');
- val.should.not.equal('hello.DGDUkGlIkCzPz+C0B064FNgHdEjox7ch8tOBGslZ5QI');
+ val.should.not.equal('hello.kVofCuivbz8r8NiCfWJV5JsZQBX6WGHgt8ihyKktT7OdEObssUD5JItXNDH9PIaD+rTEQTK9V6+prF9qR0aDSg');
})
})
@@ -21,4 +21,4 @@ describe('.unsign(val, secret)', function(){
cookie.unsign(val, 'tobiiscool').should.equal('hello');
cookie.unsign(val, 'luna').should.be.false;
})
-})
\ No newline at end of file
+})
diff --git a/nodejs-cookie-signature.spec b/nodejs-cookie-signature.spec
index 6cc80ff..01d210d 100644
--- a/nodejs-cookie-signature.spec
+++ b/nodejs-cookie-signature.spec
@@ -1,8 +1,8 @@
-%global enable_tests 0
+%global enable_tests 1
Name: nodejs-cookie-signature
-Version: 0.0.1
-Release: 2%{?dist}
+Version: 1.0.0
+Release: 1%{?dist}
Summary: Node.js module to sign and unsign cookies
# License text is included in Readme.md
License: MIT
@@ -56,6 +56,9 @@ cp -pr package.json index.js \
%changelog
+* Mon Apr 14 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 1.0.0-1
+- update to upstream release 1.0.0
+
* Tue Feb 12 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.0.1-2
- document how to retrieve "Source1: index-test.js"
diff --git a/sources b/sources
index cd141e7..a4c885c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7beecc1535a387cb694f95ee4438ad33 cookie-signature-0.0.1.tgz
+0bfc00af376e6476be7d427d815dfb98 cookie-signature-1.0.0.tgz
More information about the scm-commits
mailing list