plansheet 0.30.1 → 0.30.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/exe/plansheet +13 -0
- data/lib/plansheet/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: a918dce2e7ab41c30070205e2dcb75679696047b231e0a0999ed0a940fa3aea8
|
4
|
+
data.tar.gz: 5cec12572afb320929ff5efd951bf9f31e69aeff53d35e4886ea17d6891ad30c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30fdf0a0f98d5dd99de508849c9380210d4b8515d8549ccc4cfb60a8da2263fecd9d6b72fcbaf76fd539aeb826a1c69342930a403d6289942c637e1e5f70e54d
|
7
|
+
data.tar.gz: e0cf9b8ec2daa63f29b396ca58e1321d4303fc3ce2cbbccaf3a7bc282d33e2756ed55bce9747ff74223ee026130c1c8b69746ff97a38f189bc540e95f73dd49d
|
data/Gemfile.lock
CHANGED
data/exe/plansheet
CHANGED
@@ -29,6 +29,10 @@ parser.on(
|
|
29
29
|
"--time-roi",
|
30
30
|
"Show projects with a time return-on-investment"
|
31
31
|
)
|
32
|
+
parser.on(
|
33
|
+
"--needs-thinking",
|
34
|
+
"Show projects that need tasks, time estimates, etc (WIP)"
|
35
|
+
)
|
32
36
|
parser.on(
|
33
37
|
"--calendar",
|
34
38
|
"List of projects ordered by due date"
|
@@ -68,6 +72,15 @@ elsif options[:"time-roi"]
|
|
68
72
|
puts "time ROI payoff: #{proj.time_roi_payoff}"
|
69
73
|
puts "\n"
|
70
74
|
end
|
75
|
+
elsif options[:"needs-thinking"]
|
76
|
+
puts "Projects with no tasks"
|
77
|
+
project_arr = pool.projects.sort
|
78
|
+
project_arr.delete_if(&:dropped_or_done?)
|
79
|
+
project_arr.delete_if(&:tasks)
|
80
|
+
project_arr.each do |proj|
|
81
|
+
puts proj
|
82
|
+
puts "\n"
|
83
|
+
end
|
71
84
|
elsif options[:calendar]
|
72
85
|
# TODO: add a project filter method
|
73
86
|
project_arr = pool.projects
|
data/lib/plansheet/version.rb
CHANGED