simple-trail 0.2.3 → 0.2.4

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
  SHA256:
3
- metadata.gz: c180996e2776e5fb60fdf00b41066805dce00d7d565bb976f78323ea5219f31a
4
- data.tar.gz: 6b0fd52172d3e74cdeca5a93835a7475fd13260a565c1bf204cbf0f7999c163f
3
+ metadata.gz: c68514bf45dc7a1fc4634824e82aa55a0aae93b1551dcd0b4627b8fe81e4cdb7
4
+ data.tar.gz: fb790e381f48edf24b1fe03fafdaef9bc20ebffc6c4adc002501d4e04c9d42df
5
5
  SHA512:
6
- metadata.gz: 96b974bb1e33754b9c48e58ff10db10d558e0ce12acda9ec292f63e5bef128e1d6fd03a2c96fbf81fb0c5c30d0fc44478566c5f8be317129fea6d7b926cb4cf0
7
- data.tar.gz: bd5e486c6b1e8dbf29fbc56fefdc0fbdc386e306d13d59f3bd1e98cc27028655fee69455690e37beef1f5c12abbfe3f43cade3b2f3b80e12cbeadc6927f7dfb3
6
+ metadata.gz: 38045830ba9d6449b43b9eea10bd6dd206b4f1d2279f9b81927fc604f0022be0f850c0299f5849f43520a8b54ef403abe4cace57863a978d5bfea4d2abaa69d9
7
+ data.tar.gz: d29501cca5752bf6c0c1baa34ee8e6a3d9131ed54fc78a6171be209bc984c8fb08f3a6e4fca277a2f98a57174d2c6fdd397c609c3fad26f97f3520f10cf6246c
@@ -84,7 +84,7 @@ module Manipulation
84
84
  end
85
85
 
86
86
  def find_and_enrich_first_occurence(i)
87
- index = @points.find_index{|point| point[:total_distance] + @offset > i}
87
+ index = @points.find_index{|point| point[:total_distance] + @offset.to_f > i}
88
88
  @points[index].merge!(label: i)
89
89
  end
90
90
 
data/simple-trail.gemspec CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = 'simple-trail'
8
- s.version = '0.2.3'
8
+ s.version = '0.2.4'
9
9
  s.date = '2020-08-03'
10
10
  s.summary = 'Readind and manipulating GPX and other trail representation file'
11
11
  s.description = 'Optimazing and manipulating GPX file data. For my private purposes mostly'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-trail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Staszek Zawadzki