obscured_id 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +109 -0
- data/Rakefile +38 -0
- data/lib/generators/obscured_id/initializer_generator.rb +10 -0
- data/lib/generators/obscured_id/migration_generator.rb +22 -0
- data/lib/obscured_id/obscured_id.rb +63 -0
- data/lib/obscured_id/railtie.rb +26 -0
- data/lib/obscured_id/version.rb +3 -0
- data/lib/obscured_id.rb +5 -0
- data/lib/tasks/obscured_id.rake +18 -0
- data/spec/Gemfile +17 -0
- data/spec/Gemfile.lock +111 -0
- data/spec/MIT-LICENSE +20 -0
- data/spec/README.md +2 -0
- data/spec/README.rdoc +3 -0
- data/spec/Rakefile +38 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/models/thing_with_configured_obscured_id.rb +3 -0
- data/spec/dummy/app/models/thing_with_obscured_id.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config/application.rb +59 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +58 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20130507231624_create_thing_with_obscured_ids.rb +10 -0
- data/spec/dummy/db/migrate/20130507235114_create_thing_with_configured_obscured_ids.rb +8 -0
- data/spec/dummy/db/schema.rb +28 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +270 -0
- data/spec/dummy/log/test.log +2279 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/models/thing_with_configured_obscured_id_spec.rb +31 -0
- data/spec/models/thing_with_obscured_id_spec.rb +72 -0
- data/spec/obscured_id.gemspec +23 -0
- data/spec/spec_helper.rb +38 -0
- metadata +180 -0
@@ -0,0 +1,58 @@
|
|
1
|
+
Dummy::Application.routes.draw do
|
2
|
+
# The priority is based upon order of creation:
|
3
|
+
# first created -> highest priority.
|
4
|
+
|
5
|
+
# Sample of regular route:
|
6
|
+
# match 'products/:id' => 'catalog#view'
|
7
|
+
# Keep in mind you can assign values other than :controller and :action
|
8
|
+
|
9
|
+
# Sample of named route:
|
10
|
+
# match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
|
11
|
+
# This route can be invoked with purchase_url(:id => product.id)
|
12
|
+
|
13
|
+
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
14
|
+
# resources :products
|
15
|
+
|
16
|
+
# Sample resource route with options:
|
17
|
+
# resources :products do
|
18
|
+
# member do
|
19
|
+
# get 'short'
|
20
|
+
# post 'toggle'
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
# collection do
|
24
|
+
# get 'sold'
|
25
|
+
# end
|
26
|
+
# end
|
27
|
+
|
28
|
+
# Sample resource route with sub-resources:
|
29
|
+
# resources :products do
|
30
|
+
# resources :comments, :sales
|
31
|
+
# resource :seller
|
32
|
+
# end
|
33
|
+
|
34
|
+
# Sample resource route with more complex sub-resources
|
35
|
+
# resources :products do
|
36
|
+
# resources :comments
|
37
|
+
# resources :sales do
|
38
|
+
# get 'recent', :on => :collection
|
39
|
+
# end
|
40
|
+
# end
|
41
|
+
|
42
|
+
# Sample resource route within a namespace:
|
43
|
+
# namespace :admin do
|
44
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
45
|
+
# # (app/controllers/admin/products_controller.rb)
|
46
|
+
# resources :products
|
47
|
+
# end
|
48
|
+
|
49
|
+
# You can have the root of your site routed with "root"
|
50
|
+
# just remember to delete public/index.html.
|
51
|
+
# root :to => 'welcome#index'
|
52
|
+
|
53
|
+
# See how all your routes lay out with "rake routes"
|
54
|
+
|
55
|
+
# This is a legacy wild controller route that's not recommended for RESTful applications.
|
56
|
+
# Note: This route will make all actions in every controller accessible via GET requests.
|
57
|
+
# match ':controller(/:action(/:id))(.:format)'
|
58
|
+
end
|
Binary file
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# This file is auto-generated from the current state of the database. Instead
|
2
|
+
# of editing this file, please use the migrations feature of Active Record to
|
3
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
4
|
+
#
|
5
|
+
# Note that this schema.rb definition is the authoritative source for your
|
6
|
+
# database schema. If you need to create the application database on another
|
7
|
+
# system, you should be using db:schema:load, not running all the migrations
|
8
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
9
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
10
|
+
#
|
11
|
+
# It's strongly recommended to check this file into your version control system.
|
12
|
+
|
13
|
+
ActiveRecord::Schema.define(:version => 20130507235114) do
|
14
|
+
|
15
|
+
create_table "thing_with_configured_obscured_ids", :force => true do |t|
|
16
|
+
t.string "hidden_id"
|
17
|
+
t.datetime "created_at", :null => false
|
18
|
+
t.datetime "updated_at", :null => false
|
19
|
+
end
|
20
|
+
|
21
|
+
create_table "thing_with_obscured_ids", :force => true do |t|
|
22
|
+
t.string "obscured_id"
|
23
|
+
t.string "other_id"
|
24
|
+
t.datetime "created_at", :null => false
|
25
|
+
t.datetime "updated_at", :null => false
|
26
|
+
end
|
27
|
+
|
28
|
+
end
|
Binary file
|
@@ -0,0 +1,270 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
Connecting to database specified by database.yml
|
3
|
+
Connecting to database specified by database.yml
|
4
|
+
Connecting to database specified by database.yml
|
5
|
+
Connecting to database specified by database.yml
|
6
|
+
Connecting to database specified by database.yml
|
7
|
+
Connecting to database specified by database.yml
|
8
|
+
Connecting to database specified by database.yml
|
9
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
10
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
11
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
12
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
13
|
+
Migrating to CreateThingWithIds (20130507231624)
|
14
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "thing_with_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
16
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130507231624')[0m
|
17
|
+
[1m[35m (0.8ms)[0m commit transaction
|
18
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
19
|
+
Connecting to database specified by database.yml
|
20
|
+
Connecting to database specified by database.yml
|
21
|
+
Connecting to database specified by database.yml
|
22
|
+
Connecting to database specified by database.yml
|
23
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
24
|
+
[1m[35m (3.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
25
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
26
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
27
|
+
Migrating to CreateThingWithIds (20130507231624)
|
28
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
29
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
30
|
+
Connecting to database specified by database.yml
|
31
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
32
|
+
Migrating to CreateThingWithIds (20130507231624)
|
33
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
34
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
35
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "thing_with_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "obscured_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
36
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130507231624')[0m
|
37
|
+
[1m[35m (2.4ms)[0m commit transaction
|
38
|
+
Migrating to CreateThingWithSpecialObscuredIds (20130507232619)
|
39
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
40
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "thing_with_hidden_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hidden_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
41
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130507232619')[0m
|
42
|
+
[1m[35m (0.7ms)[0m commit transaction
|
43
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
44
|
+
Connecting to database specified by database.yml
|
45
|
+
Connecting to database specified by database.yml
|
46
|
+
Connecting to database specified by database.yml
|
47
|
+
[1m[36m (0.0ms)[0m [1mselect sqlite_version(*)[0m
|
48
|
+
[1m[35m (3.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
49
|
+
[1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
50
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
51
|
+
Migrating to CreateThingWithObscuredIds (20130507231624)
|
52
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
53
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "thing_with_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "obscured_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
54
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130507231624')[0m
|
55
|
+
[1m[35m (0.7ms)[0m commit transaction
|
56
|
+
Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
|
57
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
58
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "thing_with_configured_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hidden_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
59
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130507235114')[0m
|
60
|
+
[1m[35m (0.7ms)[0m commit transaction
|
61
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
62
|
+
Connecting to database specified by database.yml
|
63
|
+
Connecting to database specified by database.yml
|
64
|
+
Connecting to database specified by database.yml
|
65
|
+
Connecting to database specified by database.yml
|
66
|
+
Connecting to database specified by database.yml
|
67
|
+
Connecting to database specified by database.yml
|
68
|
+
Connecting to database specified by database.yml
|
69
|
+
Connecting to database specified by database.yml
|
70
|
+
Connecting to database specified by database.yml
|
71
|
+
Connecting to database specified by database.yml
|
72
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
73
|
+
Migrating to CreateThingWithObscuredIds (20130507231624)
|
74
|
+
Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
|
75
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
76
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
77
|
+
Connecting to database specified by database.yml
|
78
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
79
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
80
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
81
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
82
|
+
Migrating to CreateThingWithObscuredIds (20130507231624)
|
83
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
84
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "thing_with_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "obscured_id" varchar(255), "other_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
85
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130507231624')[0m
|
86
|
+
[1m[35m (0.6ms)[0m commit transaction
|
87
|
+
Migrating to CreateThingWithConfiguredObscuredIds (20130507235114)
|
88
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "thing_with_configured_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hidden_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
90
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130507235114')[0m
|
91
|
+
[1m[35m (0.7ms)[0m commit transaction
|
92
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
93
|
+
Connecting to database specified by database.yml
|
94
|
+
Connecting to database specified by database.yml
|
95
|
+
Connecting to database specified by database.yml
|
96
|
+
Connecting to database specified by database.yml
|
97
|
+
Connecting to database specified by database.yml
|
98
|
+
Connecting to database specified by database.yml
|
99
|
+
Connecting to database specified by database.yml
|
100
|
+
Connecting to database specified by database.yml
|
101
|
+
Connecting to database specified by database.yml
|
102
|
+
Connecting to database specified by database.yml
|
103
|
+
Connecting to database specified by database.yml
|
104
|
+
Connecting to database specified by database.yml
|
105
|
+
Connecting to database specified by database.yml
|
106
|
+
Connecting to database specified by database.yml
|
107
|
+
Connecting to database specified by database.yml
|
108
|
+
Connecting to database specified by database.yml
|
109
|
+
Connecting to database specified by database.yml
|
110
|
+
Connecting to database specified by database.yml
|
111
|
+
Connecting to database specified by database.yml
|
112
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
|
113
|
+
Connecting to database specified by database.yml
|
114
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
|
115
|
+
[1m[36m (0.7ms)[0m [1mselect sqlite_version(*)[0m
|
116
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "thing_with_configured_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hidden_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
117
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "thing_with_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "obscured_id" varchar(255), "other_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
118
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
119
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
120
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
121
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130507235114')[0m
|
122
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130507231624')
|
123
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
124
|
+
Connecting to database specified by database.yml
|
125
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
|
126
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
127
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
128
|
+
[1m[36m (3.0ms)[0m [1mCREATE TABLE "thing_with_configured_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hidden_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
129
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "thing_with_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "obscured_id" varchar(255), "other_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
130
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
131
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
132
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
133
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130507235114')
|
134
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130507231624')[0m
|
135
|
+
Connecting to database specified by database.yml
|
136
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
|
137
|
+
[1m[36m (0.3ms)[0m [1mselect sqlite_version(*)[0m
|
138
|
+
[1m[35m (2.4ms)[0m CREATE TABLE "thing_with_configured_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hidden_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
139
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "thing_with_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "obscured_id" varchar(255), "other_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
140
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
141
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
142
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
143
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130507235114')[0m
|
144
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130507231624')
|
145
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
146
|
+
Connecting to database specified by database.yml
|
147
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
|
148
|
+
Connecting to database specified by database.yml
|
149
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
|
150
|
+
Connecting to database specified by database.yml
|
151
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
|
152
|
+
Connecting to database specified by database.yml
|
153
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
|
154
|
+
Connecting to database specified by database.yml
|
155
|
+
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ObscuredId::HasObscuredId instead. (called from include at /Users/lhalff/Development/obscured_id/lib/obscured_id/railtie.rb:6)
|
156
|
+
Connecting to database specified by database.yml
|
157
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
158
|
+
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
159
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "thing_with_configured_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hidden_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
160
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "thing_with_obscured_ids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "obscured_id" varchar(255), "other_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
161
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
162
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
163
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
164
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130507235114')
|
165
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130507231624')[0m
|
166
|
+
Connecting to database specified by database.yml
|
167
|
+
Connecting to database specified by database.yml
|
168
|
+
Connecting to database specified by database.yml
|
169
|
+
Connecting to database specified by database.yml
|
170
|
+
Connecting to database specified by database.yml
|
171
|
+
Connecting to database specified by database.yml
|
172
|
+
Connecting to database specified by database.yml
|
173
|
+
Connecting to database specified by database.yml
|
174
|
+
Connecting to database specified by database.yml
|
175
|
+
Connecting to database specified by database.yml
|
176
|
+
Connecting to database specified by database.yml
|
177
|
+
Connecting to database specified by database.yml
|
178
|
+
Connecting to database specified by database.yml
|
179
|
+
Connecting to database specified by database.yml
|
180
|
+
Connecting to database specified by database.yml
|
181
|
+
Connecting to database specified by database.yml
|
182
|
+
Connecting to database specified by database.yml
|
183
|
+
Connecting to database specified by database.yml
|
184
|
+
Connecting to database specified by database.yml
|
185
|
+
Connecting to database specified by database.yml
|
186
|
+
Connecting to database specified by database.yml
|
187
|
+
Connecting to database specified by database.yml
|
188
|
+
Connecting to database specified by database.yml
|
189
|
+
Connecting to database specified by database.yml
|
190
|
+
Connecting to database specified by database.yml
|
191
|
+
Connecting to database specified by database.yml
|
192
|
+
Connecting to database specified by database.yml
|
193
|
+
Connecting to database specified by database.yml
|
194
|
+
Connecting to database specified by database.yml
|
195
|
+
Connecting to database specified by database.yml
|
196
|
+
Connecting to database specified by database.yml
|
197
|
+
Connecting to database specified by database.yml
|
198
|
+
Connecting to database specified by database.yml
|
199
|
+
Connecting to database specified by database.yml
|
200
|
+
Connecting to database specified by database.yml
|
201
|
+
Connecting to database specified by database.yml
|
202
|
+
Connecting to database specified by database.yml
|
203
|
+
Connecting to database specified by database.yml
|
204
|
+
Connecting to database specified by database.yml
|
205
|
+
Connecting to database specified by database.yml
|
206
|
+
Connecting to database specified by database.yml
|
207
|
+
Connecting to database specified by database.yml
|
208
|
+
Connecting to database specified by database.yml
|
209
|
+
Connecting to database specified by database.yml
|
210
|
+
Connecting to database specified by database.yml
|
211
|
+
Connecting to database specified by database.yml
|
212
|
+
Connecting to database specified by database.yml
|
213
|
+
Connecting to database specified by database.yml
|
214
|
+
Connecting to database specified by database.yml
|
215
|
+
Connecting to database specified by database.yml
|
216
|
+
Connecting to database specified by database.yml
|
217
|
+
Connecting to database specified by database.yml
|
218
|
+
Connecting to database specified by database.yml
|
219
|
+
Connecting to database specified by database.yml
|
220
|
+
Connecting to database specified by database.yml
|
221
|
+
Connecting to database specified by database.yml
|
222
|
+
Connecting to database specified by database.yml
|
223
|
+
Connecting to database specified by database.yml
|
224
|
+
Connecting to database specified by database.yml
|
225
|
+
Connecting to database specified by database.yml
|
226
|
+
Connecting to database specified by database.yml
|
227
|
+
Connecting to database specified by database.yml
|
228
|
+
Connecting to database specified by database.yml
|
229
|
+
Connecting to database specified by database.yml
|
230
|
+
Connecting to database specified by database.yml
|
231
|
+
Connecting to database specified by database.yml
|
232
|
+
Connecting to database specified by database.yml
|
233
|
+
[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
|
234
|
+
Connecting to database specified by database.yml
|
235
|
+
[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
|
236
|
+
Connecting to database specified by database.yml
|
237
|
+
[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
|
238
|
+
Connecting to database specified by database.yml
|
239
|
+
[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
|
240
|
+
Connecting to database specified by database.yml
|
241
|
+
Connecting to database specified by database.yml
|
242
|
+
[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
|
243
|
+
[1m[35mSQL (3.0ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = '8fbd9affb734e2d2d83a015b08fe7777c87d40a1' WHERE "thing_with_obscured_ids"."id" = 4
|
244
|
+
[1m[36mSQL (1.1ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'd2bae9734d9b7e72b95bbc3893621487c6ae8c10' WHERE "thing_with_obscured_ids"."id" = 5[0m
|
245
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'cd3159bda21b6487e4cd43bd6f8d7e592fadcd83' WHERE "thing_with_obscured_ids"."id" = 6
|
246
|
+
[1m[36mSQL (0.8ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '002efed7a7293efe9526fe4f9c571cc92d001e8b' WHERE "thing_with_obscured_ids"."id" = 7[0m
|
247
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = '6ee3c4cd785d1eb5ce5c0fe2d025c567bf36251b' WHERE "thing_with_obscured_ids"."id" = 8
|
248
|
+
Connecting to database specified by database.yml
|
249
|
+
Connecting to database specified by database.yml
|
250
|
+
[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
|
251
|
+
[1m[35mSQL (3.2ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = '8fbd9affb734e2d2d83a015b08fe7777c87d40a1' WHERE "thing_with_obscured_ids"."id" = 4
|
252
|
+
[1m[36mSQL (1.0ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'd2bae9734d9b7e72b95bbc3893621487c6ae8c10' WHERE "thing_with_obscured_ids"."id" = 5[0m
|
253
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'cd3159bda21b6487e4cd43bd6f8d7e592fadcd83' WHERE "thing_with_obscured_ids"."id" = 6
|
254
|
+
[1m[36mSQL (0.8ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '002efed7a7293efe9526fe4f9c571cc92d001e8b' WHERE "thing_with_obscured_ids"."id" = 7[0m
|
255
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = '6ee3c4cd785d1eb5ce5c0fe2d025c567bf36251b' WHERE "thing_with_obscured_ids"."id" = 8
|
256
|
+
Connecting to database specified by database.yml
|
257
|
+
[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
|
258
|
+
[1m[35mSQL (2.1ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = '8fbd9affb734e2d2d83a015b08fe7777c87d40a1' WHERE "thing_with_obscured_ids"."id" = 4
|
259
|
+
[1m[36mSQL (1.1ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = 'd2bae9734d9b7e72b95bbc3893621487c6ae8c10' WHERE "thing_with_obscured_ids"."id" = 5[0m
|
260
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = 'cd3159bda21b6487e4cd43bd6f8d7e592fadcd83' WHERE "thing_with_obscured_ids"."id" = 6
|
261
|
+
[1m[36mSQL (0.9ms)[0m [1mUPDATE "thing_with_obscured_ids" SET "obscured_id" = '002efed7a7293efe9526fe4f9c571cc92d001e8b' WHERE "thing_with_obscured_ids"."id" = 7[0m
|
262
|
+
[1m[35mSQL (0.8ms)[0m UPDATE "thing_with_obscured_ids" SET "obscured_id" = '6ee3c4cd785d1eb5ce5c0fe2d025c567bf36251b' WHERE "thing_with_obscured_ids"."id" = 8
|
263
|
+
Connecting to database specified by database.yml
|
264
|
+
Connecting to database specified by database.yml
|
265
|
+
Connecting to database specified by database.yml
|
266
|
+
Connecting to database specified by database.yml
|
267
|
+
Connecting to database specified by database.yml
|
268
|
+
Connecting to database specified by database.yml
|
269
|
+
Connecting to database specified by database.yml
|
270
|
+
Connecting to database specified by database.yml
|