xapian_db 1.3.7.3 → 1.3.7.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +72 -64
  3. data/lib/type_codec.rb +1 -1
  4. metadata +7 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00b4e000aa0897921e61d84db5d9f6ab9dfc293e7d2ab827699875af46ba20a4
4
- data.tar.gz: 822a1cf0e558724daf5a288c0f1c589554b1b8496d3da577ac7aa1b79088d0a0
3
+ metadata.gz: 1979b59ffcc42e298d5696f7729c76e4e59394fc35e230c88c3bdbf0830279d7
4
+ data.tar.gz: 672b7bbbe1c2e2833fc09e57e5bf8916bae46812c31608f122e7b9732d39af6f
5
5
  SHA512:
6
- metadata.gz: 1da8b6dbda4bc7f8059216e86c00a377d53592913cc2f5d0106aacab978e123b971d9f357ef21ca0b2f8c9022963cd7250e877bbde5ec1d65460f40adbc66b06
7
- data.tar.gz: c6b1db3a8e80e42523e9f08d8f2de0820148d7a228926f8a43f6694c886a468b27fe307c8a33f33a25919f4136409b4f4b511f5c4cd53802be8c32d3a2dcf13f
6
+ metadata.gz: 3094d0d66b745bf3dee99f9569ada5239d990812c50a7c995fd588cd140ce8f11b659a504340ae345db17009dc1e2873d47b9934636989e4bdfe7851e113cdb5
7
+ data.tar.gz: 9ff35b2818e51c8e7654f3ee4fae591a32c8cdf03c5ab7c99097a728df4ddaa4adadf5e04fbf9ea515ca9ae5b0fc7b55752835f9e80722a95039e28b6725828c
@@ -1,22 +1,30 @@
1
- ##1.3.7.3 (November 30th, 2018)
1
+ ## 1.3.7.4 (October 27th, 2020)
2
+
3
+ Changes:
4
+
5
+ - Instantiation of a BigDecimal using 'BigDecimal.new()' has been replaced with the new format 'BigDecimal() -- this is compatible with BigDecimal v1.4.x and v2.0.x AND drops support for BigDecimal v1.3.5'
6
+
7
+ **NOTE: Dropping support for BigDecimal v1.3.5 also drops the support of Ruby 2.2.x and earlier versions of Ruby.**
8
+
9
+ ## 1.3.7.3 (November 30th, 2018)
2
10
 
3
11
  Changes:
4
12
 
5
13
  - add support for ruby > 2.3.x
6
14
 
7
- ##1.3.7.2 (April 13th, 2018)
15
+ ## 1.3.7.2 (April 13th, 2018)
8
16
 
9
17
  Changes:
10
18
 
11
19
  - changed ownership
12
20
 
13
- ##1.3.7.1 (March 3rd, 2018)
21
+ ## 1.3.7.1 (March 3rd, 2018)
14
22
 
15
23
  Changes:
16
24
 
17
25
  - Allow access to configured blueprints through XapianDb::DocumentBlueprint
18
26
 
19
- ##1.3.7 (January 12th, 2016)
27
+ ## 1.3.7 (January 12th, 2016)
20
28
 
21
29
  Breaking Changes:
22
30
 
@@ -32,7 +40,7 @@ Changes:
32
40
  - Support for result ordering
33
41
  - added a indexer preprocess callback to manipulate the terms that the indexer will index
34
42
 
35
- ##1.3.6 (August 14th, 2015)
43
+ ## 1.3.6 (August 14th, 2015)
36
44
 
37
45
  Changes:
38
46
 
@@ -40,52 +48,52 @@ Changes:
40
48
  - Ability do define and handle dependencies between blueprints (see README)
41
49
  - explicit order option for searches
42
50
 
43
- ##1.3.5.4 (Jan 13th, 2015)
51
+ ## 1.3.5.4 (Jan 13th, 2015)
44
52
 
45
53
  Fixes:
46
54
 
47
55
  - path to database fixed in railtie
48
56
  - fix for xapian > 1.2.15
49
57
 
50
- ##1.3.5.3 (May 22th, 2014)
58
+ ## 1.3.5.3 (May 22th, 2014)
51
59
 
52
60
  Fixes:
53
61
 
54
62
  - retry the search when a Xapian::DatabaseModifiedError occurs
55
63
 
56
- ##1.3.5.2 (January 3rd, 2014)
64
+ ## 1.3.5.2 (January 3rd, 2014)
57
65
 
58
66
  Fixes:
59
67
 
60
68
  - total_pages are calculated correctly when a limit option is passed (Thanks, Jan)
61
69
  - fix for will_paginate support
62
70
 
63
- ##1.3.5.1 (August 16th, 2013)
71
+ ## 1.3.5.1 (August 16th, 2013)
64
72
 
65
73
  Fixes:
66
74
 
67
75
  - namespaced models work again with rails 4
68
76
 
69
- ##1.3.5 (August 3rd, 2013)
77
+ ## 1.3.5 (August 3rd, 2013)
70
78
 
71
79
  Changes:
72
80
 
73
81
  - Rails4 deprecation resolved
74
82
  - licence information added tot the gemspec
75
83
 
76
- ##1.3.4 (July 26th, 2013)
84
+ ## 1.3.4 (July 26th, 2013)
77
85
 
78
86
  Changes:
79
87
 
80
88
  - support for sidekiq queues
81
89
 
82
- ##1.3.3.1 (June 23th, 2013)
90
+ ## 1.3.3.1 (June 23th, 2013)
83
91
 
84
92
  Fixes:
85
93
 
86
94
  - injected logical operators must be upper case in order to support Xapian::QueryParser::FLAG_BOOLEAN_ANY_CASE set to false
87
95
 
88
- ##1.3.3 (June 23th, 2013)
96
+ ## 1.3.3 (June 23th, 2013)
89
97
 
90
98
  Changes:
91
99
 
@@ -95,20 +103,20 @@ Breaking Changes:
95
103
 
96
104
  - enable_phrase_search config option is no longer supported (use config.enable_query_flag Xapian::QueryParser::FLAG_PHRASE instead)
97
105
 
98
- ##1.3.2 (April 10th, 2013)
106
+ ## 1.3.2 (April 10th, 2013)
99
107
 
100
108
  Changes:
101
109
 
102
110
  - new no_split option for attributes and indexes; useful if you use a global term_splitter_count but want to disable splitting for
103
111
  a certain attribute
104
112
 
105
- ##1.3.1 (February 25th, 2013)
113
+ ## 1.3.1 (February 25th, 2013)
106
114
 
107
115
  Fixes:
108
116
 
109
117
  - json codec handles nil values gracefully
110
118
 
111
- ##1.3 (February 19th, 2013)
119
+ ## 1.3 (February 19th, 2013)
112
120
 
113
121
  Breaking Changes:
114
122
 
@@ -120,7 +128,7 @@ Changes:
120
128
  - New option to enable / disable phrase search support
121
129
  - term splitter option to boost "live queries" (see README)
122
130
 
123
- ##1.2.5 (January 4th, 2013)
131
+ ## 1.2.5 (January 4th, 2013)
124
132
 
125
133
  Changes:
126
134
 
@@ -131,50 +139,50 @@ Fixes:
131
139
 
132
140
  - query result creation optimized (lower memory footprint, better performance)
133
141
 
134
- ##1.2.4.7 (December 17th, 2012)
142
+ ## 1.2.4.7 (December 17th, 2012)
135
143
 
136
144
  Fixes:
137
145
 
138
146
  - database reset removed since it has concurrency problems
139
147
 
140
- ##1.2.4.6 (Decmber 17th, 2012)
148
+ ## 1.2.4.6 (Decmber 17th, 2012)
141
149
 
142
150
  Changes:
143
151
 
144
152
  - progressbar gem replaced by ruby-progressbar
145
153
  - XapianDb.rebuild_xapian_index resets the database to remove any stale index data
146
154
 
147
- ##1.2.4.5 (July 19th, 2012)
155
+ ## 1.2.4.5 (July 19th, 2012)
148
156
 
149
157
  Fixes:
150
158
 
151
159
  - Fixes requiring the environment when calling rake. Prevented eg creation of the database using rake db:create
152
160
 
153
- ##1.2.4.4 (May 30h, 2012)
161
+ ## 1.2.4.4 (May 30h, 2012)
154
162
 
155
163
  Fixes:
156
164
 
157
165
  - do not add attributes with null values to a document
158
166
 
159
- ##1.2.4.3 (May 1st, 2012)
167
+ ## 1.2.4.3 (May 1st, 2012)
160
168
 
161
169
  Fixes:
162
170
 
163
171
  - handle null values on date and datetime attributes correctly
164
172
 
165
- ##1.2.4.2 (May 1st, 2012)
173
+ ## 1.2.4.2 (May 1st, 2012)
166
174
 
167
175
  Changes:
168
176
 
169
177
  - access the attributes of a xapian document as a hash table (like active record)
170
178
 
171
- ##1.2.4.1 (April 5th, 2012)
179
+ ## 1.2.4.1 (April 5th, 2012)
172
180
 
173
181
  Fixes:
174
182
 
175
183
  - better indexing for attributes containing arrays (index rebuild recommended)
176
184
 
177
- ##1.2.4 (March 6th, 2012)
185
+ ## 1.2.4 (March 6th, 2012)
178
186
 
179
187
  Features:
180
188
 
@@ -185,7 +193,7 @@ Fixes:
185
193
 
186
194
  - the ActiveRecord after_commit hook must not reindex the object if it is a destroy action
187
195
 
188
- ##1.2.3 (December 12th, 2011)
196
+ ## 1.2.3 (December 12th, 2011)
189
197
 
190
198
  Changes:
191
199
 
@@ -198,13 +206,13 @@ Changes:
198
206
  - added a rake task to rebuild the index
199
207
  - internal refactorings / optimizations
200
208
 
201
- ##1.2.2.2 (November 29th, 2011)
209
+ ## 1.2.2.2 (November 29th, 2011)
202
210
 
203
211
  Changes:
204
212
 
205
213
  - removed dependency to xapian-ruby to allow custom installs of the xapian binaries (see chapter Installing xapian binaries in the README)
206
214
 
207
- ##1.2.2.1 (November 22th, 2011)
215
+ ## 1.2.2.1 (November 22th, 2011)
208
216
 
209
217
  Fixes:
210
218
 
@@ -212,7 +220,7 @@ Fixes:
212
220
  - allow nil values for attributes declared :as => :date
213
221
  - lazy load queue writers (beanstalk_writer, resque_writer) when needed
214
222
 
215
- ##1.2.2 (November 15th, 2011)
223
+ ## 1.2.2 (November 15th, 2011)
216
224
 
217
225
  Features:
218
226
 
@@ -221,19 +229,19 @@ Features:
221
229
 
222
230
  IMPORTANT: FULL INDEX REBUILD REQUIRED FOR THIS RELEASE!
223
231
 
224
- ##1.2.1.1 (November 10th, 2011)
232
+ ## 1.2.1.1 (November 10th, 2011)
225
233
 
226
234
  Fixes:
227
235
 
228
236
  - resque writer wasn't loaded when beanstalk wasn't installed (thanks, javierv)
229
237
 
230
- ##1.2.1 (November 9th, 2011)
238
+ ## 1.2.1 (November 9th, 2011)
231
239
 
232
240
  Fixes:
233
241
 
234
242
  - removed explicit dependency on resque
235
243
 
236
- ##1.2.0 (November 8th, 2011)
244
+ ## 1.2.0 (November 8th, 2011)
237
245
 
238
246
  Fixes:
239
247
 
@@ -244,19 +252,19 @@ Features:
244
252
  - new index worker / writer for resque (thanks, Michael)
245
253
  - support for namespaced models (thanks, Albert)
246
254
 
247
- ##1.1.4 (October 25th, 2011)
255
+ ## 1.1.4 (October 25th, 2011)
248
256
 
249
257
  Fixes:
250
258
 
251
259
  - removed loading of the deprecated rake task from the railtie
252
260
 
253
- ##1.1.3 (October 24th, 2011)
261
+ ## 1.1.3 (October 24th, 2011)
254
262
 
255
263
  Fixes:
256
264
 
257
265
  - weight option for attributes and indexed values was not correctly applied
258
266
 
259
- ##1.1.2 (September 10th, 2011)
267
+ ## 1.1.2 (September 10th, 2011)
260
268
 
261
269
  Fixes:
262
270
 
@@ -266,7 +274,7 @@ Features:
266
274
 
267
275
  - massive performance optimization in rebuild_xapian_index
268
276
 
269
- ##1.1.1 (September 9th, 2011)
277
+ ## 1.1.1 (September 9th, 2011)
270
278
 
271
279
  Fixes:
272
280
 
@@ -276,7 +284,7 @@ Features:
276
284
 
277
285
  - base query option for blueprints; may speed up reindexing signifiantly if you index associations
278
286
 
279
- ##1.1 (September 7th, 2011)
287
+ ## 1.1 (September 7th, 2011)
280
288
 
281
289
  Fixes:
282
290
 
@@ -295,25 +303,25 @@ Features:
295
303
 
296
304
  IMPORTANT: YOU MUST REBUILD YOUR XAPIAN INDEX DATABASE SINCE THE INDEX STRUCTURE HAS CHANGED!
297
305
 
298
- ##1.0 (August 17th, 2011)
306
+ ## 1.0 (August 17th, 2011)
299
307
 
300
308
  Features:
301
309
 
302
310
  - find similar documents based on one or more reference documents
303
311
 
304
- ##0.5.15 (July 8th, 2011)
312
+ ## 0.5.15 (July 8th, 2011)
305
313
 
306
314
  Features:
307
315
 
308
316
  - faster install if the new, dependent gem containig xapian (xapian-ruby) is already installed
309
317
 
310
- ##0.5.14 (July 7th, 2011)
318
+ ## 0.5.14 (July 7th, 2011)
311
319
 
312
320
  Fixes:
313
321
 
314
322
  - fixed an issue in the beanstalk worker (delete task could not retrieve the xapian id from an already deleted object)
315
323
 
316
- ##0.5.13 (June 20th, 2011)
324
+ ## 0.5.13 (June 20th, 2011)
317
325
 
318
326
  Fixes:
319
327
 
@@ -325,13 +333,13 @@ Features:
325
333
  - xapian source and build artefacts are removed after successful install
326
334
  - added support for namespaced classes
327
335
 
328
- ##0.5.12 (April 28th, 2011)
336
+ ## 0.5.12 (April 28th, 2011)
329
337
 
330
338
  Fixes:
331
339
 
332
340
  - avoid stale blueprint setups when an indexed class is reloaded
333
341
 
334
- ##0.5.11 (April 21st, 2011)
342
+ ## 0.5.11 (April 21st, 2011)
335
343
 
336
344
  Features:
337
345
 
@@ -339,7 +347,7 @@ Features:
339
347
  - Rails log entries include query execution time
340
348
  - small changes to the beanstalk worker error handling
341
349
 
342
- ##0.5.10 (April 6th, 2011)
350
+ ## 0.5.10 (April 6th, 2011)
343
351
 
344
352
  Features:
345
353
 
@@ -347,13 +355,13 @@ Features:
347
355
  - execute a block with auto indexing disabled (see 'Bulk inserts / updates / deletes' in teh README)
348
356
  - updated the xapian source to version 1.2.5
349
357
 
350
- ##0.5.9 (March 25th, 2011)
358
+ ## 0.5.9 (March 25th, 2011)
351
359
 
352
360
  Fixes:
353
361
 
354
362
  - indexing was broken in 0.5.8
355
363
 
356
- ##0.5.8 (March 22th, 2011)
364
+ ## 0.5.8 (March 22th, 2011)
357
365
 
358
366
  Fixes:
359
367
 
@@ -363,7 +371,7 @@ Features:
363
371
 
364
372
  - support for transactions (see the README for details)
365
373
 
366
- ##0.5.7 (March 7th, 2011)
374
+ ## 0.5.7 (March 7th, 2011)
367
375
 
368
376
  Fixes:
369
377
 
@@ -374,7 +382,7 @@ Features:
374
382
 
375
383
  - option to specify a specific adapter for a blueprint overriding the global configuration
376
384
 
377
- ##0.5.6 (February 28th, 2011)
385
+ ## 0.5.6 (February 28th, 2011)
378
386
 
379
387
  Features:
380
388
 
@@ -382,7 +390,7 @@ Features:
382
390
  - added compatibility to the kaminari pagination gem (thanks, Javi)
383
391
  - added support for phrase searches (XapianDb.search('"this exact sentence"'))
384
392
 
385
- ##0.5.5 (February 25th, 2011)
393
+ ## 0.5.5 (February 25th, 2011)
386
394
 
387
395
  Fixes:
388
396
 
@@ -394,7 +402,7 @@ Features:
394
402
  - configure only those environments in xapian_db.yml where you want to override the defaults
395
403
  - XapianDb.rebuild_xapian_index rebuilds the index for all blueprints
396
404
 
397
- ##0.5.4 (February 22nd, 2011)
405
+ ## 0.5.4 (February 22nd, 2011)
398
406
 
399
407
  Fixes:
400
408
 
@@ -406,7 +414,7 @@ Breaking Changes:
406
414
  - the resultset class (what you get back from a query) has been refactored for easier handling. See the README ("Process the results")
407
415
  for details
408
416
 
409
- ##0.5.3 (February 15th, 2011)
417
+ ## 0.5.3 (February 15th, 2011)
410
418
 
411
419
  Fixes:
412
420
 
@@ -414,13 +422,13 @@ Fixes:
414
422
  xapian_db uses the index blueprint from its super class (if defined)
415
423
  - Added an ignore option to the blueprint definition to filter out objects that should not go into the index
416
424
 
417
- ##0.5.2 (January 11th, 2011)
425
+ ## 0.5.2 (January 11th, 2011)
418
426
 
419
427
  Features:
420
428
 
421
429
  - xapian-core and xapian-ruby-bindings sources are now included and will be compiled and installed with the gem
422
430
 
423
- ##0.5.1 (December 22th, 2010)
431
+ ## 0.5.1 (December 22th, 2010)
424
432
 
425
433
  Features:
426
434
 
@@ -430,14 +438,14 @@ Fixes:
430
438
 
431
439
  - attribute names that match a Xapian::Document method are not allowed
432
440
 
433
- ##0.5.0 (December 19th, 2010)
441
+ ## 0.5.0 (December 19th, 2010)
434
442
 
435
443
  Features:
436
444
 
437
445
  - beanstalk based index writer for production environments (multiple app instances, e.g. mongrel clusters,
438
446
  passenger...)
439
447
 
440
- ##0.4.2 (December 17th, 2010)
448
+ ## 0.4.2 (December 17th, 2010)
441
449
 
442
450
  Features:
443
451
 
@@ -457,7 +465,7 @@ Bugfixes:
457
465
  - fixed an issue with yaml deserialization of ActiveRecord objects (only the attributes hash
458
466
  should be serialized)
459
467
 
460
- ##0.4.1 (December 16th, 2010)
468
+ ## 0.4.1 (December 16th, 2010)
461
469
 
462
470
  Bugfixes:
463
471
 
@@ -466,7 +474,7 @@ Bugfixes:
466
474
  - searches with an empty search expression do not raise an exception anymore and return an empty
467
475
  resultset
468
476
 
469
- ##0.4.0 (December 15th, 2010)
477
+ ## 0.4.0 (December 15th, 2010)
470
478
 
471
479
  Features:
472
480
 
@@ -486,7 +494,7 @@ Bugfixes:
486
494
  **Since the internal structure of the index has changed, you must reindex your objects if you come from an
487
495
  earlier version of XapianDb!**
488
496
 
489
- ##0.3.4 (December 14th, 2010)
497
+ ## 0.3.4 (December 14th, 2010)
490
498
 
491
499
  Features:
492
500
 
@@ -500,7 +508,7 @@ Changes:
500
508
  - changed the indexing of active_record or datamapper models when declared as attributes or indexes
501
509
  in a blueprint (indexes now all attributes of the object instead of using to_s)
502
510
 
503
- ##0.3.3 (December 13th, 2010)
511
+ ## 0.3.3 (December 13th, 2010)
504
512
 
505
513
  Features:
506
514
 
@@ -514,7 +522,7 @@ Changes:
514
522
  language names (:english, :german, ...)
515
523
  - Reduced the memory footprint when reindexing large tables
516
524
 
517
- ##0.3.2 (December 10th, 2010)
525
+ ## 0.3.2 (December 10th, 2010)
518
526
 
519
527
  Features:
520
528
 
@@ -524,19 +532,19 @@ Features:
524
532
  - Removed the dependency to progressbar (but it is still used if available)
525
533
  - Made the rebuild_xapian_index method silent by default (use :verbose => true to get status info)
526
534
 
527
- ##0.3.1 (December 6th, 2010)
535
+ ## 0.3.1 (December 6th, 2010)
528
536
 
529
537
  Bugfixes:
530
538
 
531
539
  - Fixed the gemspec
532
540
 
533
- ##0.3.0 (December 4th, 2010)
541
+ ## 0.3.0 (December 4th, 2010)
534
542
 
535
543
  Features:
536
544
 
537
545
  - Rails integration with configuration file (config/xapian_db.yml) and automatic setup
538
546
 
539
- ##0.2.0 (December 1st, 2010)
547
+ ## 0.2.0 (December 1st, 2010)
540
548
 
541
549
  Features:
542
550
 
@@ -546,6 +554,6 @@ Features:
546
554
  - Search with wildcards
547
555
  - Document attributes can carry anything that is serializable by YAML
548
556
 
549
- ##0.1.0 (November 23th, 2010)
557
+ ## 0.1.0 (November 23th, 2010)
550
558
 
551
559
  Proof of concept, not really useful for real world usage
@@ -160,7 +160,7 @@ module XapianDb
160
160
  # @return [BigDecimal] the decoded number
161
161
  def self.decode(encoded_number)
162
162
  begin
163
- BigDecimal.new(Xapian::sortable_unserialise(encoded_number).to_s)
163
+ BigDecimal(Xapian::sortable_unserialise(encoded_number).to_s)
164
164
  rescue TypeError
165
165
  raise ArgumentError.new "#{encoded_number} cannot be unserialized"
166
166
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xapian_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.7.3
4
+ version: 1.3.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gernot Kogler
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-30 00:00:00.000000000 Z
11
+ date: 2020-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: daemons
@@ -239,7 +239,7 @@ homepage: https://github.com/gernotkogler/xapian_db
239
239
  licenses:
240
240
  - MIT
241
241
  metadata: {}
242
- post_install_message:
242
+ post_install_message:
243
243
  rdoc_options:
244
244
  - "--line-numbers"
245
245
  - "--inline-source"
@@ -260,9 +260,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
260
260
  - !ruby/object:Gem::Version
261
261
  version: 1.3.6
262
262
  requirements: []
263
- rubyforge_project:
264
- rubygems_version: 2.7.7
265
- signing_key:
263
+ rubyforge_project:
264
+ rubygems_version: 2.7.6
265
+ signing_key:
266
266
  specification_version: 4
267
267
  summary: Ruby library to use a Xapian db as a key/value store with high performance
268
268
  fulltext search