picky 4.19.4 → 4.19.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/picky/categories.rb +1 -0
- data/lib/picky/category_realtime.rb +1 -1
- data/lib/picky/index.rb +7 -1
- data/lib/picky/query/indexes/check.rb +2 -0
- data/lib/picky/query/or.rb +0 -13
- data/lib/picky/results.rb +4 -2
- data/lib/picky/search.rb +6 -8
- data/lib/picky/search_facets.rb +1 -1
- data/lib/picky.rb +5 -2
- data/spec/functional/or_spec.rb +1 -0
- data/spec/functional/to_s_spec.rb +57 -0
- data/spec/lib/api/search/boost_spec.rb +1 -1
- data/spec/lib/backends/backend_spec.rb +2 -2
- data/spec/lib/backends/file_spec.rb +25 -25
- data/spec/lib/backends/memory/json_spec.rb +1 -1
- data/spec/lib/backends/memory/marshal_spec.rb +1 -1
- data/spec/lib/backends/memory_spec.rb +28 -28
- data/spec/lib/backends/prepared/text_spec.rb +3 -3
- data/spec/lib/backends/redis/basic_spec.rb +1 -1
- data/spec/lib/backends/redis/directly_manipulable_spec.rb +8 -8
- data/spec/lib/backends/redis/float_spec.rb +3 -3
- data/spec/lib/backends/redis/list_spec.rb +2 -2
- data/spec/lib/backends/redis/string_spec.rb +2 -2
- data/spec/lib/backends/redis_spec.rb +33 -33
- data/spec/lib/backends/sqlite/array_spec.rb +12 -12
- data/spec/lib/backends/sqlite/directly_manipulable_spec.rb +4 -4
- data/spec/lib/backends/sqlite/value_spec.rb +8 -8
- data/spec/lib/backends/sqlite_spec.rb +28 -28
- data/spec/lib/bundle_indexed_spec.rb +14 -14
- data/spec/lib/categories_indexed_spec.rb +12 -12
- data/spec/lib/category_indexed_spec.rb +27 -27
- data/spec/lib/category_indexing_spec.rb +18 -18
- data/spec/lib/extensions/module_spec.rb +2 -2
- data/spec/lib/extensions/object_spec.rb +1 -1
- data/spec/lib/generators/partial/default_spec.rb +1 -1
- data/spec/lib/generators/partial/postfix_spec.rb +2 -2
- data/spec/lib/generators/similarity/phonetic_spec.rb +1 -1
- data/spec/lib/index_indexed_spec.rb +3 -3
- data/spec/lib/index_indexing_spec.rb +5 -5
- data/spec/lib/index_spec.rb +3 -3
- data/spec/lib/indexed/wrappers/bundle/calculation_spec.rb +1 -1
- data/spec/lib/indexed/wrappers/bundle/wrapper_spec.rb +1 -1
- data/spec/lib/indexers/base_spec.rb +8 -8
- data/spec/lib/indexers/parallel_spec.rb +6 -6
- data/spec/lib/indexers/serial_spec.rb +4 -4
- data/spec/lib/indexes_class_spec.rb +1 -1
- data/spec/lib/indexes_indexed_spec.rb +4 -4
- data/spec/lib/indexes_indexing_spec.rb +5 -5
- data/spec/lib/indexes_spec.rb +2 -2
- data/spec/lib/interfaces/live_parameters/master_child_spec.rb +13 -13
- data/spec/lib/interfaces/live_parameters/unicorn_spec.rb +13 -13
- data/spec/lib/loader_spec.rb +9 -9
- data/spec/lib/loggers/verbose_spec.rb +10 -3
- data/spec/lib/query/allocation_spec.rb +22 -22
- data/spec/lib/query/allocations_spec.rb +32 -32
- data/spec/lib/query/boosts_spec.rb +2 -2
- data/spec/lib/query/combination_spec.rb +5 -5
- data/spec/lib/query/combinations_spec.rb +8 -8
- data/spec/lib/query/indexes_check_spec.rb +6 -6
- data/spec/lib/query/indexes_spec.rb +8 -8
- data/spec/lib/query/solr_spec.rb +5 -5
- data/spec/lib/query/token_spec.rb +6 -6
- data/spec/lib/query/tokens_spec.rb +10 -10
- data/spec/lib/rack/harakiri_spec.rb +5 -5
- data/spec/lib/results/exact_first_spec.rb +23 -23
- data/spec/lib/results_spec.rb +10 -10
- data/spec/lib/scheduler_spec.rb +5 -5
- data/spec/lib/search_spec.rb +15 -15
- data/spec/lib/solr/schema_generator_spec.rb +7 -7
- data/spec/lib/tokenizer_spec.rb +3 -3
- metadata +48 -104
metadata
CHANGED
@@ -1,128 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: picky
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.19.
|
5
|
-
prerelease:
|
4
|
+
version: 4.19.5
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Florian Hanke
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-01-19 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ! '>='
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :development
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: rake-compiler
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '0'
|
38
|
-
type: :development
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ! '>='
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '0'
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: picky-client
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ~>
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 4.19.4
|
54
|
-
type: :development
|
55
|
-
prerelease: false
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 4.19.4
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: text
|
14
|
+
name: activesupport
|
64
15
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
16
|
requirements:
|
67
|
-
- -
|
17
|
+
- - "~>"
|
68
18
|
- !ruby/object:Gem::Version
|
69
|
-
version: '0'
|
19
|
+
version: '4.0'
|
70
20
|
type: :runtime
|
71
21
|
prerelease: false
|
72
22
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
23
|
requirements:
|
75
|
-
- -
|
24
|
+
- - "~>"
|
76
25
|
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
26
|
+
version: '4.0'
|
78
27
|
- !ruby/object:Gem::Dependency
|
79
28
|
name: multi_json
|
80
29
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
30
|
requirements:
|
83
|
-
- -
|
31
|
+
- - "~>"
|
84
32
|
- !ruby/object:Gem::Version
|
85
|
-
version: '
|
33
|
+
version: '1.3'
|
86
34
|
type: :runtime
|
87
35
|
prerelease: false
|
88
36
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
37
|
requirements:
|
91
|
-
- -
|
38
|
+
- - "~>"
|
92
39
|
- !ruby/object:Gem::Version
|
93
|
-
version: '
|
40
|
+
version: '1.3'
|
94
41
|
- !ruby/object:Gem::Dependency
|
95
|
-
name:
|
42
|
+
name: rack_fast_escape
|
96
43
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
44
|
requirements:
|
99
|
-
- -
|
45
|
+
- - "~>"
|
100
46
|
- !ruby/object:Gem::Version
|
101
|
-
version: '
|
47
|
+
version: '2009.0'
|
102
48
|
type: :runtime
|
103
49
|
prerelease: false
|
104
50
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
51
|
requirements:
|
107
|
-
- -
|
52
|
+
- - "~>"
|
108
53
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
54
|
+
version: '2009.0'
|
110
55
|
- !ruby/object:Gem::Dependency
|
111
|
-
name:
|
56
|
+
name: text
|
112
57
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
58
|
requirements:
|
115
|
-
- -
|
59
|
+
- - "~>"
|
116
60
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
61
|
+
version: '1.2'
|
118
62
|
type: :runtime
|
119
63
|
prerelease: false
|
120
64
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
65
|
requirements:
|
123
|
-
- -
|
66
|
+
- - "~>"
|
124
67
|
- !ruby/object:Gem::Version
|
125
|
-
version: '
|
68
|
+
version: '1.2'
|
126
69
|
description: Fast Ruby semantic text search engine with comfortable single field interface.
|
127
70
|
email: florian.hanke+picky@gmail.com
|
128
71
|
executables:
|
@@ -132,34 +75,38 @@ extensions:
|
|
132
75
|
extra_rdoc_files: []
|
133
76
|
files:
|
134
77
|
- aux/picky/cli.rb
|
78
|
+
- bin/picky
|
79
|
+
- ext/picky/extconf.rb
|
80
|
+
- ext/picky/picky.c
|
81
|
+
- lib/picky.rb
|
135
82
|
- lib/picky/analytics.rb
|
136
83
|
- lib/picky/analyzer.rb
|
137
84
|
- lib/picky/api/search/boost.rb
|
138
85
|
- lib/picky/api/tokenizer/character_substituter.rb
|
139
86
|
- lib/picky/api/tokenizer/stemmer.rb
|
140
87
|
- lib/picky/backends/backend.rb
|
88
|
+
- lib/picky/backends/file.rb
|
141
89
|
- lib/picky/backends/file/basic.rb
|
142
90
|
- lib/picky/backends/file/json.rb
|
143
|
-
- lib/picky/backends/file.rb
|
144
91
|
- lib/picky/backends/helpers/file.rb
|
92
|
+
- lib/picky/backends/memory.rb
|
145
93
|
- lib/picky/backends/memory/basic.rb
|
146
94
|
- lib/picky/backends/memory/json.rb
|
147
95
|
- lib/picky/backends/memory/marshal.rb
|
148
|
-
- lib/picky/backends/memory.rb
|
149
96
|
- lib/picky/backends/prepared/text.rb
|
97
|
+
- lib/picky/backends/redis.rb
|
150
98
|
- lib/picky/backends/redis/basic.rb
|
151
99
|
- lib/picky/backends/redis/directly_manipulable.rb
|
152
100
|
- lib/picky/backends/redis/float.rb
|
153
101
|
- lib/picky/backends/redis/list.rb
|
154
102
|
- lib/picky/backends/redis/string.rb
|
155
|
-
- lib/picky/backends/
|
103
|
+
- lib/picky/backends/sqlite.rb
|
156
104
|
- lib/picky/backends/sqlite/array.rb
|
157
105
|
- lib/picky/backends/sqlite/basic.rb
|
158
106
|
- lib/picky/backends/sqlite/directly_manipulable.rb
|
159
107
|
- lib/picky/backends/sqlite/integer_key_array.rb
|
160
108
|
- lib/picky/backends/sqlite/string_key_array.rb
|
161
109
|
- lib/picky/backends/sqlite/value.rb
|
162
|
-
- lib/picky/backends/sqlite.rb
|
163
110
|
- lib/picky/bundle.rb
|
164
111
|
- lib/picky/bundle_indexed.rb
|
165
112
|
- lib/picky/bundle_indexing.rb
|
@@ -170,8 +117,8 @@ files:
|
|
170
117
|
- lib/picky/categories_indexed.rb
|
171
118
|
- lib/picky/categories_indexing.rb
|
172
119
|
- lib/picky/categories_realtime.rb
|
173
|
-
- lib/picky/category/location.rb
|
174
120
|
- lib/picky/category.rb
|
121
|
+
- lib/picky/category/location.rb
|
175
122
|
- lib/picky/category_convenience.rb
|
176
123
|
- lib/picky/category_indexed.rb
|
177
124
|
- lib/picky/category_indexing.rb
|
@@ -188,13 +135,14 @@ files:
|
|
188
135
|
- lib/picky/extensions/string.rb
|
189
136
|
- lib/picky/extensions/symbol.rb
|
190
137
|
- lib/picky/generators/aliases.rb
|
138
|
+
- lib/picky/generators/partial.rb
|
191
139
|
- lib/picky/generators/partial/default.rb
|
192
140
|
- lib/picky/generators/partial/infix.rb
|
193
141
|
- lib/picky/generators/partial/none.rb
|
194
142
|
- lib/picky/generators/partial/postfix.rb
|
195
143
|
- lib/picky/generators/partial/strategy.rb
|
196
144
|
- lib/picky/generators/partial/substring.rb
|
197
|
-
- lib/picky/generators/
|
145
|
+
- lib/picky/generators/similarity.rb
|
198
146
|
- lib/picky/generators/similarity/default.rb
|
199
147
|
- lib/picky/generators/similarity/double_metaphone.rb
|
200
148
|
- lib/picky/generators/similarity/metaphone.rb
|
@@ -202,15 +150,14 @@ files:
|
|
202
150
|
- lib/picky/generators/similarity/phonetic.rb
|
203
151
|
- lib/picky/generators/similarity/soundex.rb
|
204
152
|
- lib/picky/generators/similarity/strategy.rb
|
205
|
-
- lib/picky/generators/similarity.rb
|
206
153
|
- lib/picky/generators/strategy.rb
|
154
|
+
- lib/picky/generators/weights.rb
|
207
155
|
- lib/picky/generators/weights/constant.rb
|
208
156
|
- lib/picky/generators/weights/default.rb
|
209
157
|
- lib/picky/generators/weights/dynamic.rb
|
210
158
|
- lib/picky/generators/weights/logarithmic.rb
|
211
159
|
- lib/picky/generators/weights/strategy.rb
|
212
160
|
- lib/picky/generators/weights/stub.rb
|
213
|
-
- lib/picky/generators/weights.rb
|
214
161
|
- lib/picky/helpers/identification.rb
|
215
162
|
- lib/picky/helpers/indexing.rb
|
216
163
|
- lib/picky/helpers/measuring.rb
|
@@ -241,37 +188,34 @@ files:
|
|
241
188
|
- lib/picky/query/allocation.rb
|
242
189
|
- lib/picky/query/allocations.rb
|
243
190
|
- lib/picky/query/boosts.rb
|
244
|
-
- lib/picky/query/combination/or.rb
|
245
191
|
- lib/picky/query/combination.rb
|
192
|
+
- lib/picky/query/combination/or.rb
|
246
193
|
- lib/picky/query/combinations.rb
|
247
|
-
- lib/picky/query/indexes/check.rb
|
248
194
|
- lib/picky/query/indexes.rb
|
195
|
+
- lib/picky/query/indexes/check.rb
|
249
196
|
- lib/picky/query/or.rb
|
250
197
|
- lib/picky/query/token.rb
|
251
198
|
- lib/picky/query/tokens.rb
|
252
199
|
- lib/picky/rack/harakiri.rb
|
253
|
-
- lib/picky/results/exact_first.rb
|
254
200
|
- lib/picky/results.rb
|
201
|
+
- lib/picky/results/exact_first.rb
|
255
202
|
- lib/picky/scheduler.rb
|
256
203
|
- lib/picky/search.rb
|
257
204
|
- lib/picky/search_facets.rb
|
258
|
-
- lib/picky/sinatra/index_actions.rb
|
259
205
|
- lib/picky/sinatra.rb
|
206
|
+
- lib/picky/sinatra/index_actions.rb
|
260
207
|
- lib/picky/source.rb
|
261
208
|
- lib/picky/splitter.rb
|
262
209
|
- lib/picky/splitters/automatic.rb
|
263
210
|
- lib/picky/statistics.rb
|
264
211
|
- lib/picky/tasks.rb
|
265
|
-
- lib/picky/tokenizer/regexp_wrapper.rb
|
266
212
|
- lib/picky/tokenizer.rb
|
213
|
+
- lib/picky/tokenizer/regexp_wrapper.rb
|
267
214
|
- lib/picky/wrappers/bundle/calculation.rb
|
268
215
|
- lib/picky/wrappers/bundle/delegators.rb
|
269
216
|
- lib/picky/wrappers/bundle/exact_partial.rb
|
270
217
|
- lib/picky/wrappers/bundle/location.rb
|
271
218
|
- lib/picky/wrappers/bundle/wrapper.rb
|
272
|
-
- lib/picky.rb
|
273
|
-
- lib/tasks/try.rb
|
274
|
-
- lib/try_compile.rb
|
275
219
|
- lib/tasks/application.rake
|
276
220
|
- lib/tasks/framework.rake
|
277
221
|
- lib/tasks/index.rake
|
@@ -279,7 +223,8 @@ files:
|
|
279
223
|
- lib/tasks/statistics.rake
|
280
224
|
- lib/tasks/todo.rake
|
281
225
|
- lib/tasks/try.rake
|
282
|
-
-
|
226
|
+
- lib/tasks/try.rb
|
227
|
+
- lib/try_compile.rb
|
283
228
|
- spec/aux/picky/cli_spec.rb
|
284
229
|
- spec/functional/allocations_uniq_by_definition_spec.rb
|
285
230
|
- spec/functional/arrays_as_ids_spec.rb
|
@@ -319,6 +264,7 @@ files:
|
|
319
264
|
- spec/functional/speed_spec.rb
|
320
265
|
- spec/functional/stemming_spec.rb
|
321
266
|
- spec/functional/terminate_early_spec.rb
|
267
|
+
- spec/functional/to_s_spec.rb
|
322
268
|
- spec/functional/tokenizer_spec.rb
|
323
269
|
- spec/functional/unique_ids_search_spec.rb
|
324
270
|
- spec/integration/sinatra_index_actions_spec.rb
|
@@ -429,34 +375,31 @@ files:
|
|
429
375
|
- spec/lib/tasks/try_spec.rb
|
430
376
|
- spec/lib/tokenizer_spec.rb
|
431
377
|
- spec/performant_spec.rb
|
432
|
-
- bin/picky
|
433
|
-
- ext/picky/extconf.rb
|
434
378
|
homepage: http://florianhanke.com/picky
|
435
379
|
licenses:
|
436
380
|
- MIT
|
437
381
|
- LGPL
|
382
|
+
metadata: {}
|
438
383
|
post_install_message:
|
439
384
|
rdoc_options: []
|
440
385
|
require_paths:
|
441
386
|
- lib
|
442
387
|
required_ruby_version: !ruby/object:Gem::Requirement
|
443
|
-
none: false
|
444
388
|
requirements:
|
445
|
-
- -
|
389
|
+
- - ">="
|
446
390
|
- !ruby/object:Gem::Version
|
447
391
|
version: '0'
|
448
392
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
449
|
-
none: false
|
450
393
|
requirements:
|
451
|
-
- -
|
394
|
+
- - ">="
|
452
395
|
- !ruby/object:Gem::Version
|
453
396
|
version: '0'
|
454
397
|
requirements: []
|
455
398
|
rubyforge_project: http://rubyforge.org/projects/picky
|
456
|
-
rubygems_version:
|
399
|
+
rubygems_version: 2.2.0
|
457
400
|
signing_key:
|
458
|
-
specification_version:
|
459
|
-
summary:
|
401
|
+
specification_version: 4
|
402
|
+
summary: 'Picky: Semantic Search Engine. Clever Interface. Good Tools.'
|
460
403
|
test_files:
|
461
404
|
- spec/aux/picky/cli_spec.rb
|
462
405
|
- spec/functional/allocations_uniq_by_definition_spec.rb
|
@@ -497,6 +440,7 @@ test_files:
|
|
497
440
|
- spec/functional/speed_spec.rb
|
498
441
|
- spec/functional/stemming_spec.rb
|
499
442
|
- spec/functional/terminate_early_spec.rb
|
443
|
+
- spec/functional/to_s_spec.rb
|
500
444
|
- spec/functional/tokenizer_spec.rb
|
501
445
|
- spec/functional/unique_ids_search_spec.rb
|
502
446
|
- spec/integration/sinatra_index_actions_spec.rb
|