resource_index 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/resource_index/railtie.rb +11 -0
- data/lib/resource_index/version.rb +5 -1
- data/lib/resource_index.rb +1 -0
- data/test/dummy/db/resource_index/thing/iamchert +0 -0
- 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 +64 -0
- metadata +3 -2
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'resource_index'
|
2
|
+
require 'rails'
|
3
|
+
module MournfulSettings
|
4
|
+
class Railtie < Rails::Railtie
|
5
|
+
# makes mournful_settings rake tasks available to host app
|
6
|
+
rake_tasks do
|
7
|
+
Dir[File.join(File.dirname(__FILE__),'../tasks/*.rake')].each { |f| load f }
|
8
|
+
end
|
9
|
+
|
10
|
+
end
|
11
|
+
end
|
@@ -1,10 +1,14 @@
|
|
1
1
|
module ResourceIndex
|
2
|
-
VERSION = "0.0.
|
2
|
+
VERSION = "0.0.4"
|
3
3
|
end
|
4
4
|
|
5
5
|
# History
|
6
6
|
# =======
|
7
7
|
#
|
8
|
+
# Version 0.0.4
|
9
|
+
# -------------
|
10
|
+
# Adds Railtie to allow rake tasks to be run from within host rails app
|
11
|
+
#
|
8
12
|
# Version 0.0.3
|
9
13
|
# -------------
|
10
14
|
# Adds facility to pass xapian_fu options through from search call.
|
data/lib/resource_index.rb
CHANGED
Binary file
|
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
@@ -3242,3 +3242,67 @@ Connecting to database specified by database.yml
|
|
3242
3242
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3243
3243
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "things"
|
3244
3244
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3245
|
+
Connecting to database specified by database.yml
|
3246
|
+
[1m[36m (2.1ms)[0m [1mbegin transaction[0m
|
3247
|
+
[1m[35mFixture Delete (2.5ms)[0m DELETE FROM "things"
|
3248
|
+
[1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (1, 'DAVIS', 'ED GAUGHAN', '2013-02-21 13:17:44', '2013-02-21 13:17:44')[0m
|
3249
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (2, 'BENNETT', 'ANDREW BUCKLEY', '2013-02-21 13:17:44', '2013-02-21 13:17:44')
|
3250
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (3, 'THE COLONEL', 'JASON ISAACS', '2013-02-21 13:17:44', '2013-02-21 13:17:44')[0m
|
3251
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (4, 'JANE', 'PAPRIKA STEEN', '2013-02-21 13:17:44', '2013-02-21 13:17:44')
|
3252
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (5, 'REBECCA', 'TUPPENCE MIDDLETON', '2013-02-21 13:17:44', '2013-02-21 13:17:44')[0m
|
3253
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (6, 'JO-JO', 'JOSEF WHITFIELD', '2013-02-21 13:17:44', '2013-02-21 13:17:44')
|
3254
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (7, 'WRITER/DIRECTOR', 'NICK WHITFIELD', '2013-02-21 13:17:44', '2013-02-21 13:17:44')[0m
|
3255
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (8, 'PRODUCER', 'TRACY BRIMM', '2013-02-21 13:17:44', '2013-02-21 13:17:44')
|
3256
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (9, 'PRODUCER', 'KATE MYERS', '2013-02-21 13:17:44', '2013-02-21 13:17:44')[0m
|
3257
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (10, 'PRODUCER', 'PAUL WELSH', '2013-02-21 13:17:44', '2013-02-21 13:17:44')
|
3258
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (11, 'EXECUTIVE PRODUCER', 'SUZANNE ALIZART', '2013-02-21 13:17:44', '2013-02-21 13:17:44')[0m
|
3259
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (12, 'EXECUTIVE PRODUCER', 'ROBBIE ALLEN', '2013-02-21 13:17:44', '2013-02-21 13:17:44')
|
3260
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (13, 'EXECUTIVE PRODUCER', 'ANNA SEIFERT-SPECK', '2013-02-21 13:17:44', '2013-02-21 13:17:44')[0m
|
3261
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (14, 'DIRECTOR OF PHOTOGRAPHY', 'ZAC NICHOLSON', '2013-02-21 13:17:44', '2013-02-21 13:17:44')
|
3262
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (15, 'EDITOR', 'RACHEL TUNNARD', '2013-02-21 13:17:44', '2013-02-21 13:17:44')[0m
|
3263
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (16, 'COMPOSER', 'SIMON WHITFIELD', '2013-02-21 13:17:44', '2013-02-21 13:17:44')
|
3264
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (17, 'PRODUCTION DESIGN', 'JAMES LAPSLEY', '2013-02-21 13:17:44', '2013-02-21 13:17:44')[0m
|
3265
|
+
[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-21 13:17:44', '2013-02-21 13:17:44')
|
3266
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "things" ("id", "role", "name", "created_at", "updated_at") VALUES (19, 'COSTUME DESIGN', 'ALISON MCLAUGHLIN', '2013-02-21 13:17:44', '2013-02-21 13:17:44')[0m
|
3267
|
+
[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-21 13:17:44', '2013-02-21 13:17:44')
|
3268
|
+
[1m[36m (232.1ms)[0m [1mcommit transaction[0m
|
3269
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3270
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3271
|
+
[1m[35m (0.2ms)[0m begin transaction
|
3272
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3273
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3274
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
3275
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3276
|
+
[1m[36mThing Load (0.5ms)[0m [1mSELECT "things".* FROM "things" LIMIT 1[0m
|
3277
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3278
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3279
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" LIMIT 1
|
3280
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3281
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3282
|
+
[1m[36mThing Load (0.2ms)[0m [1mSELECT "things".* FROM "things" LIMIT 1[0m
|
3283
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3284
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3285
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
3286
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3287
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
3288
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3289
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things" LIMIT 1
|
3290
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3291
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3292
|
+
[1m[36mThing Load (0.3ms)[0m [1mSELECT "things".* FROM "things" LIMIT 1[0m
|
3293
|
+
[1m[35mThing Load (0.2ms)[0m SELECT "things".* FROM "things"
|
3294
|
+
[1m[36m (1.3ms)[0m [1mSELECT COUNT(*) FROM "things" [0m
|
3295
|
+
[1m[35mThing Load (0.4ms)[0m SELECT "things".* FROM "things" LIMIT 1
|
3296
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
3297
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3298
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3299
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3300
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3301
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3302
|
+
[1m[36mThing Load (0.3ms)[0m [1mSELECT "things".* FROM "things" WHERE (role LIKE '%PRODUCER%')[0m
|
3303
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3304
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3305
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3306
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3307
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "things"
|
3308
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
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.4
|
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: 2013-02-
|
12
|
+
date: 2013-02-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -84,6 +84,7 @@ extensions: []
|
|
84
84
|
extra_rdoc_files: []
|
85
85
|
files:
|
86
86
|
- lib/resource_index/version.rb
|
87
|
+
- lib/resource_index/railtie.rb
|
87
88
|
- lib/resource_index/engine.rb
|
88
89
|
- lib/resource_index/search_engine.rb
|
89
90
|
- lib/resource_index/search.rb
|