checkoff 0.12.0 → 0.12.1

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: 28bce7b1402a371b87f03a468cb1678cd02f7631a2a8f195a544b2bccc4af26e
4
- data.tar.gz: f645e96e4526173f33e7b3140d9fec84b59330a4050819467a4456f0b9e10679
3
+ metadata.gz: c9229d2827676a7888a6bb60059d06729ec2ba27912e029ac452827c6c2ce4e2
4
+ data.tar.gz: f15c045ba7aa21087c5c3b179866c17632757ef7a1923c7c9a1c4185d4828043
5
5
  SHA512:
6
- metadata.gz: 1503cc4b41f8297a806b57311c2f7f3e0e6d7b93027109125c985b4dba056e2709fdcec43d5ca312f9778ba044d67c28e8a5c055a692b7067ebf442491de912e
7
- data.tar.gz: 1b30b11537a9608e84ec1434c67a47579e0d6d2a8a88ee79084de24efc39c18e8b10fc1af5be5ccf7b4aac17509b4b16d540d2f4f2304b61f3100b0006ff2af4
6
+ metadata.gz: d711b94cb4ae8b0933ed9c0e20104123e7707b898616335ddcb73e0f30e09a2bd427889f554a6422b7071ebbf304c58832446783288f1b4d1171a1b31a61dd51
7
+ data.tar.gz: cc6e96a3371f0870777228394ca085db4a7786badf3173b49a864c79866af3ad4ca71a3482920b1de8f8e9f5b6683d9f846ffd7cd819bc81de20a01cfdc83a3c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- checkoff (0.12.0)
4
+ checkoff (0.12.1)
5
5
  activesupport
6
6
  asana (> 0.10.0)
7
7
  cache_method
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "result": {
3
- "line": 97.0,
4
- "branch": 80.95
3
+ "line": 97.56,
4
+ "branch": 85.71
5
5
  }
6
6
  }
@@ -48,6 +48,7 @@ module Checkoff
48
48
  # itself does
49
49
  options.delete(:per_page)
50
50
  options[:options][:fields] += extra_fields
51
+ options[:completed_since] = '9999-12-01' if only_uncompleted
51
52
  client.tasks.get_tasks_for_section(section_gid: section.gid,
52
53
  **options).to_a
53
54
  end
@@ -31,7 +31,8 @@ module Checkoff
31
31
  projects.tasks_from_project(project,
32
32
  only_uncompleted: only_uncompleted)
33
33
  else
34
- @sections.tasks(workspace_name, project_name, section_name)
34
+ @sections.tasks(workspace_name, project_name, section_name,
35
+ only_uncompleted: only_uncompleted)
35
36
  end
36
37
  tasks.find { |task| task.name == task_name }
37
38
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Checkoff
4
4
  # Version of library
5
- VERSION = '0.12.0'
5
+ VERSION = '0.12.1'
6
6
  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.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz