checkoff 0.13.0 → 0.13.1
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/coverage/.last_run.json +1 -1
- data/lib/checkoff/subtasks.rb +7 -0
- data/lib/checkoff/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a996aad5215c1625924296ca8c851cb3293968c74e6bc3da78dce7996fa8041
|
4
|
+
data.tar.gz: 574da8911c1c542f6334ed2baa670dd69a3e09828ec6a76d3d3fe78b5c3e9d7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04d3b2b21b3409665f86035caf13ea1f6662c233f698c88df09cdfc7672abdc797945ba66dcc09076b79fc02e15523aab872b90ce116501cab4f23901427bd63
|
7
|
+
data.tar.gz: 8f34cc1b54f99aadae356a5be75871ccb8c2e0307c0d40bcc9c496f6b4103a7666e2daaff5db2dfdff3103939dd36cc3810692707f43263da64c94e3488c2842
|
data/Gemfile.lock
CHANGED
data/coverage/.last_run.json
CHANGED
data/lib/checkoff/subtasks.rb
CHANGED
@@ -11,6 +11,11 @@ module Checkoff
|
|
11
11
|
|
12
12
|
extend Forwardable
|
13
13
|
|
14
|
+
def initialize(config: Checkoff::ConfigLoader.load(:asana),
|
15
|
+
projects: Checkoff::Projects.new(config: config))
|
16
|
+
@projects = projects
|
17
|
+
end
|
18
|
+
|
14
19
|
# pulls a Hash of subtasks broken out by section
|
15
20
|
def by_section(tasks)
|
16
21
|
current_section = nil
|
@@ -30,6 +35,8 @@ module Checkoff
|
|
30
35
|
|
31
36
|
private
|
32
37
|
|
38
|
+
attr_reader :projects
|
39
|
+
|
33
40
|
def file_task_by_section(current_section, by_section, task)
|
34
41
|
if task.name =~ /:$/
|
35
42
|
current_section = task.name
|
data/lib/checkoff/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: checkoff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vince Broz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|