plansheet 0.30.2 → 0.31.0

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: a918dce2e7ab41c30070205e2dcb75679696047b231e0a0999ed0a940fa3aea8
4
- data.tar.gz: 5cec12572afb320929ff5efd951bf9f31e69aeff53d35e4886ea17d6891ad30c
3
+ metadata.gz: a1b05c9c4733d200c8baee9815468f5645bff5e4c91290d36be60cb292d3cc19
4
+ data.tar.gz: bafca3ddbcd281d8fb98098dd77af9771fdf9e896d7edb67bb03c16377e40600
5
5
  SHA512:
6
- metadata.gz: 30fdf0a0f98d5dd99de508849c9380210d4b8515d8549ccc4cfb60a8da2263fecd9d6b72fcbaf76fd539aeb826a1c69342930a403d6289942c637e1e5f70e54d
7
- data.tar.gz: e0cf9b8ec2daa63f29b396ca58e1321d4303fc3ce2cbbccaf3a7bc282d33e2756ed55bce9747ff74223ee026130c1c8b69746ff97a38f189bc540e95f73dd49d
6
+ metadata.gz: a392b05530451746c15420d8bd5a96be18666f709974c604ab03ecafadec3464e876fb51203c5824e6203f370e2f71bab62b2eb9c7a5d496b9de70099f021f87
7
+ data.tar.gz: 24320acdc706151578b4a3e8ba278aaae5630317ed4d069b3b609c983597c7b668fbdce51002fedaa066ae359d5a05f47825f2e3eb4cf0927efebd6bfb4a1931
data/.rubocop.yml CHANGED
@@ -1,5 +1,2 @@
1
1
  inherit_gem:
2
- dc-rubocop: default.yml
3
-
4
- AllCops:
5
- TargetRubyVersion: 2.6
2
+ dc-rubocop: ruby26.yml
data/Gemfile CHANGED
@@ -2,10 +2,9 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- # Specify your gem's dependencies in plansheet.gemspec
6
5
  gemspec
7
6
 
8
7
  group :development, optional: true do
9
- gem "dc-devtools"
8
+ gem "dc-devtools", "~> 0.1"
10
9
  gem "rdoc"
11
10
  end
data/exe/plansheet CHANGED
@@ -51,7 +51,9 @@ pool = Plansheet::Pool.new({ projects_dir: config["projects_dir"],
51
51
  if options[:sheet] || options.empty?
52
52
  require "plansheet/sheet"
53
53
  FileUtils.mkdir_p config["output_dir"]
54
- Plansheet::LaTeXSheet.new("#{config["output_dir"]}/projects.tex", pool.projects)
54
+ project_arr = pool.projects
55
+ project_arr.delete_if { |x| %w[dropped done paused].include? x.status }
56
+ Plansheet::LaTeXSheet.new("#{config["output_dir"]}/projects.tex", project_arr)
55
57
  elsif options[:irb]
56
58
  binding.irb # rubocop:disable Lint/Debugger
57
59
  elsif options[:stats]
@@ -140,6 +140,16 @@ module Plansheet
140
140
  type: seq
141
141
  sequence:
142
142
  - type: str
143
+ "setup_tasks":
144
+ desc: List of tasks needed before main project work begins
145
+ type: seq
146
+ sequence:
147
+ - type: str
148
+ "cleanup_tasks":
149
+ desc: List of tasks needed before main project work begins
150
+ type: seq
151
+ sequence:
152
+ - type: str
143
153
  "done":
144
154
  desc: List of tasks which have been completed
145
155
  type: seq
@@ -58,7 +58,7 @@ module Plansheet
58
58
  day_of_week frequency last_for lead_time].freeze
59
59
  DATE_PROPERTIES = %w[due defer paused_on dropped_on completed_on created_on starts_on last_done
60
60
  last_reviewed].freeze
61
- ARRAY_PROPERTIES = %w[dependencies externals urls tasks done tags].freeze
61
+ ARRAY_PROPERTIES = %w[dependencies externals urls tasks setup_tasks cleanup_tasks done tags].freeze
62
62
 
63
63
  ALL_PROPERTIES = STRING_PROPERTIES + DATE_PROPERTIES + ARRAY_PROPERTIES
64
64
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Plansheet
4
- VERSION = "0.30.2"
4
+ VERSION = "0.31.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plansheet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.2
4
+ version: 0.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Crosby
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-28 00:00:00.000000000 Z
11
+ date: 2022-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dc-kwalify
@@ -63,7 +63,6 @@ files:
63
63
  - ".rubocop.yml"
64
64
  - CODE_OF_CONDUCT.md
65
65
  - Gemfile
66
- - Gemfile.lock
67
66
  - Guardfile
68
67
  - LICENSE.txt
69
68
  - README.md
data/Gemfile.lock DELETED
@@ -1,108 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- plansheet (0.30.2)
5
- dc-kwalify (~> 1.0)
6
- diffy (= 3.4.2)
7
- rgl (= 0.5.8)
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- ast (2.4.2)
13
- coderay (1.1.3)
14
- dc-devtools (0.0.202207232239)
15
- dc-rubocop (>= 0.0.3)
16
- guard (~> 2.18)
17
- guard-rake (~> 1.0)
18
- minitest
19
- rake (~> 13.0)
20
- rubocop (~> 1.30)
21
- rubocop-minitest
22
- rubocop-rake (~> 0.6)
23
- dc-kwalify (1.0.0)
24
- dc-rubocop (0.0.3)
25
- rubocop
26
- diffy (3.4.2)
27
- ffi (1.15.5)
28
- formatador (1.1.0)
29
- generator (0.0.1)
30
- guard (2.18.0)
31
- formatador (>= 0.2.4)
32
- listen (>= 2.7, < 4.0)
33
- lumberjack (>= 1.0.12, < 2.0)
34
- nenv (~> 0.1)
35
- notiffany (~> 0.0)
36
- pry (>= 0.13.0)
37
- shellany (~> 0.0)
38
- thor (>= 0.18.1)
39
- guard-rake (1.0.0)
40
- guard
41
- rake
42
- json (2.6.2)
43
- lazy_priority_queue (0.1.1)
44
- listen (3.7.1)
45
- rb-fsevent (~> 0.10, >= 0.10.3)
46
- rb-inotify (~> 0.9, >= 0.9.10)
47
- lumberjack (1.2.8)
48
- method_source (1.0.0)
49
- minitest (5.16.2)
50
- nenv (0.3.0)
51
- notiffany (0.1.3)
52
- nenv (~> 0.1)
53
- shellany (~> 0.0)
54
- parallel (1.22.1)
55
- parser (3.1.2.0)
56
- ast (~> 2.4.1)
57
- pry (0.14.1)
58
- coderay (~> 1.1)
59
- method_source (~> 1.0)
60
- psych (4.0.4)
61
- stringio
62
- rainbow (3.1.1)
63
- rake (13.0.6)
64
- rb-fsevent (0.11.1)
65
- rb-inotify (0.10.1)
66
- ffi (~> 1.0)
67
- rdoc (6.4.0)
68
- psych (>= 4.0.0)
69
- regexp_parser (2.5.0)
70
- rexml (3.2.5)
71
- rgl (0.5.8)
72
- lazy_priority_queue (~> 0.1.0)
73
- rexml (~> 3.2, >= 3.2.4)
74
- stream (~> 0.5.3)
75
- rubocop (1.32.0)
76
- json (~> 2.3)
77
- parallel (~> 1.10)
78
- parser (>= 3.1.0.0)
79
- rainbow (>= 2.2.2, < 4.0)
80
- regexp_parser (>= 1.8, < 3.0)
81
- rexml (>= 3.2.5, < 4.0)
82
- rubocop-ast (>= 1.19.1, < 2.0)
83
- ruby-progressbar (~> 1.7)
84
- unicode-display_width (>= 1.4.0, < 3.0)
85
- rubocop-ast (1.19.1)
86
- parser (>= 3.1.1.0)
87
- rubocop-minitest (0.20.1)
88
- rubocop (>= 0.90, < 2.0)
89
- rubocop-rake (0.6.0)
90
- rubocop (~> 1.0)
91
- ruby-progressbar (1.11.0)
92
- shellany (0.0.1)
93
- stream (0.5.4)
94
- generator
95
- stringio (3.0.2)
96
- thor (1.2.1)
97
- unicode-display_width (2.2.0)
98
-
99
- PLATFORMS
100
- x86_64-linux
101
-
102
- DEPENDENCIES
103
- dc-devtools
104
- plansheet!
105
- rdoc
106
-
107
- BUNDLED WITH
108
- 2.3.6