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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e9d37547e583a46505288465a2eb53c5eabf8189c34505fdd1a8b0872a50955
4
- data.tar.gz: 3155c13bb7769a666a8ae04349f9eb450f025822c6f0afd6bae3780cca0c3574
3
+ metadata.gz: c7e067666054f042bfbbc6c06ba9dc0097be619f6091ee77e4c2cfb8667deead
4
+ data.tar.gz: 44858543741b3d8c5e421159eb0c170f830299eea6c8897cc91e61149a2adce5
5
5
  SHA512:
6
- metadata.gz: 017e1ee0ac64bf2aca67d1c617d2429a846022cf181cc3e1f2805d8f51e675ffdd5e8730d96dcdd7dbb8088727cd3f485b9e99bb31ea7b36ac1fd7fac89ec91b
7
- data.tar.gz: c01c0bae619fc07c59dc493957dababfe63297e8c911b504895f38b66bb9c49568a95a61f86e651d8077e593819fbeb01f22c350ca2613bd4ed3f9e578d8ad31
6
+ metadata.gz: 2fcac1831ce273584e5c486793d56fe9c671ef5244d316cd41b3b5092e61c1593c9e47447653237a69e30225908e27f8842a0a5e318fdabbcfd5760e2fe62d4c
7
+ data.tar.gz: bec2326ce354996184af94806f8da9bf6120fa0f4c3d17c9f494f8d635a2010214c8a2e2e80c200423e73af449cd3799e73499cf93b23b5143a434f70c4a0a44
@@ -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
@@ -1,5 +1,5 @@
1
1
  #:nodoc:
2
2
  module Asana
3
3
  # Public: Version of the gem.
4
- VERSION = '0.9.2'
4
+ VERSION = '0.9.3'
5
5
  end
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.2
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-08-16 00:00:00.000000000 Z
11
+ date: 2019-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oauth2