checkoff 0.29.2 → 0.29.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/checkoff/projects.rb +3 -3
- data/lib/checkoff/sections.rb +5 -4
- data/lib/checkoff/task_selectors.rb +1 -2
- data/lib/checkoff/tasks.rb +3 -3
- data/lib/checkoff/version.rb +1 -1
- data/lib/checkoff/workspaces.rb +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a73a81aadb4e180a59baf5eac5184070a677d791ead8d608f894e71950e03125
|
4
|
+
data.tar.gz: '0590cbfeefb9b56600dfd2450e3731ea8472d4efa21b1b8e6adf4719e949425f'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2459b37ea4a58cc8198ad0d6fa43f772d70e3278ec77254d35471d299b06c5afe00c901f7992e305d3ad392727c35977ac80b977f11dddbb1f1f0c1e4e148804
|
7
|
+
data.tar.gz: 90c1d606f7d2babcf8056e3464aa84d5f7994a1adab568f156468462d46acbccd8b52e0119e7a522a8c4b9083f8e9a17a55f05ec333c567223e50b4b8fb92dba
|
data/Gemfile.lock
CHANGED
data/lib/checkoff/projects.rb
CHANGED
@@ -24,9 +24,9 @@ module Checkoff
|
|
24
24
|
SHORT_CACHE_TIME = MINUTE
|
25
25
|
|
26
26
|
def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana),
|
27
|
-
|
28
|
-
|
29
|
-
|
27
|
+
client: Checkoff::Clients.new(config: config).client,
|
28
|
+
workspaces: Checkoff::Workspaces.new(config: config,
|
29
|
+
client: client))
|
30
30
|
@config = config
|
31
31
|
@workspaces = workspaces
|
32
32
|
@client = client
|
data/lib/checkoff/sections.rb
CHANGED
@@ -18,10 +18,11 @@ module Checkoff
|
|
18
18
|
attr_reader :projects, :workspaces, :time, :my_tasks
|
19
19
|
|
20
20
|
def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana),
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
client: Checkoff::Clients.new(config: config).client,
|
22
|
+
projects: Checkoff::Projects.new(config: config,
|
23
|
+
client: client),
|
24
|
+
workspaces: Checkoff::Workspaces.new(config: config,
|
25
|
+
client: client),
|
25
26
|
time: Time)
|
26
27
|
@projects = projects
|
27
28
|
@workspaces = workspaces
|
@@ -21,8 +21,7 @@ module Checkoff
|
|
21
21
|
SHORT_CACHE_TIME = MINUTE
|
22
22
|
|
23
23
|
def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana),
|
24
|
-
|
25
|
-
client: clients.client,
|
24
|
+
client: Checkoff::Clients.new(config: config).client,
|
26
25
|
tasks: Checkoff::Tasks.new(config: config,
|
27
26
|
client: client))
|
28
27
|
@config = config
|
data/lib/checkoff/tasks.rb
CHANGED
@@ -15,9 +15,9 @@ module Checkoff
|
|
15
15
|
SHORT_CACHE_TIME = MINUTE * 5
|
16
16
|
|
17
17
|
def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana),
|
18
|
-
|
19
|
-
|
20
|
-
|
18
|
+
client: Checkoff::Clients.new(config: config).client,
|
19
|
+
sections: Checkoff::Sections.new(config: config,
|
20
|
+
client: client),
|
21
21
|
time_class: Time,
|
22
22
|
asana_task: Asana::Resources::Task)
|
23
23
|
@config = config
|
data/lib/checkoff/version.rb
CHANGED
data/lib/checkoff/workspaces.rb
CHANGED
@@ -18,8 +18,7 @@ module Checkoff
|
|
18
18
|
SHORT_CACHE_TIME = MINUTE
|
19
19
|
|
20
20
|
def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana),
|
21
|
-
|
22
|
-
client: clients.client)
|
21
|
+
client: Checkoff::Clients.new(config: config).client)
|
23
22
|
@config = config
|
24
23
|
@client = client
|
25
24
|
end
|