blurrily 0.2.1 → 0.3.0

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
  SHA1:
3
- metadata.gz: 33d31a6d8f0cd49c19cd9ea8df17cd4d32a2f7cd
4
- data.tar.gz: ab8546ee590bd9d5e5025a60d9b337f8472ddafd
3
+ metadata.gz: 27ce94ccac1210a5ee4da5ad3e3d63b2a168c196
4
+ data.tar.gz: b6cb53523c464a470a97a6e6d776322f88d899a9
5
5
  SHA512:
6
- metadata.gz: 1d19b002f2be93f4eada66e8eedcad5c9a9f3a4b3691c5300e2265fedbefb4e039ebf84fa05eee365a012bff4b0e3181acb6adfed69c37f286dbb17da0e46a89
7
- data.tar.gz: 902b01256d823b4719f53c974cc0964a76a2f890bf75b907e91e170e910577aaafb7c18b35a7a5393d417ceb04a6e5e9bfea44691219e75fd6d0f6f9721bae9e
6
+ metadata.gz: 9785056cf139725e62a1cb4041cb78d1b3160d1ae050cc97085f6233ec442aa530088d60b6c13881aaf1b5546d950f056cf040af221dbb19851b870d21845264
7
+ data.tar.gz: cb50cd6063d0d53c402af3014a52af3be8729f9bef698fbd324c8e707f97bb060842486d227f0b422a7faa6a7ccb6ccd2d46fc93976e666491deacfc84bd689b
data/README.md CHANGED
@@ -4,6 +4,7 @@
4
4
  [![Build Status](https://travis-ci.org/mezis/blurrily.png?branch=master)](https://travis-ci.org/mezis/blurrily)
5
5
  [![Dependency Status](https://gemnasium.com/mezis/blurrily.png)](https://gemnasium.com/mezis/blurrily)
6
6
  [![Code Climate](https://codeclimate.com/github/mezis/blurrily.png)](https://codeclimate.com/github/mezis/blurrily)
7
+ [![Coverage Status](https://coveralls.io/repos/mezis/blurrily/badge.png)](https://coveralls.io/r/mezis/blurrily)
7
8
 
8
9
  > Show me photos of **Marakech** !
9
10
  >
@@ -605,6 +605,9 @@ int blurrily_storage_delete(trigram_map haystack, uint32_t reference)
605
605
  }
606
606
  haystack->total_trigrams -= trigrams_deleted;
607
607
  if (trigrams_deleted > 0) haystack->total_references -= 1;
608
+
609
+ if (haystack->refs) blurrily_refs_remove(haystack->refs, reference);
610
+
608
611
  return trigrams_deleted;
609
612
  }
610
613
 
@@ -1,3 +1,3 @@
1
1
  module Blurrily
2
- VERSION = "0.2.1"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,223 +1,225 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blurrily
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julien Letessier
8
+ - Dawid Sklodowski
9
+ - Marcus Mitchell
8
10
  autorequire:
9
11
  bindir: bin
10
12
  cert_chain: []
11
- date: 2013-05-03 00:00:00.000000000 Z
13
+ date: 2014-09-29 00:00:00.000000000 Z
12
14
  dependencies:
13
15
  - !ruby/object:Gem::Dependency
14
16
  name: activesupport
15
17
  requirement: !ruby/object:Gem::Requirement
16
18
  requirements:
17
- - - '>='
19
+ - - ">="
18
20
  - !ruby/object:Gem::Version
19
21
  version: '0'
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
23
25
  requirements:
24
- - - '>='
26
+ - - ">="
25
27
  - !ruby/object:Gem::Version
26
28
  version: '0'
27
29
  - !ruby/object:Gem::Dependency
28
30
  name: eventmachine
29
31
  requirement: !ruby/object:Gem::Requirement
30
32
  requirements:
31
- - - '>='
33
+ - - ">="
32
34
  - !ruby/object:Gem::Version
33
35
  version: '0'
34
36
  type: :runtime
35
37
  prerelease: false
36
38
  version_requirements: !ruby/object:Gem::Requirement
37
39
  requirements:
38
- - - '>='
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: json
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - '>='
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - '>='
40
+ - - ">="
53
41
  - !ruby/object:Gem::Version
54
42
  version: '0'
55
43
  - !ruby/object:Gem::Dependency
56
44
  name: rspec
57
45
  requirement: !ruby/object:Gem::Requirement
58
46
  requirements:
59
- - - '>='
47
+ - - ">="
60
48
  - !ruby/object:Gem::Version
61
49
  version: '0'
62
50
  type: :development
63
51
  prerelease: false
64
52
  version_requirements: !ruby/object:Gem::Requirement
65
53
  requirements:
66
- - - '>='
54
+ - - ">="
67
55
  - !ruby/object:Gem::Version
68
56
  version: '0'
69
57
  - !ruby/object:Gem::Dependency
70
58
  name: rake
71
59
  requirement: !ruby/object:Gem::Requirement
72
60
  requirements:
73
- - - '>='
61
+ - - ">="
74
62
  - !ruby/object:Gem::Version
75
63
  version: '0'
76
64
  type: :development
77
65
  prerelease: false
78
66
  version_requirements: !ruby/object:Gem::Requirement
79
67
  requirements:
80
- - - '>='
68
+ - - ">="
81
69
  - !ruby/object:Gem::Version
82
70
  version: '0'
83
71
  - !ruby/object:Gem::Dependency
84
72
  name: rake-compiler
85
73
  requirement: !ruby/object:Gem::Requirement
86
74
  requirements:
87
- - - '>='
75
+ - - ">="
88
76
  - !ruby/object:Gem::Version
89
77
  version: '0'
90
78
  type: :development
91
79
  prerelease: false
92
80
  version_requirements: !ruby/object:Gem::Requirement
93
81
  requirements:
94
- - - '>='
82
+ - - ">="
95
83
  - !ruby/object:Gem::Version
96
84
  version: '0'
97
85
  - !ruby/object:Gem::Dependency
98
86
  name: pry
99
87
  requirement: !ruby/object:Gem::Requirement
100
88
  requirements:
101
- - - '>='
89
+ - - ">="
102
90
  - !ruby/object:Gem::Version
103
91
  version: '0'
104
92
  type: :development
105
93
  prerelease: false
106
94
  version_requirements: !ruby/object:Gem::Requirement
107
95
  requirements:
108
- - - '>='
96
+ - - ">="
109
97
  - !ruby/object:Gem::Version
110
98
  version: '0'
111
99
  - !ruby/object:Gem::Dependency
112
100
  name: pry-nav
113
101
  requirement: !ruby/object:Gem::Requirement
114
102
  requirements:
115
- - - '>='
103
+ - - ">="
116
104
  - !ruby/object:Gem::Version
117
105
  version: '0'
118
106
  type: :development
119
107
  prerelease: false
120
108
  version_requirements: !ruby/object:Gem::Requirement
121
109
  requirements:
122
- - - '>='
110
+ - - ">="
123
111
  - !ruby/object:Gem::Version
124
112
  version: '0'
125
113
  - !ruby/object:Gem::Dependency
126
114
  name: pry-doc
127
115
  requirement: !ruby/object:Gem::Requirement
128
116
  requirements:
129
- - - '>='
117
+ - - ">="
130
118
  - !ruby/object:Gem::Version
131
119
  version: '0'
132
120
  type: :development
133
121
  prerelease: false
134
122
  version_requirements: !ruby/object:Gem::Requirement
135
123
  requirements:
136
- - - '>='
124
+ - - ">="
137
125
  - !ruby/object:Gem::Version
138
126
  version: '0'
139
127
  - !ruby/object:Gem::Dependency
140
128
  name: progressbar
141
129
  requirement: !ruby/object:Gem::Requirement
142
130
  requirements:
143
- - - '>='
131
+ - - ">="
144
132
  - !ruby/object:Gem::Version
145
133
  version: '0'
146
134
  type: :development
147
135
  prerelease: false
148
136
  version_requirements: !ruby/object:Gem::Requirement
149
137
  requirements:
150
- - - '>='
138
+ - - ">="
151
139
  - !ruby/object:Gem::Version
152
140
  version: '0'
153
141
  - !ruby/object:Gem::Dependency
154
142
  name: benchmark-ips
155
143
  requirement: !ruby/object:Gem::Requirement
156
144
  requirements:
157
- - - '>='
145
+ - - ">="
158
146
  - !ruby/object:Gem::Version
159
147
  version: '0'
160
148
  type: :development
161
149
  prerelease: false
162
150
  version_requirements: !ruby/object:Gem::Requirement
163
151
  requirements:
164
- - - '>='
152
+ - - ">="
165
153
  - !ruby/object:Gem::Version
166
154
  version: '0'
167
155
  - !ruby/object:Gem::Dependency
168
156
  name: guard
169
157
  requirement: !ruby/object:Gem::Requirement
170
158
  requirements:
171
- - - '>='
159
+ - - ">="
172
160
  - !ruby/object:Gem::Version
173
161
  version: '0'
174
162
  type: :development
175
163
  prerelease: false
176
164
  version_requirements: !ruby/object:Gem::Requirement
177
165
  requirements:
178
- - - '>='
166
+ - - ">="
179
167
  - !ruby/object:Gem::Version
180
168
  version: '0'
181
169
  - !ruby/object:Gem::Dependency
182
170
  name: guard-rspec
183
171
  requirement: !ruby/object:Gem::Requirement
184
172
  requirements:
185
- - - '>='
173
+ - - ">="
186
174
  - !ruby/object:Gem::Version
187
175
  version: '0'
188
176
  type: :development
189
177
  prerelease: false
190
178
  version_requirements: !ruby/object:Gem::Requirement
191
179
  requirements:
192
- - - '>='
180
+ - - ">="
193
181
  - !ruby/object:Gem::Version
194
182
  version: '0'
195
183
  - !ruby/object:Gem::Dependency
196
184
  name: rb-fsevent
197
185
  requirement: !ruby/object:Gem::Requirement
198
186
  requirements:
199
- - - '>='
187
+ - - ">="
200
188
  - !ruby/object:Gem::Version
201
189
  version: '0'
202
190
  type: :development
203
191
  prerelease: false
204
192
  version_requirements: !ruby/object:Gem::Requirement
205
193
  requirements:
206
- - - '>='
194
+ - - ">="
207
195
  - !ruby/object:Gem::Version
208
196
  version: '0'
209
197
  - !ruby/object:Gem::Dependency
210
198
  name: terminal-notifier-guard
211
199
  requirement: !ruby/object:Gem::Requirement
212
200
  requirements:
213
- - - '>='
201
+ - - ">="
202
+ - !ruby/object:Gem::Version
203
+ version: '0'
204
+ type: :development
205
+ prerelease: false
206
+ version_requirements: !ruby/object:Gem::Requirement
207
+ requirements:
208
+ - - ">="
209
+ - !ruby/object:Gem::Version
210
+ version: '0'
211
+ - !ruby/object:Gem::Dependency
212
+ name: coveralls
213
+ requirement: !ruby/object:Gem::Requirement
214
+ requirements:
215
+ - - ">="
214
216
  - !ruby/object:Gem::Version
215
217
  version: '0'
216
218
  type: :development
217
219
  prerelease: false
218
220
  version_requirements: !ruby/object:Gem::Requirement
219
221
  requirements:
220
- - - '>='
222
+ - - ">="
221
223
  - !ruby/object:Gem::Version
222
224
  version: '0'
223
225
  description: Native fuzzy string search
@@ -229,6 +231,19 @@ extensions:
229
231
  - ext/blurrily/extconf.rb
230
232
  extra_rdoc_files: []
231
233
  files:
234
+ - LICENSE.txt
235
+ - README.md
236
+ - bin/blurrily
237
+ - ext/blurrily/blurrily.h
238
+ - ext/blurrily/extconf.rb
239
+ - ext/blurrily/map_ext.c
240
+ - ext/blurrily/search_tree.c
241
+ - ext/blurrily/search_tree.h
242
+ - ext/blurrily/storage.c
243
+ - ext/blurrily/storage.h
244
+ - ext/blurrily/tokeniser.c
245
+ - ext/blurrily/tokeniser.h
246
+ - lib/blurrily.rb
232
247
  - lib/blurrily/client.rb
233
248
  - lib/blurrily/command_processor.rb
234
249
  - lib/blurrily/defaults.rb
@@ -236,19 +251,6 @@ files:
236
251
  - lib/blurrily/map_group.rb
237
252
  - lib/blurrily/server.rb
238
253
  - lib/blurrily/version.rb
239
- - lib/blurrily.rb
240
- - ext/blurrily/map_ext.c
241
- - ext/blurrily/search_tree.c
242
- - ext/blurrily/storage.c
243
- - ext/blurrily/tokeniser.c
244
- - ext/blurrily/blurrily.h
245
- - ext/blurrily/search_tree.h
246
- - ext/blurrily/storage.h
247
- - ext/blurrily/tokeniser.h
248
- - ext/blurrily/extconf.rb
249
- - README.md
250
- - LICENSE.txt
251
- - bin/blurrily
252
254
  homepage: http://github.com/mezis/blurrily
253
255
  licenses: []
254
256
  metadata: {}
@@ -258,17 +260,17 @@ require_paths:
258
260
  - lib
259
261
  required_ruby_version: !ruby/object:Gem::Requirement
260
262
  requirements:
261
- - - '>='
263
+ - - ">="
262
264
  - !ruby/object:Gem::Version
263
265
  version: '0'
264
266
  required_rubygems_version: !ruby/object:Gem::Requirement
265
267
  requirements:
266
- - - '>='
268
+ - - ">="
267
269
  - !ruby/object:Gem::Version
268
270
  version: '0'
269
271
  requirements: []
270
272
  rubyforge_project:
271
- rubygems_version: 2.0.3
273
+ rubygems_version: 2.2.2
272
274
  signing_key:
273
275
  specification_version: 4
274
276
  summary: Native fuzzy string search