dubbletrack_remote 0.8.3 → 0.8.4
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.md +7 -0
- data/lib/dubbletrack_remote/cli.rb +4 -3
- data/lib/dubbletrack_remote/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: 4aef50c5b31550c6a26a531974907b365c4347cc1873cd3a202e610a34fe746a
|
|
4
|
+
data.tar.gz: 7833c4960817b23ac153a636b1aed53bf190d4bfec980e21434542440935f8a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 26c7b6f5a4b69509fe61ccc51625d5ea1557f74c018551cb919c7c6b219096e4d1130a2b7fbfed0638a7645aa577b844c5e107d297f599776ae7d107728f10a4
|
|
7
|
+
data.tar.gz: a125476c34b234b7773ea82996dcb40452c246613f1fab0d7ef041fefc75f1661443b04cc87c10b7060a75faed800b2e8eda97317446f34392a8833997a742a1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
dubbletrack remote changelog
|
|
2
2
|
|
|
3
|
+
## [0.8.4](https://github.com/dubbletrack/remote/compare/v0.8.3...v0.8.4) (2024-07-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* adjust settings init ([3013940](https://github.com/dubbletrack/remote/commit/3013940e4d5c759f1f8d9546a4a3f8f70f0db498))
|
|
9
|
+
|
|
3
10
|
## [0.8.3](https://github.com/dubbletrack/remote/compare/v0.8.2...v0.8.3) (2024-07-10)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -2,6 +2,7 @@ require "thor/rake_compat"
|
|
|
2
2
|
require "rspec/core/rake_task"
|
|
3
3
|
require "sinatra/activerecord/rake"
|
|
4
4
|
require "pry"
|
|
5
|
+
require "config"
|
|
5
6
|
require "fileutils"
|
|
6
7
|
|
|
7
8
|
module DubbletrackRemote
|
|
@@ -224,7 +225,7 @@ module DubbletrackRemote
|
|
|
224
225
|
end
|
|
225
226
|
|
|
226
227
|
def local_cuts_file
|
|
227
|
-
if remote_cuts_path =
|
|
228
|
+
if remote_cuts_path = settings.automation.cuts_path
|
|
228
229
|
if update_current_cuts_file?
|
|
229
230
|
current_cut_path = File.join(options[:dir], "CUTS_#{Time.now.to_i}.DBF")
|
|
230
231
|
delete_old_cuts
|
|
@@ -284,7 +285,7 @@ module DubbletrackRemote
|
|
|
284
285
|
end
|
|
285
286
|
|
|
286
287
|
def settings
|
|
287
|
-
|
|
288
|
+
@settings ||= Config.load_and_set_settings(settings_path)
|
|
288
289
|
end
|
|
289
290
|
|
|
290
291
|
def settings_path
|
|
@@ -302,7 +303,7 @@ module DubbletrackRemote
|
|
|
302
303
|
create_settings_file
|
|
303
304
|
end
|
|
304
305
|
end
|
|
305
|
-
Config.load_and_set_settings(settings_path)
|
|
306
|
+
@settings = Config.load_and_set_settings(settings_path)
|
|
306
307
|
Time.zone = Settings.automation.time_zone
|
|
307
308
|
begin
|
|
308
309
|
Rake::Task["db:migrate"].invoke
|