pg_search 2.1.3 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +9 -6
  3. data/.travis.yml +12 -3
  4. data/CHANGELOG.md +121 -116
  5. data/Gemfile +2 -0
  6. data/README.md +1 -1
  7. data/Rakefile +2 -0
  8. data/lib/pg_search.rb +5 -3
  9. data/lib/pg_search/configuration.rb +5 -3
  10. data/lib/pg_search/configuration/association.rb +2 -0
  11. data/lib/pg_search/configuration/column.rb +2 -0
  12. data/lib/pg_search/configuration/foreign_column.rb +2 -0
  13. data/lib/pg_search/document.rb +4 -2
  14. data/lib/pg_search/features.rb +2 -0
  15. data/lib/pg_search/features/dmetaphone.rb +2 -0
  16. data/lib/pg_search/features/feature.rb +3 -1
  17. data/lib/pg_search/features/trigram.rb +2 -0
  18. data/lib/pg_search/features/tsearch.rb +2 -0
  19. data/lib/pg_search/migration/dmetaphone_generator.rb +3 -1
  20. data/lib/pg_search/migration/generator.rb +2 -0
  21. data/lib/pg_search/migration/multisearch_generator.rb +2 -1
  22. data/lib/pg_search/multisearch.rb +3 -3
  23. data/lib/pg_search/multisearch/rebuilder.rb +4 -2
  24. data/lib/pg_search/multisearchable.rb +2 -2
  25. data/lib/pg_search/normalizer.rb +2 -0
  26. data/lib/pg_search/railtie.rb +2 -0
  27. data/lib/pg_search/scope_options.rb +8 -6
  28. data/lib/pg_search/tasks.rb +2 -0
  29. data/lib/pg_search/version.rb +3 -1
  30. data/pg_search.gemspec +6 -5
  31. data/spec/integration/associations_spec.rb +9 -7
  32. data/spec/integration/pagination_spec.rb +2 -0
  33. data/spec/integration/pg_search_spec.rb +26 -24
  34. data/spec/integration/single_table_inheritance_spec.rb +2 -1
  35. data/spec/lib/pg_search/configuration/association_spec.rb +5 -3
  36. data/spec/lib/pg_search/configuration/column_spec.rb +2 -0
  37. data/spec/lib/pg_search/configuration/foreign_column_spec.rb +3 -1
  38. data/spec/lib/pg_search/features/dmetaphone_spec.rb +2 -0
  39. data/spec/lib/pg_search/features/trigram_spec.rb +2 -0
  40. data/spec/lib/pg_search/features/tsearch_spec.rb +6 -4
  41. data/spec/lib/pg_search/multisearch/rebuilder_spec.rb +2 -0
  42. data/spec/lib/pg_search/multisearch_spec.rb +2 -0
  43. data/spec/lib/pg_search/multisearchable_spec.rb +8 -6
  44. data/spec/lib/pg_search/normalizer_spec.rb +2 -0
  45. data/spec/lib/pg_search_spec.rb +5 -3
  46. data/spec/spec_helper.rb +2 -0
  47. data/spec/support/database.rb +3 -1
  48. data/spec/support/with_model.rb +2 -0
  49. metadata +6 -23
  50. data/.rubocop_todo.yml +0 -153
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 490019a491cda1e15a0ab4fd68f89a1cc7c6d7371ff098a452a84c4c83314f7d
4
- data.tar.gz: 5dc3c3bc842f669630cbf283af324ae9972cae624e3b15fe2d83ca354211ef8c
3
+ metadata.gz: d3d24ca431eaf08e99b0d374bd21f24ad6c6c5c3ae39b5d6d4339be5ca8f556e
4
+ data.tar.gz: 5be5841ec1e98be066cdb1f92f055721bf1a79fb10fa1b3a3ac52be0f0f539e4
5
5
  SHA512:
6
- metadata.gz: 3c1f7f8f87d7d23b39b405a8c196016bba6f3c9c873931263072f6c0b4e5faae3d548fd69278daaa138d13ddbc741c83a2d04eb57e218c2f8e87539833c5a747
7
- data.tar.gz: c8d5728f08af5f146b63b9999e782c46294aa078d853481702758a5f528a31f295b7f9822ed0a53abfc76b11b898229b503685eff4fd86c3595a4f1c4dc62d4c
6
+ metadata.gz: e9a08bd5e623a50c863ce0e8abe8b2d1411ce64d3055ebba3d88e3d560884da92c423113e263d680b5489a200cbda743d4926d455a4b015b136a9207de8de5c5
7
+ data.tar.gz: 92c05e6b51c64753ddc04ee4c39e2328b22b374d2bd891cbdcf30d54dc0fa9b693cd2e0d99a1e2d31e73416215f4844f8297d3406ed365e3f12aa52877f2060a
@@ -1,7 +1,5 @@
1
- inherit_from: .rubocop_todo.yml
2
-
3
1
  AllCops:
4
- TargetRubyVersion: 2.2
2
+ TargetRubyVersion: 2.3
5
3
  Exclude:
6
4
  - bin/**/*
7
5
 
@@ -46,8 +44,13 @@ Bundler/DuplicatedGem:
46
44
 
47
45
  Style/EmptyMethod:
48
46
  EnforcedStyle: expanded
47
+
48
+ Layout/IndentArray:
49
+ EnforcedStyle: consistent
49
50
 
50
- # Waiting on false positives to go away with:
51
- # https://github.com/bbatsov/rubocop/pull/5230
52
- Style/FormatStringToken:
51
+ Style/Documentation:
53
52
  Enabled: false
53
+
54
+ Style/WordArray:
55
+ EnforcedStyle: percent
56
+ MinSize: 3
@@ -4,14 +4,16 @@ bundler_args: --binstubs
4
4
  before_install: gem install bundler
5
5
 
6
6
  rvm:
7
+ - "2.6.0"
7
8
  - "2.5.3"
8
9
  - "2.4.5"
9
10
  - "2.3.8"
10
- - "jruby-9.2.0.0"
11
+ - "jruby-9.2.5.0"
11
12
 
12
13
  env:
13
14
  - ACTIVE_RECORD_BRANCH="master"
14
15
  - ACTIVE_RECORD_BRANCH="5-2-stable"
16
+ - ACTIVE_RECORD_VERSION="~> 6.0.0.beta1"
15
17
  - ACTIVE_RECORD_VERSION="~> 5.2.0"
16
18
  - ACTIVE_RECORD_VERSION="~> 5.1.0"
17
19
  - ACTIVE_RECORD_VERSION="~> 5.0.0"
@@ -21,11 +23,18 @@ matrix:
21
23
  allow_failures:
22
24
  - env: ACTIVE_RECORD_BRANCH="master"
23
25
  - env: ACTIVE_RECORD_BRANCH="5-2-stable"
26
+ - env: ACTIVE_RECORD_VERSION="~> 6.0.0.beta1"
24
27
  exclude:
25
- - rvm: 2.3.8
28
+ - rvm: "2.3.8"
26
29
  env: ACTIVE_RECORD_BRANCH="master"
27
- - rvm: jruby-9.2.0.0
30
+ - rvm: "2.4.5"
31
+ env: ACTIVE_RECORD_BRANCH="master"
32
+ - rvm: jruby-9.2.5.0
28
33
  env: ACTIVE_RECORD_VERSION="~> 4.2.9"
34
+ - rvm: "2.3.8"
35
+ env: ACTIVE_RECORD_VERSION="~> 6.0.0.beta1"
36
+ - rvm: "2.4.5"
37
+ env: ACTIVE_RECORD_VERSION="~> 6.0.0.beta1"
29
38
 
30
39
  before_script:
31
40
  - "psql --version"
@@ -1,287 +1,292 @@
1
1
  # pg_search changelog
2
2
 
3
+ ## 2.1.4
4
+
5
+ * Drop support for Ruby < 2.3
6
+ * Use update instead of deprecated update_attributes
7
+ * Remove explicit arel dependency to better support Active Record 6 beta
8
+
3
9
  ## 2.1.3
4
10
 
5
- * Remove support for unsupported Ruby 2.1
6
- * Disallow left/right single quotation marks in tsquery (Fabian Schwahn) (#382)
7
- * Do not attempt to save an already-destroy PgSearch::Document (Oleg Dashevskii, Vokhmin Aleksei V) (#353)
8
- * Quote column name when rebuilding (Jed Levin) (#379)
11
+ * Drop support for Ruby < 2.2
12
+ * Disallow left/right single quotation marks in tsquery (Fabian Schwahn) (#382)
13
+ * Do not attempt to save an already-destroy PgSearch::Document (Oleg Dashevskii, Vokhmin Aleksei V) (#353)
14
+ * Quote column name when rebuilding (Jed Levin) (#379)
9
15
 
10
16
  ## 2.1.2
11
17
 
12
- * Silence warnings in Rails 5.2.0.beta2 (Kevin Deisz)
18
+ * Silence warnings in Rails 5.2.0.beta2 (Kevin Deisz)
13
19
 
14
20
  ## 2.1.1
15
21
 
16
- * Support snake_case ts_headline options again (with deprecation warning)
22
+ * Support snake_case ts_headline options again (with deprecation warning)
17
23
 
18
24
  ## 2.1.0
19
25
 
20
- * Allow ts_headline options to be passed to :highlight (Ian Heisters)
21
- * Wait to load PgSearch::Document until after Active Record has loaded (Logan Leger)
22
- * Add Rails version to generated migrations (Erik Eide)
26
+ * Allow ts_headline options to be passed to :highlight (Ian Heisters)
27
+ * Wait to load PgSearch::Document until after Active Record has loaded (Logan Leger)
28
+ * Add Rails version to generated migrations (Erik Eide)
23
29
 
24
30
  ## 2.0.1
25
31
 
26
- * Remove require for generator that no longer exists. (Joshua Bartlett)
32
+ * Remove require for generator that no longer exists. (Joshua Bartlett)
27
33
 
28
34
  ## 2.0.0
29
35
 
30
- * Drop support for PostgreSQL < 9.2.
31
- * Drop support for Active Record < 4.2.
32
- * Drop support for Ruby < 2.1.
33
- * Improve performance of has_one and belongs_to associations. (Peter Postma)
36
+ * Drop support for PostgreSQL < 9.2.
37
+ * Drop support for Active Record < 4.2.
38
+ * Drop support for Ruby < 2.1.
39
+ * Improve performance of has_one and belongs_to associations. (Peter Postma)
34
40
 
35
41
  ## 1.0.6
36
42
 
37
- * Add support for highlighting the matching portion of a search result. (Jose Galisteo)
38
- * Add `:update_if` option to control when PgSearch::Document gets updated. (Adam Becker)
39
- * Add `:additional_attributes` option for adding additional attributes to PgSearch::Document
43
+ * Add support for highlighting the matching portion of a search result. (Jose Galisteo)
44
+ * Add `:update_if` option to control when PgSearch::Document gets updated. (Adam Becker)
45
+ * Add `:additional_attributes` option for adding additional attributes to PgSearch::Document
40
46
 
41
47
  ## 1.0.5
42
48
 
43
- * Clean up rank table aliasing. (Adam Milligan)
44
- * Fix issue when using `#with_pg_search_rank` across a join. (Reid Lynch)
49
+ * Clean up rank table aliasing. (Adam Milligan)
50
+ * Fix issue when using `#with_pg_search_rank` across a join. (Reid Lynch)
45
51
 
46
52
  ## 1.0.4
47
53
 
48
- * Assert valid options for features. (Janko Marohnić)
49
- * Enable chaining of pg_search scopes. (Nicolas Buduroi)
54
+ * Assert valid options for features. (Janko Marohnić)
55
+ * Enable chaining of pg_search scopes. (Nicolas Buduroi)
50
56
 
51
57
  ## 1.0.3
52
58
 
53
- * Support STI models using a custom inheritance column. (Nick Doiron)
59
+ * Support STI models using a custom inheritance column. (Nick Doiron)
54
60
 
55
61
  ## 1.0.2
56
62
 
57
- * Don’t use SQL to rebuild search documents when models are multisearchable against dynamic methods and not just columns. Iterate over each record with `find_each` instead.
63
+ * Don’t use SQL to rebuild search documents when models are multisearchable against dynamic methods and not just columns. Iterate over each record with `find_each` instead.
58
64
 
59
65
  ## 1.0.1
60
66
 
61
- * Call `.unscoped` on relation used to build subquery, to eliminate unnecessary JOINs. (Markus Doits)
67
+ * Call `.unscoped` on relation used to build subquery, to eliminate unnecessary JOINs. (Markus Doits)
62
68
 
63
69
  ## 1.0.0
64
70
 
65
- * Support more `ActiveRecord::Relation` methods, such as `#pluck` and `#select` by moving search-related operations to subquery.
66
- * Generate index by default in migration for `pg_search_documents` table.
67
- * Start officially using [Semantic Versioning 2.0.0](http://semver.org/spec/v2.0.0.html).
71
+ * Support more `ActiveRecord::Relation` methods, such as `#pluck` and `#select` by moving search-related operations to subquery.
72
+ * Generate index by default in migration for `pg_search_documents` table.
73
+ * Start officially using [Semantic Versioning 2.0.0](http://semver.org/spec/v2.0.0.html).
68
74
 
69
75
  ## 0.7.9
70
76
 
71
- * Improve support for single table inheritance (STI) models. (Ewan McDougall)
77
+ * Improve support for single table inheritance (STI) models. (Ewan McDougall)
72
78
 
73
79
  ## 0.7.8
74
80
 
75
- * Stop inadvertently including binstubs for guard and rspec.
81
+ * Stop inadvertently including binstubs for guard and rspec.
76
82
 
77
83
  ## 0.7.7
78
84
 
79
- * Fix future compatibility with Active Record 4.2.
85
+ * Fix future compatibility with Active Record 4.2.
80
86
 
81
87
  ## 0.7.6
82
88
 
83
- * Fix migration generator in Rails 3. (Andrew Marshall and Nora Lin)
84
- * Add `:only` option for limiting search fields per feature. (Jonathan Greenberg)
89
+ * Fix migration generator in Rails 3. (Andrew Marshall and Nora Lin)
90
+ * Add `:only` option for limiting search fields per feature. (Jonathan Greenberg)
85
91
 
86
92
  ## 0.7.5
87
93
 
88
- * Add option to make feature available only for sorting. (Brent Wheeldon)
94
+ * Add option to make feature available only for sorting. (Brent Wheeldon)
89
95
 
90
96
  ## 0.7.4
91
97
 
92
- * Fix which STI class name is used for searchable_type for PgSearch::Document. (Ewan McDougall)
93
- * Add support for non-standard primary keys. (Matt Beedle)
98
+ * Fix which STI class name is used for searchable_type for PgSearch::Document. (Ewan McDougall)
99
+ * Add support for non-standard primary keys. (Matt Beedle)
94
100
 
95
101
  ## 0.7.3
96
102
 
97
- * Allow simultaneously searching using `:associated_against` and `:tsvector_column` (Adam Becker)
103
+ * Allow simultaneously searching using `:associated_against` and `:tsvector_column` (Adam Becker)
98
104
 
99
105
  ## 0.7.2
100
106
 
101
- * Add :threshold option for configuring how permissive trigram searches are.
107
+ * Add :threshold option for configuring how permissive trigram searches are.
102
108
 
103
109
  ## 0.7.1
104
110
 
105
- * Fix issue with {:using => :trigram, :ignoring => :accents} that generated
106
- bad SQL. (Steven Harman)
111
+ * Fix issue with {:using => :trigram, :ignoring => :accents} that generated
112
+ bad SQL. (Steven Harman)
107
113
 
108
114
  ## 0.7.0
109
115
 
110
- * Start requiring Ruby 1.9.2 or later.
116
+ * Start requiring Ruby 1.9.2 or later.
111
117
 
112
118
  ## 0.6.4
113
119
 
114
- * Fix issue with using more than two features in the same scope.
120
+ * Fix issue with using more than two features in the same scope.
115
121
 
116
122
  ## 0.6.3
117
123
 
118
- * Fix issues and deprecations for Active Record 4.0.0.rc1.
124
+ * Fix issues and deprecations for Active Record 4.0.0.rc1.
119
125
 
120
126
  ## 0.6.2
121
127
 
122
- * Add workaround for issue with how ActiveRecord relations handle Arel OR
123
- nodes.
128
+ * Add workaround for issue with how ActiveRecord relations handle Arel OR
129
+ nodes.
124
130
 
125
131
  ## 0.6.1
126
132
 
127
- * Fix issue with Arel::InfixOperation that prevented #count from working,
128
- breaking pagination.
133
+ * Fix issue with Arel::InfixOperation that prevented #count from working,
134
+ breaking pagination.
129
135
 
130
136
  ## 0.6.0
131
137
 
132
- * Drop support for Active Record 3.0.
133
- * Address warnings in Ruby 2.0.
134
- * Remove all usages of sanitize_sql_array for future Rails 4 compatibility.
135
- * Start using Arel internally to build SQL strings (not yet complete).
136
- * Disable eager loading, fixes issue #14.
137
- * Support named schemas in pg_search:multisearch:rebuild. (Victor Olteanu)
138
+ * Drop support for Active Record 3.0.
139
+ * Address warnings in Ruby 2.0.
140
+ * Remove all usages of sanitize_sql_array for future Rails 4 compatibility.
141
+ * Start using Arel internally to build SQL strings (not yet complete).
142
+ * Disable eager loading, fixes issue #14.
143
+ * Support named schemas in pg_search:multisearch:rebuild. (Victor Olteanu)
138
144
 
139
145
 
140
146
  ## 0.5.7
141
147
 
142
- * Fix issue with eager loading now that the Scope class has been removed.
143
- (Piotr Murach)
148
+ * Fix issue with eager loading now that the Scope class has been removed.
149
+ (Piotr Murach)
144
150
 
145
151
 
146
152
  ## 0.5.6
147
153
 
148
- * PgSearch#multisearchable accepts :if and :unless for conditional inclusion
149
- in search documents table. (Francois Harbec)
150
- * Stop using array_to_string() in SQL since it is not indexable.
154
+ * PgSearch#multisearchable accepts :if and :unless for conditional inclusion
155
+ in search documents table. (Francois Harbec)
156
+ * Stop using array_to_string() in SQL since it is not indexable.
151
157
 
152
158
 
153
159
  ## 0.5.5
154
160
 
155
- * Fix bug with single table inheritance.
156
- * Allow option for specifying an alternate function for unaccent().
161
+ * Fix bug with single table inheritance.
162
+ * Allow option for specifying an alternate function for unaccent().
157
163
 
158
164
 
159
165
  ## 0.5.4
160
166
 
161
- * Fix bug in associated_against join clause when search scope is chained
162
- after other scopes.
163
- * Fix autoloading of PgSearch::VERSION constant.
167
+ * Fix bug in associated_against join clause when search scope is chained
168
+ after other scopes.
169
+ * Fix autoloading of PgSearch::VERSION constant.
164
170
 
165
171
 
166
172
  ## 0.5.3
167
173
 
168
- * Prevent multiple attempts to create pg_search_document within a single
169
- transaction. (JT Archie & Trace Wax)
174
+ * Prevent multiple attempts to create pg_search_document within a single
175
+ transaction. (JT Archie & Trace Wax)
170
176
 
171
177
 
172
178
  ## 0.5.2
173
179
 
174
- * Don't save twice if pg_search_document is missing on update.
180
+ * Don't save twice if pg_search_document is missing on update.
175
181
 
176
182
 
177
183
  ## 0.5.1
178
184
 
179
- * Add ability to override multisearch rebuild SQL.
185
+ * Add ability to override multisearch rebuild SQL.
180
186
 
181
187
 
182
188
  ## 0.5
183
189
 
184
- * Convert migration rake tasks into generators.
185
- * Use rake task arguments for multisearch rebuild instead of environment
186
- variable.
187
- * Always cast columns to text.
190
+ * Convert migration rake tasks into generators.
191
+ * Use rake task arguments for multisearch rebuild instead of environment
192
+ variable.
193
+ * Always cast columns to text.
188
194
 
189
195
 
190
196
  ## 0.4.2
191
197
 
192
- * Fill in timestamps correctly when rebuilding multisearch documents.
193
- (Barton McGuire)
194
- * Fix various issues with rebuilding multisearch documents. (Eugen Neagoe)
195
- * Fix syntax error in pg_search_dmetaphone() migration. (Casey Foster)
196
- * Rename PgSearch#rank to PgSearch#pg_search_rank and always return a Float.
197
- * Fix issue with :associated_against and non-text columns.
198
+ * Fill in timestamps correctly when rebuilding multisearch documents.
199
+ (Barton McGuire)
200
+ * Fix various issues with rebuilding multisearch documents. (Eugen Neagoe)
201
+ * Fix syntax error in pg_search_dmetaphone() migration. (Casey Foster)
202
+ * Rename PgSearch#rank to PgSearch#pg_search_rank and always return a Float.
203
+ * Fix issue with :associated_against and non-text columns.
198
204
 
199
205
 
200
206
  ## 0.4.1
201
207
 
202
- * Fix Active Record 3.2 deprecation warnings. (Steven Harman)
208
+ * Fix Active Record 3.2 deprecation warnings. (Steven Harman)
203
209
 
204
- * Fix issue with undefined logger when PgSearch::Document.search is already
205
- defined.
210
+ * Fix issue with undefined logger when PgSearch::Document.search is already
211
+ defined.
206
212
 
207
213
 
208
214
  ## 0.4
209
215
 
210
- * Add ability to search again tsvector columns. (Kris Hicks)
216
+ * Add ability to search again tsvector columns. (Kris Hicks)
211
217
 
212
218
 
213
219
  ## 0.3.4
214
220
 
215
- * Fix issue with {:using => {:tsearch => {:prefix => true}}} and hyphens.
216
- * Get tests running against PostgreSQL 9.1 by using CREATE EXTENSION
221
+ * Fix issue with {:using => {:tsearch => {:prefix => true}}} and hyphens.
222
+ * Get tests running against PostgreSQL 9.1 by using CREATE EXTENSION
217
223
 
218
224
 
219
225
  ## 0.3.3
220
226
 
221
- * Backport array_agg() aggregate function to PostgreSQL 8.3 and earlier.
222
- This fixes :associated_against searches.
223
- * Backport unnest() function to PostgreSQL 8.3 and earlier. This fixes
224
- {:using => :dmetaphone} searches.
225
- * Disable {:using => {:tsearch => {:prefix => true}}} in PostgreSQL 8.3 and
226
- earlier.
227
+ * Backport array_agg() aggregate function to PostgreSQL 8.3 and earlier.
228
+ This fixes :associated_against searches.
229
+ * Backport unnest() function to PostgreSQL 8.3 and earlier. This fixes
230
+ {:using => :dmetaphone} searches.
231
+ * Disable {:using => {:tsearch => {:prefix => true}}} in PostgreSQL 8.3 and
232
+ earlier.
227
233
 
228
234
 
229
235
  ## 0.3.2
230
236
 
231
- * Fix :prefix search in PostgreSQL 8.x
232
- * Disable {:ignoring => :accents} in PostgreSQL 8.x
237
+ * Fix :prefix search in PostgreSQL 8.x
238
+ * Disable {:ignoring => :accents} in PostgreSQL 8.x
233
239
 
234
240
 
235
241
  ## 0.3.1
236
242
 
237
- * Fix syntax error in generated dmetaphone migration. (Max De Marzi)
243
+ * Fix syntax error in generated dmetaphone migration. (Max De Marzi)
238
244
 
239
245
 
240
246
  ## 0.3
241
247
 
242
- * Drop Active Record 2.0 support.
243
- * Add PgSearch.multisearch for cross-model searching.
244
- * Fix PostgreSQL warnings about truncated identifiers
245
- * Support specifying a method of rank normalisation when using tsearch.
246
- (Arthur Gunn)
247
- * Add :any_word option to :tsearch which uses OR between query terms instead
248
- of AND. (Fernando Espinosa)
248
+ * Drop Active Record 2.0 support.
249
+ * Add PgSearch.multisearch for cross-model searching.
250
+ * Fix PostgreSQL warnings about truncated identifiers
251
+ * Support specifying a method of rank normalisation when using tsearch.
252
+ (Arthur Gunn)
253
+ * Add :any_word option to :tsearch which uses OR between query terms instead
254
+ of AND. (Fernando Espinosa)
249
255
 
250
256
  ## 0.2.2
251
257
 
252
- * Fix a compatibility issue between Ruby 1.8.7 and 1.9.3 when using Rails 2
253
- (James Badger)
258
+ * Fix a compatibility issue between Ruby 1.8.7 and 1.9.3 when using Rails 2
259
+ (James Badger)
254
260
 
255
261
  ## 0.2.1
256
262
 
257
- * Backport support for searching against tsvector columns (Kris Hicks)
263
+ * Backport support for searching against tsvector columns (Kris Hicks)
258
264
 
259
265
  ## 0.2
260
266
 
261
- * Set dictionary to :simple by default for :tsearch. Before it was unset,
262
- which would fall back to PostgreSQL's default dictionary, usually
263
- "english".
264
- * Fix a bug with search strings containing a colon ":"
265
- * Improve performance of :associated_against by only doing one INNER JOIN
266
- per association
267
+ * Set dictionary to :simple by default for :tsearch. Before it was unset,
268
+ which would fall back to PostgreSQL's default dictionary, usually
269
+ "english".
270
+ * Fix a bug with search strings containing a colon ":"
271
+ * Improve performance of :associated_against by only doing one INNER JOIN
272
+ per association
267
273
 
268
274
  ## 0.1.1
269
275
 
270
- * Fix a bug with dmetaphone searches containing " w " (which dmetaphone maps
271
- to an empty string)
276
+ * Fix a bug with dmetaphone searches containing " w " (which dmetaphone maps
277
+ to an empty string)
272
278
 
273
279
  ## 0.1
274
280
 
275
- * Change API to {:ignoring => :accents} from {:normalizing => :diacritics}
276
- * Improve documentation
277
- * Fix bug where :associated_against would not work without an :against
278
- present
281
+ * Change API to {:ignoring => :accents} from {:normalizing => :diacritics}
282
+ * Improve documentation
283
+ * Fix bug where :associated_against would not work without an :against
284
+ present
279
285
 
280
286
  ## 0.0.2
281
287
 
282
- * Fix gem ownership.
288
+ * Fix gem ownership.
283
289
 
284
- #
285
290
  ## 0.0.1
286
291
 
287
- * Initial release.
292
+ * Initial release.