git-fit 0.9.0 → 0.9.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/lib/git_fit/cli/geo_cli.rb +1 -1
- data/lib/git_fit/sync/strava.rb +2 -2
- data/lib/git_fit/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9d41bda761819e642af330a0337bdcd8fab20b805ab3a4a8ec05480c0dbab27b
|
|
4
|
+
data.tar.gz: 5cbc8693d1037c6d85ffbfd36f6a7550209022eff7af5555acb5a1c821997093
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1caef7f5f1bbca91477dac51d0072103f1ffc501eebeb9793064b78063b5783ac6cf10043a7d5efc7e9b752fe2f39941c7159c6075905a6e43290b5b62417b30
|
|
7
|
+
data.tar.gz: 3896c5419896bebeb39d54e9dc6c88fd5590cfe39f8a0b1b45012216230f7b312e212dd15bd3315b22064807c2953b02d7f18d922c70d84344d08bd2c3e83037
|
data/lib/git_fit/cli/geo_cli.rb
CHANGED
|
@@ -11,7 +11,7 @@ module GitFit
|
|
|
11
11
|
option :time, type: :numeric, aliases: '-t', desc: 'Time budget in seconds'
|
|
12
12
|
option :"dry-run", type: :boolean, desc: "Don't write to DB"
|
|
13
13
|
option :checkpoint, type: :boolean, desc: 'Run WAL checkpoint after detect'
|
|
14
|
-
option :"cache-dir", type: :string, desc: "Geo cache directory (empty = no cache)", default: "
|
|
14
|
+
option :"cache-dir", type: :string, desc: "Geo cache directory (empty = no cache)", default: ""
|
|
15
15
|
def detect
|
|
16
16
|
config = GitFit::Config.new
|
|
17
17
|
conn = GitFit::DB::Connection.new(config.db_path)
|
data/lib/git_fit/sync/strava.rb
CHANGED
|
@@ -72,7 +72,7 @@ module GitFit
|
|
|
72
72
|
|
|
73
73
|
streams = fetch_streams(act_id, token)
|
|
74
74
|
|
|
75
|
-
write_source_archive({ source: 'strava', detail: detail, streams: streams }, act_id)
|
|
75
|
+
write_source_archive({ source: 'strava', detail: detail, streams: streams }, act_id, 'api.json')
|
|
76
76
|
|
|
77
77
|
l2 = streams_to_l2(detail, streams)
|
|
78
78
|
write_standardized_json(l2, act_id) if l2
|
|
@@ -192,7 +192,7 @@ module GitFit
|
|
|
192
192
|
end
|
|
193
193
|
|
|
194
194
|
def raw_path(platform_id)
|
|
195
|
-
File.join(raw_dir, "#{platform_id}.json")
|
|
195
|
+
File.join(raw_dir, "#{platform_id}.api.json")
|
|
196
196
|
end
|
|
197
197
|
|
|
198
198
|
def existing_run_ids
|
data/lib/git_fit/version.rb
CHANGED