checkoff 0.15.1 → 0.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +0 -4
- data/lib/checkoff/sections.rb +1 -1
- 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: 10f4779f3bcd067c2bbb80ed9ddea16121a5d26a2a9ee9f95ea6ca43c1931c9c
|
|
4
|
+
data.tar.gz: 3ab265436a93926f0903aa97f792034f773b81c2e28fea7e4f5a49e4746aa62c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6870f522f4b5b3a0dedd97126f784e38e4dc86bb0de81c466ec353db66d4be4cf06c3a0f24d9f33790711322faf8440f4d783d3d4759083191579ce2970e8e47
|
|
7
|
+
data.tar.gz: 382a46c341315009e55ab0f3606c51bf8eaa2dcaf9c2a475c831a9a216cdb7fec4c5d2c1d7bbff95408ce17f512b2481dcc56417749ad246d057a05b2041cab1
|
data/Gemfile.lock
CHANGED
|
@@ -12,7 +12,7 @@ GIT
|
|
|
12
12
|
PATH
|
|
13
13
|
remote: .
|
|
14
14
|
specs:
|
|
15
|
-
checkoff (0.15.
|
|
15
|
+
checkoff (0.15.2)
|
|
16
16
|
activesupport
|
|
17
17
|
asana (> 0.10.0)
|
|
18
18
|
cache_method
|
|
@@ -22,7 +22,7 @@ PATH
|
|
|
22
22
|
GEM
|
|
23
23
|
remote: https://rubygems.org/
|
|
24
24
|
specs:
|
|
25
|
-
activesupport (6.1.4)
|
|
25
|
+
activesupport (6.1.4.1)
|
|
26
26
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
27
27
|
i18n (>= 1.6, < 2)
|
|
28
28
|
minitest (>= 5.1)
|
data/README.md
CHANGED
|
@@ -98,10 +98,6 @@ $
|
|
|
98
98
|
Since checkoff looks up things by their name, if you have two things
|
|
99
99
|
with the same name, you're probably going to have a bad time.
|
|
100
100
|
|
|
101
|
-
If you need to talk about the section of a project which contains
|
|
102
|
-
tasks that don't have a section, use `Untitled section` as the name.
|
|
103
|
-
This is a quirk of the Asana API which seemed as good as any other idea.
|
|
104
|
-
|
|
105
101
|
## Caching
|
|
106
102
|
|
|
107
103
|
Note that I don't know of a way through the Asana API to target
|
data/lib/checkoff/sections.rb
CHANGED
|
@@ -103,7 +103,7 @@ module Checkoff
|
|
|
103
103
|
raise "Could not find task in project_gid #{project_gid}: #{task}" if membership.nil?
|
|
104
104
|
|
|
105
105
|
current_section = membership['section']['name']
|
|
106
|
-
current_section = nil if
|
|
106
|
+
current_section = nil if ['(no section)', 'Untitled section'].include?(current_section)
|
|
107
107
|
by_section[current_section] ||= []
|
|
108
108
|
by_section[current_section] << task
|
|
109
109
|
end
|
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.15.
|
|
4
|
+
version: 0.15.2
|
|
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-
|
|
11
|
+
date: 2021-09-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|