aaf-lipstick 3.2.0 → 4.0.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: 75906600a085f50a0b3d80772c1d5940ae298870
4
- data.tar.gz: d6ade2c9c85ad0216b717a27b7e347ac596b4846
3
+ metadata.gz: 65aef4573165da6a1a62d6d8c0d02206773bddad
4
+ data.tar.gz: a87b1cf25fcf9e62ed61894c2b535613a24b72aa
5
5
  SHA512:
6
- metadata.gz: 4defc3c82b44fcac690d1b148cb61a80d02ba38f2b91414b13d112de03f0c07d621cf74c5861df692bbd7afd6decfde9a71e0390dbfe5025f011b85201cc223f
7
- data.tar.gz: 77cb1e383a77d6a872f1dedb8145ecee7206a83524bb406b3d337fe843f4748adc27523217411a8870c4c0717d7a7e7a2af568883389f3aa8fca97c66524170f
6
+ metadata.gz: 763245f839f4896d8f5377603f82e98442e2ef7fdb79b19b21158d1e739be16649121c6957c4730842f69efba1284d08b983bb6d346df505540707c6fd442f1e
7
+ data.tar.gz: f5744d6bf50bed44643ab136c3bdf77cbd0c8df8122773582523c31bf6357c21ee1f9f8689665b6730dfd54144386599f0653b4f836a0302e23fba9691e5b3ba
@@ -16,12 +16,12 @@ module Lipstick
16
16
  end
17
17
 
18
18
  module VisitCollatedArelAttribute
19
- # rubocop:disable Style/MethodName
19
+ # rubocop:disable Naming/MethodName
20
20
  def visit_Lipstick_Filterable_CollatedArelAttribute(object, collector)
21
21
  visit(object.attribute, collector)
22
22
  collector << ' COLLATE ' << object.collation
23
23
  end
24
- # rubocop:enable Style/MethodName
24
+ # rubocop:enable Naming/MethodName
25
25
  end
26
26
 
27
27
  Arel::Visitors::ToSql.include(VisitCollatedArelAttribute)
@@ -33,7 +33,7 @@ module Lipstick
33
33
  @filterable_fields = fields
34
34
  end
35
35
 
36
- def filter(query)
36
+ def filterable_filter(query)
37
37
  filter_terms(query).reduce(all) do |scope, term|
38
38
  conds = filterable_fields.map do |f|
39
39
  CollatedArelAttribute.new(arel_table[f], 'utf8_unicode_ci')
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lipstick
4
- VERSION = '3.2.0'
4
+ VERSION = '4.0.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aaf-lipstick
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shaun Mangelsdorf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-07 00:00:00.000000000 Z
11
+ date: 2019-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: erubis