git-fit 0.8.8 → 0.8.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0547b3cc3e8f1c34bbcb472bde62fcb97a24a8f9d7923021e3d7c1acea6072b8
4
- data.tar.gz: 077211f324433c5e720d1bb57d5a9836805e349baaa0572278e43709fc345722
3
+ metadata.gz: 9aedbd56b7a0006cad60386fa55b030857cef43497e0d798bb334f6ddaf968fb
4
+ data.tar.gz: 526692de645f4cee05b8b61a3bc3018efbaad202c2d342b7376e7a90e1b1f237
5
5
  SHA512:
6
- metadata.gz: 11c4a47b9faa967b2b6e9c0c393a9f43220e3c1bf01a949951087355ad45d770bcc15f7af8700ee8c5a24ca244b6b150738ac8b752933b3b6e8016c53e6bd222
7
- data.tar.gz: 269d0e18280295248204b860366f8d8213a5b549a09e5c39a224ddd54c4123715d1adada1b84ddbad56e694bc07c84a196b50232738e3123908e4f41684f7552
6
+ metadata.gz: 10c0908e780b6c8f01cc32af8ed20bcc344f197edcf2daeb2f799f99cad78433a7159d15e0b7dffe51bc654fd76c75ebf6e29152a9e8500aa760fb4a85d10b84
7
+ data.tar.gz: e36c0f4b019e587640e220704cc82a05eb4533db5314fabfc9ea32771d0493c198df90fdf8b490ee1293924a39630dc8a8721abde3e4ebbe8233f8e722325f2e
@@ -82,7 +82,6 @@ module GitFit
82
82
  else
83
83
  say_status :done, "gpx: #{count} activities", :green
84
84
  end
85
- count
86
85
  checkpoint_db(db) if options[:checkpoint]
87
86
  rescue StandardError => e
88
87
  say_status :error, "gpx: #{e.message}", :red
@@ -115,7 +114,6 @@ module GitFit
115
114
  else
116
115
  say_status :done, "tcx: #{count} activities", :green
117
116
  end
118
- count
119
117
  checkpoint_db(db) if options[:checkpoint]
120
118
  rescue StandardError => e
121
119
  say_status :error, "tcx: #{e.message}", :red
@@ -148,7 +146,6 @@ module GitFit
148
146
  else
149
147
  say_status :done, "fit: #{count} activities", :green
150
148
  end
151
- count
152
149
  checkpoint_db(db) if options[:checkpoint]
153
150
  rescue StandardError => e
154
151
  say_status :error, "fit: #{e.message}", :red
@@ -180,7 +177,6 @@ module GitFit
180
177
  else
181
178
  say_status :done, "apple_health: #{count} activities", :green
182
179
  end
183
- count
184
180
  checkpoint_db(db) if options[:checkpoint]
185
181
  rescue StandardError => e
186
182
  say_status :error, "apple_health: #{e.message}", :red
@@ -22,21 +22,21 @@ module GitFit
22
22
  (builtin + configured).uniq
23
23
  end
24
24
 
25
- runner = GitFit::Sync::Runner.new(
26
- sources: sources,
27
- db: db,
28
- config: git_fit_config,
29
- activity_filter: filter,
30
- privacy: privacy,
31
- num_workers: git_fit_config.dig('sync', 'workers') || 3,
32
- time_budget: git_fit_config.dig('sync', 'time_budget'),
33
- total_timeout: git_fit_config.dig('sync', 'total_timeout')
34
- )
35
- runner.run
36
- checkpoint_db(db) if options[:checkpoint]
37
- rescue StandardError => e
25
+ runner = GitFit::Sync::Runner.new(
26
+ sources: sources,
27
+ db: db,
28
+ config: git_fit_config,
29
+ activity_filter: filter,
30
+ privacy: privacy,
31
+ num_workers: git_fit_config.dig('sync', 'workers') || 3,
32
+ time_budget: git_fit_config.dig('sync', 'time_budget'),
33
+ total_timeout: git_fit_config.dig('sync', 'total_timeout')
34
+ )
35
+ runner.run
36
+ checkpoint_db(db) if options[:checkpoint]
37
+ rescue StandardError => e
38
38
  say_status :error, e.message, :red
39
- end
39
+ end
40
40
  end
41
41
  end
42
42
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GitFit
4
- VERSION = '0.8.8'
4
+ VERSION = '0.8.9'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-fit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.8
4
+ version: 0.8.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lax