phaserunner 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +0 -0
- data/Gemfile +0 -0
- data/LICENSE.txt +21 -0
- data/README.rdoc +6 -10
- data/Rakefile +0 -0
- data/lib/phaserunner.rb +0 -0
- data/lib/phaserunner/gli_patch.rb +0 -0
- data/lib/phaserunner/main.rb +0 -0
- data/lib/phaserunner/version.rb +1 -1
- data/phaserunner.gemspec +1 -0
- data/phaserunner.rdoc +10 -11
- data/todo.md +0 -0
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4fddea34efd702f9b67cd9da8cf89f807249be34
|
|
4
|
+
data.tar.gz: bb0673fe4a4dbbde90ba3f23ba3b07cd5c930f5f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a377522f5bad4658e8c56a9c2aa9d73d2566fc436b84660785b4449b4c05044e647c00876d85786cc237a1fc4b46b0fdc7a4b68cab78fec7cb69cbc47e783376
|
|
7
|
+
data.tar.gz: e21da3d45023c40446a360380c477dc946af9703e13d350db66b5c7b6718b304d56e2218ae1faed586b8c502eaf91c89eac32b9b6e2bd362e4d9b54a9faf3b79
|
data/.gitignore
CHANGED
|
File without changes
|
data/Gemfile
CHANGED
|
File without changes
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 Robert J. Berger
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
data/README.rdoc
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
== NAME
|
|
2
2
|
phaserunner - Read values from the Grin PhaseRunner Controller for logging
|
|
3
3
|
|
|
4
|
+
{<img src="https://badge.fury.io/rb/phaserunner.svg" alt="Gem Version" />}[https://badge.fury.io/rb/phaserunner]
|
|
5
|
+
|
|
4
6
|
== SYNOPSIS
|
|
5
7
|
phaserunner [global options] command [command options] [arguments...]
|
|
8
|
+
phaserunner [global options] log [command options]
|
|
6
9
|
|
|
7
10
|
== VERSION
|
|
8
11
|
0.1.0
|
|
@@ -21,16 +24,9 @@
|
|
|
21
24
|
read_register - Read a single or multiple adjacent registers from and address
|
|
22
25
|
log - Logs a range plus bulk sparse set of registers with multiple addresses to stdout and file
|
|
23
26
|
|
|
24
|
-
|
|
25
|
-
log - Logs a range plus bulk sparse set of registers with multiple addresses to stdout and file
|
|
26
|
-
|
|
27
|
-
=== SYNOPSIS
|
|
28
|
-
phaserunner [global options] log [command options]
|
|
29
|
-
|
|
30
|
-
=== DESCRIPTION
|
|
31
|
-
Logs interesting Phaserunner registers to stdout and a CSV file. File name in the form: phaserunner.#{Time.now.strftime('%Y-%m-%d_%H-%M-%S')}.csv
|
|
27
|
+
== License and Copyright
|
|
32
28
|
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
* Copyright (c) 2018 Robert J. Berger
|
|
30
|
+
* License: MIT
|
|
35
31
|
|
|
36
32
|
:include:phaserunner.rdoc
|
data/Rakefile
CHANGED
|
File without changes
|
data/lib/phaserunner.rb
CHANGED
|
File without changes
|
|
File without changes
|
data/lib/phaserunner/main.rb
CHANGED
|
File without changes
|
data/lib/phaserunner/version.rb
CHANGED
data/phaserunner.gemspec
CHANGED
|
@@ -20,6 +20,7 @@ Gem::Specification.new do |spec|
|
|
|
20
20
|
spec.bindir = 'exe'
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
22
22
|
spec.require_paths = ['lib']
|
|
23
|
+
spec.required_ruby_version = '~> 2'
|
|
23
24
|
|
|
24
25
|
spec.has_rdoc = true
|
|
25
26
|
spec.extra_rdoc_files = ['README.rdoc', 'phaserunner.rdoc']
|
data/phaserunner.rdoc
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
== phaserunner - Read values from the Grin PhaseRunner Controller for logging
|
|
1
|
+
== phaserunner - Read values from the Grin PhaseRunner Controller primarily for logging
|
|
2
2
|
|
|
3
|
-
v0.1.
|
|
3
|
+
v0.1.4
|
|
4
4
|
|
|
5
5
|
=== Global Options
|
|
6
6
|
=== -b|--baudrate arg
|
|
@@ -17,11 +17,11 @@ Path to json file that contains Grin Modbus Dictionary
|
|
|
17
17
|
[Default Value] /Users/rberger/.rvm/gems/ruby-2.4.1/gems/asi_bod-0.1.4/BODm.json
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
=== -l|--
|
|
20
|
+
=== -l|--loop_count arg
|
|
21
21
|
|
|
22
22
|
Loop the command n times
|
|
23
23
|
|
|
24
|
-
[Default Value]
|
|
24
|
+
[Default Value] forever
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
=== -s|--slave_id arg
|
|
@@ -43,6 +43,11 @@ Show this message
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
+
=== -q|--[no-]quiet
|
|
47
|
+
Do not output to stdout
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
46
51
|
=== --version
|
|
47
52
|
Display the program version
|
|
48
53
|
|
|
@@ -60,15 +65,9 @@ List commands one per line, to assist with shell completion
|
|
|
60
65
|
|
|
61
66
|
|
|
62
67
|
==== Command: <tt>log </tt>
|
|
63
|
-
Logs
|
|
68
|
+
Logs interesting Phaserunner registers to stdout and file
|
|
64
69
|
|
|
65
70
|
Logs interesting Phaserunner registers to stdout and a CSV file. File name in the form: phaserunner.#{Time.now.strftime('%Y-%m-%d_%H-%M-%S')}.csv
|
|
66
|
-
===== Options
|
|
67
|
-
===== -q|--[no-]quiet
|
|
68
|
-
Do not output to stdout
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
71
|
==== Command: <tt>read_register register_address</tt>
|
|
73
72
|
Read a single or multiple adjacent registers from and address
|
|
74
73
|
|
data/todo.md
CHANGED
|
File without changes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: phaserunner
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Robert J. Berger
|
|
@@ -163,6 +163,7 @@ extra_rdoc_files:
|
|
|
163
163
|
files:
|
|
164
164
|
- ".gitignore"
|
|
165
165
|
- Gemfile
|
|
166
|
+
- LICENSE.txt
|
|
166
167
|
- README.rdoc
|
|
167
168
|
- Rakefile
|
|
168
169
|
- exe/phaserunner
|
|
@@ -189,9 +190,9 @@ require_paths:
|
|
|
189
190
|
- lib
|
|
190
191
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
191
192
|
requirements:
|
|
192
|
-
- - "
|
|
193
|
+
- - "~>"
|
|
193
194
|
- !ruby/object:Gem::Version
|
|
194
|
-
version: '
|
|
195
|
+
version: '2'
|
|
195
196
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
197
|
requirements:
|
|
197
198
|
- - ">="
|