rmodbus 1.0.1-java → 1.0.2-java
Sign up to get free protection for your applications and to get access to all the features.
- data/NEWS.md +6 -0
- data/lib/rmodbus/tcp.rb +1 -0
- data/lib/rmodbus/tcp_client.rb +2 -2
- data/lib/rmodbus/version.rb +1 -1
- data/spec/tcp_client_spec.rb +1 -1
- metadata +1 -1
data/NEWS.md
CHANGED
data/lib/rmodbus/tcp.rb
CHANGED
data/lib/rmodbus/tcp_client.rb
CHANGED
data/lib/rmodbus/version.rb
CHANGED
data/spec/tcp_client_spec.rb
CHANGED
@@ -75,7 +75,7 @@ describe TCPClient do
|
|
75
75
|
|
76
76
|
it "should tune connection timeout" do
|
77
77
|
timeout(0.5) do
|
78
|
-
lambda { ModBus::TCPClient.new('81.123.231.11', 1999, :connect_timeout => 0.1) }.should raise_error(ModBusTimeout)
|
78
|
+
lambda { ModBus::TCPClient.new('81.123.231.11', 1999, :connect_timeout => 0.1) }.should raise_error(ModBus::Errors::ModBusTimeout)
|
79
79
|
end
|
80
80
|
end
|
81
81
|
end
|