Fix ldap blank password
Added Net::LDAP::Entry object to strategies test
Added respond_to? check to user mapping function

Net::LDAP::Entry returns empty array if key not
exists, so we should check for key with respond_to?
Report missing credentials to the Rails application.

If no username or password is provided a MissingCredentialsError is
raised which causes a Rack caught exception and a 500 Error in gitlab.
Omniauth provides a way to raise such errors to the application by
using the 'fail!' method to pass the exception to the registered
failure handler. For gitlab this is the omniauth_controller code.

This is required to resolve gitlab issue #1077.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Merge pull request #1 from patthoyts/pt/failure-reporting

Report missing credentials to the Rails application.
Add the possibility to specify a custom LDAP filter
Add some ducomentation
Fixed test and travis
badge addded
rename gemspec
add license information to gemspec

This way it can be used with rubygems.org API
gitignore Gemfile.lock

The Gemfile.lock shouldn't be included in a gem-based repository
because it may artificially lock obsolete gems.

An example of this is rb-fsevent which at the version it was
locked at is incompatable with OS X 10.8

If something does need the version locked, specify it in the
.gemspec or Gemfile itself.
Update net-ldap
Add two missing commas to example code
Update net-ldap dependency
Gemfile.lock: update net-ldap to fix LDAP authentication issues

Newer LDAP servers fail with older versions of net-ldap.
Update to the fixed version.

Signed-off-by: David Aguilar <davvid@gmail.com>
Merge pull request #5 from davvid/net-ldap

Gemfile.lock: update net-ldap to fix LDAP authentication issues
version up to 1.0.3
Merge branch 'map-userinfo-fix' of github.com:syndicut/omniauth-ldap into syndicut-map-userinfo-fix

Conflicts:
	spec/omniauth/strategies/ldap_spec.rb
removed the rspec deprecation.