jeti-log 0.5.4 → 0.5.5
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/lib/jeti/log/entry.rb +1 -1
- data/lib/jeti/log/version.rb +1 -1
- data/spec/file_spec.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04da93b8a9eabaf8b587c469631301aae286f207
|
4
|
+
data.tar.gz: ca2a8bca18917c71bf88541e41812e3bbcbd7e55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25a3bcee62b232c6eec9e18a52e4a90d79d123986df5a953dda412a6f402175f2255606c75bd866cde5ffd8a9fd07a563225b0cf8cdb87302a2b6544a3fb205a
|
7
|
+
data.tar.gz: 3a589b209b0f5733b4b18741477accdf875fe8d699ecee6a034cbf970fed0cd79de70dea70f5d8b3483d80c54da86d8183db882b9d2439aeaaa34ec662c148e8
|
data/lib/jeti/log/entry.rb
CHANGED
data/lib/jeti/log/version.rb
CHANGED
data/spec/file_spec.rb
CHANGED
@@ -64,13 +64,14 @@ describe Jeti::Log::File do
|
|
64
64
|
|
65
65
|
it { should have(539).mgps_data }
|
66
66
|
|
67
|
-
it 'should have some select gps
|
67
|
+
it 'should have some select gps information' do
|
68
68
|
loc = subject.mgps_data[0]
|
69
69
|
expect(loc.time).to eql(219552)
|
70
70
|
expect(loc.latitude).to be_within(0.0001).of(41.1856)
|
71
71
|
expect(loc.longitude).to be_within(0.0001).of(-96.0103)
|
72
72
|
expect(loc.altitude(:meters)).to eql(309)
|
73
73
|
expect(loc.course).to eql(0)
|
74
|
+
expect(loc.satellite_count).to eql(8)
|
74
75
|
|
75
76
|
loc = subject.mgps_data[250]
|
76
77
|
expect(loc.time).to eql(347038)
|
@@ -78,6 +79,7 @@ describe Jeti::Log::File do
|
|
78
79
|
expect(loc.longitude).to be_within(0.0001).of(-96.0094)
|
79
80
|
expect(loc.altitude(:meters)).to eql(352)
|
80
81
|
expect(loc.course).to eql(294)
|
82
|
+
expect(loc.satellite_count).to eql(9)
|
81
83
|
|
82
84
|
loc = subject.mgps_data[450]
|
83
85
|
expect(loc.time).to eql(456409)
|
@@ -85,6 +87,7 @@ describe Jeti::Log::File do
|
|
85
87
|
expect(loc.longitude).to be_within(0.0001).of(-96.0091)
|
86
88
|
expect(loc.altitude(:meters)).to eql(333)
|
87
89
|
expect(loc.course).to eql(0)
|
90
|
+
expect(loc.satellite_count).to eql(9)
|
88
91
|
end
|
89
92
|
|
90
93
|
its(:mezon_data?) { should be_false }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jeti-log
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Veys
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awesome_print
|