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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19345ed604fc0cbbde2039faf1ffb9b11906c15d7810ad32706beb8ce3ff3fce
4
- data.tar.gz: 4c155173ebb564eeed831258435ee2fae898f859027c453ca2bc66076713e5c1
3
+ metadata.gz: a918dce2e7ab41c30070205e2dcb75679696047b231e0a0999ed0a940fa3aea8
4
+ data.tar.gz: 5cec12572afb320929ff5efd951bf9f31e69aeff53d35e4886ea17d6891ad30c
5
5
  SHA512:
6
- metadata.gz: 6c48221ba589561d204608a4bab90a1f8c05f19ee5e264835f2a663782b1a51f9ed9ac9e43562228ac055c563c443645f4a4488a381063d184031fff1b42348b
7
- data.tar.gz: c1aa45f17d310b9a9b7dbf06ff1d2bc5e488b44ab87fcbb990c54edd14ca1f0e7e5538c4e4c86eabb7887aba02f88e55d8c1b5112b2c87069ac283c30c155206
6
+ metadata.gz: 30fdf0a0f98d5dd99de508849c9380210d4b8515d8549ccc4cfb60a8da2263fecd9d6b72fcbaf76fd539aeb826a1c69342930a403d6289942c637e1e5f70e54d
7
+ data.tar.gz: e0cf9b8ec2daa63f29b396ca58e1321d4303fc3ce2cbbccaf3a7bc282d33e2756ed55bce9747ff74223ee026130c1c8b69746ff97a38f189bc540e95f73dd49d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- plansheet (0.30.1)
4
+ plansheet (0.30.2)
5
5
  dc-kwalify (~> 1.0)
6
6
  diffy (= 3.4.2)
7
7
  rgl (= 0.5.8)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Plansheet
4
- VERSION = "0.30.1"
4
+ VERSION = "0.30.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plansheet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.1
4
+ version: 0.30.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Crosby