Skip to content

Commit e1e5bd0

Browse files
committed
version bump to 2.0.0, add AUTHORS, start adding cutarelease and jsstyle tools
1 parent 5a7b6d1 commit e1e5bd0

File tree

7 files changed

+1472
-8
lines changed

7 files changed

+1472
-8
lines changed

AUTHORS

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Trent Mick <[email protected]> (http://trentm.com)
2+
Jacques Marneweck (https://github.com/jacques)

CHANGES.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# node-ldapauth Changelog
2+
3+
## 2.0.0
4+
5+
- [issue #1] Update to bcrypt 0.5. This means increasing the base node from 0.4
6+
to 0.6, hence the major version bump.
7+
8+
9+
## 1.0.2
10+
11+
First working version.
12+
13+

Makefile

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
#
2+
# Copyright (c) 2012 Trent Mick
3+
#
4+
# node-ldapauth Makefile
5+
#
6+
7+
#---- Files
8+
9+
JSSTYLE_FILES := $(shell find lib -name *.js)
10+
11+
12+
13+
#---- Targets
14+
15+
all:
16+
17+
.PHONY: cutarelease
18+
cutarelease:
19+
[[ ! -d tmp ]] # No 'tmp/' allowed: https://github.com/isaacs/npm/issues/2144
20+
./tools/cutarelease.py -p ldapauth -f package.json
21+
22+
.PHONY: check-jsstyle
23+
check-jsstyle: $(JSSTYLE_FILES)
24+
./tools/jsstyle -o indent=2,doxygen,unparenthesized-return=0,blank-after-start-comment=0 $(JSSTYLE_FILES)
25+
26+
.PHONY: check
27+
check: check-jsstyle
28+
@echo "Check ok."
29+
30+
.PHONY: prepush
31+
prepush: check test
32+
@echo "Okay to push."

lib/ldapauth.js

-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@
99
* auth.authenticate(username, password, function(err, user) { ... });
1010
* ...
1111
* auth.close(function(err) { ... })
12-
*
13-
* npm Dependencies:
14-
* ldapjs
15-
* lru-cache
16-
* log4js (optional)
1712
*/
1813

1914
var assert = require('assert');

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"name": "ldapauth",
3-
"version": "1.0.3",
3+
"version": "2.0.0",
44
"main": "./lib/ldapauth.js",
55
"description": "Authenticate against an LDAP server",
66
"author": "Trent Mick <[email protected]> (http://trentm.com)",
77
"license": {
88
"type": "MIT",
99
"url": "https://github.com/trentm/node-ldapauth/raw/master/LICENSE"
1010
},
11-
"keywords": ["authenticate", "ldap"],
11+
"keywords": ["authenticate", "ldap", "authentication", "auth"],
1212
"repository": {
1313
"type": "git",
1414
"url": "git://github.com/trentm/node-ldapauth.git"
1515
},
1616
"dependencies": {
1717
"ldapjs": "0.3",
18-
"bcrypt": "0.4",
18+
"bcrypt": "0.5",
1919
"lru-cache": "1.0.5"
2020
}
2121
}

0 commit comments

Comments
 (0)