db_text_search 0.3.0 → 0.3.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: 0d92c61c41829c38220d6a14b044338bc175bb6b86e65d65b09b9492a3d76e06
4
- data.tar.gz: 4b0f2e640eaeeb1296bd22eece62b26cf052aea184c5a3f2c72492043b4f50d3
3
+ metadata.gz: 1475e874d78f28291bfe8e24423400f2157051b6cab2311096d3de5d14032ff0
4
+ data.tar.gz: 6ee5f6d0c0858209356509b85a0401de371e474785584f130fcdd047c88cf3b5
5
5
  SHA512:
6
- metadata.gz: 3c87b6c3b586d1cf9d00f39160f6def5082c50674b6409d66447715ed47374b7e2b9962ff5dd747639ec9057f94ae85ce66a07ac0dbd1aca7e272eb000af8784
7
- data.tar.gz: a672e09f0f356771d7194e95c78826c8f24cb299c263e4ca894d55f5ad65c83d0f010f3ac24db12a0e118ddfd4b808fda83b3e39b0a8eb8b73a0ed0d72317c66
6
+ metadata.gz: 0d1895a9eef68978c9bb72d524a3f6235eebe92c4208e4392e1f6b8c768e3b8db70ada1de681e39b826afe4b7227fe388d441fd05cf593cd5420a6426eabfc40
7
+ data.tar.gz: 474f7829199fa1fb145e35c952af728cfd00b4ba48d3ef2203ea09ea443fa64644ac62f4eadff4e9f19e80d0da0f79be9870d976871c3d638615ddd5c4f70c2a
data/CHANGES.md CHANGED
@@ -1,11 +1,16 @@
1
- ## v0.2.2
1
+ ## v0.3.1
2
2
 
3
- * Raises a more helpful error if the column is not found when calling
4
- `DbTextSearch::CaseInsensitive`.
3
+ * Rails 6 support.
4
+ [ff16189f](https://github.com/thredded/db_text_search/commit/ff16189fdc7b1bf7b66e4bedc27483aaf3e75414)
5
5
 
6
6
  ## v0.3.0
7
7
 
8
- * * **Feature** Case insensitive sorting via the new `CaseInsensitive#column_for_order(asc_or_desc)` method. Use it like `SomeModel.some_scope.order(CaseInsensitive.new(SomeModel, :some_field).column_for_order(:asc))`
8
+ * **Feature** Case insensitive sorting via the new `CaseInsensitive#column_for_order(asc_or_desc)` method. Use it like `SomeModel.some_scope.order(CaseInsensitive.new(SomeModel, :some_field).column_for_order(:asc))`
9
+
10
+ ## v0.2.2
11
+
12
+ * Raises a more helpful error if the column is not found when calling
13
+ `DbTextSearch::CaseInsensitive`.
9
14
 
10
15
  ## v0.2.1
11
16
 
data/README.md CHANGED
@@ -11,7 +11,7 @@ DbTextSearch provides a unified interface on top of ActiveRecord for SQLite, MyS
11
11
  Add this line to your application's Gemfile:
12
12
 
13
13
  ```ruby
14
- gem 'db_text_search', '~> 0.3.0'
14
+ gem 'db_text_search', '~> 0.3.1'
15
15
  ```
16
16
 
17
17
  ## Usage
@@ -22,15 +22,13 @@ Gem::Specification.new do |s|
22
22
  s.require_paths = ['lib']
23
23
  s.required_ruby_version = '~> 2.1'
24
24
 
25
- s.add_dependency 'activerecord', '>= 4.1.15', '< 6.0'
25
+ s.add_dependency 'activerecord', '>= 4.1.15', '< 7.0'
26
26
 
27
27
  s.add_development_dependency 'mysql2', '>= 0.3.20'
28
28
  s.add_development_dependency 'pg', '>= 0.18.4'
29
29
  s.add_development_dependency 'sqlite3', '>= 1.3.11'
30
30
 
31
- s.add_development_dependency 'bundler', '~> 1.11'
32
31
  s.add_development_dependency 'rake', '~> 11.0'
33
32
  s.add_development_dependency 'rspec', '~> 3.4'
34
33
  s.add_development_dependency 'simplecov'
35
- s.add_development_dependency 'rubocop', '= 0.49.1'
36
34
  end
@@ -2,5 +2,5 @@
2
2
 
3
3
  module DbTextSearch
4
4
  # Gem version
5
- VERSION = '0.3.0'
5
+ VERSION = '0.3.1'
6
6
  end
@@ -0,0 +1 @@
1
+ gem 'rubocop', '= 0.49.1'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: db_text_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Mazovetskiy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-14 00:00:00.000000000 Z
11
+ date: 2019-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 4.1.15
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '6.0'
22
+ version: '7.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 4.1.15
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '6.0'
32
+ version: '7.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: mysql2
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -72,20 +72,6 @@ dependencies:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: 1.3.11
75
- - !ruby/object:Gem::Dependency
76
- name: bundler
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - "~>"
80
- - !ruby/object:Gem::Version
81
- version: '1.11'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - "~>"
87
- - !ruby/object:Gem::Version
88
- version: '1.11'
89
75
  - !ruby/object:Gem::Dependency
90
76
  name: rake
91
77
  requirement: !ruby/object:Gem::Requirement
@@ -128,20 +114,6 @@ dependencies:
128
114
  - - ">="
129
115
  - !ruby/object:Gem::Version
130
116
  version: '0'
131
- - !ruby/object:Gem::Dependency
132
- name: rubocop
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - '='
136
- - !ruby/object:Gem::Version
137
- version: 0.49.1
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - '='
143
- - !ruby/object:Gem::Version
144
- version: 0.49.1
145
117
  description: Different relational databases treat text search very differently. DbTextSearch
146
118
  provides a unified interface on top of ActiveRecord for SQLite, MySQL, and PostgreSQL
147
119
  to do case-insensitive string-in-set querying and CI index creation, and basic full-text
@@ -171,6 +143,7 @@ files:
171
143
  - lib/db_text_search/full_text/sqlite_adapter.rb
172
144
  - lib/db_text_search/query_building.rb
173
145
  - lib/db_text_search/version.rb
146
+ - rubocop.gemfile
174
147
  - shared.gemfile
175
148
  homepage: https://github.com/thredded/db_text_search
176
149
  licenses:
@@ -191,8 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
164
  - !ruby/object:Gem::Version
192
165
  version: '0'
193
166
  requirements: []
194
- rubyforge_project:
195
- rubygems_version: 2.7.7
167
+ rubygems_version: 3.0.2
196
168
  signing_key:
197
169
  specification_version: 4
198
170
  summary: A unified interface on top of ActiveRecord for SQLite, MySQL, and PostgreSQLfor