rmodbus 1.2.2 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/NEWS.md +8 -0
- data/README.md +2 -2
- data/lib/rmodbus/server.rb +1 -1
- data/lib/rmodbus/version.rb +1 -1
- metadata +146 -103
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
5
|
-
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 065a16477ec109fd5521d0f33a2965c5687910fe
|
4
|
+
data.tar.gz: b244c0be0566f669b0c13c370cab5b5ea168a2ab
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: caff21950ba72421c1e05b4572abe39e2b0f3cd90d48b4333ed0a9d1107b94e65dd0ab20c06997b949655afb0c21fab85ecdea4e460852d66cb254fcbcaa2ac6
|
7
|
+
data.tar.gz: 26f021025e08eceb06c889adb6c2fdb522893d920c4b8ff187db0e31e580a128a0d9ef7a1eba348705f47462a790987789d4c8a9d6f62cb8ce108ef5f66cbd32
|
data/NEWS.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
###2015-01-29 Release 1.2.4
|
2
|
+
|
3
|
+
1. Added ruby-2.2 compatibility
|
4
|
+
|
5
|
+
###2015-01-29 Release 1.2.3
|
6
|
+
|
7
|
+
1. Fixed bug [#30](https://github.com/flipback/rmodbus/pull/30) in parsing command 'write_register' for server implementation part.
|
8
|
+
|
1
9
|
###2013-10-28 Release 1.2.2
|
2
10
|
|
3
11
|
1. Fixed issue [#29](https://github.com/flipback/rmodbus/pull/29). The server part supports 2000 of coils/discrete inputs for reading instead of 125.
|
data/README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
RModBus [![Build Status](https://secure.travis-ci.org/flipback/rmodbus.png)](http://travis-ci.org/flipback/rmodbus)
|
2
2
|
==========================
|
3
3
|
|
4
|
-
**RModBus** - free implementation of protocol ModBus.
|
4
|
+
**RModBus** - free implementation of protocol ModBus written in pure Ruby.
|
5
5
|
|
6
6
|
Features
|
7
7
|
---------------------------
|
8
|
-
- Ruby 1.8.7, Ruby 1.9, Ruby 2.0
|
8
|
+
- Ruby 1.8.7, Ruby 1.9, Ruby 2.0, JRuby (without serial ModBus RTU)
|
9
9
|
- TCP, RTU, RTU over TCP protocols
|
10
10
|
- Client(master) and server(slave)
|
11
11
|
- 16, 32 -bit and float registers
|
data/lib/rmodbus/server.rb
CHANGED
data/lib/rmodbus/version.rb
CHANGED
metadata
CHANGED
@@ -1,151 +1,194 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rmodbus
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.4
|
5
5
|
platform: ruby
|
6
|
-
authors:
|
6
|
+
authors:
|
7
7
|
- A.Timin, J. Sanders, K. Reynolds
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2015-01-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
15
14
|
name: rake
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: "0"
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '10.4'
|
23
20
|
type: :development
|
24
|
-
version_requirements: *id001
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: bundler
|
27
21
|
prerelease: false
|
28
|
-
|
29
|
-
requirements:
|
30
|
-
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '10.4'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.7'
|
31
34
|
type: :development
|
32
|
-
version_requirements: *id003
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: rspec
|
35
35
|
prerelease: false
|
36
|
-
|
37
|
-
requirements:
|
38
|
-
- - ~>
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.7'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.9'
|
41
48
|
type: :development
|
42
|
-
version_requirements: *id004
|
43
|
-
- !ruby/object:Gem::Dependency
|
44
|
-
name: guard-rspec
|
45
49
|
prerelease: false
|
46
|
-
|
47
|
-
requirements:
|
48
|
-
-
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.9'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: guard-rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.2'
|
49
62
|
type: :development
|
50
|
-
version_requirements: *id005
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
|
-
name: pry
|
53
63
|
prerelease: false
|
54
|
-
|
55
|
-
requirements:
|
56
|
-
-
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.2'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pry
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.10'
|
57
76
|
type: :development
|
58
|
-
version_requirements: *id006
|
59
|
-
- !ruby/object:Gem::Dependency
|
60
|
-
name: serialport
|
61
77
|
prerelease: false
|
62
|
-
|
63
|
-
requirements:
|
64
|
-
-
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.10'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: serialport
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.3'
|
65
90
|
type: :development
|
66
|
-
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.3'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: gserver
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.0'
|
67
111
|
description:
|
68
112
|
email: atimin@gmail.com
|
69
113
|
executables: []
|
70
|
-
|
71
114
|
extensions: []
|
72
|
-
|
73
|
-
extra_rdoc_files:
|
115
|
+
extra_rdoc_files:
|
74
116
|
- README.md
|
75
117
|
- NEWS.md
|
76
|
-
files:
|
118
|
+
files:
|
119
|
+
- NEWS.md
|
120
|
+
- README.md
|
121
|
+
- Rakefile
|
122
|
+
- examples/perfomance_rtu.rb
|
123
|
+
- examples/perfomance_rtu_via_tcp.rb
|
124
|
+
- examples/perfomance_tcp.rb
|
125
|
+
- examples/simple-xpca-gateway.rb
|
126
|
+
- examples/use_rtu_via_tcp_modbus.rb
|
127
|
+
- examples/use_tcp_modbus.rb
|
128
|
+
- lib/rmodbus.rb
|
129
|
+
- lib/rmodbus/client.rb
|
130
|
+
- lib/rmodbus/debug.rb
|
131
|
+
- lib/rmodbus/errors.rb
|
132
|
+
- lib/rmodbus/ext.rb
|
133
|
+
- lib/rmodbus/options.rb
|
134
|
+
- lib/rmodbus/proxy.rb
|
135
|
+
- lib/rmodbus/rtu.rb
|
77
136
|
- lib/rmodbus/rtu_client.rb
|
78
|
-
- lib/rmodbus/rtu_via_tcp_slave.rb
|
79
137
|
- lib/rmodbus/rtu_server.rb
|
80
|
-
- lib/rmodbus/
|
138
|
+
- lib/rmodbus/rtu_slave.rb
|
139
|
+
- lib/rmodbus/rtu_via_tcp_client.rb
|
140
|
+
- lib/rmodbus/rtu_via_tcp_server.rb
|
141
|
+
- lib/rmodbus/rtu_via_tcp_slave.rb
|
142
|
+
- lib/rmodbus/server.rb
|
81
143
|
- lib/rmodbus/slave.rb
|
82
144
|
- lib/rmodbus/sp.rb
|
83
|
-
- lib/rmodbus/rtu.rb
|
84
|
-
- lib/rmodbus/tcp_client.rb
|
85
|
-
- lib/rmodbus/version.rb
|
86
|
-
- lib/rmodbus/client.rb
|
87
145
|
- lib/rmodbus/tcp.rb
|
88
|
-
- lib/rmodbus/
|
146
|
+
- lib/rmodbus/tcp_client.rb
|
147
|
+
- lib/rmodbus/tcp_server.rb
|
89
148
|
- lib/rmodbus/tcp_slave.rb
|
90
|
-
- lib/rmodbus/
|
91
|
-
-
|
92
|
-
-
|
93
|
-
-
|
94
|
-
-
|
95
|
-
-
|
96
|
-
-
|
97
|
-
- lib/rmodbus/errors.rb
|
98
|
-
- lib/rmodbus.rb
|
99
|
-
- examples/use_rtu_via_tcp_modbus.rb
|
100
|
-
- examples/perfomance_rtu_via_tcp.rb
|
101
|
-
- examples/perfomance_rtu.rb
|
102
|
-
- examples/use_tcp_modbus.rb
|
103
|
-
- examples/simple-xpca-gateway.rb
|
104
|
-
- examples/perfomance_tcp.rb
|
149
|
+
- lib/rmodbus/version.rb
|
150
|
+
- spec/client_spec.rb
|
151
|
+
- spec/exception_spec.rb
|
152
|
+
- spec/ext_spec.rb
|
153
|
+
- spec/logging_spec.rb
|
154
|
+
- spec/proxy_spec.rb
|
155
|
+
- spec/read_rtu_response_spec.rb
|
105
156
|
- spec/response_mismach_spec.rb
|
157
|
+
- spec/rtu_client_spec.rb
|
106
158
|
- spec/rtu_server_spec.rb
|
107
|
-
- spec/proxy_spec.rb
|
108
|
-
- spec/spec_helper.rb
|
109
|
-
- spec/logging_spec.rb
|
110
|
-
- spec/client_spec.rb
|
111
|
-
- spec/slave_spec.rb
|
112
159
|
- spec/rtu_via_tcp_client_spec.rb
|
113
160
|
- spec/rtu_via_tcp_server_spec.rb
|
114
|
-
- spec/
|
161
|
+
- spec/slave_spec.rb
|
162
|
+
- spec/spec_helper.rb
|
115
163
|
- spec/tcp_client_spec.rb
|
116
|
-
- spec/
|
117
|
-
- spec/read_rtu_response_spec.rb
|
118
|
-
- spec/exception_spec.rb
|
119
|
-
- spec/ext_spec.rb
|
120
|
-
- Rakefile
|
121
|
-
- README.md
|
122
|
-
- NEWS.md
|
164
|
+
- spec/tcp_server_spec.rb
|
123
165
|
homepage: http://rmodbus.flipback.net
|
124
|
-
licenses:
|
166
|
+
licenses:
|
125
167
|
- GPL v2.0
|
126
168
|
metadata: {}
|
127
|
-
|
128
169
|
post_install_message:
|
129
|
-
rdoc_options:
|
130
|
-
- --title
|
170
|
+
rdoc_options:
|
171
|
+
- "--title"
|
131
172
|
- RModBus
|
132
|
-
- --inline-source
|
133
|
-
- --main
|
173
|
+
- "--inline-source"
|
174
|
+
- "--main"
|
134
175
|
- README.md
|
135
|
-
require_paths:
|
176
|
+
require_paths:
|
136
177
|
- lib
|
137
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
138
|
-
requirements:
|
139
|
-
-
|
140
|
-
|
141
|
-
|
142
|
-
|
178
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '0'
|
183
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
143
188
|
requirements: []
|
144
|
-
|
145
189
|
rubyforge_project:
|
146
|
-
rubygems_version: 2.
|
190
|
+
rubygems_version: 2.4.5
|
147
191
|
signing_key:
|
148
192
|
specification_version: 4
|
149
193
|
summary: RModBus - free implementation of protocol ModBus
|
150
194
|
test_files: []
|
151
|
-
|