gpx 0.8.2 → 0.8.3
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/gpx/track.rb +3 -3
- data/lib/gpx/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86ad86f9dc972c750fe2c628a6ce7632dcb7c524
|
4
|
+
data.tar.gz: 14a077ee15832b49966d8ce8e502b50ac57b9f15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bdd32b6adbe34bb44e46950cbdf702ded02bbb511de2c8e10f2b4a9c43e9eaf0dae9ce1a90e8703e4eaf6a4dc9b541ed649ef77e8d18784ef18504042ce6454
|
7
|
+
data.tar.gz: 01378bd150ca0ada67590425282a50980e5966807c33c30af9f6acd2916154ce690ae515360fb57c6caf5e8624636596bc85926eea13ee6e713775394e2476a2
|
data/lib/gpx/track.rb
CHANGED
@@ -25,11 +25,11 @@ module GPX
|
|
25
25
|
# multiple points (in this library, those points are instances of
|
26
26
|
# TrackPoint). Each instance of this class has its own meta-data, including
|
27
27
|
# low point, high point, and distance. Of course, each track references an
|
28
|
-
# array of the segments that
|
28
|
+
# array of the segments that comprise it, but additionally each track holds
|
29
29
|
# a reference to all of its points as one big array called "points".
|
30
30
|
class Track < Base
|
31
|
-
attr_reader :points, :bounds, :lowest_point, :highest_point, :distance, :moving_duration
|
32
|
-
attr_accessor :segments, :name, :gpx_file
|
31
|
+
attr_reader :points, :bounds, :lowest_point, :highest_point, :distance, :moving_duration
|
32
|
+
attr_accessor :segments, :name, :gpx_file, :description, :comment
|
33
33
|
|
34
34
|
# Initialize a track from a XML::Node, or, if no :element option is
|
35
35
|
# passed, initialize a blank Track object.
|
data/lib/gpx/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gpx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guillaume Dott
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2017-01-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
141
|
rubyforge_project:
|
142
|
-
rubygems_version: 2.4.
|
142
|
+
rubygems_version: 2.4.8
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: A basic API for reading and writing GPX files.
|