asana 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/asana/resources/task.rb +3 -0
- data/lib/asana/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c7e067666054f042bfbbc6c06ba9dc0097be619f6091ee77e4c2cfb8667deead
|
|
4
|
+
data.tar.gz: 44858543741b3d8c5e421159eb0c170f830299eea6c8897cc91e61149a2adce5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2fcac1831ce273584e5c486793d56fe9c671ef5244d316cd41b3b5092e61c1593c9e47447653237a69e30225908e27f8842a0a5e318fdabbcfd5760e2fe62d4c
|
|
7
|
+
data.tar.gz: bec2326ce354996184af94806f8da9bf6120fa0f4c3d17c9f494f8d635a2010214c8a2e2e80c200423e73af449cd3799e73499cf93b23b5143a434f70c4a0a44
|
data/lib/asana/resources/task.rb
CHANGED
|
@@ -232,6 +232,9 @@ module Asana
|
|
|
232
232
|
# options - [Hash] the request I/O options.
|
|
233
233
|
def search_in_workspace(client, workspace: required("workspace"), resource_subtype: nil, per_page: 20, options: {})
|
|
234
234
|
params = { resource_subtype: resource_subtype, limit: per_page }.reject { |_,v| v.nil? || Array(v).empty? }
|
|
235
|
+
if options[:params]
|
|
236
|
+
params.merge!(options[:params])
|
|
237
|
+
end
|
|
235
238
|
Collection.new(parse(client.get("/workspaces/#{workspace}/tasks/search", params: params, options: options)), type: Resource, client: client)
|
|
236
239
|
end
|
|
237
240
|
alias_method :search, :search_in_workspace
|
data/lib/asana/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: asana
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Txus
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-09-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: oauth2
|