plansheet 0.23.1 → 0.23.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 +11 -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: e479f020bfa87192523fd231ec0704d07a2e0e92805eaf76720bf3ee62469c4a
|
4
|
+
data.tar.gz: c197a3c2730522f7f70aa4793ff50670e91e04f57f15874bef174c0f94b44f83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77d8895595f834e4bf6f844aabd20178b3f50172071a2713e81f50e9e0e21f4c9cc29df0550cfba085419f7508eeb188417610ce8364b18fdcdd8a6012290eed
|
7
|
+
data.tar.gz: 1da8aab0fe36a1775584afbdd140c3b0e0b6a6ed43202b2987311aa258bc3a2d59ce6109cb88c11c6a8a9335bd5770c9c2e66c1ff3f74c3f26cd4c0c07120733
|
data/Gemfile.lock
CHANGED
data/exe/plansheet
CHANGED
@@ -25,6 +25,10 @@ parser.on(
|
|
25
25
|
"--stats",
|
26
26
|
"Various stats (WIP)"
|
27
27
|
)
|
28
|
+
parser.on(
|
29
|
+
"--time-roi",
|
30
|
+
"Show projects with a time return-on-investment"
|
31
|
+
)
|
28
32
|
parser.on(
|
29
33
|
"--calendar",
|
30
34
|
"List of projects ordered by due date"
|
@@ -54,6 +58,13 @@ elsif options[:stats]
|
|
54
58
|
elsif options[:sort]
|
55
59
|
# Pool sorts projects, this now just matches old behaviour
|
56
60
|
pool.write_projects
|
61
|
+
elsif options[:"time-roi"]
|
62
|
+
project_arr = pool.projects.select {|x| x.time_roi_payoff != 0 && !x.dropped_or_done?}.sort
|
63
|
+
project_arr.each do |proj|
|
64
|
+
puts proj
|
65
|
+
puts "time ROI payoff: #{proj.time_roi_payoff}"
|
66
|
+
puts "\n"
|
67
|
+
end
|
57
68
|
elsif options[:calendar]
|
58
69
|
# TODO: add a project filter method
|
59
70
|
project_arr = pool.projects
|
data/lib/plansheet/version.rb
CHANGED