projector_pws 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/projector_pws.rb +1 -1
- data/lib/projector_pws/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c3f48b05d49ca1ce98dfc48f17c24d9286b03c4
|
4
|
+
data.tar.gz: d3c43465564e7697e92b92c2b09d820cdb785da3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72daaf27b547edb4f8a541c7362687819f57f3dc359ac7560fe33545d620e03830cea88af0d842d5a05be4b94d6a1ad209ac383bccc8f1649b54177934e4e377
|
7
|
+
data.tar.gz: c976dc4716e9d9036853a69a3a5f96e3bb865de716e77050cbe876b664bf15cff7b9b2923d705bd3f57ac57f9ed31bee6fd74ac940ee90ea00511811ff6e6a57
|
data/lib/projector_pws.rb
CHANGED
@@ -291,7 +291,7 @@ module ProjectorPWS
|
|
291
291
|
def self.compute_resource_free_hours scheduled_hours, wsched
|
292
292
|
|
293
293
|
# Get active hours
|
294
|
-
active_hours =
|
294
|
+
active_hours = compute_resource_active_hours wsched
|
295
295
|
|
296
296
|
# Compute time off and holidays into active hours
|
297
297
|
active_hours = active_hours - scheduled_hours[:toff]
|