pose 3.0.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +42 -19
  3. data/Rakefile +37 -5
  4. data/lib/pose/activerecord_base_additions.rb +7 -6
  5. data/{app/models → lib}/pose/assignment.rb +6 -1
  6. data/lib/pose/jobs/install.rb +27 -0
  7. data/lib/pose/jobs/reindex_all.rb +34 -0
  8. data/lib/pose/jobs/remove.rb +28 -0
  9. data/lib/pose/jobs/uninstall.rb +19 -0
  10. data/lib/pose/jobs/vacuum.rb +23 -0
  11. data/lib/pose/model_class_additions.rb +32 -14
  12. data/lib/pose/query.rb +49 -9
  13. data/lib/pose/search.rb +5 -5
  14. data/lib/pose/static_api.rb +21 -3
  15. data/lib/pose/version.rb +1 -1
  16. data/lib/pose/word.rb +33 -0
  17. data/lib/pose.rb +11 -5
  18. data/lib/tasks/pose_tasks.rake +16 -27
  19. data/spec/{dummy/db/development.sqlite3 → db/pose.sqlite3} +0 -0
  20. data/spec/factories/posable_one.rb +2 -0
  21. data/spec/factories/posable_three.rb +8 -0
  22. data/spec/factories/posable_two.rb +2 -0
  23. data/spec/factories/user.rb +2 -0
  24. data/spec/lib/pose/activerecord_base_additions_spec.rb +11 -0
  25. data/spec/{models → lib/pose}/assignment_spec.rb +5 -5
  26. data/spec/lib/pose/jobs/reindex_all_spec.rb +31 -0
  27. data/spec/lib/pose/jobs/remove_spec.rb +20 -0
  28. data/spec/lib/pose/model_class_additions_spec.rb +150 -0
  29. data/spec/lib/pose/query_spec.rb +106 -8
  30. data/spec/lib/pose/search_spec.rb +2 -22
  31. data/spec/lib/pose/word_spec.rb +68 -0
  32. data/spec/pose_api_spec.rb +33 -13
  33. data/spec/spec_helper.rb +4 -32
  34. data/spec/support/config/database.yml +51 -0
  35. data/spec/support/config/database.yml.example +16 -0
  36. data/spec/{dummy/db/migrate → support/migrations}/20130308054001_create_posable_one.rb +0 -0
  37. data/spec/{dummy/db/migrate → support/migrations}/20130308054142_create_posable_two.rb +0 -0
  38. data/spec/support/migrations/20130308054143_create_posable_three.rb +9 -0
  39. data/spec/{dummy/db/migrate → support/migrations}/20130708084009_create_users.rb +0 -0
  40. data/spec/support/migrations/20130808084009_setup_pose_specs.rb +5 -0
  41. data/spec/{dummy/app → support}/models/posable_one.rb +1 -1
  42. data/spec/support/models/posable_three.rb +10 -0
  43. data/spec/{dummy/app → support}/models/posable_two.rb +1 -1
  44. data/spec/{dummy/app → support}/models/user.rb +1 -1
  45. data/spec/support/spec_manager.rb +105 -0
  46. metadata +70 -101
  47. data/app/models/pose/word.rb +0 -22
  48. data/db/migrate/20130308144915_pose_install.rb +0 -18
  49. data/lib/generators/pose/install/install_generator.rb +0 -56
  50. data/lib/generators/pose/install/templates/install_migration.rb +0 -24
  51. data/lib/generators/pose/remove/remove_generator.rb +0 -56
  52. data/lib/generators/pose/remove/templates/remove_migration.rb +0 -23
  53. data/lib/generators/pose/upgrade/templates/upgrade_migration.rb +0 -7
  54. data/lib/generators/pose/upgrade/upgrade_generator.rb +0 -35
  55. data/lib/pose/engine.rb +0 -5
  56. data/lib/pose/helpers.rb +0 -89
  57. data/lib/pose/railtie.rb +0 -19
  58. data/spec/dummy/Rakefile +0 -7
  59. data/spec/dummy/config/application.rb +0 -23
  60. data/spec/dummy/config/boot.rb +0 -10
  61. data/spec/dummy/config/database.yml +0 -25
  62. data/spec/dummy/config/environment.rb +0 -5
  63. data/spec/dummy/config/environments/development.rb +0 -30
  64. data/spec/dummy/config/environments/production.rb +0 -81
  65. data/spec/dummy/config/environments/test.rb +0 -37
  66. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  67. data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  68. data/spec/dummy/config/initializers/inflections.rb +0 -15
  69. data/spec/dummy/config/initializers/mime_types.rb +0 -5
  70. data/spec/dummy/config/initializers/secret_token.rb +0 -7
  71. data/spec/dummy/config/initializers/session_store.rb +0 -8
  72. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  73. data/spec/dummy/config/locales/en.yml +0 -5
  74. data/spec/dummy/config/routes.rb +0 -2
  75. data/spec/dummy/config.ru +0 -4
  76. data/spec/dummy/db/schema.rb +0 -47
  77. data/spec/dummy/db/test.sqlite3 +0 -0
  78. data/spec/dummy/log/development.log +0 -309
  79. data/spec/dummy/log/test.log +0 -88518
  80. data/spec/dummy/script/rails +0 -6
  81. data/spec/lib/pose/helpers_spec.rb +0 -147
  82. data/spec/models/word_spec.rb +0 -42
@@ -1,309 +0,0 @@
1
- Connecting to database specified by database.yml
2
- Connecting to database specified by database.yml
3
-  (0.1ms) select sqlite_version(*)
4
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
5
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
6
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
7
- Migrating to InstallPose (20130308053038)
8
-  (0.0ms) begin transaction
9
-  (0.4ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pose_word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL)
10
-  (0.1ms) CREATE INDEX "index_pose_assignments_on_pose_word_id" ON "pose_assignments" ("pose_word_id")
11
-  (0.1ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
12
-  (0.1ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL) 
13
-  (0.1ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
14
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308053038')
15
-  (0.9ms) commit transaction
16
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
17
- Connecting to database specified by database.yml
18
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
19
- Migrating to InstallPose (20130308053038)
20
-  (0.1ms) select sqlite_version(*)
21
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
22
- Connecting to database specified by database.yml
23
-  (0.1ms) select sqlite_version(*)
24
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
25
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
26
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
27
- Migrating to InstallPose (20130308053038)
28
-  (0.0ms) begin transaction
29
-  (0.4ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pose_word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL)
30
-  (0.1ms) CREATE INDEX "index_pose_assignments_on_pose_word_id" ON "pose_assignments" ("pose_word_id")
31
-  (0.1ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
32
-  (0.1ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL) 
33
-  (0.1ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
34
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308053038')
35
-  (1.0ms) commit transaction
36
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
37
- Connecting to database specified by database.yml
38
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
39
-  (0.3ms) select sqlite_version(*)
40
-  (1.2ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pose_word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL) 
41
-  (0.8ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
42
-  (0.9ms) CREATE INDEX "index_pose_assignments_on_pose_word_id" ON "pose_assignments" ("pose_word_id")
43
-  (0.9ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
44
-  (1.6ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
45
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
46
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
47
-  (0.1ms) SELECT version FROM "schema_migrations"
48
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308053038')
49
- Connecting to database specified by database.yml
50
- Connecting to database specified by database.yml
51
- Connecting to database specified by database.yml
52
- Connecting to database specified by database.yml
53
- Connecting to database specified by database.yml
54
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
55
- Migrating to InstallPose (20130308053038)
56
- Migrating to CreatePosableOne (20130308054001)
57
-  (0.0ms) select sqlite_version(*)
58
-  (0.0ms) begin transaction
59
-  (0.5ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
60
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054001')
61
-  (0.8ms) commit transaction
62
- Migrating to CreatePosableTwo (20130308054142)
63
-  (0.0ms) begin transaction
64
-  (0.3ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
65
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054142')
66
-  (0.7ms) commit transaction
67
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
68
- Connecting to database specified by database.yml
69
-  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
70
-  (0.3ms) select sqlite_version(*)
71
-  (0.9ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean) 
72
-  (0.9ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
73
-  (1.0ms) DROP TABLE "pose_assignments"
74
-  (0.9ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pose_word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL)
75
-  (1.6ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
76
-  (0.9ms) CREATE INDEX "index_pose_assignments_on_pose_word_id" ON "pose_assignments" ("pose_word_id")
77
-  (0.9ms) DROP TABLE "pose_words"
78
-  (0.7ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
79
-  (0.8ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
80
-  (0.1ms) SELECT version FROM "schema_migrations"
81
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
82
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
83
- Connecting to database specified by database.yml
84
- Connecting to database specified by database.yml
85
-  (0.1ms) select sqlite_version(*)
86
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
87
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
88
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
89
- Migrating to InstallPose (20130308053038)
90
-  (0.0ms) begin transaction
91
-  (2.0ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL)
92
-  (0.1ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
93
-  (0.1ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
94
-  (0.1ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL) 
95
-  (0.1ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
96
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308053038')
97
-  (1.3ms) commit transaction
98
- Migrating to CreatePosableOne (20130308054001)
99
-  (0.0ms) begin transaction
100
-  (0.3ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
101
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054001')
102
-  (1.0ms) commit transaction
103
- Migrating to CreatePosableTwo (20130308054142)
104
-  (0.0ms) begin transaction
105
-  (0.3ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
106
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054142')
107
-  (0.7ms) commit transaction
108
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
109
- Connecting to database specified by database.yml
110
-  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
111
-  (0.2ms) select sqlite_version(*)
112
-  (1.1ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean) 
113
-  (0.8ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
114
-  (0.9ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL) 
115
-  (0.8ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
116
-  (0.9ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
117
-  (0.9ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
118
-  (0.8ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
119
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
120
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
121
-  (0.1ms) SELECT version FROM "schema_migrations"
122
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
123
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308053038')
124
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
125
- Connecting to database specified by database.yml
126
-  (0.1ms) select sqlite_version(*)
127
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
128
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
129
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
130
- Migrating to InstallPose (20130308053038)
131
-  (0.0ms) begin transaction
132
-  (0.4ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL)
133
-  (0.1ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
134
-  (0.1ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
135
-  (0.1ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL) 
136
-  (0.1ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
137
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308053038')
138
-  (1.0ms) commit transaction
139
- Migrating to CreatePosableOne (20130308054001)
140
-  (0.0ms) begin transaction
141
-  (0.3ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
142
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054001')
143
-  (0.7ms) commit transaction
144
- Migrating to CreatePosableTwo (20130308054142)
145
-  (0.0ms) begin transaction
146
-  (0.3ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
147
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054142')
148
-  (0.6ms) commit transaction
149
- Migrating to PoseInstall (20130308144915)
150
-  (0.0ms) begin transaction
151
-  (0.0ms) rollback transaction
152
- Connecting to database specified by database.yml
153
-  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
154
- Connecting to database specified by database.yml
155
-  (0.1ms) select sqlite_version(*)
156
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
157
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
158
- Connecting to database specified by database.yml
159
-  (0.1ms) select sqlite_version(*)
160
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
161
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
162
-  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
163
- Migrating to CreatePosableOne (20130308054001)
164
-  (0.0ms) begin transaction
165
-  (0.4ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
166
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054001')
167
-  (0.7ms) commit transaction
168
- Migrating to CreatePosableTwo (20130308054142)
169
-  (0.0ms) begin transaction
170
-  (0.3ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
171
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054142')
172
-  (0.7ms) commit transaction
173
- Migrating to PoseInstall (20130308144915)
174
-  (0.0ms) begin transaction
175
-  (0.0ms) rollback transaction
176
- Connecting to database specified by database.yml
177
-  (0.1ms) select sqlite_version(*)
178
-  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
179
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
180
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
181
- Migrating to CreatePosableOne (20130308054001)
182
-  (0.0ms) begin transaction
183
-  (0.4ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
184
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054001')
185
-  (0.8ms) commit transaction
186
- Migrating to CreatePosableTwo (20130308054142)
187
-  (0.0ms) begin transaction
188
-  (0.3ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
189
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054142')
190
-  (1.0ms) commit transaction
191
- Migrating to PoseInstall (20130308144915)
192
-  (0.0ms) begin transaction
193
-  (0.3ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL)
194
-  (0.1ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
195
-  (0.1ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
196
-  (0.1ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL) 
197
-  (0.1ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
198
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308144915')
199
-  (0.9ms) commit transaction
200
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
201
- Connecting to database specified by database.yml
202
-  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
203
-  (0.2ms) select sqlite_version(*)
204
-  (1.1ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean) 
205
-  (0.8ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
206
-  (0.8ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL) 
207
-  (0.8ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
208
-  (0.9ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
209
-  (1.0ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
210
-  (0.9ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
211
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
212
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
213
-  (0.1ms) SELECT version FROM "schema_migrations"
214
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308144915')
215
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
216
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
217
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
218
- Migrating to CreateUsers (20130708084009)
219
-  (0.2ms) begin transaction
220
-  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
221
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130708084009"]]
222
-  (5.5ms) commit transaction
223
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
224
-  (1.3ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean) 
225
-  (0.8ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
226
-  (0.8ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL) 
227
-  (0.8ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
228
-  (1.6ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
229
-  (0.9ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
230
-  (0.8ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
231
-  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
232
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
233
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
234
-  (0.1ms) SELECT version FROM "schema_migrations"
235
-  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130708084009')
236
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
237
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
238
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308144915')
239
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
240
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
241
-  (1.1ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean) 
242
-  (1.0ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
243
-  (0.9ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL) 
244
-  (0.9ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
245
-  (1.4ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
246
-  (1.1ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
247
-  (0.9ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
248
-  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
249
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
250
-  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
251
-  (0.1ms) SELECT version FROM "schema_migrations"
252
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130708084009')
253
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
254
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
255
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308144915')
256
-  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
257
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
258
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
259
- Migrating to CreatePosableOne (20130308054001)
260
-  (0.1ms) begin transaction
261
-  (0.7ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer) 
262
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130308054001"]]
263
-  (0.9ms) commit transaction
264
- Migrating to CreatePosableTwo (20130308054142)
265
-  (0.1ms) begin transaction
266
-  (0.5ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer) 
267
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130308054142"]]
268
-  (0.9ms) commit transaction
269
- Migrating to CreateUsers (20130708084009)
270
-  (0.1ms) begin transaction
271
-  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
272
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130708084009"]]
273
-  (1.2ms) commit transaction
274
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
275
-  (1.4ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer) 
276
-  (0.9ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer)
277
-  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
278
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
279
-  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
280
-  (0.2ms) SELECT version FROM "schema_migrations"
281
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130708084009')
282
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
283
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
284
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
285
- Migrating to PoseInstall (20130308144915)
286
-  (0.2ms) begin transaction
287
-  (0.7ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(60) NOT NULL) 
288
-  (0.2ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
289
-  (0.2ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
290
-  (0.3ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
291
-  (0.6ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
292
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130308144915"]]
293
-  (1.0ms) commit transaction
294
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
295
-  (1.3ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer) 
296
-  (0.9ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer)
297
-  (1.0ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(60) NOT NULL) 
298
-  (0.9ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
299
-  (1.3ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
300
-  (0.9ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
301
-  (1.0ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
302
-  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
303
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
304
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
305
-  (0.2ms) SELECT version FROM "schema_migrations"
306
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130708084009')
307
-  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
308
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
309
-  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308144915')