rmodbus 1.0.1 → 1.0.2
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 +35 -2
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
|
metadata
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rmodbus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 19
|
4
5
|
prerelease:
|
5
|
-
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 2
|
10
|
+
version: 1.0.2
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
13
|
- A.Timin, J. Sanders, K. Reynolds
|
@@ -20,6 +25,9 @@ dependencies:
|
|
20
25
|
requirements:
|
21
26
|
- - ">="
|
22
27
|
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
23
31
|
version: "0"
|
24
32
|
type: :runtime
|
25
33
|
version_requirements: *id001
|
@@ -31,6 +39,9 @@ dependencies:
|
|
31
39
|
requirements:
|
32
40
|
- - ">="
|
33
41
|
- !ruby/object:Gem::Version
|
42
|
+
hash: 3
|
43
|
+
segments:
|
44
|
+
- 0
|
34
45
|
version: "0"
|
35
46
|
type: :development
|
36
47
|
version_requirements: *id002
|
@@ -42,6 +53,9 @@ dependencies:
|
|
42
53
|
requirements:
|
43
54
|
- - ">="
|
44
55
|
- !ruby/object:Gem::Version
|
56
|
+
hash: 3
|
57
|
+
segments:
|
58
|
+
- 0
|
45
59
|
version: "0"
|
46
60
|
type: :development
|
47
61
|
version_requirements: *id003
|
@@ -53,6 +67,9 @@ dependencies:
|
|
53
67
|
requirements:
|
54
68
|
- - ">="
|
55
69
|
- !ruby/object:Gem::Version
|
70
|
+
hash: 3
|
71
|
+
segments:
|
72
|
+
- 0
|
56
73
|
version: "0"
|
57
74
|
type: :development
|
58
75
|
version_requirements: *id004
|
@@ -64,6 +81,9 @@ dependencies:
|
|
64
81
|
requirements:
|
65
82
|
- - ">="
|
66
83
|
- !ruby/object:Gem::Version
|
84
|
+
hash: 3
|
85
|
+
segments:
|
86
|
+
- 0
|
67
87
|
version: "0"
|
68
88
|
type: :development
|
69
89
|
version_requirements: *id005
|
@@ -75,6 +95,9 @@ dependencies:
|
|
75
95
|
requirements:
|
76
96
|
- - ">="
|
77
97
|
- !ruby/object:Gem::Version
|
98
|
+
hash: 3
|
99
|
+
segments:
|
100
|
+
- 0
|
78
101
|
version: "0"
|
79
102
|
type: :development
|
80
103
|
version_requirements: *id006
|
@@ -86,6 +109,9 @@ dependencies:
|
|
86
109
|
requirements:
|
87
110
|
- - ">="
|
88
111
|
- !ruby/object:Gem::Version
|
112
|
+
hash: 3
|
113
|
+
segments:
|
114
|
+
- 0
|
89
115
|
version: "0"
|
90
116
|
type: :development
|
91
117
|
version_requirements: *id007
|
@@ -156,19 +182,26 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
156
182
|
requirements:
|
157
183
|
- - ">="
|
158
184
|
- !ruby/object:Gem::Version
|
185
|
+
hash: 3
|
186
|
+
segments:
|
187
|
+
- 0
|
159
188
|
version: "0"
|
160
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
190
|
none: false
|
162
191
|
requirements:
|
163
192
|
- - ">="
|
164
193
|
- !ruby/object:Gem::Version
|
194
|
+
hash: 3
|
195
|
+
segments:
|
196
|
+
- 0
|
165
197
|
version: "0"
|
166
198
|
requirements: []
|
167
199
|
|
168
200
|
rubyforge_project:
|
169
|
-
rubygems_version: 1.
|
201
|
+
rubygems_version: 1.7.2
|
170
202
|
signing_key:
|
171
203
|
specification_version: 3
|
172
204
|
summary: RModBus - free implementation of protocol ModBus
|
173
205
|
test_files: []
|
174
206
|
|
207
|
+
has_rdoc:
|