resource_index 0.0.3 → 0.0.4

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.
@@ -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.3"
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.
@@ -1,6 +1,7 @@
1
1
  require "resource_index/engine"
2
2
  require "resource_index/search"
3
3
  require "resource_index/search_engine"
4
+ require_relative "resource_index/railtie" if defined?(Rails) # needed for rake tasks to be loaded into host app
4
5
 
5
6
  module ResourceIndex
6
7
  end
Binary file
@@ -3242,3 +3242,67 @@ Connecting to database specified by database.yml
3242
3242
   (0.0ms) begin transaction
3243
3243
   (0.1ms) SELECT COUNT(*) FROM "things"
3244
3244
   (0.1ms) rollback transaction
3245
+ Connecting to database specified by database.yml
3246
+  (2.1ms) begin transaction
3247
+ Fixture Delete (2.5ms) DELETE FROM "things"
3248
+ Fixture Insert (0.8ms) INSERT 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')
3249
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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')
3251
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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')
3253
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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')
3255
+ Fixture Insert (0.2ms) 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
+ Fixture Insert (0.1ms) INSERT 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')
3257
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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')
3259
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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')
3261
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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')
3263
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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')
3265
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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')
3267
+ Fixture Insert (0.1ms) 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
+  (232.1ms) commit transaction
3269
+  (0.1ms) begin transaction
3270
+  (0.1ms) rollback transaction
3271
+  (0.2ms) begin transaction
3272
+  (0.1ms) rollback transaction
3273
+  (0.1ms) begin transaction
3274
+  (0.2ms) rollback transaction
3275
+  (0.1ms) begin transaction
3276
+ Thing Load (0.5ms) SELECT "things".* FROM "things" LIMIT 1
3277
+  (0.1ms) rollback transaction
3278
+  (0.1ms) begin transaction
3279
+ Thing Load (0.2ms) SELECT "things".* FROM "things" LIMIT 1
3280
+  (0.1ms) rollback transaction
3281
+  (0.0ms) begin transaction
3282
+ Thing Load (0.2ms) SELECT "things".* FROM "things" LIMIT 1
3283
+  (0.1ms) rollback transaction
3284
+  (0.0ms) begin transaction
3285
+  (0.2ms) rollback transaction
3286
+  (0.1ms) begin transaction
3287
+  (0.3ms) rollback transaction
3288
+  (0.1ms) begin transaction
3289
+ Thing Load (0.2ms) SELECT "things".* FROM "things" LIMIT 1
3290
+  (0.1ms) rollback transaction
3291
+  (0.1ms) begin transaction
3292
+ Thing Load (0.3ms) SELECT "things".* FROM "things" LIMIT 1
3293
+ Thing Load (0.2ms) SELECT "things".* FROM "things"
3294
+  (1.3ms) SELECT COUNT(*) FROM "things" 
3295
+ Thing Load (0.4ms) SELECT "things".* FROM "things" LIMIT 1
3296
+  (0.2ms) rollback transaction
3297
+  (0.1ms) begin transaction
3298
+  (0.0ms) rollback transaction
3299
+  (0.0ms) begin transaction
3300
+  (0.0ms) rollback transaction
3301
+  (0.1ms) begin transaction
3302
+ Thing Load (0.3ms) SELECT "things".* FROM "things" WHERE (role LIKE '%PRODUCER%')
3303
+  (0.1ms) rollback transaction
3304
+  (0.1ms) begin transaction
3305
+  (0.1ms) rollback transaction
3306
+  (0.0ms) begin transaction
3307
+  (0.2ms) SELECT COUNT(*) FROM "things"
3308
+  (0.1ms) 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.3
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-20 00:00:00.000000000 Z
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