open_gpx_2_kml 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- open_gpx_2_kml (1.0.1)
4
+ open_gpx_2_kml (1.0.2)
5
5
  builder (= 3.1.4)
6
6
  geo_swap (= 0.2.1)
7
7
  nokogiri (= 1.5.6)
@@ -12,7 +12,7 @@ module TF1Converter
12
12
  end
13
13
 
14
14
  def self.can_translate?(filename)
15
- filename =~ /\.gpx$/
15
+ filename =~ /\.(gpx|GPX)$/
16
16
  end
17
17
 
18
18
  def initialize(gpx_file)
@@ -1,3 +1,3 @@
1
1
  module TF1Converter
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -3,7 +3,7 @@
3
3
  <Document>
4
4
  <open>1</open>
5
5
  <Snippet maxLines="1"/>
6
- <description><![CDATA[09-01-2008 12:00:00 PM<br/><br/>TF1 Converter Version 1.0<br/>MO Task Force 1<br/>]]></description>
6
+ <description><![CDATA[09-01-2008 12:00:00 PM<br/><br/>OpenGpx2Kml Converter Version 1.0<br/>]]></description>
7
7
  <Style id="sn_noicon">
8
8
  <IconStyle>
9
9
  <Icon/>
@@ -51,6 +51,10 @@ module TF1Converter
51
51
  TF1Converter::Translation.can_translate?("big-file.gpx").should be_true
52
52
  end
53
53
 
54
+ it 'doesnt mind caps gpx' do
55
+ TF1Converter::Translation.can_translate?("BIG-FILE.GPX").should be_true
56
+ end
57
+
54
58
  it 'wont take files without gpx endings' do
55
59
  TF1Converter::Translation.can_translate?("big-file.kml").should be_false
56
60
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: open_gpx_2_kml
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-28 00:00:00.000000000 Z
12
+ date: 2013-04-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -254,7 +254,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
254
254
  version: '0'
255
255
  segments:
256
256
  - 0
257
- hash: 231973949734509587
257
+ hash: -3131667499986719849
258
258
  required_rubygems_version: !ruby/object:Gem::Requirement
259
259
  none: false
260
260
  requirements:
@@ -263,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
263
263
  version: '0'
264
264
  segments:
265
265
  - 0
266
- hash: 231973949734509587
266
+ hash: -3131667499986719849
267
267
  requirements: []
268
268
  rubyforge_project:
269
269
  rubygems_version: 1.8.23