dubbletrack_remote 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ffb748f6bce546d9021286ecabfd1c426d006de2aef9d2e299d65aad0eb8313
4
- data.tar.gz: f8015b95dbcb6141070247c3e890828bbd811124c676b94e28cc0e40fcc8bb25
3
+ metadata.gz: 4aef50c5b31550c6a26a531974907b365c4347cc1873cd3a202e610a34fe746a
4
+ data.tar.gz: 7833c4960817b23ac153a636b1aed53bf190d4bfec980e21434542440935f8a4
5
5
  SHA512:
6
- metadata.gz: 95b5d34e2b55b30b92217bc92c2e251aa3990686d64b8ca350570cc3b448c88065d250bf474941472f4b16e32463e2437c236492dbfe7ee181bc8cdf6bb2270e
7
- data.tar.gz: a125e37d84c20ebf70865fc993d7a8c89002a437ba38cdbd153bdcd407b8b0b2452932ab143c911ab2ecabd18c979bce9b10bf9009a088d31494d8a9055dacaa
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 = Settings.automation.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
- Settings
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
@@ -1,3 +1,3 @@
1
1
  module DubbletrackRemote
2
- VERSION = "0.8.3"
2
+ VERSION = "0.8.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dubbletrack_remote
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Keen