miga-base 0.7.16.11 → 0.7.16.12

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: 7a5ac8da23d463724b4c9d056fee6d8a2ec19fbb7c5734d68c834ccd1e654bb8
4
- data.tar.gz: 46c0a01f19e30edf4af734fedb5e8c0decf848cf2cfd3a40a8a19772d7040618
3
+ metadata.gz: 1e89d0bc90eef4ca458fbc415cbeff6eaa6c2b07ee4df77268826ecfbe0720df
4
+ data.tar.gz: b082d83022262e82d309e8ff70f077fe28cebddacf5b85844547ed24a8a877f7
5
5
  SHA512:
6
- metadata.gz: 4c36c082efdc4aabe6e6af023517029b718e9658c3fa34b2f9734793b79c6a6676d761e1efd03aa9e1ee91393c1f34747a49add8608fcd0d67268a83acd3d50a
7
- data.tar.gz: 9137f435f69e0cad7485eca2aa595b1063f8cc31752bd3497e041c7e891c5f0606c1c5bc29bc654d276f6c4a25227ac81a566a46a240c3a011b3de74b260ea34
6
+ metadata.gz: fa0746c6173b1b7a504b6d40ed0a158ef647694970f9222aeeaa5465dcad73f4647894164d0edc823b54dce837410393ac61186a6b217ff5edacbfc81a01591d
7
+ data.tar.gz: b8411e7c9fb0f62de20e5a909dbf7b4c998bcb18aa4fa79fbe48dc128292f8983ce1dfae54d9e3082807449b6c5cf9d4a3bb913bc9dde77c1c2d4bab6aa8fe27
@@ -92,8 +92,7 @@ class MiGA::Daemon < MiGA::MiGA
92
92
  flush!
93
93
  if (loop_i % 12).zero?
94
94
  purge!
95
- # TEMPORARILY DISABLED:
96
- # recalculate_status!
95
+ recalculate_status!
97
96
  end
98
97
  save_status
99
98
  sleep(latency)
@@ -102,8 +101,10 @@ class MiGA::Daemon < MiGA::MiGA
102
101
  end
103
102
 
104
103
  def recalculate_status!
105
- say 'Recalculating status for all datasets'
106
- project.each_dataset(&:recalculate_status)
104
+ say 'Recalculating status for all complete datasets'
105
+ project.each_dataset do |ds|
106
+ ds.recalculate_status if ds.status == :complete
107
+ end
107
108
  end
108
109
 
109
110
  ##
@@ -8,7 +8,7 @@ module MiGA
8
8
  # - Float representing the major.minor version.
9
9
  # - Integer representing gem releases of the current version.
10
10
  # - Integer representing minor changes that require new version number.
11
- VERSION = [0.7, 16, 11]
11
+ VERSION = [0.7, 16, 12]
12
12
 
13
13
  ##
14
14
  # Nickname for the current major.minor version.
@@ -16,7 +16,7 @@ module MiGA
16
16
 
17
17
  ##
18
18
  # Date of the current gem release.
19
- VERSION_DATE = Date.new(2020, 12, 10)
19
+ VERSION_DATE = Date.new(2020, 12, 24)
20
20
 
21
21
  ##
22
22
  # Reference of MiGA.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: miga-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.16.11
4
+ version: 0.7.16.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis M. Rodriguez-R
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-10 00:00:00.000000000 Z
11
+ date: 2020-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: daemons