spektrum-log 0.0.18 → 0.0.19

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc976f15985bde7bbf197315c15bb995b1fe6694
4
- data.tar.gz: 493abc0bf66f58f293728b3e0654cae30587ed81
3
+ metadata.gz: c52d0345d2a7d9f48430b3a68cee624fcaacd8c2
4
+ data.tar.gz: fbf6b7ebec0feb0a04320cc02537145f6334be51
5
5
  SHA512:
6
- metadata.gz: d40599ff770aba1fb5ee39f322c3d61f3c76e495a03d366e98a64e8600f82914e46d58a5dd6e94ed70fbe9a07a2084d6bbcb809ddb52f5b1a4b9f087fac33e3a
7
- data.tar.gz: ed4de0a1bf9877c27d3b6cba8e1bc1b195ec4488420ef0e6c0a7d8efd87c22008007b206ae93a1928a9b9c6172ddefd162ca9fd194610719de5fdf1b814985ca
6
+ metadata.gz: ddf724bdbd0bb8129cc90edae12fb393a853f75172f2002484905ffa342010cceeac239173baba2a9f7f2def987a4167a1d2813a21088b6f60ee462f3688d4ca
7
+ data.tar.gz: 7808def78f5ddee8bf6a0782dbf75703047800a69b030fc2c157819c35a8d96de715d3fe71879ba931b61ef66420d0cafb03b046b261508ed282a6161874cd3f
@@ -87,7 +87,7 @@ module Spektrum
87
87
  end
88
88
 
89
89
  # Converts the file into a KML document containing placemarks for each
90
- # flight containing GPS data in this file.
90
+ # flight containing GPS data.
91
91
  #
92
92
  # @param options [Hash] hash containing options for file
93
93
  # @return [String] KML document for all applicable flights in the file
@@ -97,7 +97,8 @@ module Spektrum
97
97
  to_kml_file(options).render
98
98
  end
99
99
 
100
- # Converts the flight into a KMLFile containing a placemark for this flight.
100
+ # Converts the file into a KMLFile containing placemarks for each flight containing
101
+ # GPS data.
101
102
  #
102
103
  # @param options [Hash] hash containing options for file
103
104
  # @option options [String] :name name option of KML::Document
@@ -153,7 +153,7 @@ module Spektrum
153
153
  gps1_records?
154
154
  end
155
155
 
156
- # Converts the flight into a KML document containing a placemark for this flight.
156
+ # Converts the flight into a KML document containing a placemark.
157
157
  #
158
158
  # @param file_options [Hash] hash containing options for file
159
159
  # @param placemark_options [Hash] hash containing options for placemark
@@ -165,7 +165,7 @@ module Spektrum
165
165
  to_kml_file(file_options, placemark_options).render
166
166
  end
167
167
 
168
- # Converts the flight into a KMLFile containing a placemark for this flight.
168
+ # Converts the flight into a KMLFile containing a placemark.
169
169
  #
170
170
  # @param file_options [Hash] hash containing options for file
171
171
  # @option file_options [String] :name name option of KML::Document
@@ -1,5 +1,5 @@
1
1
  module Spektrum
2
2
  module Log
3
- VERSION = "0.0.18"
3
+ VERSION = "0.0.19"
4
4
  end
5
5
  end
data/spec/flight_spec.rb CHANGED
@@ -594,12 +594,6 @@ describe Spektrum::Log::Flight do
594
594
 
595
595
  its(:to_kml) { should be_a(String) }
596
596
 
597
- it 'should take options for file and placemark' do
598
- kml = subject.to_kml_file({ :name => 'File Name' }, { :name => 'Placemark Name' })
599
- kml.objects[0].name.should eql('File Name')
600
- kml.objects[0].features[0].name.should eql('Placemark Name')
601
- end
602
-
603
597
  end
604
598
 
605
599
  context 'with flight 2' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spektrum-log
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Veys