minimal_tags 0.2.0 → 0.2.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
  SHA1:
3
- metadata.gz: 3118809a99ce6d913ecca4bf1d8d22aaa03346b0
4
- data.tar.gz: c983175357456a54692f580ebacc48f3fea2297b
3
+ metadata.gz: 04bd4abeb2a4b46afce94ef8c680b89b59f1ce49
4
+ data.tar.gz: 40d390b39cc26f850f1e9465700f6f0c481377e8
5
5
  SHA512:
6
- metadata.gz: 19132c49f3f729cc9fa755e7978cff8962a62e8ca6301c064f3d4540d510cdaa40070e07c86ef1b95b1e130e238a0ca2bfc9d6a271c7ba00d8b0e6203469da12
7
- data.tar.gz: 091f14403dda0229c6c942af5036786683f34163c72fa9e35238c2ee61fa55182e21a6a5f7590e84c4091e424636a3e34bb61aaa5e680c0e5043b0e0e106ced3
6
+ metadata.gz: a63522981d0fffc7cb62d39b96b86e50317c7a7b3b8ac60a1419aaf9006d7988caac776ab53b18f5523c2a59703f783ef9decc79aa74bf4230d5d3c840847031
7
+ data.tar.gz: 0b72d69a2cce7e8bb1650b52a7503f60311501bcc23ba636ebb6b7c36ce35a8666e74c4c4cb0c8b14fb5f40897ba3b9f071a5691f8802e1ea54e2f2a45494e5a
@@ -29,7 +29,7 @@ module MinimalTags
29
29
  # Create the scopes for searching tags
30
30
  TAG_SEARCH_TYPES.each do |prefix, operator|
31
31
  scope "#{prefix}_#{field_name}", lambda { |tags|
32
- where("#{field_name} #{operator} ARRAY[?]::varchar[]", formatter.normalize(tags))
32
+ where("#{field_name} #{operator} ARRAY[?]", formatter.normalize(tags))
33
33
  }
34
34
  end
35
35
 
@@ -1,3 +1,3 @@
1
1
  module MinimalTags
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minimal_tags
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - harrisbaird
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-09 00:00:00.000000000 Z
11
+ date: 2015-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mongoid