checkoff 0.32.0 → 0.33.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: 318fa6ab4d3237eb9eaf57d752ba2ef13e0082a4d2d7656069fb58b1b2011165
4
- data.tar.gz: 0c7f23448c07873c281a1b6cc93719df9d0e3ef952d5b43f6bc947ad5a0ca491
3
+ metadata.gz: 7ed5d24d3a8427823475fd7d78e6eacc21a64c4175426ae364f71afbf620397a
4
+ data.tar.gz: f939dfe4c84a35d9676031109ac8e228909f6513e8e84c359554cea358f657a8
5
5
  SHA512:
6
- metadata.gz: 1bd96a96a0306d78c0b88f37aaa705a8d0d9c9552f35159bd70d2a3bfcbd84308903ce772c92c399d229cad9b21165ad751bfab269f6539bd3435a3ccfa20640
7
- data.tar.gz: 1de9712b43b014a0c0103af61807c6ecf9d17df2ed961b12577ec5b9df6d4e486801f73a302563648da6b1deb42923bbffb59c11def81ea371782e66ffa55a64
6
+ metadata.gz: 9e5fec3e7e8f37f9ce62d51886267c8a255f9f74da2be5d0136001eb22a95abfd7aacb7c450a8a6fa33ff0b6dc1c8ded7ce36c309237f7c9f8ca9ce5a6a64a9c
7
+ data.tar.gz: 6f55722a42e2b2e3843b28c8e8bbdcd919463b704fb0e8504576fa7af57f50858d6227da357d5ea87a0f641c023c3c78632743b01d8417d4623962a3b1203b1c
data/Gemfile.lock CHANGED
@@ -12,7 +12,7 @@ GIT
12
12
  PATH
13
13
  remote: .
14
14
  specs:
15
- checkoff (0.32.0)
15
+ checkoff (0.33.0)
16
16
  activesupport
17
17
  asana (> 0.10.0)
18
18
  cache_method
@@ -61,9 +61,10 @@ module Checkoff
61
61
  def file_task_by_section(current_section, by_section, task)
62
62
  if subtask_section?(task)
63
63
  current_section = task.name
64
+ raise "More than one section named #{task.name}" if by_section.key? task.name
65
+
64
66
  by_section[current_section] = []
65
67
  else
66
- by_section[current_section] ||= []
67
68
  by_section[current_section] << task
68
69
  end
69
70
  [current_section, by_section]
@@ -3,5 +3,5 @@
3
3
  # Command-line and gem client for Asana (unofficial)
4
4
  module Checkoff
5
5
  # Version of library
6
- VERSION = '0.32.0'
6
+ VERSION = '0.33.0'
7
7
  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.32.0
4
+ version: 0.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-28 00:00:00.000000000 Z
11
+ date: 2023-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport