sgslib 0.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- 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 +13 -5
- metadata +47 -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,18 +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
|
|
43
|
+
spec.add_runtime_dependency "logger", "~> 1.4"
|
36
44
|
spec.add_runtime_dependency "msgpack", "~> 1.3"
|
37
45
|
|
38
|
-
spec.add_dependency "redis", "~>
|
46
|
+
spec.add_dependency "redis", "~> 4.7"
|
39
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,6 +52,20 @@ 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'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: msgpack
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,43 +86,58 @@ dependencies:
|
|
72
86
|
requirements:
|
73
87
|
- - "~>"
|
74
88
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
89
|
+
version: '4.7'
|
76
90
|
type: :runtime
|
77
91
|
prerelease: false
|
78
92
|
version_requirements: !ruby/object:Gem::Requirement
|
79
93
|
requirements:
|
80
94
|
- - "~>"
|
81
95
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
96
|
+
version: '4.7'
|
83
97
|
description: Sailboat Guidance System - an autonomous navigation and control system
|
84
98
|
for robotic sailboats.
|
85
99
|
email:
|
86
100
|
- dtynan@kalopa.com
|
87
|
-
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
|
88
110
|
extensions: []
|
89
111
|
extra_rdoc_files: []
|
90
112
|
files:
|
91
|
-
- ".gitignore"
|
92
|
-
- ".rspec"
|
93
|
-
- ".travis.yml"
|
94
|
-
- CODE_OF_CONDUCT.md
|
95
113
|
- Gemfile
|
96
114
|
- LICENSE
|
97
115
|
- README.md
|
98
116
|
- Rakefile
|
99
117
|
- bin/console
|
100
|
-
-
|
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
|
101
126
|
- lib/sgs/alarm.rb
|
127
|
+
- lib/sgs/bearing.rb
|
102
128
|
- lib/sgs/config.rb
|
103
129
|
- lib/sgs/course.rb
|
130
|
+
- lib/sgs/diagnostics.rb
|
104
131
|
- lib/sgs/gps.rb
|
105
132
|
- lib/sgs/location.rb
|
106
133
|
- lib/sgs/logger.rb
|
107
134
|
- lib/sgs/mission.rb
|
135
|
+
- lib/sgs/mission_status.rb
|
108
136
|
- lib/sgs/navigate.rb
|
109
137
|
- lib/sgs/nmea.rb
|
110
138
|
- lib/sgs/otto.rb
|
111
139
|
- lib/sgs/redis_base.rb
|
140
|
+
- lib/sgs/report.rb
|
112
141
|
- lib/sgs/rpc.rb
|
113
142
|
- lib/sgs/timing.rb
|
114
143
|
- lib/sgs/version.rb
|
@@ -117,7 +146,7 @@ files:
|
|
117
146
|
- sgslib.gemspec
|
118
147
|
homepage: http://github.com/kalopa/sgslib
|
119
148
|
licenses:
|
120
|
-
-
|
149
|
+
- GPL-2.0
|
121
150
|
metadata:
|
122
151
|
allowed_push_host: https://rubygems.org
|
123
152
|
post_install_message:
|
@@ -135,8 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
164
|
- !ruby/object:Gem::Version
|
136
165
|
version: '0'
|
137
166
|
requirements: []
|
138
|
-
|
139
|
-
rubygems_version: 2.7.6
|
167
|
+
rubygems_version: 3.0.3.1
|
140
168
|
signing_key:
|
141
169
|
specification_version: 4
|
142
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/
|