whistlepig 0.9 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +14 -0
- data/README +1 -1
- data/ext/whistlepig/query.c +1 -0
- metadata +3 -2
data/COPYING
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
Whistlepig is copyright (c) 2011-2012 William Morgan <wmorgan@masanjin.net>
|
2
|
+
All rights reserved.
|
3
|
+
|
4
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
5
|
+
|
6
|
+
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
7
|
+
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
8
|
+
* Neither the name of Whistlepig nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
9
|
+
|
10
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
11
|
+
|
12
|
+
|
13
|
+
khash.h copyright (c) 2008, by Attractive Chaos <attractivechaos@aol.co.uk>
|
14
|
+
See khash.h for terms.
|
data/README
CHANGED
@@ -8,7 +8,7 @@ the frills, Whistlepig may be for you.
|
|
8
8
|
Whistlepig is written in ANSI C99. It currently provides a C API and Ruby
|
9
9
|
bindings.
|
10
10
|
|
11
|
-
Latest version: 0.9, released 2012-03-
|
11
|
+
Latest version: 0.9.1, released 2012-03-14.
|
12
12
|
Status: beta
|
13
13
|
News: http://all-thing.net/label/whistlepig/
|
14
14
|
Homepage: http://masanjin.net/whistlepig/
|
data/ext/whistlepig/query.c
CHANGED
@@ -32,6 +32,7 @@ wp_query* wp_query_substitute(wp_query* other, const char *(*substituter)(const
|
|
32
32
|
else ret->field = NULL;
|
33
33
|
|
34
34
|
if(other->field && other->word) ret->word = substituter(other->field, other->word);
|
35
|
+
else if(other->word) ret->word = strdup(other->word); // labels have this form
|
35
36
|
else ret->word = NULL;
|
36
37
|
|
37
38
|
ret->children = ret->next = ret->last = NULL; // set below
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: whistlepig
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.9.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
12
|
+
date: 2012-03-14 21:18:35.000000000 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
description: Whistlepig is a minimalist realtime full-text search index. Its goal
|
@@ -25,6 +25,7 @@ extra_rdoc_files:
|
|
25
25
|
- ext/whistlepig/whistlepig.c
|
26
26
|
files:
|
27
27
|
- README
|
28
|
+
- COPYING
|
28
29
|
- ext/whistlepig/extconf.rb
|
29
30
|
- lib/whistlepig.rb
|
30
31
|
- ext/whistlepig/query-parser.lex.h
|