simple-trail 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,6 +23,16 @@ RSpec.describe Manipulation::Enricher do
23
23
  enrichement_logic.enrich
24
24
 
25
25
  expect(enrichement_logic.enriched_points.count).not_to eq point_count
26
- require 'pry'; binding.pry
26
+ end
27
+
28
+ it 'something more to enrich' do
29
+ parser = Parser::Gpx.new('./spec/examples/gss20-full-official.gpx')
30
+ parser.read
31
+
32
+ point_count = parser.points.count
33
+ enrichement_logic = described_class.new(parser.points, 0.1)
34
+ enrichement_logic.enrich
35
+
36
+ expect(enrichement_logic.enriched_points.count).not_to eq point_count
27
37
  end
28
38
  end
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.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Staszek Zawadzki
@@ -82,6 +82,7 @@ files:
82
82
  - lib/simple_trail/manipulation/unifier.rb
83
83
  - lib/simple_trail/parser/gpx.rb
84
84
  - simple-trail.gemspec
85
+ - spec/examples/gss20-full-official.gpx
85
86
  - spec/examples/kbl.gpx
86
87
  - spec/examples/test-xxl.gpx
87
88
  - spec/examples/test_1.gpx
@@ -128,6 +129,7 @@ signing_key:
128
129
  specification_version: 4
129
130
  summary: Readind and manipulating GPX and other trail representation file
130
131
  test_files:
132
+ - spec/examples/gss20-full-official.gpx
131
133
  - spec/examples/kbl.gpx
132
134
  - spec/examples/test-xxl.gpx
133
135
  - spec/examples/test_1.gpx