Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about:

- 2.0.0
- 1.9.3
- 1.9.2
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
- 1.8.7
- ree

It'd be nice to have stronger assurances, and it's 'free' anyway.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am out of the office until 17.04.2013.Meine E-Mails werden nicht gelesen oder weitergeleitet.Gerne werde ich nach meiner Rückkehr Ihre Nachricht beantworten.In dringenden Fällen erreichen Sie uns unter info@iq-gmbh.com oder Tel. 0049 5031 9408-0.Vielen herzlichen Dank.Note: This is an automated response to your message "Re: [ruby-net-ldap] Make all specs green (#59)" sent on 12.04.2013 08:11:53. This is the only notification you will receive while this person is away.
i.Q. Gesellschaft für individuelle Qualitätssicherung mbH
Kirschenkamp 3
D-30926 Seelze
Geschäftsführer: Thomas Schreier
Amtsgericht Hannover HRB 110570
Umsatzsteuer-ID: DE173555521

- 2.0.0
- jruby-18mode
- jruby-19mode
- rbx-18mode
- rbx-19mode
- ree
script: bundle exec rake spec
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
source :rubygems
source 'https://rubygems.org'
gemspec
2 changes: 1 addition & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= Net::LDAP for Ruby
= Net::LDAP for Ruby {<img src="https://travis-ci.org/ruby-ldap/ruby-net-ldap.png" />}[https://travis-ci.org/ruby-ldap/ruby-net-ldap]

== Description

Expand Down
4 changes: 2 additions & 2 deletions spec/unit/ber/ber_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@
["6a31b4a12aa27a41aca9603f27dd5116"].pack("H*").to_ber_bin.should ==
"\x04\x10" + "j1\xB4\xA1*\xA2zA\xAC\xA9`?'\xDDQ\x16"
end
it "should fail on strings that can not be converted to UTF-8" do
it "should not fail on strings that can not be converted to UTF-8" do
error = Encoding::UndefinedConversionError
lambda {"\x81".to_ber }.should raise_exception(error)
lambda {"\x81".to_ber }.should_not raise_exception(error)
end
end
end
Expand Down
4 changes: 2 additions & 2 deletions spec/unit/ldap/search_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
describe Net::LDAP, "search method" do
class FakeConnection
def search(args)
OpenStruct.new(:result_code => 1, :message => "error")
OpenStruct.new(:result_code => 1, :message => "error", :success? => false)
end
end

Expand All @@ -22,7 +22,7 @@ def search(args)
context "when :return_result => false" do
it "should return false upon error" do
result = @connection.search(:return_result => false)
result.result_code.should == 1
result.should be_false
end
end

Expand Down