checkoff 0.15.1 → 0.15.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: 1f76aad85729841bb8aae082caf52fe536536ea1fe9c633161b24e6a6a1ed0bc
4
- data.tar.gz: fcfd8fab426da094602e01072361853746d24543628cf86bf61962fcc5868aab
3
+ metadata.gz: 10f4779f3bcd067c2bbb80ed9ddea16121a5d26a2a9ee9f95ea6ca43c1931c9c
4
+ data.tar.gz: 3ab265436a93926f0903aa97f792034f773b81c2e28fea7e4f5a49e4746aa62c
5
5
  SHA512:
6
- metadata.gz: b45c61fb70079f118ab185d1ba6d0f6a36cde05cbb991c70af694168fba992871c05a75866b63387fe2fb3ea59ac1a5afd54d5fc66a8653cd067db63f8c8fc70
7
- data.tar.gz: 409861138d0df6b7f854a9769c141d55945e5b05ddb510c7b6a620888efd9b0297bfea7f57195ab0f9f8b1b7913e690c3e8c2d012a609df34e16dd6e344f99d1
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.1)
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
@@ -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 current_section == '(no section)'
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
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Checkoff
4
4
  # Version of library
5
- VERSION = '0.15.1'
5
+ VERSION = '0.15.2'
6
6
  end
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.1
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-08-18 00:00:00.000000000 Z
11
+ date: 2021-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport