Skip to content

Commit

Permalink
Fixed issue rmodbus#9
Browse files Browse the repository at this point in the history
  • Loading branch information
atimin committed Jun 30, 2011
1 parent 84176f5 commit f4f8543
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions NEWS.md
@@ -1,3 +1,8 @@
2011-07-1 Release 1.0.2
====================================

1. Fixed issue #9

2011-06-30 Release 1.0.1
====================================

Expand Down
1 change: 1 addition & 0 deletions lib/rmodbus/tcp.rb
Expand Up @@ -16,6 +16,7 @@

module ModBus
module TCP
include Errors
include Timeout
attr_reader :ipaddr, :port
# Open TCP socket
Expand Down
2 changes: 1 addition & 1 deletion lib/rmodbus/version.rb
Expand Up @@ -13,5 +13,5 @@
# GNU General Public License for more details.
module ModBus
# Package version
VERSION = '1.0.1'
VERSION = '1.0.2'
end
2 changes: 1 addition & 1 deletion spec/tcp_client_spec.rb
Expand Up @@ -75,7 +75,7 @@

it "should tune connection timeout" do
timeout(0.5) do
lambda { ModBus::TCPClient.new('81.123.231.11', 1999, :connect_timeout => 0.1) }.should raise_error(ModBusTimeout)
lambda { ModBus::TCPClient.new('81.123.231.11', 1999, :connect_timeout => 0.1) }.should raise_error(ModBus::Errors::ModBusTimeout)
end
end
end

0 comments on commit f4f8543

Please sign in to comment.