search_cop 1.5.0 → 1.6.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: 9f202cb89459a7aa7a25cc5aed20fe3ed4fc9094bfbce487e5416f55a0547d53
4
- data.tar.gz: 8e88376bb12f011e694a05104946b624b1cad326dc963834f42a4a04d04dada2
3
+ metadata.gz: 2743355d195e435686869881dc1845d604e24ea3471d4d3aedcbc0571869c0e1
4
+ data.tar.gz: 3a2baae230c8d376d1f038a377605b157ac769b785bb6e089c555858c0d8ab72
5
5
  SHA512:
6
- metadata.gz: 0fdd6ebd7f0a24af691b44f758af4c2d137c4f53213771a2ae27293acfdff52e74fbd53e7999ce10cf6ab51ba4fcf93a86aeb7bd539b0dbd42c06da4dcec3d58
7
- data.tar.gz: 3d2f69116b0f7ac25d7967f2c64876f0fc4bc5cdfe3b82d5e3e982faa2f61c681073d0e74aac0478d85a330bc05ea06744b9c4ccc3a56a24326338090455797c
6
+ metadata.gz: 29db909d30dbd3378671472df2252298b3fc391f5ee712c376345a38c95aeea52455cbcd0400624bb9fdcec26ac74fed8c2ca6747a3c9281179487554abe82df
7
+ data.tar.gz: 856fcd56505dc4ac1f8e48d69b433f35a6d52b2a2b8c047e22a673aada92c036801866d728b01b2671a59fdcc0555634f7c9d0d0f564f1869259275f44d82143
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
 
2
2
  # Changelog
3
3
 
4
+ Version 1.6.0:
5
+
6
+ * Add support for postgres citext
7
+
4
8
  Version 1.5.0:
5
9
 
6
10
  * Add support for rails 8
@@ -3,6 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord", "~> 5.1"
6
+ gem "json", "< 3"
6
7
 
7
8
  platforms :ruby do
8
9
  gem "bundler"
@@ -4,6 +4,7 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord", "~> 6.0"
6
6
  gem "concurrent-ruby", "1.3.4"
7
+ gem "json", "< 3"
7
8
 
8
9
  platforms :ruby do
9
10
  gem "bundler"
@@ -3,6 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord", "~> 7.0"
6
+ gem "json", "< 3"
6
7
 
7
8
  platforms :ruby do
8
9
  gem "bundler"
@@ -3,6 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord", "~> 8.0"
6
+ gem "json", "< 3"
6
7
 
7
8
  platforms :ruby do
8
9
  gem "bundler"
@@ -1,3 +1,3 @@
1
1
  module SearchCop
2
- VERSION = "1.5.0"
2
+ VERSION = "1.6.0"
3
3
  end
@@ -75,6 +75,7 @@ module SearchCop
75
75
 
76
76
  alias :visit_SearchCopGrammar_Attributes_String :visit_attribute
77
77
  alias :visit_SearchCopGrammar_Attributes_Text :visit_attribute
78
+ alias :visit_SearchCopGrammar_Attributes_Citext :visit_attribute
78
79
  alias :visit_SearchCopGrammar_Attributes_Float :visit_attribute
79
80
  alias :visit_SearchCopGrammar_Attributes_Integer :visit_attribute
80
81
  alias :visit_SearchCopGrammar_Attributes_Decimal :visit_attribute
@@ -181,6 +181,7 @@ module SearchCopGrammar
181
181
  end
182
182
 
183
183
  class Text < String; end
184
+ class Citext < String; end
184
185
  class Jsonb < String; end
185
186
  class Json < String; end
186
187
  class Hstore < String; end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: search_cop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Vetter
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2026-02-03 00:00:00.000000000 Z
10
+ date: 2026-09-16 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: treetop