resource_index 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +9 -2
- data/lib/resource_index/version.rb +15 -1
- data/test/dummy/db/resource_index/thing/iamchert +1 -1
- data/test/dummy/db/resource_index/thing/position.DB +0 -0
- data/test/dummy/db/resource_index/thing/postlist.DB +0 -0
- data/test/dummy/db/resource_index/thing/spelling.DB +0 -0
- data/test/dummy/db/resource_index/thing/spelling.baseB +0 -0
- data/test/dummy/db/resource_index/thing/termlist.DB +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +61 -0
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -18,10 +18,17 @@ See /test/dummy/app/models/thing.rb
|
|
18
18
|
|
19
19
|
Add this to your Gemfile:
|
20
20
|
|
21
|
+
gem 'xapian-ruby' # or use your preferred method of installing xapian with ruby bindings
|
21
22
|
gem 'resource_index'
|
22
23
|
|
23
|
-
|
24
|
-
to
|
24
|
+
ResourceIndex uses Xapian, and therefore this needs to be installed, along
|
25
|
+
with bindings for ruby. I have found the easiest way to achieve this is to use
|
26
|
+
the 'xapian-ruby' gem.
|
27
|
+
|
28
|
+
However, if you already have xapian installed, or wish to use a shared
|
29
|
+
Xapian engine, you may wish to install Xapian and the ruby bindings manually.
|
30
|
+
For installation information see: http://xapian.org/
|
31
|
+
|
25
32
|
|
26
33
|
== Usage
|
27
34
|
|
@@ -1,3 +1,17 @@
|
|
1
1
|
module ResourceIndex
|
2
|
-
VERSION = "0.0.
|
2
|
+
VERSION = "0.0.2"
|
3
3
|
end
|
4
|
+
|
5
|
+
# History
|
6
|
+
# =======
|
7
|
+
#
|
8
|
+
# Version 0.0.2
|
9
|
+
# -------------
|
10
|
+
#
|
11
|
+
# Removes dependency on xapian-ruby. This is now a recommended option
|
12
|
+
#
|
13
|
+
# Version 0.0.1
|
14
|
+
# -------------
|
15
|
+
#
|
16
|
+
# Initial release
|
17
|
+
#
|
@@ -1 +1 @@
|
|
1
|
-
IAmChert��
|
1
|
+
IAmChert����%ތUCE�0��M�
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -2989,3 +2989,64 @@ Connecting to database specified by database.yml
|
|
2989
2989
|
[1m[35m (0.1ms)[0m rollback transaction
|
2990
2990
|
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2991
2991
|
[1m[35m (0.1ms)[0m rollback transaction
|
2992
|
+
Connecting to database specified by database.yml
|
2993
|
+
[1m[36m (1.7ms)[0m [1mbegin transaction[0m
|
2994
|
+
[1m[35mFixture Delete (2.4ms)[0m DELETE FROM "things"
|
2995
|
+
[1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (1, 'DAVIS', 'ED GAUGHAN', '2013-02-20 10:09:00', '2013-02-20 10:09:00')[0m
|
2996
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (2, 'BENNETT', 'ANDREW BUCKLEY', '2013-02-20 10:09:00', '2013-02-20 10:09:00')
|
2997
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (3, 'THE COLONEL', 'JASON ISAACS', '2013-02-20 10:09:00', '2013-02-20 10:09:00')[0m
|
2998
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (4, 'JANE', 'PAPRIKA STEEN', '2013-02-20 10:09:00', '2013-02-20 10:09:00')
|
2999
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (5, 'REBECCA', 'TUPPENCE MIDDLETON', '2013-02-20 10:09:00', '2013-02-20 10:09:00')[0m
|
3000
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (6, 'JO-JO', 'JOSEF WHITFIELD', '2013-02-20 10:09:00', '2013-02-20 10:09:00')
|
3001
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (7, 'WRITER/DIRECTOR', 'NICK WHITFIELD', '2013-02-20 10:09:00', '2013-02-20 10:09:00')[0m
|
3002
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (8, 'PRODUCER', 'TRACY BRIMM', '2013-02-20 10:09:00', '2013-02-20 10:09:00')
|
3003
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (9, 'PRODUCER', 'KATE MYERS', '2013-02-20 10:09:00', '2013-02-20 10:09:00')[0m
|
3004
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (10, 'PRODUCER', 'PAUL WELSH', '2013-02-20 10:09:00', '2013-02-20 10:09:00')
|
3005
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (11, 'EXECUTIVE PRODUCER', 'SUZANNE ALIZART', '2013-02-20 10:09:00', '2013-02-20 10:09:00')[0m
|
3006
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (12, 'EXECUTIVE PRODUCER', 'ROBBIE ALLEN', '2013-02-20 10:09:00', '2013-02-20 10:09:00')
|
3007
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (13, 'EXECUTIVE PRODUCER', 'ANNA SEIFERT-SPECK', '2013-02-20 10:09:00', '2013-02-20 10:09:00')[0m
|
3008
|
+
[1m[35mFixture Insert (0.8ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (14, 'DIRECTOR OF PHOTOGRAPHY', 'ZAC NICHOLSON', '2013-02-20 10:09:00', '2013-02-20 10:09:00')
|
3009
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (15, 'EDITOR', 'RACHEL TUNNARD', '2013-02-20 10:09:00', '2013-02-20 10:09:00')[0m
|
3010
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (16, 'COMPOSER', 'SIMON WHITFIELD', '2013-02-20 10:09:00', '2013-02-20 10:09:00')
|
3011
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (17, 'PRODUCTION DESIGN', 'JAMES LAPSLEY', '2013-02-20 10:09:00', '2013-02-20 10:09:00')[0m
|
3012
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (18, 'HAIR & MAKE UP DESIGN', 'SUSANNA PERETZ', '2013-02-20 10:09:00', '2013-02-20 10:09:00')
|
3013
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (19, 'COSTUME DESIGN', 'ALISON MCLAUGHLIN', '2013-02-20 10:09:00', '2013-02-20 10:09:00')[0m
|
3014
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (20, 'SUPERVISING SOUND EDITOR', 'JOAKIM SUNDSTROM', '2013-02-20 10:09:00', '2013-02-20 10:09:00')
|
3015
|
+
[1m[36m (142.3ms)[0m [1mcommit transaction[0m
|
3016
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3017
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3018
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3019
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3020
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3021
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3022
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3023
|
+
[1m[36mThing Load (0.7ms)[0m [1mSELECT "things".* FROM "things" LIMIT 1[0m
|
3024
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
3025
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3026
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" LIMIT 1
|
3027
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3028
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3029
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" LIMIT 1[0m
|
3030
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3031
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3032
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3033
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3034
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3035
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3036
|
+
[1m[35mThing Load (0.9ms)[0m SELECT "things".* FROM "things" LIMIT 1
|
3037
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
3038
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3039
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" LIMIT 1[0m
|
3040
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things"
|
3041
|
+
[1m[36m (1.0ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
3042
|
+
[1m[35mThing Load (0.3ms)[0m SELECT "things".* FROM "things" LIMIT 1
|
3043
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
3044
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3045
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3046
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3047
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3048
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3049
|
+
[1m[36mThing Load (0.3ms)[0m [1mSELECT "things".* FROM "things" WHERE (role LIKE '%PRODUCER%')[0m
|
3050
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3051
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3052
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resource_index
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -51,7 +51,7 @@ dependencies:
|
|
51
51
|
- - ! '>='
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '0'
|
54
|
-
type: :
|
54
|
+
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
none: false
|