markup_attributes 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +100 -0
  4. data/Rakefile +27 -0
  5. data/app/helpers/markup_attributes_helper.rb +66 -0
  6. data/lib/markup_attributes/engine.rb +5 -0
  7. data/lib/markup_attributes/version.rb +3 -0
  8. data/lib/markup_attributes.rb +137 -0
  9. data/lib/tasks/markup_attributes_tasks.rake +4 -0
  10. data/spec/dummy/Rakefile +6 -0
  11. data/spec/dummy/app/assets/config/manifest.js +2 -0
  12. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  13. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  14. data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
  15. data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
  16. data/spec/dummy/app/controllers/application_controller.rb +2 -0
  17. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  18. data/spec/dummy/app/jobs/application_job.rb +2 -0
  19. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  20. data/spec/dummy/app/models/application_record.rb +3 -0
  21. data/spec/dummy/app/models/basic_model.rb +3 -0
  22. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  23. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  24. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  25. data/spec/dummy/bin/bundle +3 -0
  26. data/spec/dummy/bin/rails +4 -0
  27. data/spec/dummy/bin/rake +4 -0
  28. data/spec/dummy/bin/setup +33 -0
  29. data/spec/dummy/bin/update +28 -0
  30. data/spec/dummy/config/application.rb +29 -0
  31. data/spec/dummy/config/boot.rb +5 -0
  32. data/spec/dummy/config/cable.yml +10 -0
  33. data/spec/dummy/config/database.yml +14 -0
  34. data/spec/dummy/config/environment.rb +5 -0
  35. data/spec/dummy/config/environments/development.rb +46 -0
  36. data/spec/dummy/config/environments/production.rb +71 -0
  37. data/spec/dummy/config/environments/test.rb +36 -0
  38. data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
  39. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  40. data/spec/dummy/config/initializers/content_security_policy.rb +25 -0
  41. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  42. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  43. data/spec/dummy/config/initializers/inflections.rb +16 -0
  44. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  45. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  46. data/spec/dummy/config/locales/en.yml +33 -0
  47. data/spec/dummy/config/puma.rb +34 -0
  48. data/spec/dummy/config/routes.rb +3 -0
  49. data/spec/dummy/config/spring.rb +6 -0
  50. data/spec/dummy/config/storage.yml +34 -0
  51. data/spec/dummy/config.ru +5 -0
  52. data/spec/dummy/db/dummy_development.sqlite3 +0 -0
  53. data/spec/dummy/db/dummy_test.sqlite3 +0 -0
  54. data/spec/dummy/db/migrate/20190131160549_create_basic_models.rb +10 -0
  55. data/spec/dummy/db/migrate/20190131173158_translation_table_for_basic_model.rb +13 -0
  56. data/spec/dummy/db/migrate/20190201155355_add_second_attribute_to_basic_models.rb +5 -0
  57. data/spec/dummy/db/schema.rb +33 -0
  58. data/spec/dummy/log/development.log +460 -0
  59. data/spec/dummy/log/test.log +11533 -0
  60. data/spec/dummy/public/404.html +67 -0
  61. data/spec/dummy/public/422.html +67 -0
  62. data/spec/dummy/public/500.html +66 -0
  63. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  64. data/spec/dummy/public/apple-touch-icon.png +0 -0
  65. data/spec/dummy/public/favicon.ico +0 -0
  66. data/spec/helpers/markup_attributes_helper_spec.rb +170 -0
  67. data/spec/rails_helper.rb +62 -0
  68. data/spec/spec_helper.rb +96 -0
  69. data/spec/support/html_examples.rb +26 -0
  70. data/spec/support/matchers.rb +17 -0
  71. data/spec/support/textile_examples.rb +50 -0
  72. metadata +288 -0
@@ -0,0 +1,460 @@
1
+  (11.7ms) DROP DATABASE IF EXISTS "dummy_development"
2
+ ↳ .bundle/bin/rake:29
3
+  (311.8ms) DROP DATABASE IF EXISTS "dummy_test"
4
+ ↳ .bundle/bin/rake:29
5
+  (559.1ms) CREATE DATABASE "dummy_development" ENCODING = 'unicode'
6
+ ↳ .bundle/bin/rake:29
7
+  (351.4ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
8
+ ↳ .bundle/bin/rake:29
9
+  (82.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
10
+ ↳ .bundle/bin/rake:29
11
+  (5.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
12
+ ↳ .bundle/bin/rake:29
13
+  (2.1ms) SELECT pg_try_advisory_lock(1721091371569202325)
14
+ ↳ .bundle/bin/rake:29
15
+  (1.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
16
+ ↳ .bundle/bin/rake:29
17
+ ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
18
+ ↳ .bundle/bin/rake:29
19
+  (0.1ms) BEGIN
20
+ ↳ .bundle/bin/rake:29
21
+ ActiveRecord::InternalMetadata Create (3.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2019-01-30 15:31:46.155440"], ["updated_at", "2019-01-30 15:31:46.155440"]]
22
+ ↳ /Users/james/Code/lazyatom/markup_attributes/.bundle/gems/ruby/2.4.0/bundler/gems/globalize-212bd0e13320/lib/patches/active_record/persistence.rb:12
23
+  (0.3ms) COMMIT
24
+ ↳ .bundle/bin/rake:29
25
+  (0.2ms) SELECT pg_advisory_unlock(1721091371569202325)
26
+ ↳ .bundle/bin/rake:29
27
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
28
+ ↳ .bundle/bin/rake:29
29
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
30
+ ↳ .bundle/bin/rake:29
31
+  (1.2ms) SELECT pg_try_advisory_lock(1721091371569202325)
32
+ ↳ .bundle/bin/rake:29
33
+  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
34
+ ↳ .bundle/bin/rake:29
35
+ Migrating to CreateEmphasisOnlies (20190130155400)
36
+  (0.3ms) BEGIN
37
+ ↳ .bundle/bin/rake:29
38
+  (31.0ms) CREATE TABLE "emphasis_onlies" ("id" bigserial primary key, "title" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
39
+ ↳ db/migrate/20190130155400_create_emphasis_onlies.rb:3
40
+ ActiveRecord::SchemaMigration Create (1.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190130155400"]]
41
+ ↳ /Users/james/Code/lazyatom/markup_attributes/.bundle/gems/ruby/2.4.0/bundler/gems/globalize-212bd0e13320/lib/patches/active_record/persistence.rb:12
42
+  (3.3ms) COMMIT
43
+ ↳ .bundle/bin/rake:29
44
+ ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
45
+ ↳ .bundle/bin/rake:29
46
+  (0.2ms) BEGIN
47
+ ↳ .bundle/bin/rake:29
48
+  (0.1ms) COMMIT
49
+ ↳ .bundle/bin/rake:29
50
+  (0.2ms) SELECT pg_advisory_unlock(1721091371569202325)
51
+ ↳ .bundle/bin/rake:29
52
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
53
+ ↳ .bundle/bin/rake:29
54
+  (0.1ms) SELECT pg_try_advisory_lock(1721091371569202325)
55
+ ↳ .bundle/bin/rake:29
56
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
57
+ ↳ .bundle/bin/rake:29
58
+ Migrating to CreateFullMarkups (20190130165106)
59
+  (0.1ms) BEGIN
60
+ ↳ .bundle/bin/rake:29
61
+  (5.9ms) CREATE TABLE "full_markups" ("id" bigserial primary key, "description" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
62
+ ↳ db/migrate/20190130165106_create_full_markups.rb:3
63
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190130165106"]]
64
+ ↳ /Users/james/Code/lazyatom/markup_attributes/.bundle/gems/ruby/2.4.0/bundler/gems/globalize-212bd0e13320/lib/patches/active_record/persistence.rb:12
65
+  (2.2ms) COMMIT
66
+ ↳ .bundle/bin/rake:29
67
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
68
+ ↳ .bundle/bin/rake:29
69
+  (0.1ms) BEGIN
70
+ ↳ .bundle/bin/rake:29
71
+  (0.1ms) COMMIT
72
+ ↳ .bundle/bin/rake:29
73
+  (0.2ms) SELECT pg_advisory_unlock(1721091371569202325)
74
+ ↳ .bundle/bin/rake:29
75
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
76
+ ↳ .bundle/bin/rake:29
77
+  (0.2ms) SELECT pg_try_advisory_lock(1721091371569202325)
78
+ ↳ .bundle/bin/rake:29
79
+  (2.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
80
+ ↳ .bundle/bin/rake:29
81
+ Migrating to CreateLinksOnlies (20190130175039)
82
+  (0.2ms) BEGIN
83
+ ↳ .bundle/bin/rake:29
84
+  (10.9ms) CREATE TABLE "links_onlies" ("id" bigserial primary key, "description" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
85
+ ↳ db/migrate/20190130175039_create_links_onlies.rb:3
86
+ ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190130175039"]]
87
+ ↳ /Users/james/Code/lazyatom/markup_attributes/.bundle/gems/ruby/2.4.0/bundler/gems/globalize-212bd0e13320/lib/patches/active_record/persistence.rb:12
88
+  (2.1ms) COMMIT
89
+ ↳ .bundle/bin/rake:29
90
+ ActiveRecord::InternalMetadata Load (1.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
91
+ ↳ .bundle/bin/rake:29
92
+  (0.2ms) BEGIN
93
+ ↳ .bundle/bin/rake:29
94
+  (0.1ms) COMMIT
95
+ ↳ .bundle/bin/rake:29
96
+  (0.2ms) SELECT pg_advisory_unlock(1721091371569202325)
97
+ ↳ .bundle/bin/rake:29
98
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
99
+ ↳ .bundle/bin/rake:29
100
+ EmphasisOnly Load (2.8ms) SELECT "emphasis_onlies".* FROM "emphasis_onlies" ORDER BY "emphasis_onlies"."id" ASC LIMIT $1 [["LIMIT", 1]]
101
+ EmphasisOnly Load (2.4ms) SELECT "emphasis_onlies".* FROM "emphasis_onlies" ORDER BY "emphasis_onlies"."id" ASC LIMIT $1 [["LIMIT", 1]]
102
+  (0.2ms) BEGIN
103
+ EmphasisOnly Create (2.8ms) INSERT INTO "emphasis_onlies" ("title", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["title", "wello"], ["created_at", "2019-01-31 15:42:20.035352"], ["updated_at", "2019-01-31 15:42:20.035352"]]
104
+  (0.6ms) COMMIT
105
+  (2.7ms) SELECT COUNT(*) FROM "emphasis_onlies"
106
+ EmphasisOnly Load (0.2ms) SELECT "emphasis_onlies".* FROM "emphasis_onlies" ORDER BY "emphasis_onlies"."id" ASC LIMIT $1 [["LIMIT", 1]]
107
+ EmphasisOnly Load (0.3ms) SELECT "emphasis_onlies".* FROM "emphasis_onlies" ORDER BY "emphasis_onlies"."id" ASC LIMIT $1 [["LIMIT", 1]]
108
+ EmphasisOnly Load (0.3ms) SELECT "emphasis_onlies".* FROM "emphasis_onlies" ORDER BY "emphasis_onlies"."id" ASC LIMIT $1 [["LIMIT", 1]]
109
+ EmphasisOnly Load (0.6ms) SELECT "emphasis_onlies".* FROM "emphasis_onlies" ORDER BY "emphasis_onlies"."id" ASC LIMIT $1 [["LIMIT", 1]]
110
+ EmphasisOnly Load (0.3ms) SELECT "emphasis_onlies".* FROM "emphasis_onlies" ORDER BY "emphasis_onlies"."id" ASC LIMIT $1 [["LIMIT", 1]]
111
+ EmphasisOnly Load (0.3ms) SELECT "emphasis_onlies".* FROM "emphasis_onlies" ORDER BY "emphasis_onlies"."id" ASC LIMIT $1 [["LIMIT", 1]]
112
+ EmphasisOnly Load (0.7ms) SELECT "emphasis_onlies".* FROM "emphasis_onlies" ORDER BY "emphasis_onlies"."id" ASC LIMIT $1 [["LIMIT", 1]]
113
+ EmphasisOnly Load (0.4ms) SELECT "emphasis_onlies".* FROM "emphasis_onlies" ORDER BY "emphasis_onlies"."id" ASC LIMIT $1 [["LIMIT", 1]]
114
+ EmphasisOnly Load (0.9ms) SELECT "emphasis_onlies".* FROM "emphasis_onlies" ORDER BY "emphasis_onlies"."id" ASC LIMIT $1 [["LIMIT", 1]]
115
+ EmphasisOnly Load (0.3ms) SELECT "emphasis_onlies".* FROM "emphasis_onlies" ORDER BY "emphasis_onlies"."id" ASC LIMIT $1 [["LIMIT", 1]]
116
+ EmphasisOnly Load (0.5ms) SELECT "emphasis_onlies".* FROM "emphasis_onlies" ORDER BY "emphasis_onlies"."id" ASC LIMIT $1 [["LIMIT", 1]]
117
+  (1.8ms) SELECT sqlite_version(*)
118
+ ↳ bin/rake:4
119
+  (17.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
120
+ ↳ bin/rake:4
121
+  (2.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
122
+ ↳ bin/rake:4
123
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
124
+ ↳ bin/rake:4
125
+ Migrating to CreateBasicModels (20190131160549)
126
+  (0.1ms) begin transaction
127
+ ↳ bin/rake:4
128
+  (0.5ms) CREATE TABLE "basic_models" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
129
+ ↳ db/migrate/20190131160549_create_basic_models.rb:3
130
+ ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190131160549"]]
131
+ ↳ bin/rake:4
132
+  (1.3ms) commit transaction
133
+ ↳ bin/rake:4
134
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
135
+ ↳ bin/rake:4
136
+  (0.1ms) begin transaction
137
+ ↳ bin/rake:4
138
+ ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-01-31 16:06:00.447254"], ["updated_at", "2019-01-31 16:06:00.447254"]]
139
+ ↳ bin/rake:4
140
+  (0.6ms) commit transaction
141
+ ↳ bin/rake:4
142
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
143
+ ↳ bin/rake:4
144
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
145
+ ↳ .bundle/bin/rake:29
146
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
147
+ ↳ .bundle/bin/rake:29
148
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
149
+ ↳ .bundle/bin/rake:29
150
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
151
+ ↳ .bundle/bin/rake:29
152
+ Migrating to CreateBasicModels (20190131160549)
153
+  (0.0ms) begin transaction
154
+ ↳ .bundle/bin/rake:29
155
+  (0.6ms) DROP TABLE "basic_models"
156
+ ↳ .bundle/bin/rake:29
157
+ ActiveRecord::SchemaMigration Destroy (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20190131160549"]]
158
+ ↳ .bundle/bin/rake:29
159
+  (1.6ms) commit transaction
160
+ ↳ .bundle/bin/rake:29
161
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
162
+ ↳ .bundle/bin/rake:29
163
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
164
+ ↳ .bundle/bin/rake:29
165
+ Migrating to CreateBasicModels (20190131160549)
166
+  (0.0ms) begin transaction
167
+ ↳ .bundle/bin/rake:29
168
+  (0.1ms) SELECT sqlite_version(*)
169
+ ↳ db/migrate/20190131160549_create_basic_models.rb:3
170
+  (0.4ms) CREATE TABLE "basic_models" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
171
+ ↳ db/migrate/20190131160549_create_basic_models.rb:3
172
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190131160549"]]
173
+ ↳ .bundle/bin/rake:29
174
+  (0.9ms) commit transaction
175
+ ↳ .bundle/bin/rake:29
176
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
177
+ ↳ .bundle/bin/rake:29
178
+  (0.1ms) begin transaction
179
+ ↳ .bundle/bin/rake:29
180
+  (0.0ms) commit transaction
181
+ ↳ .bundle/bin/rake:29
182
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
183
+ ↳ .bundle/bin/rake:29
184
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
185
+ ↳ .bundle/bin/rake:29
186
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
187
+ ↳ .bundle/bin/rake:29
188
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
189
+ ↳ .bundle/bin/rake:29
190
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
191
+ ↳ .bundle/bin/rake:29
192
+ Migrating to CreateBasicModels (20190131160549)
193
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
194
+ ↳ .bundle/bin/rake:29
195
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
196
+ ↳ .bundle/bin/rake:29
197
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
198
+ ↳ .bundle/bin/rake:29
199
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
200
+ ↳ .bundle/bin/rake:29
201
+ Migrating to CreateBasicModels (20190131160549)
202
+  (0.0ms) begin transaction
203
+ ↳ .bundle/bin/rake:29
204
+  (1.6ms) DROP TABLE "basic_models"
205
+ ↳ .bundle/bin/rake:29
206
+ ActiveRecord::SchemaMigration Destroy (0.7ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20190131160549"]]
207
+ ↳ .bundle/bin/rake:29
208
+  (1.5ms) commit transaction
209
+ ↳ .bundle/bin/rake:29
210
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
211
+ ↳ .bundle/bin/rake:29
212
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
213
+ ↳ .bundle/bin/rake:29
214
+ Migrating to CreateBasicModels (20190131160549)
215
+  (0.0ms) begin transaction
216
+ ↳ .bundle/bin/rake:29
217
+  (0.1ms) SELECT sqlite_version(*)
218
+ ↳ db/migrate/20190131160549_create_basic_models.rb:3
219
+  (0.5ms) CREATE TABLE "basic_models" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
220
+ ↳ db/migrate/20190131160549_create_basic_models.rb:3
221
+  (0.6ms) rollback transaction
222
+ ↳ .bundle/bin/rake:29
223
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
224
+ ↳ .bundle/bin/rake:29
225
+ Migrating to CreateBasicModels (20190131160549)
226
+  (0.0ms) begin transaction
227
+ ↳ .bundle/bin/rake:29
228
+  (0.1ms) SELECT sqlite_version(*)
229
+ ↳ db/migrate/20190131160549_create_basic_models.rb:3
230
+  (0.5ms) CREATE TABLE "basic_models" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
231
+ ↳ db/migrate/20190131160549_create_basic_models.rb:3
232
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190131160549"]]
233
+ ↳ .bundle/bin/rake:29
234
+  (2.6ms) commit transaction
235
+ ↳ .bundle/bin/rake:29
236
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
237
+ ↳ .bundle/bin/rake:29
238
+  (0.1ms) begin transaction
239
+ ↳ .bundle/bin/rake:29
240
+  (0.0ms) commit transaction
241
+ ↳ .bundle/bin/rake:29
242
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
243
+ ↳ .bundle/bin/rake:29
244
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
245
+ ↳ .bundle/bin/rake:29
246
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
247
+ ↳ .bundle/bin/rake:29
248
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
249
+ ↳ .bundle/bin/rake:29
250
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
251
+ ↳ .bundle/bin/rake:29
252
+ Migrating to CreateBasicModels (20190131160549)
253
+  (0.0ms) begin transaction
254
+ ↳ .bundle/bin/rake:29
255
+  (0.5ms) DROP TABLE "basic_models"
256
+ ↳ .bundle/bin/rake:29
257
+ ActiveRecord::SchemaMigration Destroy (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20190131160549"]]
258
+ ↳ .bundle/bin/rake:29
259
+  (0.7ms) commit transaction
260
+ ↳ .bundle/bin/rake:29
261
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
262
+ ↳ .bundle/bin/rake:29
263
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
264
+ ↳ .bundle/bin/rake:29
265
+ Migrating to CreateBasicModels (20190131160549)
266
+  (0.0ms) begin transaction
267
+ ↳ .bundle/bin/rake:29
268
+  (0.1ms) SELECT sqlite_version(*)
269
+ ↳ db/migrate/20190131160549_create_basic_models.rb:3
270
+  (0.5ms) CREATE TABLE "basic_models" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
271
+ ↳ db/migrate/20190131160549_create_basic_models.rb:3
272
+  (0.6ms) rollback transaction
273
+ ↳ .bundle/bin/rake:29
274
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
275
+ ↳ .bundle/bin/rake:29
276
+ Migrating to CreateBasicModels (20190131160549)
277
+  (0.0ms) begin transaction
278
+ ↳ .bundle/bin/rake:29
279
+  (0.1ms) SELECT sqlite_version(*)
280
+ ↳ db/migrate/20190131160549_create_basic_models.rb:3
281
+  (0.5ms) CREATE TABLE "basic_models" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
282
+ ↳ db/migrate/20190131160549_create_basic_models.rb:3
283
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190131160549"]]
284
+ ↳ .bundle/bin/rake:29
285
+  (2.1ms) commit transaction
286
+ ↳ .bundle/bin/rake:29
287
+ Migrating to TranslationTableForBasicModel (20190131173158)
288
+  (0.1ms) begin transaction
289
+ ↳ .bundle/bin/rake:29
290
+  (0.1ms) rollback transaction
291
+ ↳ .bundle/bin/rake:29
292
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
293
+ ↳ .bundle/bin/rake:29
294
+ Migrating to TranslationTableForBasicModel (20190131173158)
295
+  (0.1ms) begin transaction
296
+ ↳ .bundle/bin/rake:29
297
+  (0.1ms) SELECT sqlite_version(*)
298
+ ↳ /Users/james/Code/lazyatom/markup_attributes/db/migrate/20190131173158_translation_table_for_basic_model.rb:5
299
+  (0.5ms) CREATE TABLE "basic_model_translations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "basic_model_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
300
+ ↳ /Users/james/Code/lazyatom/markup_attributes/db/migrate/20190131173158_translation_table_for_basic_model.rb:5
301
+  (0.7ms) ALTER TABLE "basic_model_translations" ADD "title" varchar
302
+ ↳ /Users/james/Code/lazyatom/markup_attributes/db/migrate/20190131173158_translation_table_for_basic_model.rb:5
303
+  (0.1ms) CREATE INDEX "index_basic_model_translations_on_basic_model_id" ON "basic_model_translations" ("basic_model_id")
304
+ ↳ /Users/james/Code/lazyatom/markup_attributes/db/migrate/20190131173158_translation_table_for_basic_model.rb:5
305
+  (0.1ms) CREATE INDEX "index_basic_model_translations_on_locale" ON "basic_model_translations" ("locale")
306
+ ↳ /Users/james/Code/lazyatom/markup_attributes/db/migrate/20190131173158_translation_table_for_basic_model.rb:5
307
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190131173158"]]
308
+ ↳ .bundle/bin/rake:29
309
+  (1.1ms) commit transaction
310
+ ↳ .bundle/bin/rake:29
311
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
312
+ ↳ .bundle/bin/rake:29
313
+  (0.0ms) begin transaction
314
+ ↳ .bundle/bin/rake:29
315
+  (0.0ms) commit transaction
316
+ ↳ .bundle/bin/rake:29
317
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
318
+ ↳ .bundle/bin/rake:29
319
+  (0.4ms) SELECT COUNT(*) FROM "basic_models"
320
+ BasicModel::Translation Load (1.8ms) SELECT DISTINCT locale FROM "basic_model_translations" ORDER BY "basic_model_translations"."locale" ASC
321
+ BasicModel Load (0.2ms) SELECT DISTINCT "basic_models"."id", "basic_models"."type", "basic_models"."body", "basic_models"."created_at", "basic_models"."updated_at" FROM "basic_models" INNER JOIN "basic_model_translations" ON "basic_model_translations"."basic_model_id" = "basic_models"."id" WHERE 1=0 LIMIT ? [["LIMIT", 11]]
322
+ BasicModel Load (0.2ms) SELECT "basic_models"."id", "basic_models"."type", "basic_models"."body", "basic_models"."created_at", "basic_models"."updated_at" FROM "basic_models" INNER JOIN "basic_model_translations" ON "basic_model_translations"."basic_model_id" = "basic_models"."id" WHERE "basic_model_translations"."locale" = ? LIMIT ? [["locale", "en"], ["LIMIT", 11]]
323
+  (0.1ms) SELECT sqlite_version(*)
324
+ ↳ .bundle/bin/rake:29
325
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
326
+ ↳ .bundle/bin/rake:29
327
+  (1.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
328
+ ↳ .bundle/bin/rake:29
329
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
330
+ ↳ .bundle/bin/rake:29
331
+ Migrating to CreateBasicModels (20190131160549)
332
+  (0.1ms) begin transaction
333
+ ↳ .bundle/bin/rake:29
334
+  (0.5ms) CREATE TABLE "basic_models" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
335
+ ↳ db/migrate/20190131160549_create_basic_models.rb:3
336
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190131160549"]]
337
+ ↳ .bundle/bin/rake:29
338
+  (0.8ms) commit transaction
339
+ ↳ .bundle/bin/rake:29
340
+ Migrating to TranslationTableForBasicModel (20190131173158)
341
+  (0.1ms) begin transaction
342
+ ↳ .bundle/bin/rake:29
343
+  (0.1ms) rollback transaction
344
+ ↳ .bundle/bin/rake:29
345
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
346
+ ↳ .bundle/bin/rake:29
347
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
348
+ ↳ .bundle/bin/rake:29
349
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
350
+ ↳ bin/rails:4
351
+  (0.0ms) begin transaction
352
+ ↳ bin/rails:4
353
+ ActiveRecord::InternalMetadata Create (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-02-01 14:48:54.422815"], ["updated_at", "2019-02-01 14:48:54.422815"]]
354
+ ↳ bin/rails:4
355
+  (1.2ms) commit transaction
356
+ ↳ bin/rails:4
357
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
358
+ ↳ bin/rake:4
359
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
360
+ ↳ bin/rake:4
361
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
362
+ ↳ bin/rake:4
363
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
364
+ ↳ bin/rake:4
365
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
366
+ ↳ bin/rake:4
367
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
368
+ ↳ bin/rake:4
369
+  (0.1ms) DROP TABLE IF EXISTS "basic_model_translations"
370
+ ↳ db/schema.rb:15
371
+  (0.1ms) SELECT sqlite_version(*)
372
+ ↳ db/schema.rb:15
373
+  (3.3ms) CREATE TABLE "basic_model_translations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "basic_model_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" varchar)
374
+ ↳ db/schema.rb:15
375
+  (1.2ms) CREATE INDEX "index_basic_model_translations_on_basic_model_id" ON "basic_model_translations" ("basic_model_id")
376
+ ↳ db/schema.rb:15
377
+  (1.1ms) CREATE INDEX "index_basic_model_translations_on_locale" ON "basic_model_translations" ("locale")
378
+ ↳ db/schema.rb:15
379
+  (1.0ms) DROP TABLE IF EXISTS "basic_models"
380
+ ↳ db/schema.rb:25
381
+  (1.2ms) CREATE TABLE "basic_models" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
382
+ ↳ db/schema.rb:25
383
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
384
+ ↳ db/schema.rb:13
385
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES (20190131173158)
386
+ ↳ db/schema.rb:13
387
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
388
+ ↳ db/schema.rb:13
389
+  (0.1ms) begin transaction
390
+ ↳ db/schema.rb:13
391
+  (0.0ms) commit transaction
392
+ ↳ db/schema.rb:13
393
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
394
+ ↳ bin/rake:4
395
+  (0.0ms) begin transaction
396
+ ↳ bin/rake:4
397
+  (0.0ms) commit transaction
398
+ ↳ bin/rake:4
399
+  (0.1ms) DROP TABLE IF EXISTS "basic_model_translations"
400
+ ↳ db/schema.rb:15
401
+  (0.1ms) SELECT sqlite_version(*)
402
+ ↳ db/schema.rb:15
403
+  (1.2ms) CREATE TABLE "basic_model_translations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "basic_model_id" integer NOT NULL, "locale" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "title" varchar)
404
+ ↳ db/schema.rb:15
405
+  (1.0ms) CREATE INDEX "index_basic_model_translations_on_basic_model_id" ON "basic_model_translations" ("basic_model_id")
406
+ ↳ db/schema.rb:15
407
+  (1.1ms) CREATE INDEX "index_basic_model_translations_on_locale" ON "basic_model_translations" ("locale")
408
+ ↳ db/schema.rb:15
409
+  (0.2ms) DROP TABLE IF EXISTS "basic_models"
410
+ ↳ db/schema.rb:25
411
+  (1.4ms) CREATE TABLE "basic_models" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar, "body" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
412
+ ↳ db/schema.rb:25
413
+  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
414
+ ↳ db/schema.rb:13
415
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
416
+ ↳ db/schema.rb:13
417
+  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190131173158)
418
+ ↳ db/schema.rb:13
419
+  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES
420
+ (20190131160549);
421
+
422
+ 
423
+ ↳ db/schema.rb:13
424
+  (1.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
425
+ ↳ db/schema.rb:13
426
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
427
+ ↳ db/schema.rb:13
428
+  (0.0ms) begin transaction
429
+ ↳ db/schema.rb:13
430
+ ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2019-02-01 14:49:01.162634"], ["updated_at", "2019-02-01 14:49:01.162634"]]
431
+ ↳ db/schema.rb:13
432
+  (0.9ms) commit transaction
433
+ ↳ db/schema.rb:13
434
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
435
+ ↳ bin/rake:4
436
+  (0.1ms) begin transaction
437
+ ↳ bin/rake:4
438
+ ActiveRecord::InternalMetadata Update (0.7ms) UPDATE "ar_internal_metadata" SET "value" = ?, "updated_at" = ? WHERE "ar_internal_metadata"."key" = ? [["value", "test"], ["updated_at", "2019-02-01 14:49:01.167671"], ["key", "environment"]]
439
+ ↳ bin/rake:4
440
+  (1.2ms) commit transaction
441
+ ↳ bin/rake:4
442
+  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
443
+ ↳ bin/rake:4
444
+ Migrating to AddSecondAttributeToBasicModels (20190201155355)
445
+  (0.1ms) begin transaction
446
+ ↳ bin/rake:4
447
+  (1.4ms) ALTER TABLE "basic_models" ADD "summary" varchar
448
+ ↳ db/migrate/20190201155355_add_second_attribute_to_basic_models.rb:3
449
+ ActiveRecord::SchemaMigration Create (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20190201155355"]]
450
+ ↳ bin/rake:4
451
+  (2.1ms) commit transaction
452
+ ↳ bin/rake:4
453
+ ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
454
+ ↳ bin/rake:4
455
+  (0.1ms) begin transaction
456
+ ↳ bin/rake:4
457
+  (0.0ms) commit transaction
458
+ ↳ bin/rake:4
459
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
460
+ ↳ bin/rake:4