sgslib 0.3.1 → 1.5.0
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/LICENSE +24 -17
- data/README.md +43 -7
- data/Rakefile +2 -2
- data/bin/console +34 -1
- data/exe/sgs_alarm +41 -0
- data/exe/sgs_diag +41 -0
- data/exe/sgs_gpsread +42 -0
- data/exe/sgs_logger +45 -0
- data/exe/sgs_mission +45 -0
- data/exe/sgs_nav +43 -0
- data/exe/sgs_otto +46 -0
- data/exe/sgs_report +44 -0
- data/lib/sgs/alarm.rb +55 -23
- data/lib/sgs/bearing.rb +150 -0
- data/lib/sgs/config.rb +35 -24
- data/lib/sgs/course.rb +29 -24
- data/lib/sgs/diagnostics.rb +49 -0
- data/lib/sgs/gps.rb +37 -21
- data/lib/sgs/location.rb +58 -159
- data/lib/sgs/logger.rb +35 -82
- data/lib/sgs/mission.rb +96 -173
- data/lib/sgs/mission_status.rb +128 -0
- data/lib/sgs/navigate.rb +37 -21
- data/lib/sgs/nmea.rb +32 -22
- data/lib/sgs/otto.rb +37 -21
- data/lib/sgs/redis_base.rb +32 -24
- data/lib/sgs/report.rb +49 -0
- data/lib/sgs/rpc.rb +29 -21
- data/lib/sgs/timing.rb +32 -24
- data/lib/sgs/version.rb +35 -1
- data/lib/sgs/waypoint.rb +69 -33
- data/lib/sgslib.rb +40 -24
- data/sgslib.gemspec +15 -5
- metadata +61 -19
- data/.gitignore +0 -9
- data/.rspec +0 -2
- data/.travis.yml +0 -4
- data/CODE_OF_CONDUCT.md +0 -49
- data/bin/setup +0 -8
data/sgslib.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = %q{Sailboat Guidance System}
|
13
13
|
spec.description = %q{Sailboat Guidance System - an autonomous navigation and control system for robotic sailboats.}
|
14
14
|
spec.homepage = "http://github.com/kalopa/sgslib"
|
15
|
-
spec.license = "
|
15
|
+
spec.license = "GPL-2.0"
|
16
16
|
|
17
17
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
18
18
|
# delete this section to allow pushing this gem to any host.
|
@@ -22,16 +22,26 @@ Gem::Specification.new do |spec|
|
|
22
22
|
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
23
23
|
end
|
24
24
|
|
25
|
-
spec.files =
|
25
|
+
spec.files = [
|
26
|
+
"Gemfile",
|
27
|
+
"LICENSE",
|
28
|
+
"Rakefile",
|
29
|
+
"bin/console",
|
30
|
+
"README.md",
|
31
|
+
"sgslib.gemspec",
|
32
|
+
] + Dir.glob("exe/*") + Dir.glob("lib/**/*")
|
26
33
|
spec.bindir = "exe"
|
27
34
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
35
|
spec.require_paths = ["lib"]
|
29
36
|
|
30
37
|
spec.required_ruby_version = '>= 1.9.2'
|
31
38
|
|
32
|
-
spec.add_development_dependency "bundler", "~>
|
33
|
-
spec.add_development_dependency "rake", "
|
39
|
+
spec.add_development_dependency "bundler", "~> 2.2"
|
40
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
34
41
|
spec.add_development_dependency "rspec", "~> 3.0"
|
35
42
|
|
36
|
-
spec.
|
43
|
+
spec.add_runtime_dependency "logger", "~> 1.4"
|
44
|
+
spec.add_runtime_dependency "msgpack", "~> 1.3"
|
45
|
+
|
46
|
+
spec.add_dependency "redis", "~> 4.7"
|
37
47
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sgslib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dermot Tynan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.2'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 12.3.3
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 12.3.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,49 +52,92 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: logger
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.4'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.4'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: msgpack
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.3'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.3'
|
55
83
|
- !ruby/object:Gem::Dependency
|
56
84
|
name: redis
|
57
85
|
requirement: !ruby/object:Gem::Requirement
|
58
86
|
requirements:
|
59
87
|
- - "~>"
|
60
88
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
89
|
+
version: '4.7'
|
62
90
|
type: :runtime
|
63
91
|
prerelease: false
|
64
92
|
version_requirements: !ruby/object:Gem::Requirement
|
65
93
|
requirements:
|
66
94
|
- - "~>"
|
67
95
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
96
|
+
version: '4.7'
|
69
97
|
description: Sailboat Guidance System - an autonomous navigation and control system
|
70
98
|
for robotic sailboats.
|
71
99
|
email:
|
72
100
|
- dtynan@kalopa.com
|
73
|
-
executables:
|
101
|
+
executables:
|
102
|
+
- sgs_alarm
|
103
|
+
- sgs_diag
|
104
|
+
- sgs_gpsread
|
105
|
+
- sgs_logger
|
106
|
+
- sgs_mission
|
107
|
+
- sgs_nav
|
108
|
+
- sgs_otto
|
109
|
+
- sgs_report
|
74
110
|
extensions: []
|
75
111
|
extra_rdoc_files: []
|
76
112
|
files:
|
77
|
-
- ".gitignore"
|
78
|
-
- ".rspec"
|
79
|
-
- ".travis.yml"
|
80
|
-
- CODE_OF_CONDUCT.md
|
81
113
|
- Gemfile
|
82
114
|
- LICENSE
|
83
115
|
- README.md
|
84
116
|
- Rakefile
|
85
117
|
- bin/console
|
86
|
-
-
|
118
|
+
- exe/sgs_alarm
|
119
|
+
- exe/sgs_diag
|
120
|
+
- exe/sgs_gpsread
|
121
|
+
- exe/sgs_logger
|
122
|
+
- exe/sgs_mission
|
123
|
+
- exe/sgs_nav
|
124
|
+
- exe/sgs_otto
|
125
|
+
- exe/sgs_report
|
87
126
|
- lib/sgs/alarm.rb
|
127
|
+
- lib/sgs/bearing.rb
|
88
128
|
- lib/sgs/config.rb
|
89
129
|
- lib/sgs/course.rb
|
130
|
+
- lib/sgs/diagnostics.rb
|
90
131
|
- lib/sgs/gps.rb
|
91
132
|
- lib/sgs/location.rb
|
92
133
|
- lib/sgs/logger.rb
|
93
134
|
- lib/sgs/mission.rb
|
135
|
+
- lib/sgs/mission_status.rb
|
94
136
|
- lib/sgs/navigate.rb
|
95
137
|
- lib/sgs/nmea.rb
|
96
138
|
- lib/sgs/otto.rb
|
97
139
|
- lib/sgs/redis_base.rb
|
140
|
+
- lib/sgs/report.rb
|
98
141
|
- lib/sgs/rpc.rb
|
99
142
|
- lib/sgs/timing.rb
|
100
143
|
- lib/sgs/version.rb
|
@@ -103,7 +146,7 @@ files:
|
|
103
146
|
- sgslib.gemspec
|
104
147
|
homepage: http://github.com/kalopa/sgslib
|
105
148
|
licenses:
|
106
|
-
-
|
149
|
+
- GPL-2.0
|
107
150
|
metadata:
|
108
151
|
allowed_push_host: https://rubygems.org
|
109
152
|
post_install_message:
|
@@ -121,8 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
164
|
- !ruby/object:Gem::Version
|
122
165
|
version: '0'
|
123
166
|
requirements: []
|
124
|
-
|
125
|
-
rubygems_version: 2.7.7
|
167
|
+
rubygems_version: 3.0.3.1
|
126
168
|
signing_key:
|
127
169
|
specification_version: 4
|
128
170
|
summary: Sailboat Guidance System
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.travis.yml
DELETED
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
# Contributor Code of Conduct
|
2
|
-
|
3
|
-
As contributors and maintainers of this project, and in the interest of
|
4
|
-
fostering an open and welcoming community, we pledge to respect all people who
|
5
|
-
contribute through reporting issues, posting feature requests, updating
|
6
|
-
documentation, submitting pull requests or patches, and other activities.
|
7
|
-
|
8
|
-
We are committed to making participation in this project a harassment-free
|
9
|
-
experience for everyone, regardless of level of experience, gender, gender
|
10
|
-
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
-
body size, race, ethnicity, age, religion, or nationality.
|
12
|
-
|
13
|
-
Examples of unacceptable behavior by participants include:
|
14
|
-
|
15
|
-
* The use of sexualized language or imagery
|
16
|
-
* Personal attacks
|
17
|
-
* Trolling or insulting/derogatory comments
|
18
|
-
* Public or private harassment
|
19
|
-
* Publishing other's private information, such as physical or electronic
|
20
|
-
addresses, without explicit permission
|
21
|
-
* Other unethical or unprofessional conduct
|
22
|
-
|
23
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
24
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
25
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
26
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
27
|
-
threatening, offensive, or harmful.
|
28
|
-
|
29
|
-
By adopting this Code of Conduct, project maintainers commit themselves to
|
30
|
-
fairly and consistently applying these principles to every aspect of managing
|
31
|
-
this project. Project maintainers who do not follow or enforce the Code of
|
32
|
-
Conduct may be permanently removed from the project team.
|
33
|
-
|
34
|
-
This code of conduct applies both within project spaces and in public spaces
|
35
|
-
when an individual is representing the project or its community.
|
36
|
-
|
37
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
-
reported by contacting a project maintainer at tynan@hpe.com. All
|
39
|
-
complaints will be reviewed and investigated and will result in a response that
|
40
|
-
is deemed necessary and appropriate to the circumstances. Maintainers are
|
41
|
-
obligated to maintain confidentiality with regard to the reporter of an
|
42
|
-
incident.
|
43
|
-
|
44
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
45
|
-
version 1.3.0, available at
|
46
|
-
[http://contributor-covenant.org/version/1/3/0/][version]
|
47
|
-
|
48
|
-
[homepage]: http://contributor-covenant.org
|
49
|
-
[version]: http://contributor-covenant.org/version/1/3/0/
|