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 +7 -1
- data/lib/obscured_id/railtie.rb +9 -6
- data/lib/obscured_id/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +18 -0
- data/spec/dummy/log/test.log +622 -0
- data/spec/models/thing_with_obscured_id_spec.rb +6 -7
- metadata +46 -27
- checksums.yaml +0 -7
- data/spec/Gemfile +0 -17
- data/spec/Gemfile.lock +0 -111
- data/spec/MIT-LICENSE +0 -20
- data/spec/README.md +0 -2
- data/spec/README.rdoc +0 -3
- data/spec/obscured_id.gemspec +0 -23
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
|
-
##
|
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
|
|
data/lib/obscured_id/railtie.rb
CHANGED
@@ -1,16 +1,19 @@
|
|
1
1
|
module ObscuredId
|
2
|
-
class
|
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
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
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
|
data/lib/obscured_id/version.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
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
|
+
[1m[36m (0.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
273
|
+
Migrating to CreateThingWithObscuredIds (20130507231624)
|
274
|
+
Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
|
275
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
276
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
277
|
+
Connecting to database specified by database.yml
|
278
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
279
|
+
Migrating to CreateThingWithObscuredIds (20130507231624)
|
280
|
+
Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
|
281
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
282
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
283
|
+
Connecting to database specified by database.yml
|
284
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
285
|
+
Migrating to CreateThingWithObscuredIds (20130507231624)
|
286
|
+
Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
|
287
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
288
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
data/spec/dummy/log/test.log
CHANGED
@@ -2277,3 +2277,625 @@ Connecting to database specified by database.yml
|
|
2277
2277
|
[1m[35m (0.0ms)[0m begin transaction
|
2278
2278
|
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ?[0m [["id", 14]]
|
2279
2279
|
[1m[35m (0.7ms)[0m commit transaction
|
2280
|
+
Connecting to database specified by database.yml
|
2281
|
+
[1m[36m (0.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2282
|
+
Migrating to CreateThingWithObscuredIds (20130507231624)
|
2283
|
+
Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
|
2284
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
2285
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2286
|
+
Connecting to database specified by database.yml
|
2287
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2288
|
+
Migrating to CreateThingWithObscuredIds (20130507231624)
|
2289
|
+
Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
|
2290
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
2291
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2292
|
+
Connecting to database specified by database.yml
|
2293
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2294
|
+
Migrating to CreateThingWithObscuredIds (20130507231624)
|
2295
|
+
Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
|
2296
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
2297
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2298
|
+
Connecting to database specified by database.yml
|
2299
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2300
|
+
Migrating to CreateThingWithObscuredIds (20130507231624)
|
2301
|
+
Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
|
2302
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
2303
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
2304
|
+
Connecting to database specified by database.yml
|
2305
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2306
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2307
|
+
[1m[36mSQL (3.1ms)[0m [1mINSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2309
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2310
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2311
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2312
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2314
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = '4b356463e323797b55745f73a1cac7cb4448c6d5' WHERE "thing_with_configured_obscured_ids"."id" = 6
|
2315
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2316
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2317
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2318
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2320
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = '4b356463e323797b55745f73a1cac7cb4448c6d5' WHERE "thing_with_configured_obscured_ids"."id" = 6
|
2321
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2322
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2323
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2324
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2326
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2327
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2328
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2329
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2331
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2332
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c0f12ca981d7508e3a02efa0daf3e8dee3504ac9' WHERE "thing_with_obscured_ids"."id" = 16[0m
|
2334
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2335
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2336
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2337
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2338
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '4a2b8cc7f88074bd3dd8372f58c00cc3629ddfa4' WHERE "thing_with_obscured_ids"."id" = 15[0m
|
2340
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2341
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2342
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2343
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2344
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '4a2b8cc7f88074bd3dd8372f58c00cc3629ddfa4' WHERE "thing_with_obscured_ids"."id" = 15[0m
|
2346
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2347
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2348
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2349
|
+
[1m[36mThingWithObscuredId Load (0.1ms)[0m [1mSELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" [0m
|
2350
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2351
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2353
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2354
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2356
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2357
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2359
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2360
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2362
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2363
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2365
|
+
[1m[36mThingWithObscuredId Load (0.1ms)[0m [1mSELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000[0m
|
2366
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = '4a2b8cc7f88074bd3dd8372f58c00cc3629ddfa4' WHERE "thing_with_obscured_ids"."id" = 15
|
2367
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c0f12ca981d7508e3a02efa0daf3e8dee3504ac9' WHERE "thing_with_obscured_ids"."id" = 16[0m
|
2368
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'e2b52ae8f80cba21fcfab3112cdef76e04548a4b' WHERE "thing_with_obscured_ids"."id" = 17
|
2369
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c6157b2f970cc5d06e7ec050a5c510a5e5637a79' WHERE "thing_with_obscured_ids"."id" = 18[0m
|
2370
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = '0c19348c81d9b60b0fb61643f6cba1cc1f689830' WHERE "thing_with_obscured_ids"."id" = 19
|
2371
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "thing_with_obscured_ids" [0m
|
2372
|
+
[1m[35mThingWithObscuredId Load (0.0ms)[0m SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids"
|
2373
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2374
|
+
Connecting to database specified by database.yml
|
2375
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2376
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2377
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2379
|
+
[1m[36m (1.7ms)[0m [1mrollback transaction[0m
|
2380
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2381
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2382
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2384
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'd5c8d189f18ddaef68251a891d2808bf14d49b45' WHERE "thing_with_configured_obscured_ids"."id" = 6
|
2385
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2386
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2387
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2388
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2390
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2391
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2392
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2393
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2395
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'd5c8d189f18ddaef68251a891d2808bf14d49b45' WHERE "thing_with_configured_obscured_ids"."id" = 6[0m
|
2396
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2397
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2398
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2399
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = '83786d8af60cc615f452d49f0fe8607b0dcb9942' WHERE "thing_with_obscured_ids"."id" = 15
|
2401
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2402
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2403
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2404
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2405
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2407
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2408
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '88409a635bc8f46d87b1c07220d802d428e4945f' WHERE "thing_with_obscured_ids"."id" = 16[0m
|
2410
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2411
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2412
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2413
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2414
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '83786d8af60cc615f452d49f0fe8607b0dcb9942' WHERE "thing_with_obscured_ids"."id" = 15[0m
|
2416
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2417
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2418
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2419
|
+
[1m[36mThingWithObscuredId Load (0.1ms)[0m [1mSELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" [0m
|
2420
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2421
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2423
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2424
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2426
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2427
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2429
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2430
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2432
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2433
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2435
|
+
[1m[36mThingWithObscuredId Load (0.1ms)[0m [1mSELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000[0m
|
2436
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = '83786d8af60cc615f452d49f0fe8607b0dcb9942' WHERE "thing_with_obscured_ids"."id" = 15
|
2437
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '88409a635bc8f46d87b1c07220d802d428e4945f' WHERE "thing_with_obscured_ids"."id" = 16[0m
|
2438
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'f3a3f20c859cb1080239993761582e1ad2c3c6e6' WHERE "thing_with_obscured_ids"."id" = 17
|
2439
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'dfcd508d55ed6962bb6e1c2e854cdfe049092650' WHERE "thing_with_obscured_ids"."id" = 18[0m
|
2440
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'e8193731c61e9342bddb576d96912ea6d2b2544d' WHERE "thing_with_obscured_ids"."id" = 19
|
2441
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "thing_with_obscured_ids" [0m
|
2442
|
+
[1m[35mThingWithObscuredId Load (0.0ms)[0m SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids"
|
2443
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2444
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2445
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "thing_with_obscured_ids" SET "other_id" = 'f48fbe42983c0361acf8ad0271471c30cbb4e85b' WHERE "thing_with_obscured_ids"."id" = 15
|
2447
|
+
[1m[36m (3.3ms)[0m [1mcommit transaction[0m
|
2448
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2449
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2450
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2451
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2452
|
+
Connecting to database specified by database.yml
|
2453
|
+
Connecting to database specified by database.yml
|
2454
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2455
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2456
|
+
[1m[36mSQL (5.9ms)[0m [1mINSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2458
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'b2e5052d3fdbad69419d9b8f4a094864562cd278' WHERE "thing_with_configured_obscured_ids"."id" = 6[0m
|
2459
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2460
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2461
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2462
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2464
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'b2e5052d3fdbad69419d9b8f4a094864562cd278' WHERE "thing_with_configured_obscured_ids"."id" = 6[0m
|
2465
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2466
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2467
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2468
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2470
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2471
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2472
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2473
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2475
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2476
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2477
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2478
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2480
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2481
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '9ebf9d405bdac9000d39372cbf2e30c441f8b53a' WHERE "thing_with_obscured_ids"."id" = 17[0m
|
2483
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2484
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2485
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2486
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2487
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '10de1eb0448d0321c1fa7642df3498ceaa039a76' WHERE "thing_with_obscured_ids"."id" = 16[0m
|
2489
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2490
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2491
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2492
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2493
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '10de1eb0448d0321c1fa7642df3498ceaa039a76' WHERE "thing_with_obscured_ids"."id" = 16[0m
|
2495
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2496
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2497
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2498
|
+
[1m[36mThingWithObscuredId Load (0.1ms)[0m [1mSELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" [0m
|
2499
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2500
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ?[0m [["id", 15]]
|
2501
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2502
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2503
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2505
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2506
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2508
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2509
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2511
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2512
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2514
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2515
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2517
|
+
[1m[35mThingWithObscuredId Load (0.1ms)[0m SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
|
2518
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '10de1eb0448d0321c1fa7642df3498ceaa039a76' WHERE "thing_with_obscured_ids"."id" = 16[0m
|
2519
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = '9ebf9d405bdac9000d39372cbf2e30c441f8b53a' WHERE "thing_with_obscured_ids"."id" = 17
|
2520
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '1fd21aa2d0fe78b2d68871eabea261731fc92da6' WHERE "thing_with_obscured_ids"."id" = 18[0m
|
2521
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'acbb12d28eeb39ff41c8957b2b0626bd70e7416a' WHERE "thing_with_obscured_ids"."id" = 19
|
2522
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'a5110749fb283a01d2dfdd07d31b59b77ba6270a' WHERE "thing_with_obscured_ids"."id" = 20[0m
|
2523
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "thing_with_obscured_ids"
|
2524
|
+
[1m[36mThingWithObscuredId Load (0.0ms)[0m [1mSELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" [0m
|
2525
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2526
|
+
Connecting to database specified by database.yml
|
2527
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2528
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2529
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2530
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2531
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2532
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2533
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2534
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2535
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2536
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2537
|
+
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2539
|
+
[1m[36m (1.4ms)[0m [1mrollback transaction[0m
|
2540
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2541
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2542
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2544
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'c3d87638a3f8561bfc4e0be066b70b173cdf3a0c' WHERE "thing_with_configured_obscured_ids"."id" = 6
|
2545
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2546
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2547
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2548
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2550
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'c3d87638a3f8561bfc4e0be066b70b173cdf3a0c' WHERE "thing_with_configured_obscured_ids"."id" = 6
|
2551
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2552
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2553
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2554
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2556
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2557
|
+
Connecting to database specified by database.yml
|
2558
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2559
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2560
|
+
[1m[36mSQL (1.8ms)[0m [1mINSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2562
|
+
[1m[36m (2.1ms)[0m [1mrollback transaction[0m
|
2563
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2564
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2565
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2567
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = '4f96dac535242538862c7d2dab087174bc2bfe97' WHERE "thing_with_configured_obscured_ids"."id" = 6
|
2568
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2569
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2570
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2571
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2573
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = '4f96dac535242538862c7d2dab087174bc2bfe97' WHERE "thing_with_configured_obscured_ids"."id" = 6
|
2574
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2575
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2576
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2577
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2579
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2580
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2581
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2582
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'fff56356bd3586ffec33c63e7f81afb626738772' WHERE "thing_with_obscured_ids"."id" = 16
|
2584
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2585
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2586
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2587
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2588
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'fff56356bd3586ffec33c63e7f81afb626738772' WHERE "thing_with_obscured_ids"."id" = 16
|
2590
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2591
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2592
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2593
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2594
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2596
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2597
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '05613fff24d746c8adc7284b0eb633f927ca8fb6' WHERE "thing_with_obscured_ids"."id" = 17[0m
|
2599
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2600
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2601
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2602
|
+
[1m[36mThingWithObscuredId Load (0.1ms)[0m [1mSELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" [0m
|
2603
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2604
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ?[0m [["id", 15]]
|
2605
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2606
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2607
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2609
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2610
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2612
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2613
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2615
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2616
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2618
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2619
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2621
|
+
[1m[35mThingWithObscuredId Load (0.1ms)[0m SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
|
2622
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'fff56356bd3586ffec33c63e7f81afb626738772' WHERE "thing_with_obscured_ids"."id" = 16[0m
|
2623
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = '05613fff24d746c8adc7284b0eb633f927ca8fb6' WHERE "thing_with_obscured_ids"."id" = 17
|
2624
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '337c8bb2bc29d8ec9dae00a86db7803aaf86d2e4' WHERE "thing_with_obscured_ids"."id" = 18[0m
|
2625
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = '48c77e7b4e27e6e886621b7f8bfbeb86ffffb905' WHERE "thing_with_obscured_ids"."id" = 19
|
2626
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '1e9f9a387d82a6a5448f724ed7d5774f5565172d' WHERE "thing_with_obscured_ids"."id" = 20[0m
|
2627
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "thing_with_obscured_ids"
|
2628
|
+
[1m[36mThingWithObscuredId Load (0.1ms)[0m [1mSELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" [0m
|
2629
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2630
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2631
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "other_id" = '5827a34e61f2249ef105ad9e1065393ee4bd9b5f' WHERE "thing_with_obscured_ids"."id" = 16[0m
|
2633
|
+
[1m[35m (3.7ms)[0m commit transaction
|
2634
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2635
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2636
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2637
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2638
|
+
Connecting to database specified by database.yml
|
2639
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2640
|
+
[1m[35mSQL (2.0ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "other_id" = '6517242f4eac16915aec01ec27dede67ba7aaecd' WHERE "thing_with_obscured_ids"."id" = 17[0m
|
2642
|
+
[1m[35m (2.8ms)[0m commit transaction
|
2643
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2644
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2645
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2646
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2647
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2648
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2649
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2651
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2652
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "other_id" = 'dba3ce985dd1e17beee2f0f5edf276b408c6940f' WHERE "thing_with_obscured_ids"."id" = 19[0m
|
2654
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2655
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2656
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2657
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2658
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "other_id" = '5858bc1b8f091b52cf555d40f968c9d92080834d' WHERE "thing_with_obscured_ids"."id" = 18[0m
|
2660
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2661
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2662
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2663
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2664
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "other_id" = '5858bc1b8f091b52cf555d40f968c9d92080834d' WHERE "thing_with_obscured_ids"."id" = 18[0m
|
2666
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2667
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2668
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2669
|
+
[1m[36mThingWithObscuredId Load (0.1ms)[0m [1mSELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" [0m
|
2670
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2671
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ?[0m [["id", 15]]
|
2672
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2673
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2674
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ? [["id", 16]]
|
2675
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2676
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2677
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ?[0m [["id", 17]]
|
2678
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2679
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2680
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2682
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2683
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2685
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2686
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2688
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2689
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2691
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2692
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2694
|
+
[1m[35mThingWithObscuredId Load (0.1ms)[0m SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
|
2695
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "other_id" = '5858bc1b8f091b52cf555d40f968c9d92080834d' WHERE "thing_with_obscured_ids"."id" = 18[0m
|
2696
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "thing_with_obscured_ids" SET "other_id" = 'dba3ce985dd1e17beee2f0f5edf276b408c6940f' WHERE "thing_with_obscured_ids"."id" = 19
|
2697
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "other_id" = '991c14c058c39f6e14e345b9b9fad6e8b7b5621b' WHERE "thing_with_obscured_ids"."id" = 20[0m
|
2698
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "thing_with_obscured_ids" SET "other_id" = '5b3be8ea121037e9a7af0f938d3faba24f6878ce' WHERE "thing_with_obscured_ids"."id" = 21
|
2699
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "other_id" = '62ee5b33ef4552b1fb4c98f5d22f955da55e5783' WHERE "thing_with_obscured_ids"."id" = 22[0m
|
2700
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "thing_with_obscured_ids"
|
2701
|
+
[1m[36mThingWithObscuredId Load (0.1ms)[0m [1mSELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" [0m
|
2702
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2703
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2704
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2705
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2707
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2708
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2709
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2710
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2712
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = '2736f00593ddf5ce8afe1ad4bbd7333c16e6b1b4' WHERE "thing_with_configured_obscured_ids"."id" = 6
|
2713
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2714
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2715
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2716
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2718
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = '2736f00593ddf5ce8afe1ad4bbd7333c16e6b1b4' WHERE "thing_with_configured_obscured_ids"."id" = 6
|
2719
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2720
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2721
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2722
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2724
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2725
|
+
Connecting to database specified by database.yml
|
2726
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2727
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2728
|
+
[1m[36mSQL (1.7ms)[0m [1mINSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2730
|
+
[1m[36m (1.7ms)[0m [1mrollback transaction[0m
|
2731
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2732
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2733
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2735
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'c6b3bdba8eea9a9b5450b1dc8a333bb64713504a' WHERE "thing_with_configured_obscured_ids"."id" = 6
|
2736
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2737
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2738
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2739
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2741
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'c6b3bdba8eea9a9b5450b1dc8a333bb64713504a' WHERE "thing_with_configured_obscured_ids"."id" = 6
|
2742
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2743
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2744
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2745
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2747
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2748
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2749
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2750
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2752
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2753
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '822f8b3b9b2a1bf99cd59d9bffd29f7abe054a0f' WHERE "thing_with_obscured_ids"."id" = 19[0m
|
2755
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2756
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2757
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2758
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2759
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'cec55985126a8763febc5781bd79fae82e72998a' WHERE "thing_with_obscured_ids"."id" = 18[0m
|
2761
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2762
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2763
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2764
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2765
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'cec55985126a8763febc5781bd79fae82e72998a' WHERE "thing_with_obscured_ids"."id" = 18[0m
|
2767
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2768
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2769
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2770
|
+
[1m[36mThingWithObscuredId Load (0.1ms)[0m [1mSELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" [0m
|
2771
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2772
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ?[0m [["id", 15]]
|
2773
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2774
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2775
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ? [["id", 16]]
|
2776
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2777
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2778
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ?[0m [["id", 17]]
|
2779
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2780
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2781
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2783
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2784
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2786
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2787
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2789
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2790
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2792
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2793
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2795
|
+
[1m[35mThingWithObscuredId Load (0.1ms)[0m SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000
|
2796
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'cec55985126a8763febc5781bd79fae82e72998a' WHERE "thing_with_obscured_ids"."id" = 18[0m
|
2797
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = '822f8b3b9b2a1bf99cd59d9bffd29f7abe054a0f' WHERE "thing_with_obscured_ids"."id" = 19
|
2798
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '7f36dd39977c54b978b133ef7f3f81c4b3b561fc' WHERE "thing_with_obscured_ids"."id" = 20[0m
|
2799
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = '84a8d45d8a6251f1b645d808ac0021c2d0e5319a' WHERE "thing_with_obscured_ids"."id" = 21
|
2800
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c2701c6525ba99c06d518d18c49fc227cb44b843' WHERE "thing_with_obscured_ids"."id" = 22[0m
|
2801
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "thing_with_obscured_ids"
|
2802
|
+
[1m[36mThingWithObscuredId Load (0.0ms)[0m [1mSELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" [0m
|
2803
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2804
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2805
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "other_id" = 'e26223760bb02c590ac45063d85689a5c13dd876' WHERE "thing_with_obscured_ids"."id" = 18[0m
|
2807
|
+
[1m[35m (0.6ms)[0m commit transaction
|
2808
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2809
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2810
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2811
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2812
|
+
Connecting to database specified by database.yml
|
2813
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2814
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2815
|
+
[1m[36mSQL (1.8ms)[0m [1mINSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2817
|
+
[1m[36m (2.3ms)[0m [1mrollback transaction[0m
|
2818
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2819
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2820
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2822
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'c6f1771252d064a7a23093ebbf3ab587a3e3704d' WHERE "thing_with_configured_obscured_ids"."id" = 6
|
2823
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2824
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2825
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2826
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2828
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2829
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2830
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2831
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "thing_with_configured_obscured_ids" ("created_at", "hidden_id", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2833
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "thing_with_configured_obscured_ids" SET "hidden_id" = 'c6f1771252d064a7a23093ebbf3ab587a3e3704d' WHERE "thing_with_configured_obscured_ids"."id" = 6[0m
|
2834
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2835
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2836
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2837
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2839
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2840
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c74902786efe2aeb6d18b170b467dc633ff917a2' WHERE "thing_with_obscured_ids"."id" = 20[0m
|
2842
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2843
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2844
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2845
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2846
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c2efe9c576ca2babfbb79aa938405e88dc70a0ee' WHERE "thing_with_obscured_ids"."id" = 19[0m
|
2848
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2849
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2850
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2851
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2852
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c2efe9c576ca2babfbb79aa938405e88dc70a0ee' WHERE "thing_with_obscured_ids"."id" = 19[0m
|
2854
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2855
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2856
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2857
|
+
[1m[36mThingWithObscuredId Load (0.1ms)[0m [1mSELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" [0m
|
2858
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2859
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ?[0m [["id", 15]]
|
2860
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2861
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2862
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ? [["id", 16]]
|
2863
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2864
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2865
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ?[0m [["id", 17]]
|
2866
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2867
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2868
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "thing_with_obscured_ids" WHERE "thing_with_obscured_ids"."id" = ? [["id", 18]]
|
2869
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2870
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2871
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2873
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2874
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2876
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2877
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2879
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2880
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2882
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2883
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2885
|
+
[1m[36mThingWithObscuredId Load (0.0ms)[0m [1mSELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids" ORDER BY "thing_with_obscured_ids"."id" ASC LIMIT 1000[0m
|
2886
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c2efe9c576ca2babfbb79aa938405e88dc70a0ee' WHERE "thing_with_obscured_ids"."id" = 19
|
2887
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'c74902786efe2aeb6d18b170b467dc633ff917a2' WHERE "thing_with_obscured_ids"."id" = 20[0m
|
2888
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = '1c6988b4e41e03bb4408c1cfbf275ba1d54e670d' WHERE "thing_with_obscured_ids"."id" = 21
|
2889
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'af60ee826c70731220a60dacc881bb7093ac6523' WHERE "thing_with_obscured_ids"."id" = 22[0m
|
2890
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = '91db86185ef1e454ea7dbdee617224821e967546' WHERE "thing_with_obscured_ids"."id" = 23
|
2891
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "thing_with_obscured_ids" [0m
|
2892
|
+
[1m[35mThingWithObscuredId Load (0.0ms)[0m SELECT "thing_with_obscured_ids".* FROM "thing_with_obscured_ids"
|
2893
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2894
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2895
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "thing_with_obscured_ids" ("created_at", "obscured_id", "other_id", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "thing_with_obscured_ids" SET "other_id" = '9e8ea6fbc6189a25cef73b7345aeb08d3cacdb38' WHERE "thing_with_obscured_ids"."id" = 19
|
2897
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
2898
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2899
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2900
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2901
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
@@ -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
|
-
|
22
|
+
end
|
26
23
|
|
27
|
-
|
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::
|
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
|
-
|
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
|
-
-
|
13
|
+
- lhalff
|
8
14
|
autorequire:
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
17
|
|
12
|
-
date: 2013-
|
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
|
-
-
|
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: &
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
39
55
|
requirements:
|
40
|
-
-
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 3
|
59
|
+
segments:
|
60
|
+
- 0
|
61
|
+
version: "0"
|
41
62
|
type: :development
|
42
|
-
version_requirements: *
|
63
|
+
version_requirements: *id003
|
43
64
|
description: Add an obscured id columns to any Rails model.
|
44
65
|
email:
|
45
|
-
- email@
|
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
|
-
-
|
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
|
-
-
|
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:
|
154
|
+
rubygems_version: 1.8.25
|
130
155
|
signing_key:
|
131
|
-
specification_version:
|
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
|
data/spec/Gemfile
DELETED
@@ -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'
|
data/spec/Gemfile.lock
DELETED
@@ -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
|
data/spec/MIT-LICENSE
DELETED
@@ -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.
|
data/spec/README.md
DELETED
data/spec/README.rdoc
DELETED
data/spec/obscured_id.gemspec
DELETED
@@ -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
|