tramway-core 4.1 → 4.1.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
  SHA256:
3
- metadata.gz: f634b186e0094a985e359e2a5db0d7592a02ac672a533ef6e015afb54c26d827
4
- data.tar.gz: d2988cbec5207fdcc89e9f5c51a0c7f9e74c440e9b0212f966428b9ad12cf9c0
3
+ metadata.gz: ac7eeed94de14add119fbc165ccb751d66434804820b453d0291c032d5a60fa1
4
+ data.tar.gz: d94cc5ae90bc4b0d8f39be2f95ac03b3cfa63ff45ad656edcb33001681d50218
5
5
  SHA512:
6
- metadata.gz: 5f6f5c885690572f69a841bef125dcef60046c7b4756e24b9fd1cf1b761977e3a89df137257d3dd9d5d505f834f0f443c823640563ee06100c22a0f2356facbf
7
- data.tar.gz: c4f0e2dddf630c3fb370c2b4b4f58836296f39b54745a933c4accab995ad7ff269ba321e2b5235259f439f7c29f440aa463b346b1eb35928cd2f630de7ee0243
6
+ metadata.gz: 32f49b4b39499903f3a9b3f27d2f3310df8ceb1694e1112d5e31a91c88ce7d61660ed64fc4174abb06cad1f48a42ae043ad0157024fb6b6d113bb604a0619105
7
+ data.tar.gz: 8bc142f5f9d0f9cd9a8d724ca5656091010defbd578279a05be929da1eca2452324d508266c25981e0fa395dd31fcb0c418ce503b2d30994a6f0b7fb99c842f3
@@ -43,7 +43,7 @@ class Tramway::Core::ApplicationRecord < ActiveRecord::Base
43
43
  end
44
44
 
45
45
  def search_by(*attributes, **associations)
46
- pg_search_scope :full_text_search, against: attributes, associated_against: associations
46
+ pg_search_scope :full_text_search, against: attributes, associated_against: associations, using: [:tsearch, :trigram]
47
47
  end
48
48
 
49
49
  def uploader(attribute_name, uploader_name, **options)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Core
5
- VERSION = '4.1'
5
+ VERSION = '4.1.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-core
3
3
  version: !ruby/object:Gem::Version
4
- version: '4.1'
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Kalashnikov
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-02-14 00:00:00.000000000 Z
12
+ date: 2022-02-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: audited