search_cop 1.3.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1f72257612f45ef71a297f5ae8924fca0d8dad9f3c19e6e0b6e2c96e60f36ac
4
- data.tar.gz: 2aa35b3f92c08cd24266d28f4c1e3fe195b627bb478be415ff4669b2344676de
3
+ metadata.gz: a9f364604aeb98573a6b31cf49320507043bd9d740035e719306cd0ca3b0e39b
4
+ data.tar.gz: 43f196da50230817e6bc64c331faec01af247addaa85a6f003347162edec974b
5
5
  SHA512:
6
- metadata.gz: ee27a86501f8c3f2588f50b5d78889b8ad6ae9e2d28fcd219617d4839590f61d98c80850f8247da34a5081e12075315d53918a61b3b9636618645d138fd7bd4c
7
- data.tar.gz: 046c39f90c8a541d1e000f95772fb5d8eeb2095fc8afe8717b5b95f5672576d988375853525243923852029728d485b3cfd1046f6bd68c9134065738a69f31bf
6
+ metadata.gz: 0f2bc59a1ea2c8280993564bc0d607b814f98095af9de84580c2581ffc462321d0dbacd1ab8ede025ed35c52d7d89f84be1ea9f2edbe05802cb5d02095982c6b
7
+ data.tar.gz: fc703caf6e402141e0fb607cc3d5cba07ffa92018ffdf93e3c8e012935c11eb55d3852686fbdd7fd9fb078d0c5d5b80d54b844528ea4e1d4b46ea9ed26eee2e9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
 
2
2
  # Changelog
3
3
 
4
+ Version 1.4.0:
5
+
6
+ * Add support for the trilogy mysql connection adapter
7
+
4
8
  Version 1.3.0:
5
9
 
6
10
  * Support json fields for postgres, mysql and sqlite
@@ -12,7 +12,7 @@ platforms :ruby do
12
12
  gem "pg"
13
13
  gem "rake"
14
14
  gem "rubocop"
15
- gem "sqlite3"
15
+ gem "sqlite3", "~> 1.7"
16
16
  end
17
17
 
18
18
  gemspec path: "../"
@@ -9,10 +9,11 @@ platforms :ruby do
9
9
  gem "factory_bot"
10
10
  gem "minitest"
11
11
  gem "mysql2"
12
+ gem "trilogy"
12
13
  gem "pg"
13
14
  gem "rake"
14
15
  gem "rubocop"
15
- gem "sqlite3"
16
+ gem "sqlite3", "~> 1.7"
16
17
  end
17
18
 
18
19
  gemspec path: "../"
@@ -1,3 +1,3 @@
1
1
  module SearchCop
2
- VERSION = "1.3.0"
2
+ VERSION = "1.4.0"
3
3
  end
@@ -8,7 +8,7 @@ module SearchCop
8
8
  def initialize(connection)
9
9
  @connection = connection
10
10
 
11
- extend(SearchCop::Visitors::Mysql) if @connection.adapter_name =~ /mysql/i
11
+ extend(SearchCop::Visitors::Mysql) if @connection.adapter_name =~ /mysql|trilogy/i
12
12
  extend(SearchCop::Visitors::Postgres) if @connection.adapter_name =~ /postgres|postgis/i
13
13
  extend(SearchCop::Visitors::Sqlite) if @connection.adapter_name =~ /sqlite/i
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: search_cop
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
  - Benjamin Vetter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-08 00:00:00.000000000 Z
11
+ date: 2024-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: treetop