tagalys 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/tagalys.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d43b3139366fad6c431d5e4770d0cb86e115557bc6a8e89c8c0b5911c635b77
4
- data.tar.gz: 54031a88a5acca3a38a54099990e29da45aeaba3ebcc221b0f84c6a0df25cc1d
3
+ metadata.gz: 14c0ed3c8c3432b54c79b55c43db59e7e02d6fc235e96a2ea51b1e72e9f0c714
4
+ data.tar.gz: 6eaa6ee3fe3d660888e03e188498974bb9ab78cf6787392337db36d1f1a70d0e
5
5
  SHA512:
6
- metadata.gz: ddb4af04d4c26776f20427162142421c374056e059911658231ec48ac98705c15c1fff30f0268b30376534523cb8fdb2cce7f8d2cc73865ea481790069252c70
7
- data.tar.gz: '078c644c706de608bdde398cf1cb8b42c2a4524121766219a8eb235b065cec6514dcc6d88f7d157ffc303b77344d385dbd0fdd8091e9e6049f016b6f90506a28'
6
+ metadata.gz: ff1033e812c65effdf5a42a9eb6ae62342154c12f991946f0b3a4c32fd61c62287ed0b9161e898d08194d4c0136329159abf1111bc22165d07e13e16d03aee3a
7
+ data.tar.gz: 0a993a1ae8a57cb3889f84a3364c28255a966a3a3f75efa5bdd0f089bb6b4c30b50d63cbcdbdbbe8583a2d31947b02d21fd6ad8ba9ea9f15799633d661ecc1be
data/lib/tagalys.rb CHANGED
@@ -21,7 +21,7 @@ module Tagalys
21
21
 
22
22
  def search(query=nil, filters=nil, page=1, per_page=30)
23
23
  return { status: "Either query or filter should be present" } if query == nil && filters == nil
24
- return { status: "Filter should be a hash" } if filters && filters.class != Hash
24
+ # return { status: "Filter should be a hash" } if filters && filters.class != Hash
25
25
  request_body = {
26
26
  identification: identification,
27
27
  q: query.strip.length > 0 ? query : nil,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tagalys
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anbazhagan Palani