ruby-ldap/ruby-net-ldap — pull request #111 by jch (2014-09-21 02:45:58+00:00)
Title: Fix spec deprecations

This pull request fixes the deprecation warnings from running `bundle exec rake`. Rather than add an additional dependency for `rspec-its`, I rewrote 3 of the specs to have the same meaning without the `its` syntax.

```
Deprecation Warnings:

Use of rspec-core's `its` method is deprecated. Use the rspec-its gem instead. Called from /Users/jch/projects/ruby-net-ldap/spec/unit/ber/ber_spec.rb:123:in `block (3 levels) in '.
Use of rspec-core's `its` method is deprecated. Use the rspec-its gem instead. Called from /Users/jch/projects/ruby-net-ldap/spec/unit/ber/ber_spec.rb:130:in `block (3 levels) in '.
Use of rspec-core's `its` method is deprecated. Use the rspec-its gem instead. Called from /Users/jch/projects/ruby-net-ldap/spec/unit/ber/ber_spec.rb:137:in `block (3 levels) in '.

`be_false` is deprecated. Use `be_falsey` (for Ruby's conditional semantics) or `be false` (for exact `== false` equality) instead. Called from /Users/jch/projects/ruby-net-ldap/spec/unit/ldap/search_spec.rb:26:in `block (3 levels) in '.

`be_true` is deprecated. Use `be_truthy` (for Ruby's conditional semantics) or `be true` (for exact `== true` equality) instead. Called from /Users/jch/projects/ruby-net-ldap/spec/unit/ber/ber_spec.rb:123:in `block (4 levels) in '.
`be_true` is deprecated. Use `be_truthy` (for Ruby's conditional semantics) or `be true` (for exact `== true` equality) instead. Called from /Users/jch/projects/ruby-net-ldap/spec/unit/ber/ber_spec.rb:130:in `block (4 levels) in '.
`be_true` is deprecated. Use `be_truthy` (for Ruby's conditional semantics) or `be true` (for exact `== true` equality) instead. Called from /Users/jch/projects/ruby-net-ldap/spec/unit/ber/ber_spec.rb:137:in `block (4 levels) in '.
Too many uses of deprecated '`be_true`'. Pass `--deprecation-out` or set `config.deprecation_stream` to a file for full output.

`expect { }.not_to raise_error(SpecificErrorClass)` is deprecated. Use `expect { }.not_to raise_error` (with no args) instead. Called from /Users/jch/projects/ruby-net-ldap/spec/unit/ber/ber_spec.rb:94:in `block (3 levels) in '.
```