checkoff 0.18.0 → 0.18.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: ebf4493d6d8ae139dcc63fa7178ed04f1aa596b2b6b4c82d16f512daac2d19e0
4
- data.tar.gz: b6116733287bc50b94aaadd541b1d9789cd3a17f0ff82e0d2fc645a4c279070f
3
+ metadata.gz: e25d521fa8afff414681761d8adde914f090fb3d09f3972301e1b7ce7a96c2ad
4
+ data.tar.gz: 63d68ed07099060b34ea6ab89cb584782912fd72726ff593491b7c9d9a9f1e94
5
5
  SHA512:
6
- metadata.gz: 408c57bfb26c63a750c8eb38723eb27b4b33fdf283b99b8890f84d59515a0cea2274226059e4c4cd848e5cef5b73c99a1d9bdb78746210ec06aef0ff6dd60aaf
7
- data.tar.gz: 29e6d4ebfccf6b1bee268d0cf1e753f70402be79c63def06610e13a0b426ed9e534db230f32b13385831c473ae56cb21feb0d4812f3bfa2c70ab0b187c884111
6
+ metadata.gz: 2c2b4ba30b21e9d43c79cf5df47a28f197755c3689209f6ce9fe880802f33da1b8dd899f089160135f3d0536060eee31a33a13a7ce5987cf9108d3acaedf02f8
7
+ data.tar.gz: f7a5dfaecb8dbb18e7faf5a7d79fe3e76b42836990a1f3ad153378d67abca691d9dfb2047ae3b0565ec5d7fb397ccf5b744f9ea0b0ce346174964d0d96549001
data/Gemfile.lock CHANGED
@@ -12,7 +12,7 @@ GIT
12
12
  PATH
13
13
  remote: .
14
14
  specs:
15
- checkoff (0.18.0)
15
+ checkoff (0.18.1)
16
16
  activesupport
17
17
  asana (> 0.10.0)
18
18
  cache_method
@@ -6,8 +6,6 @@ require 'forwardable'
6
6
  require 'cache_method'
7
7
  require 'json'
8
8
  require_relative 'internal/config_loader'
9
- require_relative 'workspaces'
10
- require_relative 'clients'
11
9
 
12
10
  # https://developers.asana.com/docs/task-selectors
13
11
 
@@ -21,13 +19,7 @@ module Checkoff
21
19
  LONG_CACHE_TIME = MINUTE * 15
22
20
  SHORT_CACHE_TIME = MINUTE
23
21
 
24
- def initialize(config: Checkoff::Internal::ConfigLoader.load(:asana),
25
- workspaces: Checkoff::Workspaces.new(config: config),
26
- clients: Checkoff::Clients.new(config: config),
27
- client: clients.client)
28
- @workspaces = workspaces
29
- @client = client
30
- end
22
+ def initialize(_deps = {}); end
31
23
 
32
24
  # @param [Hash<Symbol, Object>] task_selector Filter based on
33
25
  # description. Examples: {tag: 'foo'} {:not {tag: 'foo'} (:tag 'foo')
@@ -62,8 +54,6 @@ module Checkoff
62
54
  object.is_a?(Array) && !object.empty? && [fn_name, fn_name.to_s].include?(object[0])
63
55
  end
64
56
 
65
- attr_reader :workspaces, :client
66
-
67
57
  # bundle exec ./task_selectors.rb
68
58
  # :nocov:
69
59
  class << self
@@ -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.18.0'
6
+ VERSION = '0.18.1'
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.18.0
4
+ version: 0.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz