pattern_generator 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +34 -0
  5. data/lib/generators/service/service_generator.rb +19 -0
  6. data/lib/generators/service/templates/service.rb +10 -0
  7. data/lib/generators/service/templates/service_spec.rb +9 -0
  8. data/lib/pattern_generator/version.rb +3 -0
  9. data/lib/pattern_generator.rb +2 -0
  10. data/lib/tasks/pattern_generator_tasks.rake +4 -0
  11. data/test/dummy/README.rdoc +28 -0
  12. data/test/dummy/Rakefile +6 -0
  13. data/test/dummy/app/assets/javascripts/application.js +13 -0
  14. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  15. data/test/dummy/app/controllers/application_controller.rb +5 -0
  16. data/test/dummy/app/helpers/application_helper.rb +2 -0
  17. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  18. data/test/dummy/bin/bundle +3 -0
  19. data/test/dummy/bin/rails +4 -0
  20. data/test/dummy/bin/rake +4 -0
  21. data/test/dummy/bin/setup +29 -0
  22. data/test/dummy/config/application.rb +26 -0
  23. data/test/dummy/config/boot.rb +5 -0
  24. data/test/dummy/config/database.yml +25 -0
  25. data/test/dummy/config/environment.rb +5 -0
  26. data/test/dummy/config/environments/development.rb +41 -0
  27. data/test/dummy/config/environments/production.rb +79 -0
  28. data/test/dummy/config/environments/test.rb +42 -0
  29. data/test/dummy/config/initializers/assets.rb +11 -0
  30. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  31. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  32. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  33. data/test/dummy/config/initializers/inflections.rb +16 -0
  34. data/test/dummy/config/initializers/mime_types.rb +4 -0
  35. data/test/dummy/config/initializers/session_store.rb +3 -0
  36. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  37. data/test/dummy/config/locales/en.yml +23 -0
  38. data/test/dummy/config/routes.rb +56 -0
  39. data/test/dummy/config/secrets.yml +22 -0
  40. data/test/dummy/config.ru +4 -0
  41. data/test/dummy/db/schema.rb +16 -0
  42. data/test/dummy/db/test.sqlite3 +0 -0
  43. data/test/dummy/log/test.log +586 -0
  44. data/test/dummy/public/404.html +67 -0
  45. data/test/dummy/public/422.html +67 -0
  46. data/test/dummy/public/500.html +66 -0
  47. data/test/dummy/public/favicon.ico +0 -0
  48. data/test/generators/service/service_generator_test.rb +31 -0
  49. data/test/test_helper.rb +20 -0
  50. metadata +174 -0
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 11d132c442c624850a339dca72ead7f5d3352cfa2401e6d25c1fd8d6b431c9eb14923579c948a38bb028e4a7fb9da64728a3a080c8dcb571697be74da7997e21
15
+
16
+ test:
17
+ secret_key_base: e45f1a2e24cc8a3c6228f1ba2bf645bedd1915464237320564159b8f007476500102e7ac7f8867e74267243fcc2f8a2d61cf5ef9621e01fe6bb3dd43918627af
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Rails.application
@@ -0,0 +1,16 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 0) do
15
+
16
+ end
Binary file
@@ -0,0 +1,586 @@
1
+  (3.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
+  (0.1ms) select sqlite_version(*)
3
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+  (0.1ms) SELECT version FROM "schema_migrations"
5
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
6
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
7
+  (0.1ms) begin transaction
8
+ ----------------------------------------------------
9
+ ServiceGeneratorTest: test_correct_file_is_generated
10
+ ----------------------------------------------------
11
+  (0.0ms) rollback transaction
12
+  (0.1ms) begin transaction
13
+ ---------------------------------------------------------
14
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
15
+ ---------------------------------------------------------
16
+  (0.0ms) rollback transaction
17
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
18
+  (3.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
19
+  (0.1ms) select sqlite_version(*)
20
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
21
+  (0.1ms) SELECT version FROM "schema_migrations"
22
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
23
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
24
+  (0.1ms) begin transaction
25
+ ---------------------------------------------------------
26
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
27
+ ---------------------------------------------------------
28
+  (0.0ms) rollback transaction
29
+  (0.1ms) begin transaction
30
+ ----------------------------------------------------
31
+ ServiceGeneratorTest: test_correct_file_is_generated
32
+ ----------------------------------------------------
33
+  (0.1ms) rollback transaction
34
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
35
+  (3.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
36
+  (0.1ms) select sqlite_version(*)
37
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
38
+  (0.1ms) SELECT version FROM "schema_migrations"
39
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
40
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
41
+  (0.1ms) begin transaction
42
+ ----------------------------------------------------
43
+ ServiceGeneratorTest: test_correct_file_is_generated
44
+ ----------------------------------------------------
45
+  (0.1ms) rollback transaction
46
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
47
+  (3.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
48
+  (0.1ms) select sqlite_version(*)
49
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
50
+  (0.1ms) SELECT version FROM "schema_migrations"
51
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
52
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
53
+  (0.1ms) begin transaction
54
+ ----------------------------------------------------
55
+ ServiceGeneratorTest: test_correct_file_is_generated
56
+ ----------------------------------------------------
57
+  (0.1ms) rollback transaction
58
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
59
+  (3.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
60
+  (0.1ms) select sqlite_version(*)
61
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
62
+  (0.1ms) SELECT version FROM "schema_migrations"
63
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
64
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
65
+  (0.1ms) begin transaction
66
+ ----------------------------------------------------
67
+ ServiceGeneratorTest: test_correct_file_is_generated
68
+ ----------------------------------------------------
69
+  (0.1ms) rollback transaction
70
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
71
+  (2.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
72
+  (0.1ms) select sqlite_version(*)
73
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
74
+  (0.1ms) SELECT version FROM "schema_migrations"
75
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
76
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
77
+  (0.1ms) begin transaction
78
+ ----------------------------------------------------
79
+ ServiceGeneratorTest: test_correct_file_is_generated
80
+ ----------------------------------------------------
81
+  (0.1ms) rollback transaction
82
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
83
+  (3.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
84
+  (0.1ms) select sqlite_version(*)
85
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
86
+  (0.1ms) SELECT version FROM "schema_migrations"
87
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
88
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
89
+  (0.1ms) begin transaction
90
+ ----------------------------------------------------
91
+ ServiceGeneratorTest: test_correct_file_is_generated
92
+ ----------------------------------------------------
93
+  (0.1ms) rollback transaction
94
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
95
+  (3.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
96
+  (0.1ms) select sqlite_version(*)
97
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
98
+  (0.1ms) SELECT version FROM "schema_migrations"
99
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
100
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
101
+  (0.1ms) begin transaction
102
+ ----------------------------------------------------
103
+ ServiceGeneratorTest: test_correct_file_is_generated
104
+ ----------------------------------------------------
105
+  (0.1ms) rollback transaction
106
+  (0.1ms) begin transaction
107
+ ---------------------------------------------------------
108
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
109
+ ---------------------------------------------------------
110
+  (0.1ms) rollback transaction
111
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
112
+  (3.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
113
+  (0.1ms) select sqlite_version(*)
114
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
115
+  (0.1ms) SELECT version FROM "schema_migrations"
116
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
117
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
118
+  (0.1ms) begin transaction
119
+ ----------------------------------------------------
120
+ ServiceGeneratorTest: test_correct_file_is_generated
121
+ ----------------------------------------------------
122
+  (0.1ms) rollback transaction
123
+  (0.1ms) begin transaction
124
+ ---------------------------------------------------------
125
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
126
+ ---------------------------------------------------------
127
+  (0.1ms) rollback transaction
128
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
129
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
130
+  (0.5ms) select sqlite_version(*)
131
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
132
+  (0.1ms) SELECT version FROM "schema_migrations"
133
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
134
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
135
+  (0.1ms) begin transaction
136
+ ----------------------------------------------------
137
+ ServiceGeneratorTest: test_correct_file_is_generated
138
+ ----------------------------------------------------
139
+  (0.1ms) rollback transaction
140
+  (0.1ms) begin transaction
141
+ ---------------------------------------------------------
142
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
143
+ ---------------------------------------------------------
144
+  (0.1ms) rollback transaction
145
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
146
+  (2.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
147
+  (0.1ms) select sqlite_version(*)
148
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
149
+  (0.1ms) SELECT version FROM "schema_migrations"
150
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
151
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
152
+  (0.1ms) begin transaction
153
+ ----------------------------------------------------
154
+ ServiceGeneratorTest: test_correct_file_is_generated
155
+ ----------------------------------------------------
156
+  (0.1ms) rollback transaction
157
+  (0.1ms) begin transaction
158
+ ---------------------------------------------------------
159
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
160
+ ---------------------------------------------------------
161
+  (0.1ms) rollback transaction
162
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
163
+  (3.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
164
+  (0.1ms) select sqlite_version(*)
165
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
166
+  (0.2ms) SELECT version FROM "schema_migrations"
167
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
168
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
169
+  (0.1ms) begin transaction
170
+ ---------------------------------------------------------
171
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
172
+ ---------------------------------------------------------
173
+  (0.1ms) rollback transaction
174
+  (0.1ms) begin transaction
175
+ ----------------------------------------------------
176
+ ServiceGeneratorTest: test_correct_file_is_generated
177
+ ----------------------------------------------------
178
+  (0.2ms) rollback transaction
179
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
180
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
181
+  (0.2ms) select sqlite_version(*)
182
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
183
+  (0.1ms) SELECT version FROM "schema_migrations"
184
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
185
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
186
+  (0.1ms) begin transaction
187
+ ---------------------------------------------------------
188
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
189
+ ---------------------------------------------------------
190
+  (0.1ms) rollback transaction
191
+  (0.1ms) begin transaction
192
+ ----------------------------------------------------
193
+ ServiceGeneratorTest: test_correct_file_is_generated
194
+ ----------------------------------------------------
195
+  (0.1ms) rollback transaction
196
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
197
+  (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
198
+  (0.1ms) select sqlite_version(*)
199
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
200
+  (0.1ms) SELECT version FROM "schema_migrations"
201
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
202
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
203
+  (0.1ms) begin transaction
204
+ ----------------------------------------------------
205
+ ServiceGeneratorTest: test_correct_file_is_generated
206
+ ----------------------------------------------------
207
+  (0.1ms) rollback transaction
208
+  (0.1ms) begin transaction
209
+ ---------------------------------------------------------
210
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
211
+ ---------------------------------------------------------
212
+  (0.1ms) rollback transaction
213
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
214
+  (2.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
215
+  (0.2ms) select sqlite_version(*)
216
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
217
+  (0.1ms) SELECT version FROM "schema_migrations"
218
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
219
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
220
+  (0.1ms) begin transaction
221
+ ----------------------------------------------------
222
+ ServiceGeneratorTest: test_correct_file_is_generated
223
+ ----------------------------------------------------
224
+  (0.1ms) rollback transaction
225
+  (0.1ms) begin transaction
226
+ ---------------------------------------------------------
227
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
228
+ ---------------------------------------------------------
229
+  (0.1ms) rollback transaction
230
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
231
+  (3.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
232
+  (0.1ms) select sqlite_version(*)
233
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
234
+  (0.1ms) SELECT version FROM "schema_migrations"
235
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
236
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
237
+  (0.2ms) begin transaction
238
+ ---------------------------------------------------------
239
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
240
+ ---------------------------------------------------------
241
+  (0.1ms) rollback transaction
242
+  (0.1ms) begin transaction
243
+ ----------------------------------------------------
244
+ ServiceGeneratorTest: test_correct_file_is_generated
245
+ ----------------------------------------------------
246
+  (0.1ms) rollback transaction
247
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
248
+  (3.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
249
+  (0.5ms) select sqlite_version(*)
250
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
251
+  (0.1ms) SELECT version FROM "schema_migrations"
252
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
253
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
254
+  (0.1ms) begin transaction
255
+ ---------------------------------------------------------
256
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
257
+ ---------------------------------------------------------
258
+  (0.1ms) rollback transaction
259
+  (0.1ms) begin transaction
260
+ ----------------------------------------------------
261
+ ServiceGeneratorTest: test_correct_file_is_generated
262
+ ----------------------------------------------------
263
+  (0.1ms) rollback transaction
264
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
265
+  (3.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
266
+  (0.1ms) select sqlite_version(*)
267
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
268
+  (0.1ms) SELECT version FROM "schema_migrations"
269
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
270
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
271
+  (0.1ms) begin transaction
272
+ ---------------------------------------------------------
273
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
274
+ ---------------------------------------------------------
275
+  (0.1ms) rollback transaction
276
+  (0.1ms) begin transaction
277
+ ----------------------------------------------------
278
+ ServiceGeneratorTest: test_correct_file_is_generated
279
+ ----------------------------------------------------
280
+  (0.1ms) rollback transaction
281
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
282
+  (3.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
283
+  (0.1ms) select sqlite_version(*)
284
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
285
+  (0.1ms) SELECT version FROM "schema_migrations"
286
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
287
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
288
+  (0.1ms) begin transaction
289
+ ----------------------------------------------------
290
+ ServiceGeneratorTest: test_correct_file_is_generated
291
+ ----------------------------------------------------
292
+  (0.1ms) rollback transaction
293
+  (0.1ms) begin transaction
294
+ ---------------------------------------------------------
295
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
296
+ ---------------------------------------------------------
297
+  (0.1ms) rollback transaction
298
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
299
+  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
300
+  (0.1ms) select sqlite_version(*)
301
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
302
+  (0.1ms) SELECT version FROM "schema_migrations"
303
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
304
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
305
+  (0.1ms) begin transaction
306
+ ---------------------------------------------------------
307
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
308
+ ---------------------------------------------------------
309
+  (0.1ms) rollback transaction
310
+  (0.1ms) begin transaction
311
+ ----------------------------------------------------
312
+ ServiceGeneratorTest: test_correct_file_is_generated
313
+ ----------------------------------------------------
314
+  (0.1ms) rollback transaction
315
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
316
+  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
317
+  (0.1ms) select sqlite_version(*)
318
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
319
+  (0.1ms) SELECT version FROM "schema_migrations"
320
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
321
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
322
+  (0.1ms) begin transaction
323
+ ----------------------------------------------------
324
+ ServiceGeneratorTest: test_correct_file_is_generated
325
+ ----------------------------------------------------
326
+  (0.1ms) rollback transaction
327
+  (0.1ms) begin transaction
328
+ ---------------------------------------------------------
329
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
330
+ ---------------------------------------------------------
331
+  (0.1ms) rollback transaction
332
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
333
+  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
334
+  (0.3ms) select sqlite_version(*)
335
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
336
+  (0.1ms) SELECT version FROM "schema_migrations"
337
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
338
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
339
+  (0.1ms) begin transaction
340
+ ----------------------------------------------------
341
+ ServiceGeneratorTest: test_correct_file_is_generated
342
+ ----------------------------------------------------
343
+  (0.1ms) rollback transaction
344
+  (0.1ms) begin transaction
345
+ ---------------------------------------------------------
346
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
347
+ ---------------------------------------------------------
348
+  (0.1ms) rollback transaction
349
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
350
+  (3.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
351
+  (0.1ms) select sqlite_version(*)
352
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
353
+  (0.1ms) SELECT version FROM "schema_migrations"
354
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
355
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
356
+  (0.2ms) begin transaction
357
+ ----------------------------------------------------
358
+ ServiceGeneratorTest: test_correct_file_is_generated
359
+ ----------------------------------------------------
360
+  (0.1ms) rollback transaction
361
+  (0.1ms) begin transaction
362
+ ---------------------------------------------------------
363
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
364
+ ---------------------------------------------------------
365
+  (0.1ms) rollback transaction
366
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
367
+  (2.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
368
+  (0.1ms) select sqlite_version(*)
369
+  (3.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
370
+  (0.2ms) SELECT version FROM "schema_migrations"
371
+  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
372
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
373
+  (0.1ms) begin transaction
374
+ ---------------------------------------------------------
375
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
376
+ ---------------------------------------------------------
377
+  (0.1ms) rollback transaction
378
+  (0.1ms) begin transaction
379
+ ----------------------------------------------------
380
+ ServiceGeneratorTest: test_correct_file_is_generated
381
+ ----------------------------------------------------
382
+  (0.1ms) rollback transaction
383
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
384
+  (2.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
385
+  (0.1ms) select sqlite_version(*)
386
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
387
+  (0.1ms) SELECT version FROM "schema_migrations"
388
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
389
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
390
+  (0.1ms) begin transaction
391
+ ----------------------------------------------------
392
+ ServiceGeneratorTest: test_correct_file_is_generated
393
+ ----------------------------------------------------
394
+  (0.1ms) rollback transaction
395
+  (0.1ms) begin transaction
396
+ ---------------------------------------------------------
397
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
398
+ ---------------------------------------------------------
399
+  (0.2ms) rollback transaction
400
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
401
+  (2.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
402
+  (0.1ms) select sqlite_version(*)
403
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
404
+  (0.1ms) SELECT version FROM "schema_migrations"
405
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
406
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
407
+  (0.1ms) begin transaction
408
+ ----------------------------------------------------
409
+ ServiceGeneratorTest: test_correct_file_is_generated
410
+ ----------------------------------------------------
411
+  (0.1ms) rollback transaction
412
+  (0.2ms) begin transaction
413
+ ---------------------------------------------------------
414
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
415
+ ---------------------------------------------------------
416
+  (0.1ms) rollback transaction
417
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
418
+  (2.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
419
+  (0.1ms) select sqlite_version(*)
420
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
421
+  (0.1ms) SELECT version FROM "schema_migrations"
422
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
423
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
424
+  (0.2ms) begin transaction
425
+ ----------------------------------------------------
426
+ ServiceGeneratorTest: test_correct_file_is_generated
427
+ ----------------------------------------------------
428
+  (0.1ms) rollback transaction
429
+  (0.2ms) begin transaction
430
+ ---------------------------------------------------------
431
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
432
+ ---------------------------------------------------------
433
+  (0.1ms) rollback transaction
434
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
435
+  (3.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
436
+  (0.2ms) select sqlite_version(*)
437
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
438
+  (0.1ms) SELECT version FROM "schema_migrations"
439
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
440
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
441
+  (0.1ms) begin transaction
442
+ ---------------------------------------------------------
443
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
444
+ ---------------------------------------------------------
445
+  (0.1ms) rollback transaction
446
+  (0.1ms) begin transaction
447
+ ----------------------------------------------------
448
+ ServiceGeneratorTest: test_correct_file_is_generated
449
+ ----------------------------------------------------
450
+  (0.1ms) rollback transaction
451
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
452
+  (3.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
453
+  (0.1ms) select sqlite_version(*)
454
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
455
+  (0.1ms) SELECT version FROM "schema_migrations"
456
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
457
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
458
+  (0.2ms) begin transaction
459
+ ----------------------------------------------------
460
+ ServiceGeneratorTest: test_correct_file_is_generated
461
+ ----------------------------------------------------
462
+  (0.1ms) rollback transaction
463
+  (0.1ms) begin transaction
464
+ ---------------------------------------------------------
465
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
466
+ ---------------------------------------------------------
467
+  (0.1ms) rollback transaction
468
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
469
+  (3.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
470
+  (0.1ms) select sqlite_version(*)
471
+  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
472
+  (0.1ms) SELECT version FROM "schema_migrations"
473
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
474
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
475
+  (0.1ms) begin transaction
476
+ ---------------------------------------------------------
477
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
478
+ ---------------------------------------------------------
479
+  (0.1ms) rollback transaction
480
+  (0.1ms) begin transaction
481
+ ----------------------------------------------------
482
+ ServiceGeneratorTest: test_correct_file_is_generated
483
+ ----------------------------------------------------
484
+  (0.1ms) rollback transaction
485
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
486
+  (3.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
487
+  (0.1ms) select sqlite_version(*)
488
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
489
+  (0.1ms) SELECT version FROM "schema_migrations"
490
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
491
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
492
+  (0.2ms) begin transaction
493
+ ----------------------------------------------------
494
+ ServiceGeneratorTest: test_correct_file_is_generated
495
+ ----------------------------------------------------
496
+  (0.1ms) rollback transaction
497
+  (0.1ms) begin transaction
498
+ ---------------------------------------------------------
499
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
500
+ ---------------------------------------------------------
501
+  (0.2ms) rollback transaction
502
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
503
+  (3.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
504
+  (0.1ms) select sqlite_version(*)
505
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
506
+  (0.1ms) SELECT version FROM "schema_migrations"
507
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
508
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
509
+  (0.1ms) begin transaction
510
+ ----------------------------------------------------
511
+ ServiceGeneratorTest: test_correct_file_is_generated
512
+ ----------------------------------------------------
513
+  (0.1ms) rollback transaction
514
+  (0.1ms) begin transaction
515
+ ---------------------------------------------------------
516
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
517
+ ---------------------------------------------------------
518
+  (0.1ms) rollback transaction
519
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
520
+  (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
521
+  (0.1ms) select sqlite_version(*)
522
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
523
+  (0.1ms) SELECT version FROM "schema_migrations"
524
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
525
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
526
+  (0.1ms) begin transaction
527
+ ----------------------------------------------------
528
+ ServiceGeneratorTest: test_correct_file_is_generated
529
+ ----------------------------------------------------
530
+  (0.1ms) rollback transaction
531
+  (0.1ms) begin transaction
532
+ ---------------------------------------------------------
533
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
534
+ ---------------------------------------------------------
535
+  (0.1ms) rollback transaction
536
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
537
+  (2.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
538
+  (0.3ms) select sqlite_version(*)
539
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
540
+  (0.1ms) SELECT version FROM "schema_migrations"
541
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
542
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
543
+  (0.1ms) begin transaction
544
+ ---------------------------------------------------------
545
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
546
+ ---------------------------------------------------------
547
+  (0.1ms) rollback transaction
548
+  (0.1ms) begin transaction
549
+ ----------------------------------------------------
550
+ ServiceGeneratorTest: test_correct_file_is_generated
551
+ ----------------------------------------------------
552
+  (0.1ms) rollback transaction
553
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
554
+  (3.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
555
+  (0.1ms) select sqlite_version(*)
556
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
557
+  (0.1ms) SELECT version FROM "schema_migrations"
558
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
559
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
560
+  (0.1ms) begin transaction
561
+ ----------------------------------------------------
562
+ ServiceGeneratorTest: test_correct_file_is_generated
563
+ ----------------------------------------------------
564
+  (0.1ms) rollback transaction
565
+  (0.1ms) begin transaction
566
+ ---------------------------------------------------------
567
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
568
+ ---------------------------------------------------------
569
+  (0.1ms) rollback transaction
570
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
571
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
572
+  (0.1ms) select sqlite_version(*)
573
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
574
+  (0.2ms) SELECT version FROM "schema_migrations"
575
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
576
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
577
+  (0.1ms) begin transaction
578
+ ----------------------------------------------------
579
+ ServiceGeneratorTest: test_correct_file_is_generated
580
+ ----------------------------------------------------
581
+  (0.1ms) rollback transaction
582
+  (0.1ms) begin transaction
583
+ ---------------------------------------------------------
584
+ ServiceGeneratorTest: test_correct_spec_file_is_generated
585
+ ---------------------------------------------------------
586
+  (0.2ms) rollback transaction