checkoff 0.115.0 → 0.116.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: 40629a566b19445480126d856c41e4e409b52ae136c67360ee802cbe75c05b75
4
- data.tar.gz: bb76d2037eb04e1a0d4b14fc37796140f2392a5be87942033187d59c97b377e7
3
+ metadata.gz: 261fea2c412a6994c7bccdbc9140ddc73a13d750b8e90dec0a7dbbc3d392e192
4
+ data.tar.gz: 6e110965d53209c916cfc68c4f9542f7604629e2c9b3bf1dad7b7d24c3cef1e2
5
5
  SHA512:
6
- metadata.gz: 6cca167c8be76f96df2a87686398d9668883ecfb83bba2065b7729305e497bf116df281ce1f84c37dc90cfc7d366e94ad7ba83c2be1316591e2a4c2664cd0667
7
- data.tar.gz: 24eb191deaa41c2190a3dcd8f986e85d3f1e664fd17d560e0777c0242f930058dfbc5e2d51dcaa2daffa685a6f859987a15ea3e69f62b307dd38ff76a6120c88
6
+ metadata.gz: 937e014e1a1308d6ea3c8093d20d1ccf62889af2751f8e0fab77364ea1c64c62dbf8d5814fdcc312cfca56100d1e42ca1615fcb1bb8981094b2aba48fd773aba
7
+ data.tar.gz: 2a5c95f4d368fc4d5f457d704e65c7ab4cc690940f697b4ea2a14d9c596f9914ee26c521a2af6359ea90b342398be745c22d003f5d5c3c3de4a12b79dcfc70d8
data/Gemfile.lock CHANGED
@@ -12,7 +12,7 @@ GIT
12
12
  PATH
13
13
  remote: .
14
14
  specs:
15
- checkoff (0.115.0)
15
+ checkoff (0.116.0)
16
16
  activesupport
17
17
  asana (> 0.10.0)
18
18
  cache_method
@@ -63,7 +63,8 @@ module Checkoff
63
63
  # @return [Asana::Resources::Task,nil]
64
64
  def last_milestone_in_section(section_gid)
65
65
  # @type [Array<Asana::Resources::Task>]
66
- task_list = @sections.tasks_by_section_gid(section_gid).to_a
66
+ task_list = @sections.tasks_by_section_gid(section_gid,
67
+ extra_fields: ['resource_subtype']).to_a
67
68
  last_task = task_list.last
68
69
  last_task&.resource_subtype == 'milestone' ? last_task : nil
69
70
  end
@@ -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.115.0'
6
+ VERSION = '0.116.0'
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checkoff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.115.0
4
+ version: 0.116.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz