obscured_id 0.1.1 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -5,7 +5,7 @@ This gem provides a has_ helper to populate a field with an obscured version of
5
5
  ## Why Obscure an ID?
6
6
 
7
7
 
8
- ## Installing
8
+ ## Installation
9
9
 
10
10
  1. Add to your Gemfile:
11
11
 
@@ -103,6 +103,12 @@ And turn it back on:
103
103
 
104
104
  $ bundle install
105
105
  $ rspec spec
106
+
107
+ ## Status
108
+
109
+ * [![Travis CI](https://api.travis-ci.org/lhalff/obscured_id.png)](http://travis-ci.org/lhalff/obscured_id)
110
+ * [![Gem Version](https://badge.fury.io/rb/obscured_id.png)](http://badge.fury.io/rb/obscured_id)
111
+ * [![Dependency Status](https://gemnasium.com/lhalff/obscured_id.png)](https://gemnasium.com/lhalff/obscured_id)
106
112
 
107
113
  ## Credits
108
114
 
@@ -1,16 +1,19 @@
1
1
  module ObscuredId
2
- class Railtie < Rails::Railtie
2
+ class ObscuredIdRailtie < Rails::Railtie
3
3
  railtie_name :obscured_id
4
4
 
5
5
  initializer "obscured_id" do
6
6
  ActiveRecord::Base.send :include, ObscuredId::HasObscuredId
7
- set_defaults_from_configuration
8
7
  end
9
8
 
10
- def set_defaults_from_configuration
11
- ActiveRecord::Base.obscured_id_secret_token = (Rails.configuration.respond_to?(:obscured_id_secret_token) ? Rails.configuration.obscured_id_secret_token : nil)
12
- ActiveRecord::Base.obscured_id_field = (Rails.configuration.respond_to?(:obscured_id_field) ? Rails.configuration.obscured_id_field : :obscured_id)
13
- ActiveRecord::Base.record_obscured_ids = (Rails.configuration.respond_to?(:record_obscured_ids) ? Rails.configuration.record_obscured_ids : true)
9
+ config.to_prepare do
10
+ ObscuredIdRailtie.initialize_configuration(Rails.configuration)
11
+ end
12
+
13
+ def initialize_configuration(config)
14
+ ActiveRecord::Base.obscured_id_secret_token = (config.respond_to?(:obscured_id_secret_token) ? config.obscured_id_secret_token : nil)
15
+ ActiveRecord::Base.obscured_id_field = (config.respond_to?(:obscured_id_field) ? config.obscured_id_field : :obscured_id)
16
+ ActiveRecord::Base.record_obscured_ids = (config.respond_to?(:record_obscured_ids) ? config.record_obscured_ids : true)
14
17
  end
15
18
 
16
19
  rake_tasks do
@@ -1,3 +1,3 @@
1
1
  module ObscuredId
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.3"
3
3
  end
Binary file
@@ -268,3 +268,21 @@ Connecting to database specified by database.yml
268
268
  Connecting to database specified by database.yml
269
269
  Connecting to database specified by database.yml
270
270
  Connecting to database specified by database.yml
271
+ Connecting to database specified by database.yml
272
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
273
+ Migrating to CreateThingWithObscuredIds (20130507231624)
274
+ Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
275
+  (0.1ms) select sqlite_version(*)
276
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
277
+ Connecting to database specified by database.yml
278
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
279
+ Migrating to CreateThingWithObscuredIds (20130507231624)
280
+ Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
281
+  (0.0ms) select sqlite_version(*)
282
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
283
+ Connecting to database specified by database.yml
284
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
285
+ Migrating to CreateThingWithObscuredIds (20130507231624)
286
+ Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
287
+  (0.0ms) select sqlite_version(*)
288
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
@@ -2277,3 +2277,625 @@ Connecting to database specified by database.yml
2277
2277
   (0.0ms) begin transaction
2278
2278
  SQL (0.5ms) DELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ? [["id", 14]]
2279
2279
   (0.7ms) commit transaction
2280
+ Connecting to database specified by database.yml
2281
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2282
+ Migrating to CreateThingWithObscuredIds (20130507231624)
2283
+ Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
2284
+  (0.0ms) select sqlite_version(*)
2285
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2286
+ Connecting to database specified by database.yml
2287
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2288
+ Migrating to CreateThingWithObscuredIds (20130507231624)
2289
+ Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
2290
+  (0.0ms) select sqlite_version(*)
2291
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2292
+ Connecting to database specified by database.yml
2293
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2294
+ Migrating to CreateThingWithObscuredIds (20130507231624)
2295
+ Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
2296
+  (0.0ms) select sqlite_version(*)
2297
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2298
+ Connecting to database specified by database.yml
2299
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2300
+ Migrating to CreateThingWithObscuredIds (20130507231624)
2301
+ Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
2302
+  (0.0ms) select sqlite_version(*)
2303
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
2304
+ Connecting to database specified by database.yml
2305
+  (0.1ms) begin transaction
2306
+  (0.0ms) SAVEPOINT active_record_1
2307
+ SQL (3.1ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00], ["hidden_id", nil], ["updated_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00]]
2308
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2309
+  (0.4ms) rollback transaction
2310
+  (0.0ms) begin transaction
2311
+  (0.0ms) SAVEPOINT active_record_1
2312
+ SQL (0.3ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00], ["hidden_id", nil], ["updated_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00]]
2313
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2314
+ SQL (0.3ms) UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = '4b356463e323797b55745f73a1cac7cb4448c6d5' WHERE "thing_with_configured_obscured_ids"."id" = 6
2315
+  (0.3ms) rollback transaction
2316
+  (0.0ms) begin transaction
2317
+  (0.0ms) SAVEPOINT active_record_1
2318
+ SQL (0.4ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00], ["hidden_id", nil], ["updated_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00]]
2319
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2320
+ SQL (0.3ms) UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = '4b356463e323797b55745f73a1cac7cb4448c6d5' WHERE "thing_with_configured_obscured_ids"."id" = 6
2321
+  (0.2ms) rollback transaction
2322
+  (0.0ms) begin transaction
2323
+  (0.0ms) SAVEPOINT active_record_1
2324
+ SQL (0.3ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00], ["hidden_id", nil], ["updated_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00]]
2325
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2326
+  (0.3ms) rollback transaction
2327
+  (0.0ms) begin transaction
2328
+  (0.0ms) SAVEPOINT active_record_1
2329
+ SQL (0.8ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00]]
2330
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2331
+  (0.0ms) SAVEPOINT active_record_1
2332
+ SQL (0.4ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00]]
2333
+ SQL (0.1ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c0f12ca981d7508e3a02efa0daf3e8dee3504ac9' WHERE "thing_with_obscured_ids"."id" = 16
2334
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2335
+  (0.4ms) rollback transaction
2336
+  (0.0ms) begin transaction
2337
+  (0.0ms) SAVEPOINT active_record_1
2338
+ SQL (0.4ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00]]
2339
+ SQL (0.3ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '4a2b8cc7f88074bd3dd8372f58c00cc3629ddfa4' WHERE "thing_with_obscured_ids"."id" = 15
2340
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2341
+  (0.3ms) rollback transaction
2342
+  (0.0ms) begin transaction
2343
+  (0.0ms) SAVEPOINT active_record_1
2344
+ SQL (0.3ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00]]
2345
+ SQL (0.3ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '4a2b8cc7f88074bd3dd8372f58c00cc3629ddfa4' WHERE "thing_with_obscured_ids"."id" = 15
2346
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2347
+  (0.2ms) rollback transaction
2348
+  (0.0ms) begin transaction
2349
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" 
2350
+  (0.0ms) SAVEPOINT active_record_1
2351
+ SQL (0.3ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00]]
2352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2353
+  (0.0ms) SAVEPOINT active_record_1
2354
+ SQL (0.4ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00]]
2355
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2356
+  (0.0ms) SAVEPOINT active_record_1
2357
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00]]
2358
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2359
+  (0.0ms) SAVEPOINT active_record_1
2360
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00]]
2361
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2362
+  (0.0ms) SAVEPOINT active_record_1
2363
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:40:45 UTC +00:00]]
2364
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2365
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
2366
+ SQL (0.1ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '4a2b8cc7f88074bd3dd8372f58c00cc3629ddfa4' WHERE "thing_with_obscured_ids"."id" = 15
2367
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c0f12ca981d7508e3a02efa0daf3e8dee3504ac9' WHERE "thing_with_obscured_ids"."id" = 16
2368
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'e2b52ae8f80cba21fcfab3112cdef76e04548a4b' WHERE "thing_with_obscured_ids"."id" = 17
2369
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c6157b2f970cc5d06e7ec050a5c510a5e5637a79' WHERE "thing_with_obscured_ids"."id" = 18
2370
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '0c19348c81d9b60b0fb61643f6cba1cc1f689830' WHERE "thing_with_obscured_ids"."id" = 19
2371
+  (0.0ms) SELECT COUNT(*) FROM "thing_with_obscured_ids" 
2372
+ ThingWithObscuredId Load (0.0ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids"
2373
+  (0.2ms) rollback transaction
2374
+ Connecting to database specified by database.yml
2375
+  (0.1ms) begin transaction
2376
+  (0.0ms) SAVEPOINT active_record_1
2377
+ SQL (2.3ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00], ["hidden_id", nil], ["updated_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00]]
2378
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2379
+  (1.7ms) rollback transaction
2380
+  (0.0ms) begin transaction
2381
+  (0.0ms) SAVEPOINT active_record_1
2382
+ SQL (0.4ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00], ["hidden_id", nil], ["updated_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00]]
2383
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2384
+ SQL (0.3ms) UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'd5c8d189f18ddaef68251a891d2808bf14d49b45' WHERE "thing_with_configured_obscured_ids"."id" = 6
2385
+  (0.3ms) rollback transaction
2386
+  (0.0ms) begin transaction
2387
+  (0.0ms) SAVEPOINT active_record_1
2388
+ SQL (0.3ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00], ["hidden_id", nil], ["updated_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00]]
2389
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2390
+  (0.3ms) rollback transaction
2391
+  (0.3ms) begin transaction
2392
+  (0.0ms) SAVEPOINT active_record_1
2393
+ SQL (0.3ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00], ["hidden_id", nil], ["updated_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00]]
2394
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2395
+ SQL (0.2ms) UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'd5c8d189f18ddaef68251a891d2808bf14d49b45' WHERE "thing_with_configured_obscured_ids"."id" = 6
2396
+  (0.3ms) rollback transaction
2397
+  (0.0ms) begin transaction
2398
+  (0.0ms) SAVEPOINT active_record_1
2399
+ SQL (0.3ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00]]
2400
+ SQL (0.2ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '83786d8af60cc615f452d49f0fe8607b0dcb9942' WHERE "thing_with_obscured_ids"."id" = 15
2401
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2402
+  (0.2ms) rollback transaction
2403
+  (0.0ms) begin transaction
2404
+  (0.0ms) SAVEPOINT active_record_1
2405
+ SQL (0.3ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00]]
2406
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2407
+  (0.0ms) SAVEPOINT active_record_1
2408
+ SQL (0.2ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00]]
2409
+ SQL (0.1ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '88409a635bc8f46d87b1c07220d802d428e4945f' WHERE "thing_with_obscured_ids"."id" = 16
2410
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2411
+  (0.4ms) rollback transaction
2412
+  (0.0ms) begin transaction
2413
+  (0.0ms) SAVEPOINT active_record_1
2414
+ SQL (0.3ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00]]
2415
+ SQL (0.2ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '83786d8af60cc615f452d49f0fe8607b0dcb9942' WHERE "thing_with_obscured_ids"."id" = 15
2416
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2417
+  (0.3ms) rollback transaction
2418
+  (0.0ms) begin transaction
2419
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" 
2420
+  (0.0ms) SAVEPOINT active_record_1
2421
+ SQL (0.2ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00]]
2422
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2423
+  (0.0ms) SAVEPOINT active_record_1
2424
+ SQL (0.2ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00]]
2425
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2426
+  (0.0ms) SAVEPOINT active_record_1
2427
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00]]
2428
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2429
+  (0.0ms) SAVEPOINT active_record_1
2430
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00]]
2431
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2432
+  (0.0ms) SAVEPOINT active_record_1
2433
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00]]
2434
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2435
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
2436
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '83786d8af60cc615f452d49f0fe8607b0dcb9942' WHERE "thing_with_obscured_ids"."id" = 15
2437
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '88409a635bc8f46d87b1c07220d802d428e4945f' WHERE "thing_with_obscured_ids"."id" = 16
2438
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'f3a3f20c859cb1080239993761582e1ad2c3c6e6' WHERE "thing_with_obscured_ids"."id" = 17
2439
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'dfcd508d55ed6962bb6e1c2e854cdfe049092650' WHERE "thing_with_obscured_ids"."id" = 18
2440
+ SQL (0.1ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'e8193731c61e9342bddb576d96912ea6d2b2544d' WHERE "thing_with_obscured_ids"."id" = 19
2441
+  (0.0ms) SELECT COUNT(*) FROM "thing_with_obscured_ids" 
2442
+ ThingWithObscuredId Load (0.0ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids"
2443
+  (0.4ms) rollback transaction
2444
+  (0.0ms) begin transaction
2445
+ SQL (0.3ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Wed, 05 Jun 2013 23:41:55 UTC +00:00]]
2446
+ SQL (0.2ms) UPDATE "thing_with_obscured_ids" SET "other_id" = 'f48fbe42983c0361acf8ad0271471c30cbb4e85b' WHERE "thing_with_obscured_ids"."id" = 15
2447
+  (3.3ms) commit transaction
2448
+  (0.1ms) begin transaction
2449
+  (0.0ms) rollback transaction
2450
+  (0.0ms) begin transaction
2451
+  (0.0ms) rollback transaction
2452
+ Connecting to database specified by database.yml
2453
+ Connecting to database specified by database.yml
2454
+  (0.1ms) begin transaction
2455
+  (0.0ms) SAVEPOINT active_record_1
2456
+ SQL (5.9ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00]]
2457
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2458
+ SQL (0.2ms) UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'b2e5052d3fdbad69419d9b8f4a094864562cd278' WHERE "thing_with_configured_obscured_ids"."id" = 6
2459
+  (0.4ms) rollback transaction
2460
+  (0.0ms) begin transaction
2461
+  (0.0ms) SAVEPOINT active_record_1
2462
+ SQL (0.3ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00]]
2463
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2464
+ SQL (0.2ms) UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'b2e5052d3fdbad69419d9b8f4a094864562cd278' WHERE "thing_with_configured_obscured_ids"."id" = 6
2465
+  (0.3ms) rollback transaction
2466
+  (0.0ms) begin transaction
2467
+  (0.0ms) SAVEPOINT active_record_1
2468
+ SQL (0.2ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00]]
2469
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2470
+  (0.2ms) rollback transaction
2471
+  (0.0ms) begin transaction
2472
+  (0.0ms) SAVEPOINT active_record_1
2473
+ SQL (0.3ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00]]
2474
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2475
+  (0.4ms) rollback transaction
2476
+  (0.0ms) begin transaction
2477
+  (0.0ms) SAVEPOINT active_record_1
2478
+ SQL (0.7ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00]]
2479
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2480
+  (0.0ms) SAVEPOINT active_record_1
2481
+ SQL (0.3ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00]]
2482
+ SQL (0.1ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '9ebf9d405bdac9000d39372cbf2e30c441f8b53a' WHERE "thing_with_obscured_ids"."id" = 17
2483
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2484
+  (0.4ms) rollback transaction
2485
+  (0.0ms) begin transaction
2486
+  (0.0ms) SAVEPOINT active_record_1
2487
+ SQL (0.3ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00]]
2488
+ SQL (0.2ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '10de1eb0448d0321c1fa7642df3498ceaa039a76' WHERE "thing_with_obscured_ids"."id" = 16
2489
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2490
+  (0.3ms) rollback transaction
2491
+  (0.0ms) begin transaction
2492
+  (0.0ms) SAVEPOINT active_record_1
2493
+ SQL (0.2ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00]]
2494
+ SQL (0.2ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '10de1eb0448d0321c1fa7642df3498ceaa039a76' WHERE "thing_with_obscured_ids"."id" = 16
2495
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2496
+  (0.2ms) rollback transaction
2497
+  (0.0ms) begin transaction
2498
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" 
2499
+  (0.0ms) SAVEPOINT active_record_1
2500
+ SQL (0.2ms) DELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ? [["id", 15]]
2501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2502
+  (0.0ms) SAVEPOINT active_record_1
2503
+ SQL (0.2ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00]]
2504
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2505
+  (0.0ms) SAVEPOINT active_record_1
2506
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00]]
2507
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2508
+  (0.0ms) SAVEPOINT active_record_1
2509
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00]]
2510
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2511
+  (0.0ms) SAVEPOINT active_record_1
2512
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00]]
2513
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2514
+  (0.0ms) SAVEPOINT active_record_1
2515
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:20:16 UTC +00:00]]
2516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2517
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
2518
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '10de1eb0448d0321c1fa7642df3498ceaa039a76' WHERE "thing_with_obscured_ids"."id" = 16
2519
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '9ebf9d405bdac9000d39372cbf2e30c441f8b53a' WHERE "thing_with_obscured_ids"."id" = 17
2520
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '1fd21aa2d0fe78b2d68871eabea261731fc92da6' WHERE "thing_with_obscured_ids"."id" = 18
2521
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'acbb12d28eeb39ff41c8957b2b0626bd70e7416a' WHERE "thing_with_obscured_ids"."id" = 19
2522
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'a5110749fb283a01d2dfdd07d31b59b77ba6270a' WHERE "thing_with_obscured_ids"."id" = 20
2523
+  (0.0ms) SELECT COUNT(*) FROM "thing_with_obscured_ids"
2524
+ ThingWithObscuredId Load (0.0ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" 
2525
+  (0.3ms) rollback transaction
2526
+ Connecting to database specified by database.yml
2527
+  (0.1ms) begin transaction
2528
+  (0.0ms) rollback transaction
2529
+  (0.0ms) begin transaction
2530
+  (0.0ms) rollback transaction
2531
+  (0.0ms) begin transaction
2532
+  (0.0ms) rollback transaction
2533
+  (0.0ms) begin transaction
2534
+  (0.0ms) rollback transaction
2535
+  (0.0ms) begin transaction
2536
+  (0.0ms) SAVEPOINT active_record_1
2537
+ SQL (2.1ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:09 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:09 UTC +00:00]]
2538
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2539
+  (1.4ms) rollback transaction
2540
+  (0.1ms) begin transaction
2541
+  (0.0ms) SAVEPOINT active_record_1
2542
+ SQL (0.3ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:09 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:09 UTC +00:00]]
2543
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2544
+ SQL (0.2ms) UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'c3d87638a3f8561bfc4e0be066b70b173cdf3a0c' WHERE "thing_with_configured_obscured_ids"."id" = 6
2545
+  (0.4ms) rollback transaction
2546
+  (0.0ms) begin transaction
2547
+  (0.0ms) SAVEPOINT active_record_1
2548
+ SQL (0.2ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:09 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:09 UTC +00:00]]
2549
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2550
+ SQL (0.2ms) UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'c3d87638a3f8561bfc4e0be066b70b173cdf3a0c' WHERE "thing_with_configured_obscured_ids"."id" = 6
2551
+  (0.2ms) rollback transaction
2552
+  (0.0ms) begin transaction
2553
+  (0.0ms) SAVEPOINT active_record_1
2554
+ SQL (0.2ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:09 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:09 UTC +00:00]]
2555
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2556
+  (0.3ms) rollback transaction
2557
+ Connecting to database specified by database.yml
2558
+  (0.1ms) begin transaction
2559
+  (0.0ms) SAVEPOINT active_record_1
2560
+ SQL (1.8ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00]]
2561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2562
+  (2.1ms) rollback transaction
2563
+  (0.0ms) begin transaction
2564
+  (0.0ms) SAVEPOINT active_record_1
2565
+ SQL (0.3ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00]]
2566
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2567
+ SQL (0.2ms) UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = '4f96dac535242538862c7d2dab087174bc2bfe97' WHERE "thing_with_configured_obscured_ids"."id" = 6
2568
+  (0.4ms) rollback transaction
2569
+  (0.0ms) begin transaction
2570
+  (0.0ms) SAVEPOINT active_record_1
2571
+ SQL (0.3ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00]]
2572
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2573
+ SQL (0.2ms) UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = '4f96dac535242538862c7d2dab087174bc2bfe97' WHERE "thing_with_configured_obscured_ids"."id" = 6
2574
+  (0.2ms) rollback transaction
2575
+  (0.0ms) begin transaction
2576
+  (0.0ms) SAVEPOINT active_record_1
2577
+ SQL (0.3ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00]]
2578
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2579
+  (0.3ms) rollback transaction
2580
+  (0.0ms) begin transaction
2581
+  (0.0ms) SAVEPOINT active_record_1
2582
+ SQL (0.3ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00]]
2583
+ SQL (0.2ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'fff56356bd3586ffec33c63e7f81afb626738772' WHERE "thing_with_obscured_ids"."id" = 16
2584
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2585
+  (0.3ms) rollback transaction
2586
+  (0.0ms) begin transaction
2587
+  (0.0ms) SAVEPOINT active_record_1
2588
+ SQL (0.3ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00]]
2589
+ SQL (0.1ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'fff56356bd3586ffec33c63e7f81afb626738772' WHERE "thing_with_obscured_ids"."id" = 16
2590
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2591
+  (0.2ms) rollback transaction
2592
+  (0.0ms) begin transaction
2593
+  (0.0ms) SAVEPOINT active_record_1
2594
+ SQL (0.2ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00]]
2595
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2596
+  (0.0ms) SAVEPOINT active_record_1
2597
+ SQL (0.2ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00]]
2598
+ SQL (0.1ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '05613fff24d746c8adc7284b0eb633f927ca8fb6' WHERE "thing_with_obscured_ids"."id" = 17
2599
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2600
+  (0.4ms) rollback transaction
2601
+  (0.0ms) begin transaction
2602
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" 
2603
+  (0.0ms) SAVEPOINT active_record_1
2604
+ SQL (0.2ms) DELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ? [["id", 15]]
2605
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2606
+  (0.0ms) SAVEPOINT active_record_1
2607
+ SQL (0.2ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00]]
2608
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2609
+  (0.0ms) SAVEPOINT active_record_1
2610
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00]]
2611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2612
+  (0.0ms) SAVEPOINT active_record_1
2613
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00]]
2614
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2615
+  (0.0ms) SAVEPOINT active_record_1
2616
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00]]
2617
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2618
+  (0.0ms) SAVEPOINT active_record_1
2619
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00]]
2620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2621
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
2622
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'fff56356bd3586ffec33c63e7f81afb626738772' WHERE "thing_with_obscured_ids"."id" = 16
2623
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '05613fff24d746c8adc7284b0eb633f927ca8fb6' WHERE "thing_with_obscured_ids"."id" = 17
2624
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '337c8bb2bc29d8ec9dae00a86db7803aaf86d2e4' WHERE "thing_with_obscured_ids"."id" = 18
2625
+ SQL (0.1ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '48c77e7b4e27e6e886621b7f8bfbeb86ffffb905' WHERE "thing_with_obscured_ids"."id" = 19
2626
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '1e9f9a387d82a6a5448f724ed7d5774f5565172d' WHERE "thing_with_obscured_ids"."id" = 20
2627
+  (0.0ms) SELECT COUNT(*) FROM "thing_with_obscured_ids"
2628
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" 
2629
+  (0.3ms) rollback transaction
2630
+  (0.0ms) begin transaction
2631
+ SQL (0.4ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:34 UTC +00:00]]
2632
+ SQL (0.2ms) UPDATE "thing_with_obscured_ids" SET "other_id" = '5827a34e61f2249ef105ad9e1065393ee4bd9b5f' WHERE "thing_with_obscured_ids"."id" = 16
2633
+  (3.7ms) commit transaction
2634
+  (0.0ms) begin transaction
2635
+  (0.0ms) rollback transaction
2636
+  (0.0ms) begin transaction
2637
+  (0.0ms) rollback transaction
2638
+ Connecting to database specified by database.yml
2639
+  (0.0ms) begin transaction
2640
+ SQL (2.0ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00]]
2641
+ SQL (0.2ms) UPDATE "thing_with_obscured_ids" SET "other_id" = '6517242f4eac16915aec01ec27dede67ba7aaecd' WHERE "thing_with_obscured_ids"."id" = 17
2642
+  (2.8ms) commit transaction
2643
+  (0.0ms) begin transaction
2644
+  (0.0ms) rollback transaction
2645
+  (0.0ms) begin transaction
2646
+  (0.0ms) rollback transaction
2647
+  (0.0ms) begin transaction
2648
+  (0.0ms) SAVEPOINT active_record_1
2649
+ SQL (0.3ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00]]
2650
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2651
+  (0.0ms) SAVEPOINT active_record_1
2652
+ SQL (0.2ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00]]
2653
+ SQL (0.1ms) UPDATE "thing_with_obscured_ids" SET "other_id" = 'dba3ce985dd1e17beee2f0f5edf276b408c6940f' WHERE "thing_with_obscured_ids"."id" = 19
2654
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2655
+  (0.3ms) rollback transaction
2656
+  (0.0ms) begin transaction
2657
+  (0.0ms) SAVEPOINT active_record_1
2658
+ SQL (0.3ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00]]
2659
+ SQL (0.2ms) UPDATE "thing_with_obscured_ids" SET "other_id" = '5858bc1b8f091b52cf555d40f968c9d92080834d' WHERE "thing_with_obscured_ids"."id" = 18
2660
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2661
+  (0.3ms) rollback transaction
2662
+  (0.0ms) begin transaction
2663
+  (0.0ms) SAVEPOINT active_record_1
2664
+ SQL (0.2ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00]]
2665
+ SQL (0.2ms) UPDATE "thing_with_obscured_ids" SET "other_id" = '5858bc1b8f091b52cf555d40f968c9d92080834d' WHERE "thing_with_obscured_ids"."id" = 18
2666
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2667
+  (0.4ms) rollback transaction
2668
+  (0.0ms) begin transaction
2669
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" 
2670
+  (0.0ms) SAVEPOINT active_record_1
2671
+ SQL (0.2ms) DELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ? [["id", 15]]
2672
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2673
+  (0.0ms) SAVEPOINT active_record_1
2674
+ SQL (0.1ms) DELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ? [["id", 16]]
2675
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2676
+  (0.0ms) SAVEPOINT active_record_1
2677
+ SQL (0.0ms) DELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ? [["id", 17]]
2678
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2679
+  (0.0ms) SAVEPOINT active_record_1
2680
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00]]
2681
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2682
+  (0.0ms) SAVEPOINT active_record_1
2683
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00]]
2684
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2685
+  (0.0ms) SAVEPOINT active_record_1
2686
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00]]
2687
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2688
+  (0.0ms) SAVEPOINT active_record_1
2689
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00]]
2690
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2691
+  (0.0ms) SAVEPOINT active_record_1
2692
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00]]
2693
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2694
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
2695
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "other_id" = '5858bc1b8f091b52cf555d40f968c9d92080834d' WHERE "thing_with_obscured_ids"."id" = 18
2696
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "other_id" = 'dba3ce985dd1e17beee2f0f5edf276b408c6940f' WHERE "thing_with_obscured_ids"."id" = 19
2697
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "other_id" = '991c14c058c39f6e14e345b9b9fad6e8b7b5621b' WHERE "thing_with_obscured_ids"."id" = 20
2698
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "other_id" = '5b3be8ea121037e9a7af0f938d3faba24f6878ce' WHERE "thing_with_obscured_ids"."id" = 21
2699
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "other_id" = '62ee5b33ef4552b1fb4c98f5d22f955da55e5783' WHERE "thing_with_obscured_ids"."id" = 22
2700
+  (0.0ms) SELECT COUNT(*) FROM "thing_with_obscured_ids"
2701
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" 
2702
+  (0.4ms) rollback transaction
2703
+  (0.0ms) begin transaction
2704
+  (0.0ms) SAVEPOINT active_record_1
2705
+ SQL (0.3ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00]]
2706
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2707
+  (0.3ms) rollback transaction
2708
+  (0.0ms) begin transaction
2709
+  (0.0ms) SAVEPOINT active_record_1
2710
+ SQL (0.2ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00]]
2711
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2712
+ SQL (0.2ms) UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = '2736f00593ddf5ce8afe1ad4bbd7333c16e6b1b4' WHERE "thing_with_configured_obscured_ids"."id" = 6
2713
+  (0.3ms) rollback transaction
2714
+  (0.0ms) begin transaction
2715
+  (0.0ms) SAVEPOINT active_record_1
2716
+ SQL (0.2ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00]]
2717
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2718
+ SQL (0.2ms) UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = '2736f00593ddf5ce8afe1ad4bbd7333c16e6b1b4' WHERE "thing_with_configured_obscured_ids"."id" = 6
2719
+  (0.2ms) rollback transaction
2720
+  (0.0ms) begin transaction
2721
+  (0.0ms) SAVEPOINT active_record_1
2722
+ SQL (0.4ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:21:37 UTC +00:00]]
2723
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2724
+  (0.3ms) rollback transaction
2725
+ Connecting to database specified by database.yml
2726
+  (0.1ms) begin transaction
2727
+  (0.0ms) SAVEPOINT active_record_1
2728
+ SQL (1.7ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00]]
2729
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2730
+  (1.7ms) rollback transaction
2731
+  (0.0ms) begin transaction
2732
+  (0.0ms) SAVEPOINT active_record_1
2733
+ SQL (0.3ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00]]
2734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2735
+ SQL (0.2ms) UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'c6b3bdba8eea9a9b5450b1dc8a333bb64713504a' WHERE "thing_with_configured_obscured_ids"."id" = 6
2736
+  (0.4ms) rollback transaction
2737
+  (0.0ms) begin transaction
2738
+  (0.0ms) SAVEPOINT active_record_1
2739
+ SQL (0.4ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00]]
2740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2741
+ SQL (0.2ms) UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'c6b3bdba8eea9a9b5450b1dc8a333bb64713504a' WHERE "thing_with_configured_obscured_ids"."id" = 6
2742
+  (0.2ms) rollback transaction
2743
+  (0.0ms) begin transaction
2744
+  (0.0ms) SAVEPOINT active_record_1
2745
+ SQL (0.2ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00]]
2746
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2747
+  (0.4ms) rollback transaction
2748
+  (0.0ms) begin transaction
2749
+  (0.0ms) SAVEPOINT active_record_1
2750
+ SQL (0.3ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00]]
2751
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2752
+  (0.0ms) SAVEPOINT active_record_1
2753
+ SQL (0.2ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00]]
2754
+ SQL (0.1ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '822f8b3b9b2a1bf99cd59d9bffd29f7abe054a0f' WHERE "thing_with_obscured_ids"."id" = 19
2755
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2756
+  (0.4ms) rollback transaction
2757
+  (0.0ms) begin transaction
2758
+  (0.0ms) SAVEPOINT active_record_1
2759
+ SQL (0.2ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00]]
2760
+ SQL (0.2ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'cec55985126a8763febc5781bd79fae82e72998a' WHERE "thing_with_obscured_ids"."id" = 18
2761
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2762
+  (0.3ms) rollback transaction
2763
+  (0.0ms) begin transaction
2764
+  (0.0ms) SAVEPOINT active_record_1
2765
+ SQL (0.3ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00]]
2766
+ SQL (0.2ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'cec55985126a8763febc5781bd79fae82e72998a' WHERE "thing_with_obscured_ids"."id" = 18
2767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2768
+  (0.3ms) rollback transaction
2769
+  (0.0ms) begin transaction
2770
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" 
2771
+  (0.0ms) SAVEPOINT active_record_1
2772
+ SQL (0.2ms) DELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ? [["id", 15]]
2773
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2774
+  (0.0ms) SAVEPOINT active_record_1
2775
+ SQL (0.1ms) DELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ? [["id", 16]]
2776
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2777
+  (0.0ms) SAVEPOINT active_record_1
2778
+ SQL (0.0ms) DELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ? [["id", 17]]
2779
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2780
+  (0.0ms) SAVEPOINT active_record_1
2781
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00]]
2782
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2783
+  (0.0ms) SAVEPOINT active_record_1
2784
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00]]
2785
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2786
+  (0.0ms) SAVEPOINT active_record_1
2787
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00]]
2788
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2789
+  (0.0ms) SAVEPOINT active_record_1
2790
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00]]
2791
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2792
+  (0.0ms) SAVEPOINT active_record_1
2793
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00]]
2794
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2795
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
2796
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'cec55985126a8763febc5781bd79fae82e72998a' WHERE "thing_with_obscured_ids"."id" = 18
2797
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '822f8b3b9b2a1bf99cd59d9bffd29f7abe054a0f' WHERE "thing_with_obscured_ids"."id" = 19
2798
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '7f36dd39977c54b978b133ef7f3f81c4b3b561fc' WHERE "thing_with_obscured_ids"."id" = 20
2799
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '84a8d45d8a6251f1b645d808ac0021c2d0e5319a' WHERE "thing_with_obscured_ids"."id" = 21
2800
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c2701c6525ba99c06d518d18c49fc227cb44b843' WHERE "thing_with_obscured_ids"."id" = 22
2801
+  (0.0ms) SELECT COUNT(*) FROM "thing_with_obscured_ids"
2802
+ ThingWithObscuredId Load (0.0ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" 
2803
+  (0.3ms) rollback transaction
2804
+  (0.0ms) begin transaction
2805
+ SQL (0.4ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:14 UTC +00:00]]
2806
+ SQL (0.2ms) UPDATE "thing_with_obscured_ids" SET "other_id" = 'e26223760bb02c590ac45063d85689a5c13dd876' WHERE "thing_with_obscured_ids"."id" = 18
2807
+  (0.6ms) commit transaction
2808
+  (0.0ms) begin transaction
2809
+  (0.0ms) rollback transaction
2810
+  (0.0ms) begin transaction
2811
+  (0.0ms) rollback transaction
2812
+ Connecting to database specified by database.yml
2813
+  (0.1ms) begin transaction
2814
+  (0.0ms) SAVEPOINT active_record_1
2815
+ SQL (1.8ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00]]
2816
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2817
+  (2.3ms) rollback transaction
2818
+  (0.0ms) begin transaction
2819
+  (0.0ms) SAVEPOINT active_record_1
2820
+ SQL (0.3ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00]]
2821
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2822
+ SQL (0.2ms) UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'c6f1771252d064a7a23093ebbf3ab587a3e3704d' WHERE "thing_with_configured_obscured_ids"."id" = 6
2823
+  (0.3ms) rollback transaction
2824
+  (0.0ms) begin transaction
2825
+  (0.0ms) SAVEPOINT active_record_1
2826
+ SQL (0.2ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00]]
2827
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2828
+  (0.3ms) rollback transaction
2829
+  (0.0ms) begin transaction
2830
+  (0.0ms) SAVEPOINT active_record_1
2831
+ SQL (0.3ms) INSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00], ["hidden_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00]]
2832
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2833
+ SQL (0.3ms) UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'c6f1771252d064a7a23093ebbf3ab587a3e3704d' WHERE "thing_with_configured_obscured_ids"."id" = 6
2834
+  (0.4ms) rollback transaction
2835
+  (0.0ms) begin transaction
2836
+  (0.0ms) SAVEPOINT active_record_1
2837
+ SQL (0.3ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00]]
2838
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2839
+  (0.0ms) SAVEPOINT active_record_1
2840
+ SQL (0.2ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00]]
2841
+ SQL (0.1ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c74902786efe2aeb6d18b170b467dc633ff917a2' WHERE "thing_with_obscured_ids"."id" = 20
2842
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2843
+  (0.4ms) rollback transaction
2844
+  (0.0ms) begin transaction
2845
+  (0.0ms) SAVEPOINT active_record_1
2846
+ SQL (0.3ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00]]
2847
+ SQL (0.2ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c2efe9c576ca2babfbb79aa938405e88dc70a0ee' WHERE "thing_with_obscured_ids"."id" = 19
2848
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2849
+  (0.2ms) rollback transaction
2850
+  (0.0ms) begin transaction
2851
+  (0.0ms) SAVEPOINT active_record_1
2852
+ SQL (0.2ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00]]
2853
+ SQL (0.2ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c2efe9c576ca2babfbb79aa938405e88dc70a0ee' WHERE "thing_with_obscured_ids"."id" = 19
2854
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2855
+  (0.3ms) rollback transaction
2856
+  (0.0ms) begin transaction
2857
+ ThingWithObscuredId Load (0.1ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" 
2858
+  (0.0ms) SAVEPOINT active_record_1
2859
+ SQL (0.2ms) DELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ? [["id", 15]]
2860
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2861
+  (0.0ms) SAVEPOINT active_record_1
2862
+ SQL (0.1ms) DELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ? [["id", 16]]
2863
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2864
+  (0.0ms) SAVEPOINT active_record_1
2865
+ SQL (0.0ms) DELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ? [["id", 17]]
2866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2867
+  (0.0ms) SAVEPOINT active_record_1
2868
+ SQL (0.0ms) DELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ? [["id", 18]]
2869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2870
+  (0.0ms) SAVEPOINT active_record_1
2871
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00]]
2872
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2873
+  (0.0ms) SAVEPOINT active_record_1
2874
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00]]
2875
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2876
+  (0.0ms) SAVEPOINT active_record_1
2877
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00]]
2878
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2879
+  (0.0ms) SAVEPOINT active_record_1
2880
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00]]
2881
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2882
+  (0.0ms) SAVEPOINT active_record_1
2883
+ SQL (0.1ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00]]
2884
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2885
+ ThingWithObscuredId Load (0.0ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
2886
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c2efe9c576ca2babfbb79aa938405e88dc70a0ee' WHERE "thing_with_obscured_ids"."id" = 19
2887
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c74902786efe2aeb6d18b170b467dc633ff917a2' WHERE "thing_with_obscured_ids"."id" = 20
2888
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '1c6988b4e41e03bb4408c1cfbf275ba1d54e670d' WHERE "thing_with_obscured_ids"."id" = 21
2889
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'af60ee826c70731220a60dacc881bb7093ac6523' WHERE "thing_with_obscured_ids"."id" = 22
2890
+ SQL (0.0ms) UPDATE "thing_with_obscured_ids" SET "obscured_id" = '91db86185ef1e454ea7dbdee617224821e967546' WHERE "thing_with_obscured_ids"."id" = 23
2891
+  (0.0ms) SELECT COUNT(*) FROM "thing_with_obscured_ids" 
2892
+ ThingWithObscuredId Load (0.0ms) SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids"
2893
+  (0.3ms) rollback transaction
2894
+  (0.1ms) begin transaction
2895
+ SQL (0.3ms) INSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00], ["obscured_id", nil], ["other_id", nil], ["updated_at", Thu, 06 Jun 2013 16:22:37 UTC +00:00]]
2896
+ SQL (0.2ms) UPDATE "thing_with_obscured_ids" SET "other_id" = '9e8ea6fbc6189a25cef73b7345aeb08d3cacdb38' WHERE "thing_with_obscured_ids"."id" = 19
2897
+  (0.9ms) commit transaction
2898
+  (0.0ms) begin transaction
2899
+  (0.0ms) rollback transaction
2900
+  (0.0ms) begin transaction
2901
+  (0.0ms) rollback transaction
@@ -1,9 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe ThingWithObscuredId do
4
- after(:all) do
5
- ThingWithObscuredId.destroy_all
6
- end
7
4
 
8
5
  describe "default intialization" do
9
6
 
@@ -22,10 +19,12 @@ describe ThingWithObscuredId do
22
19
  ThingWithObscuredId.create.obscured_id.should be_nil
23
20
  ActiveRecord::Base.record_obscured_ids = true
24
21
  ThingWithObscuredId.create.obscured_id.should_not be_nil
25
- end
22
+ end
26
23
 
27
- describe :set_obscured_ids do
24
+ describe :set_obscured_ids do
28
25
  it "should update all records with an obscured id" do
26
+ ThingWithObscuredId.destroy_all
27
+
29
28
  ActiveRecord::Base.record_obscured_ids = false
30
29
  5.times.each do
31
30
  ThingWithObscuredId.create
@@ -53,7 +52,7 @@ describe ThingWithObscuredId do
53
52
  Dummy::Application.config.obscured_id_field = @field
54
53
 
55
54
  Object.send(:remove_const, 'ThingWithObscuredId')
56
- ObscuredId::Railtie.set_defaults_from_configuration
55
+ ObscuredId::ObscuredIdRailtie.initialize_configuration(Rails.configuration)
57
56
  load 'thing_with_obscured_id.rb'
58
57
 
59
58
  @thing = ThingWithObscuredId.create
@@ -69,4 +68,4 @@ describe ThingWithObscuredId do
69
68
 
70
69
  end # rails intialization
71
70
 
72
- end # ThingWithObscuredId
71
+ end # ThingWithObscuredId
metadata CHANGED
@@ -1,23 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: obscured_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ hash: 29
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 3
10
+ version: 0.1.3
5
11
  platform: ruby
6
12
  authors:
7
- - halff
13
+ - lhalff
8
14
  autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2013-05-09 00:00:00 Z
18
+ date: 2013-06-06 00:00:00 Z
13
19
  dependencies:
14
20
  - !ruby/object:Gem::Dependency
15
21
  name: rails
16
22
  prerelease: false
17
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
18
25
  requirements:
19
26
  - - ~>
20
27
  - !ruby/object:Gem::Version
28
+ hash: 21
29
+ segments:
30
+ - 3
31
+ - 2
32
+ - 13
21
33
  version: 3.2.13
22
34
  type: :runtime
23
35
  version_requirements: *id001
@@ -25,24 +37,33 @@ dependencies:
25
37
  name: sqlite3
26
38
  prerelease: false
27
39
  requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
28
41
  requirements:
29
- - &id003
30
- - ">="
42
+ - - ">="
31
43
  - !ruby/object:Gem::Version
44
+ hash: 3
45
+ segments:
46
+ - 0
32
47
  version: "0"
33
48
  type: :development
34
49
  version_requirements: *id002
35
50
  - !ruby/object:Gem::Dependency
36
51
  name: rspec-rails
37
52
  prerelease: false
38
- requirement: &id004 !ruby/object:Gem::Requirement
53
+ requirement: &id003 !ruby/object:Gem::Requirement
54
+ none: false
39
55
  requirements:
40
- - *id003
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 0
61
+ version: "0"
41
62
  type: :development
42
- version_requirements: *id004
63
+ version_requirements: *id003
43
64
  description: Add an obscured id columns to any Rails model.
44
65
  email:
45
- - email@larrhalff.com
66
+ - email@larryhalff.com
46
67
  executables: []
47
68
 
48
69
  extensions: []
@@ -97,38 +118,42 @@ files:
97
118
  - spec/dummy/Rakefile
98
119
  - spec/dummy/README.rdoc
99
120
  - spec/dummy/script/rails
100
- - spec/Gemfile
101
- - spec/Gemfile.lock
102
- - spec/MIT-LICENSE
103
121
  - spec/models/thing_with_configured_obscured_id_spec.rb
104
122
  - spec/models/thing_with_obscured_id_spec.rb
105
- - spec/obscured_id.gemspec
106
123
  - spec/Rakefile
107
- - spec/README.md
108
- - spec/README.rdoc
109
124
  - spec/spec_helper.rb
110
125
  homepage: https://github.com/lhalff/obscured_id
111
126
  licenses: []
112
127
 
113
- metadata: {}
114
-
115
128
  post_install_message:
116
129
  rdoc_options: []
117
130
 
118
131
  require_paths:
119
132
  - lib
120
133
  required_ruby_version: !ruby/object:Gem::Requirement
134
+ none: false
121
135
  requirements:
122
- - *id003
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ hash: 3
139
+ segments:
140
+ - 0
141
+ version: "0"
123
142
  required_rubygems_version: !ruby/object:Gem::Requirement
143
+ none: false
124
144
  requirements:
125
- - *id003
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ hash: 3
148
+ segments:
149
+ - 0
150
+ version: "0"
126
151
  requirements: []
127
152
 
128
153
  rubyforge_project:
129
- rubygems_version: 2.0.3
154
+ rubygems_version: 1.8.25
130
155
  signing_key:
131
- specification_version: 4
156
+ specification_version: 3
132
157
  summary: Add an obscured id columns to any Rails model.
133
158
  test_files:
134
159
  - spec/dummy/app/assets/javascripts/application.js
@@ -168,13 +193,7 @@ test_files:
168
193
  - spec/dummy/Rakefile
169
194
  - spec/dummy/README.rdoc
170
195
  - spec/dummy/script/rails
171
- - spec/Gemfile
172
- - spec/Gemfile.lock
173
- - spec/MIT-LICENSE
174
196
  - spec/models/thing_with_configured_obscured_id_spec.rb
175
197
  - spec/models/thing_with_obscured_id_spec.rb
176
- - spec/obscured_id.gemspec
177
198
  - spec/Rakefile
178
- - spec/README.md
179
- - spec/README.rdoc
180
199
  - spec/spec_helper.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- data.tar.gz: b844e043dfcd403fc938c32fe00a303af7cc4675
4
- metadata.gz: 949561664eb81ca9dd7602998beb39fe4ea223f8
5
- SHA512:
6
- data.tar.gz: 56c1c9cb003de86b46b69d0149979fd11dcaa30742c2dd02fb5a977402451a5af9b00d380c59533c1001d322e1d1bb7756d81287ffd4bad8e7f0a4149d5ecdf8
7
- metadata.gz: 441375951f64c52885ce37168cc8dedb2bf71a0716f17e6d607c1dfb702cf82d5cc0a425521454ddbb9304dd6636782879b59e483cf9acdc0c907ff1b2969798
@@ -1,17 +0,0 @@
1
- source "http://rubygems.org"
2
-
3
- # Declare your gem's dependencies in obscured_id.gemspec.
4
- # Bundler will treat runtime dependencies like base dependencies, and
5
- # development dependencies will be added by default to the :development group.
6
- gemspec
7
-
8
- # jquery-rails is used by the dummy application
9
- # gem "jquery-rails"
10
-
11
- # Declare any dependencies that are still in development here instead of in
12
- # your gemspec. These might include edge Rails or gems from your path or
13
- # Git. Remember to move these dependencies to your gemspec before releasing
14
- # your gem to rubygems.org.
15
-
16
- # To use debugger
17
- # gem 'ruby-debug'
@@ -1,111 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- obscured_id (0.0.1)
5
- rails (~> 3.2.13)
6
-
7
- GEM
8
- remote: http://rubygems.org/
9
- specs:
10
- actionmailer (3.2.13)
11
- actionpack (= 3.2.13)
12
- mail (~> 2.5.3)
13
- actionpack (3.2.13)
14
- activemodel (= 3.2.13)
15
- activesupport (= 3.2.13)
16
- builder (~> 3.0.0)
17
- erubis (~> 2.7.0)
18
- journey (~> 1.0.4)
19
- rack (~> 1.4.5)
20
- rack-cache (~> 1.2)
21
- rack-test (~> 0.6.1)
22
- sprockets (~> 2.2.1)
23
- activemodel (3.2.13)
24
- activesupport (= 3.2.13)
25
- builder (~> 3.0.0)
26
- activerecord (3.2.13)
27
- activemodel (= 3.2.13)
28
- activesupport (= 3.2.13)
29
- arel (~> 3.0.2)
30
- tzinfo (~> 0.3.29)
31
- activeresource (3.2.13)
32
- activemodel (= 3.2.13)
33
- activesupport (= 3.2.13)
34
- activesupport (3.2.13)
35
- i18n (= 0.6.1)
36
- multi_json (~> 1.0)
37
- arel (3.0.2)
38
- builder (3.0.4)
39
- diff-lcs (1.2.4)
40
- erubis (2.7.0)
41
- hike (1.2.2)
42
- i18n (0.6.1)
43
- journey (1.0.4)
44
- jquery-rails (2.2.1)
45
- railties (>= 3.0, < 5.0)
46
- thor (>= 0.14, < 2.0)
47
- json (1.7.7)
48
- mail (2.5.3)
49
- i18n (>= 0.4.0)
50
- mime-types (~> 1.16)
51
- treetop (~> 1.4.8)
52
- mime-types (1.23)
53
- multi_json (1.7.3)
54
- polyglot (0.3.3)
55
- rack (1.4.5)
56
- rack-cache (1.2)
57
- rack (>= 0.4)
58
- rack-ssl (1.3.3)
59
- rack
60
- rack-test (0.6.2)
61
- rack (>= 1.0)
62
- rails (3.2.13)
63
- actionmailer (= 3.2.13)
64
- actionpack (= 3.2.13)
65
- activerecord (= 3.2.13)
66
- activeresource (= 3.2.13)
67
- activesupport (= 3.2.13)
68
- bundler (~> 1.0)
69
- railties (= 3.2.13)
70
- railties (3.2.13)
71
- actionpack (= 3.2.13)
72
- activesupport (= 3.2.13)
73
- rack-ssl (~> 1.3.2)
74
- rake (>= 0.8.7)
75
- rdoc (~> 3.4)
76
- thor (>= 0.14.6, < 2.0)
77
- rake (10.0.4)
78
- rdoc (3.12.2)
79
- json (~> 1.4)
80
- rspec-core (2.13.1)
81
- rspec-expectations (2.13.0)
82
- diff-lcs (>= 1.1.3, < 2.0)
83
- rspec-mocks (2.13.1)
84
- rspec-rails (2.13.1)
85
- actionpack (>= 3.0)
86
- activesupport (>= 3.0)
87
- railties (>= 3.0)
88
- rspec-core (~> 2.13.0)
89
- rspec-expectations (~> 2.13.0)
90
- rspec-mocks (~> 2.13.0)
91
- sprockets (2.2.2)
92
- hike (~> 1.2)
93
- multi_json (~> 1.0)
94
- rack (~> 1.0)
95
- tilt (~> 1.1, != 1.3.0)
96
- sqlite3 (1.3.7)
97
- thor (0.18.1)
98
- tilt (1.4.0)
99
- treetop (1.4.12)
100
- polyglot
101
- polyglot (>= 0.3.1)
102
- tzinfo (0.3.37)
103
-
104
- PLATFORMS
105
- ruby
106
-
107
- DEPENDENCIES
108
- jquery-rails
109
- obscured_id!
110
- rspec-rails
111
- sqlite3
@@ -1,20 +0,0 @@
1
- Copyright 2013 YOURNAME
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,2 +0,0 @@
1
- obscured_id
2
- ===========
@@ -1,3 +0,0 @@
1
- = ObscuredId
2
-
3
- This project rocks and uses MIT-LICENSE.
@@ -1,23 +0,0 @@
1
- $:.push File.expand_path("../lib", __FILE__)
2
-
3
- # Maintain your gem's version:
4
- require "obscured_id/version"
5
-
6
- # Describe your gem and declare its dependencies:
7
- Gem::Specification.new do |s|
8
- s.name = "obscured_id"
9
- s.version = ObscuredId::VERSION
10
- s.authors = ["TODO: Your name"]
11
- s.email = ["TODO: Your email"]
12
- s.homepage = "TODO"
13
- s.summary = "TODO: Summary of ObscuredId."
14
- s.description = "TODO: Description of ObscuredId."
15
-
16
- s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"]
17
- s.test_files = Dir["test/**/*"]
18
-
19
- s.add_dependency "rails", "~> 3.2.13"
20
-
21
- s.add_development_dependency "sqlite3"
22
- s.add_development_dependency "rspec-rails"
23
- end