controls 1.3.0 → 1.4.0

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
  SHA1:
3
- metadata.gz: f428c9a710108971da0e6995f4f0ca0032caeed4
4
- data.tar.gz: e727ddbd5d77bc6afdfd84ef51a81bc57bc8dfc4
3
+ metadata.gz: 45be6d13e4c2527dfeaefdac7c664c965f592190
4
+ data.tar.gz: e20ee538c4f53c823ab61f6714b6c7be437dcd3b
5
5
  SHA512:
6
- metadata.gz: 1455b974d58516093e986277014a653b157ab5f1a0da5d22742b7554a5671074f001ae458ab14cff15cf18ffdc7a5b7c1742c713aea4eb0a41b21bae8466d111
7
- data.tar.gz: fd418654c0932982591cd8d717354796194dd376a7214397fb553f348b1d742f5cedd64cddc18237bd6e2eb3dbf280a4c890a05fb36d2901f1c9d18595efb99d
6
+ metadata.gz: a099e747d7255a530ae5dc34e80d2f21662775f97922436d63308c6ce4798e9cf249327edffca472d6f078a96b960692d00c929994d2edf7acb438cba4ad4e77
7
+ data.tar.gz: c8c5388325e73c674a53c4763a537e8169bfa234f5099c5ea7c79b74e2bc506b353ded562fb778c5bc1c92e3aa580fab0a81d2c2165163b0f72f8cefdfdae675
@@ -30,8 +30,8 @@ module Controls
30
30
  # @param [String] query the query to retreive assets for
31
31
  # @param [Hash] params the option hash to be turned into query parameters
32
32
  # @return [Hash] a hash representing the matching assets
33
- def assets_search(query, params = {})
34
- params[:q] = query
33
+ def asset_search(query, params = {})
34
+ params[:query] = query
35
35
  get "/assets/search", params
36
36
  end
37
37
 
@@ -1,4 +1,4 @@
1
1
  module Controls
2
2
  # The version of the Controls gem
3
- VERSION = '1.3.0'
3
+ VERSION = '1.4.0'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: controls
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erran Carey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-07 00:00:00.000000000 Z
11
+ date: 2014-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dish