gthc 0.1.9 → 0.1.10

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: a2e103bce21ce82dd8082748418964a84adbd9fbe63463f9367d15ca5569a836
4
- data.tar.gz: 02ed1d95f8e4e6b4214c08e974cf3fbc6289a9bb4f36eea8397fe697f08bcb87
3
+ metadata.gz: cdda8bbf24bf57f441c14c0c610014e2b1e19baeb6b9d3029e1f053bef3c90b9
4
+ data.tar.gz: 68c61801bf40ccd882e9d436e57bf77aac0710884f6b415114825537e4288094
5
5
  SHA512:
6
- metadata.gz: 1ffd8db92c841b2402a4f798d04b45d7d0a65de10ba60ce8809b1e6e55add6a1d6266602baaa2e2b637f59a35f09064a241690bc2179b934905b17e0e17a926f
7
- data.tar.gz: 8bec0fc03302185d5b09ff08809497e880fcf89d9e4d1050517222dc730b941a584ab9ff18ac28c1a14372f1f8ec182fb1e1c1c9c07f61a0397c89c179d58fe7
6
+ metadata.gz: '09bdf3433f89b186b224aa8b33614f5a28f219198e611c4823272cd1da04752f887e2f7f2d3373bb2411af72c46411947bfc0094fb696cb1ae5626c9b5cdce42'
7
+ data.tar.gz: 1b66da20c59d9d2bdea94553e645929ecfa023fed7715ea33569f383c3f43bfa1ce0eda27c90d495f93c0478fdb2fd2bd026d5e170342e28a482f01613b38021
@@ -145,7 +145,7 @@ module Weight
145
145
  end
146
146
 
147
147
  # multi based on person
148
- person = people[slots[i].personID]
148
+ person = people[slots[i].col]
149
149
  if slots[i].isNight && person.nightScheduled > 0
150
150
  multi *= (1/person.nightScheduled)
151
151
  elsif person.dayScheduled > 0
@@ -1,3 +1,3 @@
1
1
  module GTHC
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gthc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aman Ibrahim