checkoff 0.5.4 → 0.5.5
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/lib/checkoff/sections.rb +1 -1
- data/lib/checkoff/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: 4ca9a96e298922b58c2d0912260c32e663591a1a8c9d331941d81387f66c5331
|
|
4
|
+
data.tar.gz: 96d002a7f29d566425c506ccbeddd002e85b7328377947a88942baa2c8a462e2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 30328a895342c49a1e1e2ec59feb28e7a8ee1569f0210230cad181eaab9e8fee0c4a640fe4748447852d16dbd177cf77038a8cbc0f5b8f8be60ca3c497c5e71f
|
|
7
|
+
data.tar.gz: 8db7e5cd89c5ae2a9a826bbf142ef13b10fe181245964a049b395956c273537e296740935cdae8cfc0c324c5e0d056b2eb0f2576d13267b5ed36a013963d44d0
|
data/lib/checkoff/sections.rb
CHANGED
|
@@ -26,7 +26,7 @@ module Checkoff
|
|
|
26
26
|
membership = task.memberships.find { |m| m['project']['gid'] == project_gid }
|
|
27
27
|
raise "Could not find task in project_gid #{project_gid}: #{task}" if membership.nil?
|
|
28
28
|
|
|
29
|
-
current_section = membership
|
|
29
|
+
current_section = membership['section']['name']
|
|
30
30
|
current_section = nil if current_section == '(no section)'
|
|
31
31
|
by_section[current_section] ||= []
|
|
32
32
|
by_section[current_section] << task
|
data/lib/checkoff/version.rb
CHANGED