natour 0.2.0 → 0.3.0
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/CHANGELOG.adoc +12 -0
- data/README.adoc +1 -1
- data/lib/natour/config.rb +6 -8
- data/lib/natour/convert.rb +2 -1
- data/lib/natour/data/fonts/dejavuserifcondensed-bold.ttf +0 -0
- data/lib/natour/data/fonts/dejavuserifcondensed-bold_italic.ttf +0 -0
- data/lib/natour/data/fonts/dejavuserifcondensed-italic.ttf +0 -0
- data/lib/natour/data/fonts/dejavuserifcondensed-normal.ttf +0 -0
- data/lib/natour/data/themes/natour-theme.yml +9 -0
- data/lib/natour/report.rb +1 -0
- metadata +11 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 653a7f10629f9d5cb63e991eba1e4693e88dcf3b26d0a92978f98601d8223507
|
|
4
|
+
data.tar.gz: 8e8671274bab8ac94bec16bcd5d967cdd337ccfb81e63b406d3d066d0689951d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f8a3ec14f64440b08bc1e291ac20bd7cff86cef27509010c253779eab32ca26098667b8d5b13b216f8f486174b326f201941201da98a4b4ed8e22d3a43d2407f
|
|
7
|
+
data.tar.gz: 3554afc251f92900f32fe59e925c690cc9f1de77f7e3b84c0a94c5885a2706543ddca2b0a6cd50c11a0ea13918923c3e1766ef7059d938ed89fae49d49135a8c
|
data/CHANGELOG.adoc
CHANGED
|
@@ -6,6 +6,18 @@ The format is based on https://keepachangelog.com/en/1.0.0/[Keep a Changelog^],
|
|
|
6
6
|
|
|
7
7
|
== Unreleased
|
|
8
8
|
|
|
9
|
+
== 0.3.0 - 2021-03-07
|
|
10
|
+
|
|
11
|
+
=== Changed
|
|
12
|
+
|
|
13
|
+
- Sort the reports according to their GPS track
|
|
14
|
+
- Bump minimum required Ruby version to 2.5
|
|
15
|
+
- Change font in PDF output to support ♀ and ♂ symbols
|
|
16
|
+
|
|
17
|
+
=== Fixed
|
|
18
|
+
|
|
19
|
+
- Make source code compatible with Ruby version 2.5
|
|
20
|
+
|
|
9
21
|
== 0.2.0 - 2021-01-24
|
|
10
22
|
|
|
11
23
|
=== Added
|
data/README.adoc
CHANGED
data/lib/natour/config.rb
CHANGED
|
@@ -5,14 +5,12 @@ module Natour
|
|
|
5
5
|
class Config
|
|
6
6
|
def self.load_file(filename, default: {}, dirs: [Dir.home, Dir.pwd])
|
|
7
7
|
dirs.map do |dir|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
{}
|
|
15
|
-
end
|
|
8
|
+
YAML.safe_load(
|
|
9
|
+
File.read(Pathname(dir).join(filename)),
|
|
10
|
+
[Symbol]
|
|
11
|
+
)
|
|
12
|
+
rescue Errno::ENOENT
|
|
13
|
+
{}
|
|
16
14
|
end.reduce(default, &:merge)
|
|
17
15
|
end
|
|
18
16
|
end
|
data/lib/natour/convert.rb
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
extends: default
|
|
3
|
+
font:
|
|
4
|
+
catalog:
|
|
5
|
+
DejaVu Serif Condensed:
|
|
6
|
+
normal: dejavuserifcondensed-normal.ttf
|
|
7
|
+
italic: dejavuserifcondensed-italic.ttf
|
|
8
|
+
bold: dejavuserifcondensed-bold.ttf
|
|
9
|
+
bold_italic: dejavuserifcondensed-bold_italic.ttf
|
|
10
|
+
base:
|
|
11
|
+
font-family: DejaVu Serif Condensed
|
|
3
12
|
footer:
|
|
4
13
|
recto:
|
|
5
14
|
left:
|
data/lib/natour/report.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: natour
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Simon Gysi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-03-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: asciidoctor
|
|
@@ -70,14 +70,14 @@ dependencies:
|
|
|
70
70
|
name: fit4ruby
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- -
|
|
73
|
+
- - '='
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '3.7'
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- -
|
|
80
|
+
- - '='
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '3.7'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
@@ -180,6 +180,10 @@ files:
|
|
|
180
180
|
- lib/natour/config.rb
|
|
181
181
|
- lib/natour/convert.rb
|
|
182
182
|
- lib/natour/create.rb
|
|
183
|
+
- lib/natour/data/fonts/dejavuserifcondensed-bold.ttf
|
|
184
|
+
- lib/natour/data/fonts/dejavuserifcondensed-bold_italic.ttf
|
|
185
|
+
- lib/natour/data/fonts/dejavuserifcondensed-italic.ttf
|
|
186
|
+
- lib/natour/data/fonts/dejavuserifcondensed-normal.ttf
|
|
183
187
|
- lib/natour/data/js/bootstrap.min.js
|
|
184
188
|
- lib/natour/data/js/jquery-3.5.1.slim.min.js
|
|
185
189
|
- lib/natour/data/js/loader.js
|
|
@@ -201,6 +205,8 @@ homepage: https://rubygems.org/gems/natour
|
|
|
201
205
|
licenses:
|
|
202
206
|
- MIT
|
|
203
207
|
metadata:
|
|
208
|
+
bug_tracker_uri: https://github.com/simongysi/natour/issues
|
|
209
|
+
changelog_uri: https://github.com/simongysi/natour/blob/main/CHANGELOG.adoc
|
|
204
210
|
source_code_uri: https://github.com/simongysi/natour
|
|
205
211
|
post_install_message:
|
|
206
212
|
rdoc_options: []
|
|
@@ -210,7 +216,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
210
216
|
requirements:
|
|
211
217
|
- - ">="
|
|
212
218
|
- !ruby/object:Gem::Version
|
|
213
|
-
version: '2.
|
|
219
|
+
version: '2.5'
|
|
214
220
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
215
221
|
requirements:
|
|
216
222
|
- - ">="
|