gpx 1.1.0 → 1.1.1
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/.github/workflows/ruby.yml +3 -2
- data/.rubocop +1 -0
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -1
- data/.tool-versions +1 -0
- data/.travis.yml +1 -3
- data/CHANGELOG.md +8 -1
- data/README.md +2 -1
- data/UPGRADING.md +7 -0
- data/gpx.gemspec +1 -1
- data/lib/gpx/magellan_track_log.rb +1 -1
- data/lib/gpx/segment.rb +1 -1
- data/lib/gpx/version.rb +1 -1
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b894a8f06a91646472aa6311602be3da1c0d4767a7bc44867ba954ecf93d1909
|
4
|
+
data.tar.gz: 73b5b4e73fb783f3e10a007e2101f49db0e57f48e3675fea7b8255d1a21b84ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 279dff5711fc5808537e5e69d9be696dc9439b899021f5ab3a7532a8c68d5c099a40b63fefd89d7ebba1c64c250e599211f4a157028d4f00663b41a77cbf4ae6
|
7
|
+
data.tar.gz: b0c69fe2fa5014edb2e3628fc73b949b1d9fdaad5e73ab7546e7fd74d47c295be5722451cb8cd7cec5ebeb7ba85cc32e9ac38682d9b72b6e223f0b3295e594a1
|
data/.github/workflows/ruby.yml
CHANGED
@@ -19,8 +19,9 @@ jobs:
|
|
19
19
|
|
20
20
|
runs-on: ubuntu-latest
|
21
21
|
strategy:
|
22
|
+
fail-fast: true
|
22
23
|
matrix:
|
23
|
-
ruby-version: ['2.7', '3.0', '3.1']
|
24
|
+
ruby-version: ['2.7', '3.0', '3.1', '3.2']
|
24
25
|
|
25
26
|
steps:
|
26
27
|
- uses: actions/checkout@v2
|
@@ -28,7 +29,7 @@ jobs:
|
|
28
29
|
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
29
30
|
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
30
31
|
# uses: ruby/setup-ruby@v1
|
31
|
-
uses: ruby/setup-ruby@
|
32
|
+
uses: ruby/setup-ruby@v1.149.0
|
32
33
|
with:
|
33
34
|
ruby-version: ${{ matrix.ruby-version }}
|
34
35
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
data/.rubocop
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--server
|
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.2.2
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 3.2.2
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,17 @@
|
|
1
|
-
## [1.1.
|
1
|
+
## [1.1.1] - 2023-05-19
|
2
|
+
|
3
|
+
* updates CI, minimal Ruby version now 2.7, updates tooling like rubocop and GitHub actions
|
4
|
+
* adds support for Ruby 3.2
|
5
|
+
* adds UPGRADING.md to document changes between versions
|
6
|
+
|
7
|
+
## [1.1.0] - 2023-05-18
|
2
8
|
* Specify UTF-8 encoding for XML encoding (#35 via @sh1nduu)
|
3
9
|
* Added GeoJSON conversion (#38 via @tyrauber and @niborg)
|
4
10
|
* Support Ruby 3 (#43 via @LocoDelAssembly)
|
5
11
|
* Fix nil-to-Time comparison (#46 via @frodrigo)
|
6
12
|
* Fix bug when <rte> GPX file does not specify <name> tag (#41 via @niborg)
|
7
13
|
* Drop Ruby 2.5 and 2.6 from CI (#50 via @niborg)
|
14
|
+
|
8
15
|
## [1.0.0] - 2018-03-06
|
9
16
|
|
10
17
|
* Fix duplication of points on appending segment to track (#20 via @niborg)
|
data/README.md
CHANGED
@@ -16,7 +16,8 @@ and it also calculates some meta-data about the tracks and points in a file (suc
|
|
16
16
|
|
17
17
|
## Requirements
|
18
18
|
|
19
|
-
As of `1.
|
19
|
+
- As of `1.1.1`, `gpx` requires at least Ruby 2.7 to run.
|
20
|
+
- As of `1.0.0`, `gpx` requires at least Ruby 2.2 to run.
|
20
21
|
|
21
22
|
## Installation
|
22
23
|
Add to your gemfile:
|
data/UPGRADING.md
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
# Upgrading
|
2
|
+
|
3
|
+
You will find all the information you need to upgrade from one version to another here.
|
4
|
+
|
5
|
+
## Version 1.0.0 to 1.1.1
|
6
|
+
|
7
|
+
Please make sure, that you need at least Ruby 2.7.0 to use this gem now. As support for Ruby versions below 2.7.0 has been dropped.
|
data/gpx.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.summary = 'A basic API for reading and writing GPX files.'
|
13
13
|
s.description = 'A basic API for reading and writing GPX files.'
|
14
14
|
|
15
|
-
s.required_ruby_version = '>= 2.
|
15
|
+
s.required_ruby_version = '>= 2.7', '< 4'
|
16
16
|
|
17
17
|
s.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
18
18
|
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
data/lib/gpx/segment.rb
CHANGED
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: 1.1.
|
4
|
+
version: 1.1.1
|
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: 2023-05-
|
13
|
+
date: 2023-05-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: nokogiri
|
@@ -93,14 +93,17 @@ extra_rdoc_files: []
|
|
93
93
|
files:
|
94
94
|
- ".github/workflows/ruby.yml"
|
95
95
|
- ".gitignore"
|
96
|
+
- ".rubocop"
|
96
97
|
- ".rubocop.yml"
|
97
98
|
- ".ruby-version"
|
99
|
+
- ".tool-versions"
|
98
100
|
- ".travis.yml"
|
99
101
|
- CHANGELOG.md
|
100
102
|
- Gemfile
|
101
103
|
- LICENSE.txt
|
102
104
|
- README.md
|
103
105
|
- Rakefile
|
106
|
+
- UPGRADING.md
|
104
107
|
- bin/gpx_distance
|
105
108
|
- bin/gpx_smooth
|
106
109
|
- gpx.gemspec
|
@@ -158,7 +161,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
158
161
|
requirements:
|
159
162
|
- - ">="
|
160
163
|
- !ruby/object:Gem::Version
|
161
|
-
version: '2.
|
164
|
+
version: '2.7'
|
162
165
|
- - "<"
|
163
166
|
- !ruby/object:Gem::Version
|
164
167
|
version: '4'
|
@@ -168,7 +171,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
171
|
- !ruby/object:Gem::Version
|
169
172
|
version: '0'
|
170
173
|
requirements: []
|
171
|
-
rubygems_version: 3.
|
174
|
+
rubygems_version: 3.4.10
|
172
175
|
signing_key:
|
173
176
|
specification_version: 4
|
174
177
|
summary: A basic API for reading and writing GPX files.
|