makers 4.0.0.0 → 4.0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/makers/definitions.rb +2 -6
- data/lib/makers/dsl/maker.rb +20 -9
- data/lib/makers/maker.rb +21 -15
- data/lib/makers/version.rb +1 -1
- data/test/dummy/db/schema.rb +37 -0
- data/test/dummy/log/development.log +38 -0
- data/test/dummy/log/test.log +922 -0
- data/test/dummy/test/makers.rb +3 -1
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6636e08fd15765ebe870551dd2818dbc413e3c41
|
4
|
+
data.tar.gz: 803dc93ec36201f4b3d244c5993a331208a42811
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d3f52a3fe0b13a1a445d485601c2991e043e322047387df65ad5362838e948a64d971a38469d5897cd2b5a9352a4a919df83c1ac678dcac63c23e6cb66f28e6
|
7
|
+
data.tar.gz: 2b944cf935595656330ab7f88ae05fdebb74c74c7f16d7855dcdf2b36c487cb71a39249a088467a57385d3644932c1c58178af0b5da40aad892d1bc03c330649
|
data/lib/makers/definitions.rb
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
module Makers
|
2
2
|
class Definitions
|
3
3
|
|
4
|
-
def contains?(name)
|
5
|
-
registry.has_key? name
|
6
|
-
end
|
7
|
-
|
8
4
|
def find(name)
|
9
|
-
if
|
5
|
+
if registry.has_key?(name)
|
10
6
|
registry[name]
|
11
7
|
else
|
12
8
|
raise "Definition #{name} not found"
|
@@ -16,7 +12,7 @@ module Makers
|
|
16
12
|
def add(names, *args)
|
17
13
|
maker = Maker.new(*args)
|
18
14
|
names.each do |name|
|
19
|
-
if
|
15
|
+
if registry.has_key?(name)
|
20
16
|
raise "Maker #{name} already registered"
|
21
17
|
else
|
22
18
|
registry[name] = maker
|
data/lib/makers/dsl/maker.rb
CHANGED
@@ -7,17 +7,22 @@ module Makers
|
|
7
7
|
@options = options.reverse_merge(class_name: name.to_s.classify)
|
8
8
|
@class = @options[:class_name].constantize
|
9
9
|
@assignments = {}
|
10
|
+
@associations = {}
|
11
|
+
@sequences = {}
|
10
12
|
if block_given?
|
11
13
|
instance_eval &block
|
12
14
|
end
|
13
15
|
Makers.definitions.add(
|
14
16
|
[@name] + Array(@options[:aliases]),
|
15
|
-
@
|
16
|
-
@
|
17
|
+
@assignments,
|
18
|
+
@associations,
|
19
|
+
@sequences,
|
20
|
+
@options
|
17
21
|
)
|
18
22
|
end
|
19
23
|
|
20
24
|
def maker(name, overrides={}, &block)
|
25
|
+
byebug unless @options.is_a?(Hash)
|
21
26
|
options = @options.dup
|
22
27
|
options.delete :aliases
|
23
28
|
options.merge! overrides
|
@@ -37,26 +42,32 @@ module Makers
|
|
37
42
|
index += 1
|
38
43
|
}
|
39
44
|
end
|
45
|
+
@sequences[name] = index
|
40
46
|
end
|
41
47
|
|
42
48
|
def association(name, *args)
|
43
49
|
options = args.extract_options!
|
44
|
-
|
45
|
-
|
46
|
-
|
50
|
+
lookup = (options[:maker] || name)
|
51
|
+
action = (options[:strategy] || :build)
|
52
|
+
reflection = @class.reflections[name.to_s]
|
53
|
+
class_name = @class.name
|
54
|
+
case reflection.macro
|
47
55
|
when :belongs_to,:has_one
|
48
56
|
@assignments[name] = -> {
|
49
|
-
maker = Makers.definitions.find(
|
50
|
-
maker.
|
57
|
+
maker = Makers.definitions.find(lookup).dup
|
58
|
+
maker.disabled_association = class_name
|
59
|
+
maker.send action
|
51
60
|
}
|
52
61
|
when :has_many
|
53
62
|
@assignments[name] = -> {
|
54
|
-
maker = Makers.definitions.find(
|
63
|
+
maker = Makers.definitions.find(lookup.to_s.singularize.to_sym).dup
|
64
|
+
maker.disabled_association = class_name
|
55
65
|
(args.first || 1).times.map do
|
56
|
-
maker.send
|
66
|
+
maker.send action
|
57
67
|
end
|
58
68
|
}
|
59
69
|
end
|
70
|
+
@associations[name] = reflection.class_name
|
60
71
|
end
|
61
72
|
|
62
73
|
def method_missing(name, *args, &block)
|
data/lib/makers/maker.rb
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
module Makers
|
2
2
|
class Maker
|
3
3
|
|
4
|
-
attr_reader :
|
4
|
+
attr_reader :assignments, :associations, :sequences, :options
|
5
|
+
attr_accessor :disabled_association
|
5
6
|
|
6
|
-
def initialize(
|
7
|
-
@options = options
|
7
|
+
def initialize(assignments, associations, sequences, options)
|
8
8
|
@assignments = assignments
|
9
|
-
@
|
9
|
+
@associations = associations
|
10
|
+
@sequences = sequences
|
11
|
+
@options = options
|
10
12
|
end
|
11
13
|
|
12
14
|
%w(build create).each do |name|
|
@@ -26,11 +28,23 @@ module Makers
|
|
26
28
|
end
|
27
29
|
|
28
30
|
def attributes
|
29
|
-
|
31
|
+
all = assignments
|
30
32
|
if options.has_key?(:parent)
|
31
|
-
|
33
|
+
all.reverse_merge! Makers.definitions.find(options[:parent]).assignments
|
34
|
+
end
|
35
|
+
if disabled_association
|
36
|
+
associations.each do |name, class_name|
|
37
|
+
if disabled_association == class_name
|
38
|
+
all[name] = -> { nil }
|
39
|
+
end
|
40
|
+
end
|
32
41
|
end
|
33
|
-
|
42
|
+
object = Object.new
|
43
|
+
all.each do |name, block|
|
44
|
+
object.define_singleton_method name, &block
|
45
|
+
end
|
46
|
+
hash = {}
|
47
|
+
all.keys.each do |name|
|
34
48
|
hash[name] = object.send(name)
|
35
49
|
end
|
36
50
|
hash
|
@@ -52,13 +66,5 @@ module Makers
|
|
52
66
|
instance
|
53
67
|
end
|
54
68
|
|
55
|
-
def build_object
|
56
|
-
klass = Class.new
|
57
|
-
assignments.each do |name, logic|
|
58
|
-
klass.send :define_method, name, &logic
|
59
|
-
end
|
60
|
-
klass.new
|
61
|
-
end
|
62
|
-
|
63
69
|
end
|
64
70
|
end
|
data/lib/makers/version.rb
CHANGED
@@ -0,0 +1,37 @@
|
|
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: 20140615180954) do
|
15
|
+
|
16
|
+
# These are extensions that must be enabled in order to support this database
|
17
|
+
enable_extension "plpgsql"
|
18
|
+
|
19
|
+
create_table "posts", force: :cascade do |t|
|
20
|
+
t.integer "user_id"
|
21
|
+
t.integer "mentionable_id"
|
22
|
+
t.string "mentionable_type"
|
23
|
+
t.datetime "created_at", null: false
|
24
|
+
t.datetime "updated_at", null: false
|
25
|
+
end
|
26
|
+
|
27
|
+
create_table "users", force: :cascade do |t|
|
28
|
+
t.string "username"
|
29
|
+
t.string "name"
|
30
|
+
t.string "email"
|
31
|
+
t.integer "age"
|
32
|
+
t.integer "phone"
|
33
|
+
t.datetime "created_at", null: false
|
34
|
+
t.datetime "updated_at", null: false
|
35
|
+
end
|
36
|
+
|
37
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
2
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
+
Migrating to CreateUsers (20140613221835)
|
5
|
+
[1m[35m (0.1ms)[0m BEGIN
|
6
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
7
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140613221835"]]
|
8
|
+
[1m[36m (6.4ms)[0m [1mCOMMIT[0m
|
9
|
+
Migrating to CreatePosts (20140615180954)
|
10
|
+
[1m[35m (6.2ms)[0m BEGIN
|
11
|
+
[1m[36m (12.6ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "user_id" integer, "mentionable_id" integer, "mentionable_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
12
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140615180954"]]
|
13
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
14
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
15
|
+
[1m[36m (1.8ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
16
|
+
FROM pg_constraint c
|
17
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
18
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
19
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
20
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
21
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
22
|
+
WHERE c.contype = 'f'
|
23
|
+
AND t1.relname = 'posts'
|
24
|
+
AND t3.nspname = ANY (current_schemas(false))
|
25
|
+
ORDER BY c.conname
|
26
|
+
[0m
|
27
|
+
[1m[35m (1.4ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
28
|
+
FROM pg_constraint c
|
29
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
30
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
31
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
32
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
33
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
34
|
+
WHERE c.contype = 'f'
|
35
|
+
AND t1.relname = 'users'
|
36
|
+
AND t3.nspname = ANY (current_schemas(false))
|
37
|
+
ORDER BY c.conname
|
38
|
+
|
@@ -0,0 +1,922 @@
|
|
1
|
+
[1m[36mActiveRecord::SchemaMigration Load (25.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3
|
+
-------------------------
|
4
|
+
MakerTest: test_sequences
|
5
|
+
-------------------------
|
6
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
7
|
+
[1m[35m (0.1ms)[0m BEGIN
|
8
|
+
-------------------------
|
9
|
+
MakerTest: test_overrides
|
10
|
+
-------------------------
|
11
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
12
|
+
[1m[35m (0.1ms)[0m BEGIN
|
13
|
+
---------------------------
|
14
|
+
MakerTest: test_definitions
|
15
|
+
---------------------------
|
16
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
17
|
+
[1m[35m (0.2ms)[0m BEGIN
|
18
|
+
-----------------------
|
19
|
+
MakerTest: test_aliases
|
20
|
+
-----------------------
|
21
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
22
|
+
[1m[35m (0.1ms)[0m BEGIN
|
23
|
+
-------------------------
|
24
|
+
MakerTest: test_dependent
|
25
|
+
-------------------------
|
26
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
27
|
+
[1m[35m (0.3ms)[0m BEGIN
|
28
|
+
----------------------------
|
29
|
+
MakerTest: test_associations
|
30
|
+
----------------------------
|
31
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
32
|
+
[1m[35m (0.1ms)[0m BEGIN
|
33
|
+
---------------------------
|
34
|
+
MakerTest: test_inheritance
|
35
|
+
---------------------------
|
36
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
37
|
+
[1m[35m (0.2ms)[0m BEGIN
|
38
|
+
---------------------------
|
39
|
+
GeneratorTest: test_install
|
40
|
+
---------------------------
|
41
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
42
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
43
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
44
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
45
|
+
Migrating to CreateUsers (20140613221835)
|
46
|
+
[1m[35m (0.1ms)[0m BEGIN
|
47
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "users" ("id" serial primary key, "username" character varying, "name" character varying, "email" character varying, "age" integer, "phone" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
48
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140613221835"]]
|
49
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
50
|
+
Migrating to CreatePosts (20140615180954)
|
51
|
+
[1m[35m (0.3ms)[0m BEGIN
|
52
|
+
[1m[36m (2.2ms)[0m [1mCREATE TABLE "posts" ("id" serial primary key, "user_id" integer, "mentionable_id" integer, "mentionable_type" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
53
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140615180954"]]
|
54
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
55
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
56
|
+
[1m[36m (1.7ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
57
|
+
FROM pg_constraint c
|
58
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
59
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
60
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
61
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
62
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
63
|
+
WHERE c.contype = 'f'
|
64
|
+
AND t1.relname = 'posts'
|
65
|
+
AND t3.nspname = ANY (current_schemas(false))
|
66
|
+
ORDER BY c.conname
|
67
|
+
[0m
|
68
|
+
[1m[35m (1.4ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
69
|
+
FROM pg_constraint c
|
70
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
71
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
72
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
73
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
74
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
75
|
+
WHERE c.contype = 'f'
|
76
|
+
AND t1.relname = 'users'
|
77
|
+
AND t3.nspname = ANY (current_schemas(false))
|
78
|
+
ORDER BY c.conname
|
79
|
+
|
80
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
81
|
+
[1m[35m (0.2ms)[0m BEGIN
|
82
|
+
-------------------------
|
83
|
+
MakerTest: test_dependent
|
84
|
+
-------------------------
|
85
|
+
[1m[36m (0.4ms)[0m [1mROLLBACK[0m
|
86
|
+
[1m[35m (0.1ms)[0m BEGIN
|
87
|
+
-----------------------
|
88
|
+
MakerTest: test_aliases
|
89
|
+
-----------------------
|
90
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
91
|
+
[1m[35m (0.1ms)[0m BEGIN
|
92
|
+
---------------------------
|
93
|
+
MakerTest: test_inheritance
|
94
|
+
---------------------------
|
95
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
96
|
+
[1m[35m (0.2ms)[0m BEGIN
|
97
|
+
-------------------------
|
98
|
+
MakerTest: test_overrides
|
99
|
+
-------------------------
|
100
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
101
|
+
[1m[35m (0.2ms)[0m BEGIN
|
102
|
+
-------------------------
|
103
|
+
MakerTest: test_sequences
|
104
|
+
-------------------------
|
105
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
106
|
+
[1m[35m (0.1ms)[0m BEGIN
|
107
|
+
----------------------------
|
108
|
+
MakerTest: test_associations
|
109
|
+
----------------------------
|
110
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
111
|
+
[1m[35m (0.2ms)[0m BEGIN
|
112
|
+
---------------------------
|
113
|
+
MakerTest: test_definitions
|
114
|
+
---------------------------
|
115
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
116
|
+
[1m[35m (0.1ms)[0m BEGIN
|
117
|
+
---------------------------
|
118
|
+
GeneratorTest: test_install
|
119
|
+
---------------------------
|
120
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
121
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
122
|
+
[1m[35m (0.2ms)[0m BEGIN
|
123
|
+
----------------------------
|
124
|
+
MakerTest: test_associations
|
125
|
+
----------------------------
|
126
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
127
|
+
[1m[35m (0.1ms)[0m BEGIN
|
128
|
+
---------------------------
|
129
|
+
MakerTest: test_inheritance
|
130
|
+
---------------------------
|
131
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
132
|
+
[1m[35m (0.1ms)[0m BEGIN
|
133
|
+
-------------------------
|
134
|
+
MakerTest: test_overrides
|
135
|
+
-------------------------
|
136
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
137
|
+
[1m[35m (0.1ms)[0m BEGIN
|
138
|
+
---------------------------
|
139
|
+
MakerTest: test_definitions
|
140
|
+
---------------------------
|
141
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
142
|
+
[1m[35m (0.2ms)[0m BEGIN
|
143
|
+
-------------------------
|
144
|
+
MakerTest: test_dependent
|
145
|
+
-------------------------
|
146
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
147
|
+
[1m[35m (0.1ms)[0m BEGIN
|
148
|
+
-----------------------
|
149
|
+
MakerTest: test_aliases
|
150
|
+
-----------------------
|
151
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
152
|
+
[1m[35m (0.1ms)[0m BEGIN
|
153
|
+
-------------------------
|
154
|
+
MakerTest: test_sequences
|
155
|
+
-------------------------
|
156
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
157
|
+
[1m[35m (0.1ms)[0m BEGIN
|
158
|
+
---------------------------
|
159
|
+
GeneratorTest: test_install
|
160
|
+
---------------------------
|
161
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
162
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
163
|
+
[1m[35m (0.2ms)[0m BEGIN
|
164
|
+
-------------------------
|
165
|
+
MakerTest: test_sequences
|
166
|
+
-------------------------
|
167
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
168
|
+
[1m[35m (0.2ms)[0m BEGIN
|
169
|
+
---------------------------
|
170
|
+
MakerTest: test_definitions
|
171
|
+
---------------------------
|
172
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
173
|
+
[1m[35m (0.1ms)[0m BEGIN
|
174
|
+
-------------------------
|
175
|
+
MakerTest: test_overrides
|
176
|
+
-------------------------
|
177
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
178
|
+
[1m[35m (0.1ms)[0m BEGIN
|
179
|
+
-------------------------
|
180
|
+
MakerTest: test_dependent
|
181
|
+
-------------------------
|
182
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
183
|
+
[1m[35m (0.1ms)[0m BEGIN
|
184
|
+
----------------------------
|
185
|
+
MakerTest: test_associations
|
186
|
+
----------------------------
|
187
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
188
|
+
[1m[35m (0.1ms)[0m BEGIN
|
189
|
+
-------------------------
|
190
|
+
MakerTest: test_sequences
|
191
|
+
-------------------------
|
192
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
193
|
+
[1m[35m (0.1ms)[0m BEGIN
|
194
|
+
---------------------------
|
195
|
+
MakerTest: test_inheritance
|
196
|
+
---------------------------
|
197
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
198
|
+
[1m[35m (0.1ms)[0m BEGIN
|
199
|
+
-----------------------
|
200
|
+
MakerTest: test_aliases
|
201
|
+
-----------------------
|
202
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
203
|
+
[1m[35m (0.2ms)[0m BEGIN
|
204
|
+
---------------------------
|
205
|
+
GeneratorTest: test_install
|
206
|
+
---------------------------
|
207
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
208
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
209
|
+
[1m[35m (0.2ms)[0m BEGIN
|
210
|
+
-------------------------
|
211
|
+
MakerTest: test_sequences
|
212
|
+
-------------------------
|
213
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
214
|
+
[1m[35mSQL (6.9ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail2@example.com"], ["phone", 2], ["created_at", "2016-12-06 22:01:27.025839"], ["updated_at", "2016-12-06 22:01:27.025839"]]
|
215
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
216
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
217
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "name"], ["username", "name"], ["email", "mail4@example.com"], ["phone", 4], ["created_at", "2016-12-06 22:01:27.036747"], ["updated_at", "2016-12-06 22:01:27.036747"]]
|
218
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
219
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
220
|
+
[1m[35m (0.1ms)[0m BEGIN
|
221
|
+
-------------------------
|
222
|
+
MakerTest: test_dependent
|
223
|
+
-------------------------
|
224
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
225
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail6@example.com"], ["phone", 6], ["created_at", "2016-12-06 22:01:27.039033"], ["updated_at", "2016-12-06 22:01:27.039033"]]
|
226
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
227
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
228
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
229
|
+
-------------------------
|
230
|
+
MakerTest: test_overrides
|
231
|
+
-------------------------
|
232
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
233
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "other"], ["username", "name"], ["email", "mail11@example.com"], ["phone", 11], ["created_at", "2016-12-06 22:01:27.041380"], ["updated_at", "2016-12-06 22:01:27.041380"]]
|
234
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
235
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
236
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail12@example.com"], ["phone", 12], ["created_at", "2016-12-06 22:01:27.042634"], ["updated_at", "2016-12-06 22:01:27.042634"]]
|
237
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
238
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
239
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["name", "other"], ["username", "name"], ["email", "mail13@example.com"], ["phone", 13], ["created_at", "2016-12-06 22:01:27.043876"], ["updated_at", "2016-12-06 22:01:27.043876"]]
|
240
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
241
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
242
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail14@example.com"], ["phone", 14], ["created_at", "2016-12-06 22:01:27.045161"], ["updated_at", "2016-12-06 22:01:27.045161"]]
|
243
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
244
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
245
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
246
|
+
---------------------------
|
247
|
+
MakerTest: test_inheritance
|
248
|
+
---------------------------
|
249
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
250
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("name", "username", "email", "phone", "age", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["name", "name"], ["username", "name"], ["email", "mail16@example.com"], ["phone", 16], ["age", 9], ["created_at", "2016-12-06 22:01:27.047191"], ["updated_at", "2016-12-06 22:01:27.047191"]]
|
251
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
252
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
253
|
+
[1m[35m (0.1ms)[0m BEGIN
|
254
|
+
----------------------------
|
255
|
+
MakerTest: test_associations
|
256
|
+
----------------------------
|
257
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
258
|
+
[1m[35m (0.1ms)[0m BEGIN
|
259
|
+
-----------------------
|
260
|
+
MakerTest: test_aliases
|
261
|
+
-----------------------
|
262
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
263
|
+
[1m[35m (0.1ms)[0m BEGIN
|
264
|
+
---------------------------
|
265
|
+
MakerTest: test_definitions
|
266
|
+
---------------------------
|
267
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
268
|
+
[1m[35m (0.1ms)[0m BEGIN
|
269
|
+
---------------------------
|
270
|
+
GeneratorTest: test_install
|
271
|
+
---------------------------
|
272
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
273
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
274
|
+
[1m[35m (0.2ms)[0m BEGIN
|
275
|
+
-------------------------
|
276
|
+
MakerTest: test_sequences
|
277
|
+
-------------------------
|
278
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
279
|
+
[1m[35m (0.1ms)[0m BEGIN
|
280
|
+
---------------------------
|
281
|
+
MakerTest: test_inheritance
|
282
|
+
---------------------------
|
283
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
284
|
+
[1m[35m (0.2ms)[0m BEGIN
|
285
|
+
----------------------------
|
286
|
+
MakerTest: test_associations
|
287
|
+
----------------------------
|
288
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
289
|
+
[1m[35m (0.1ms)[0m BEGIN
|
290
|
+
---------------------------
|
291
|
+
MakerTest: test_definitions
|
292
|
+
---------------------------
|
293
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
294
|
+
[1m[35m (0.2ms)[0m BEGIN
|
295
|
+
-----------------------
|
296
|
+
MakerTest: test_aliases
|
297
|
+
-----------------------
|
298
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
299
|
+
[1m[35m (0.1ms)[0m BEGIN
|
300
|
+
-------------------------
|
301
|
+
MakerTest: test_overrides
|
302
|
+
-------------------------
|
303
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
304
|
+
[1m[35m (0.1ms)[0m BEGIN
|
305
|
+
-------------------------
|
306
|
+
MakerTest: test_dependent
|
307
|
+
-------------------------
|
308
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
309
|
+
[1m[35m (0.1ms)[0m BEGIN
|
310
|
+
---------------------------
|
311
|
+
GeneratorTest: test_install
|
312
|
+
---------------------------
|
313
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
314
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
315
|
+
[1m[35m (0.2ms)[0m BEGIN
|
316
|
+
----------------------------
|
317
|
+
MakerTest: test_associations
|
318
|
+
----------------------------
|
319
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
320
|
+
[1m[35m (0.1ms)[0m BEGIN
|
321
|
+
-------------------------
|
322
|
+
MakerTest: test_sequences
|
323
|
+
-------------------------
|
324
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
325
|
+
[1m[35m (0.1ms)[0m BEGIN
|
326
|
+
-----------------------
|
327
|
+
MakerTest: test_aliases
|
328
|
+
-----------------------
|
329
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
330
|
+
[1m[35m (0.1ms)[0m BEGIN
|
331
|
+
-------------------------
|
332
|
+
MakerTest: test_dependent
|
333
|
+
-------------------------
|
334
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
335
|
+
[1m[35m (0.1ms)[0m BEGIN
|
336
|
+
---------------------------
|
337
|
+
MakerTest: test_definitions
|
338
|
+
---------------------------
|
339
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
340
|
+
[1m[35m (0.1ms)[0m BEGIN
|
341
|
+
-------------------------
|
342
|
+
MakerTest: test_overrides
|
343
|
+
-------------------------
|
344
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
345
|
+
[1m[35m (0.1ms)[0m BEGIN
|
346
|
+
---------------------------
|
347
|
+
MakerTest: test_inheritance
|
348
|
+
---------------------------
|
349
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
350
|
+
[1m[35m (0.1ms)[0m BEGIN
|
351
|
+
---------------------------
|
352
|
+
GeneratorTest: test_install
|
353
|
+
---------------------------
|
354
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
355
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
356
|
+
[1m[35m (0.2ms)[0m BEGIN
|
357
|
+
-------------------------
|
358
|
+
MakerTest: test_dependent
|
359
|
+
-------------------------
|
360
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
361
|
+
[1m[35m (0.1ms)[0m BEGIN
|
362
|
+
-------------------------
|
363
|
+
MakerTest: test_sequences
|
364
|
+
-------------------------
|
365
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
366
|
+
[1m[35m (0.2ms)[0m BEGIN
|
367
|
+
---------------------------
|
368
|
+
MakerTest: test_definitions
|
369
|
+
---------------------------
|
370
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
371
|
+
[1m[35m (0.1ms)[0m BEGIN
|
372
|
+
-------------------------
|
373
|
+
MakerTest: test_overrides
|
374
|
+
-------------------------
|
375
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
376
|
+
[1m[35m (0.1ms)[0m BEGIN
|
377
|
+
---------------------------
|
378
|
+
MakerTest: test_inheritance
|
379
|
+
---------------------------
|
380
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
381
|
+
[1m[35m (0.1ms)[0m BEGIN
|
382
|
+
-----------------------
|
383
|
+
MakerTest: test_aliases
|
384
|
+
-----------------------
|
385
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
386
|
+
[1m[35m (0.2ms)[0m BEGIN
|
387
|
+
----------------------------
|
388
|
+
MakerTest: test_associations
|
389
|
+
----------------------------
|
390
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
391
|
+
[1m[35m (0.1ms)[0m BEGIN
|
392
|
+
---------------------------
|
393
|
+
GeneratorTest: test_install
|
394
|
+
---------------------------
|
395
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
396
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
397
|
+
[1m[35m (0.2ms)[0m BEGIN
|
398
|
+
-------------------------
|
399
|
+
MakerTest: test_overrides
|
400
|
+
-------------------------
|
401
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
402
|
+
[1m[35m (0.2ms)[0m BEGIN
|
403
|
+
----------------------------
|
404
|
+
MakerTest: test_associations
|
405
|
+
----------------------------
|
406
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
407
|
+
[1m[35m (0.1ms)[0m BEGIN
|
408
|
+
-----------------------
|
409
|
+
MakerTest: test_aliases
|
410
|
+
-----------------------
|
411
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
412
|
+
[1m[35m (0.1ms)[0m BEGIN
|
413
|
+
---------------------------
|
414
|
+
MakerTest: test_inheritance
|
415
|
+
---------------------------
|
416
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
417
|
+
[1m[35m (0.1ms)[0m BEGIN
|
418
|
+
-------------------------
|
419
|
+
MakerTest: test_sequences
|
420
|
+
-------------------------
|
421
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
422
|
+
[1m[35m (0.2ms)[0m BEGIN
|
423
|
+
-------------------------
|
424
|
+
MakerTest: test_dependent
|
425
|
+
-------------------------
|
426
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
427
|
+
[1m[35m (0.1ms)[0m BEGIN
|
428
|
+
---------------------------
|
429
|
+
MakerTest: test_definitions
|
430
|
+
---------------------------
|
431
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
432
|
+
[1m[35m (0.1ms)[0m BEGIN
|
433
|
+
---------------------------
|
434
|
+
GeneratorTest: test_install
|
435
|
+
---------------------------
|
436
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
437
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
438
|
+
[1m[35m (0.2ms)[0m BEGIN
|
439
|
+
---------------------------
|
440
|
+
GeneratorTest: test_install
|
441
|
+
---------------------------
|
442
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
443
|
+
[1m[35m (0.1ms)[0m BEGIN
|
444
|
+
----------------------------
|
445
|
+
MakerTest: test_associations
|
446
|
+
----------------------------
|
447
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
448
|
+
[1m[35m (0.1ms)[0m BEGIN
|
449
|
+
-------------------------
|
450
|
+
MakerTest: test_overrides
|
451
|
+
-------------------------
|
452
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
453
|
+
[1m[35m (0.1ms)[0m BEGIN
|
454
|
+
-------------------------
|
455
|
+
MakerTest: test_dependent
|
456
|
+
-------------------------
|
457
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
458
|
+
[1m[35m (0.1ms)[0m BEGIN
|
459
|
+
-----------------------
|
460
|
+
MakerTest: test_aliases
|
461
|
+
-----------------------
|
462
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
463
|
+
[1m[35m (0.1ms)[0m BEGIN
|
464
|
+
-------------------------
|
465
|
+
MakerTest: test_sequences
|
466
|
+
-------------------------
|
467
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
468
|
+
[1m[35m (0.1ms)[0m BEGIN
|
469
|
+
---------------------------
|
470
|
+
MakerTest: test_definitions
|
471
|
+
---------------------------
|
472
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
473
|
+
[1m[35m (0.1ms)[0m BEGIN
|
474
|
+
---------------------------
|
475
|
+
MakerTest: test_inheritance
|
476
|
+
---------------------------
|
477
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
478
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
479
|
+
[1m[35m (0.2ms)[0m BEGIN
|
480
|
+
---------------------------
|
481
|
+
GeneratorTest: test_install
|
482
|
+
---------------------------
|
483
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
484
|
+
[1m[35m (0.2ms)[0m BEGIN
|
485
|
+
-------------------------
|
486
|
+
MakerTest: test_dependent
|
487
|
+
-------------------------
|
488
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
489
|
+
[1m[35m (0.1ms)[0m BEGIN
|
490
|
+
---------------------------
|
491
|
+
MakerTest: test_definitions
|
492
|
+
---------------------------
|
493
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
494
|
+
[1m[35m (0.2ms)[0m BEGIN
|
495
|
+
---------------------------
|
496
|
+
MakerTest: test_inheritance
|
497
|
+
---------------------------
|
498
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
499
|
+
[1m[35m (0.1ms)[0m BEGIN
|
500
|
+
-------------------------
|
501
|
+
MakerTest: test_overrides
|
502
|
+
-------------------------
|
503
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
504
|
+
[1m[35m (0.1ms)[0m BEGIN
|
505
|
+
-------------------------
|
506
|
+
MakerTest: test_sequences
|
507
|
+
-------------------------
|
508
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
509
|
+
[1m[35m (0.1ms)[0m BEGIN
|
510
|
+
-----------------------
|
511
|
+
MakerTest: test_aliases
|
512
|
+
-----------------------
|
513
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
514
|
+
[1m[35m (0.1ms)[0m BEGIN
|
515
|
+
----------------------------
|
516
|
+
MakerTest: test_associations
|
517
|
+
----------------------------
|
518
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
519
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
520
|
+
[1m[35m (0.2ms)[0m BEGIN
|
521
|
+
---------------------------
|
522
|
+
MakerTest: test_definitions
|
523
|
+
---------------------------
|
524
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
525
|
+
[1m[35m (0.1ms)[0m BEGIN
|
526
|
+
-------------------------
|
527
|
+
MakerTest: test_sequences
|
528
|
+
-------------------------
|
529
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
530
|
+
[1m[35m (0.1ms)[0m BEGIN
|
531
|
+
----------------------------
|
532
|
+
MakerTest: test_associations
|
533
|
+
----------------------------
|
534
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
535
|
+
[1m[35m (0.1ms)[0m BEGIN
|
536
|
+
-------------------------
|
537
|
+
MakerTest: test_overrides
|
538
|
+
-------------------------
|
539
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
540
|
+
[1m[35m (0.1ms)[0m BEGIN
|
541
|
+
-------------------------
|
542
|
+
MakerTest: test_dependent
|
543
|
+
-------------------------
|
544
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
545
|
+
[1m[35m (0.1ms)[0m BEGIN
|
546
|
+
-----------------------
|
547
|
+
MakerTest: test_aliases
|
548
|
+
-----------------------
|
549
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
550
|
+
[1m[35m (0.1ms)[0m BEGIN
|
551
|
+
---------------------------
|
552
|
+
MakerTest: test_inheritance
|
553
|
+
---------------------------
|
554
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
555
|
+
[1m[35m (0.1ms)[0m BEGIN
|
556
|
+
---------------------------
|
557
|
+
GeneratorTest: test_install
|
558
|
+
---------------------------
|
559
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
560
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
561
|
+
[1m[35m (0.3ms)[0m BEGIN
|
562
|
+
---------------------------
|
563
|
+
GeneratorTest: test_install
|
564
|
+
---------------------------
|
565
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
566
|
+
[1m[35m (0.1ms)[0m BEGIN
|
567
|
+
-----------------------
|
568
|
+
MakerTest: test_aliases
|
569
|
+
-----------------------
|
570
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
571
|
+
[1m[35m (0.1ms)[0m BEGIN
|
572
|
+
----------------------------
|
573
|
+
MakerTest: test_associations
|
574
|
+
----------------------------
|
575
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
576
|
+
[1m[35m (0.2ms)[0m BEGIN
|
577
|
+
-------------------------
|
578
|
+
MakerTest: test_sequences
|
579
|
+
-------------------------
|
580
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
581
|
+
[1m[35m (0.1ms)[0m BEGIN
|
582
|
+
---------------------------
|
583
|
+
MakerTest: test_definitions
|
584
|
+
---------------------------
|
585
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
586
|
+
[1m[35m (0.1ms)[0m BEGIN
|
587
|
+
---------------------------
|
588
|
+
MakerTest: test_inheritance
|
589
|
+
---------------------------
|
590
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
591
|
+
[1m[35m (0.1ms)[0m BEGIN
|
592
|
+
-------------------------
|
593
|
+
MakerTest: test_dependent
|
594
|
+
-------------------------
|
595
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
596
|
+
[1m[35m (0.1ms)[0m BEGIN
|
597
|
+
-------------------------
|
598
|
+
MakerTest: test_overrides
|
599
|
+
-------------------------
|
600
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
601
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
602
|
+
[1m[35m (0.2ms)[0m BEGIN
|
603
|
+
---------------------------
|
604
|
+
GeneratorTest: test_install
|
605
|
+
---------------------------
|
606
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
607
|
+
[1m[35m (0.1ms)[0m BEGIN
|
608
|
+
-----------------------
|
609
|
+
MakerTest: test_aliases
|
610
|
+
-----------------------
|
611
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
612
|
+
[1m[35m (0.1ms)[0m BEGIN
|
613
|
+
-------------------------
|
614
|
+
MakerTest: test_dependent
|
615
|
+
-------------------------
|
616
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
617
|
+
[1m[35m (0.1ms)[0m BEGIN
|
618
|
+
---------------------------
|
619
|
+
MakerTest: test_inheritance
|
620
|
+
---------------------------
|
621
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
622
|
+
[1m[35m (0.1ms)[0m BEGIN
|
623
|
+
---------------------------
|
624
|
+
MakerTest: test_definitions
|
625
|
+
---------------------------
|
626
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
627
|
+
[1m[35m (0.1ms)[0m BEGIN
|
628
|
+
-------------------------
|
629
|
+
MakerTest: test_sequences
|
630
|
+
-------------------------
|
631
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
632
|
+
[1m[35m (0.1ms)[0m BEGIN
|
633
|
+
----------------------------
|
634
|
+
MakerTest: test_associations
|
635
|
+
----------------------------
|
636
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
637
|
+
[1m[35m (0.1ms)[0m BEGIN
|
638
|
+
-------------------------
|
639
|
+
MakerTest: test_overrides
|
640
|
+
-------------------------
|
641
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
642
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
643
|
+
[1m[35m (0.2ms)[0m BEGIN
|
644
|
+
---------------------------
|
645
|
+
GeneratorTest: test_install
|
646
|
+
---------------------------
|
647
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
648
|
+
[1m[35m (0.2ms)[0m BEGIN
|
649
|
+
---------------------------
|
650
|
+
MakerTest: test_definitions
|
651
|
+
---------------------------
|
652
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
653
|
+
[1m[35m (0.1ms)[0m BEGIN
|
654
|
+
----------------------------
|
655
|
+
MakerTest: test_associations
|
656
|
+
----------------------------
|
657
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
658
|
+
[1m[35m (0.2ms)[0m BEGIN
|
659
|
+
-------------------------
|
660
|
+
MakerTest: test_dependent
|
661
|
+
-------------------------
|
662
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
663
|
+
[1m[35m (0.2ms)[0m BEGIN
|
664
|
+
-----------------------
|
665
|
+
MakerTest: test_aliases
|
666
|
+
-----------------------
|
667
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
668
|
+
[1m[35m (0.1ms)[0m BEGIN
|
669
|
+
---------------------------
|
670
|
+
MakerTest: test_inheritance
|
671
|
+
---------------------------
|
672
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
673
|
+
[1m[35m (0.1ms)[0m BEGIN
|
674
|
+
-------------------------
|
675
|
+
MakerTest: test_overrides
|
676
|
+
-------------------------
|
677
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
678
|
+
[1m[35m (0.1ms)[0m BEGIN
|
679
|
+
-------------------------
|
680
|
+
MakerTest: test_sequences
|
681
|
+
-------------------------
|
682
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
683
|
+
[1m[36mActiveRecord::SchemaMigration Load (6.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
684
|
+
[1m[35m (0.2ms)[0m BEGIN
|
685
|
+
---------------------------
|
686
|
+
GeneratorTest: test_install
|
687
|
+
---------------------------
|
688
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
689
|
+
[1m[35m (0.1ms)[0m BEGIN
|
690
|
+
-----------------------
|
691
|
+
MakerTest: test_aliases
|
692
|
+
-----------------------
|
693
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
694
|
+
[1m[35m (0.1ms)[0m BEGIN
|
695
|
+
----------------------------
|
696
|
+
MakerTest: test_associations
|
697
|
+
----------------------------
|
698
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
699
|
+
[1m[35m (0.1ms)[0m BEGIN
|
700
|
+
-------------------------
|
701
|
+
MakerTest: test_dependent
|
702
|
+
-------------------------
|
703
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
704
|
+
[1m[35m (0.1ms)[0m BEGIN
|
705
|
+
-------------------------
|
706
|
+
MakerTest: test_sequences
|
707
|
+
-------------------------
|
708
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
709
|
+
[1m[35m (0.1ms)[0m BEGIN
|
710
|
+
-------------------------
|
711
|
+
MakerTest: test_overrides
|
712
|
+
-------------------------
|
713
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
714
|
+
[1m[35m (0.1ms)[0m BEGIN
|
715
|
+
---------------------------
|
716
|
+
MakerTest: test_inheritance
|
717
|
+
---------------------------
|
718
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
719
|
+
[1m[35m (0.1ms)[0m BEGIN
|
720
|
+
---------------------------
|
721
|
+
MakerTest: test_definitions
|
722
|
+
---------------------------
|
723
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
724
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
725
|
+
[1m[35m (0.2ms)[0m BEGIN
|
726
|
+
----------------------------
|
727
|
+
MakerTest: test_associations
|
728
|
+
----------------------------
|
729
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
730
|
+
[1m[35m (0.1ms)[0m BEGIN
|
731
|
+
-----------------------
|
732
|
+
MakerTest: test_aliases
|
733
|
+
-----------------------
|
734
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
735
|
+
[1m[35m (0.1ms)[0m BEGIN
|
736
|
+
-------------------------
|
737
|
+
MakerTest: test_sequences
|
738
|
+
-------------------------
|
739
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
740
|
+
[1m[35m (0.2ms)[0m BEGIN
|
741
|
+
---------------------------
|
742
|
+
MakerTest: test_definitions
|
743
|
+
---------------------------
|
744
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
745
|
+
[1m[35m (0.1ms)[0m BEGIN
|
746
|
+
---------------------------
|
747
|
+
MakerTest: test_inheritance
|
748
|
+
---------------------------
|
749
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
750
|
+
[1m[35m (0.1ms)[0m BEGIN
|
751
|
+
-------------------------
|
752
|
+
MakerTest: test_overrides
|
753
|
+
-------------------------
|
754
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
755
|
+
[1m[35m (0.1ms)[0m BEGIN
|
756
|
+
-------------------------
|
757
|
+
MakerTest: test_dependent
|
758
|
+
-------------------------
|
759
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
760
|
+
[1m[35m (0.1ms)[0m BEGIN
|
761
|
+
---------------------------
|
762
|
+
GeneratorTest: test_install
|
763
|
+
---------------------------
|
764
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
765
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
766
|
+
[1m[35m (0.2ms)[0m BEGIN
|
767
|
+
---------------------------
|
768
|
+
GeneratorTest: test_install
|
769
|
+
---------------------------
|
770
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
771
|
+
[1m[35m (0.1ms)[0m BEGIN
|
772
|
+
-------------------------
|
773
|
+
MakerTest: test_dependent
|
774
|
+
-------------------------
|
775
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
776
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail2@example.com"], ["phone", 2], ["created_at", "2016-12-07 04:05:43.102936"], ["updated_at", "2016-12-07 04:05:43.102936"]]
|
777
|
+
[1m[36mSQL (1.9ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 9], ["created_at", "2016-12-07 04:05:43.107429"], ["updated_at", "2016-12-07 04:05:43.107429"]]
|
778
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
779
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
780
|
+
[1m[35m (0.1ms)[0m BEGIN
|
781
|
+
-----------------------
|
782
|
+
MakerTest: test_aliases
|
783
|
+
-----------------------
|
784
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
785
|
+
[1m[35m (0.1ms)[0m BEGIN
|
786
|
+
-------------------------
|
787
|
+
MakerTest: test_sequences
|
788
|
+
-------------------------
|
789
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
790
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail4@example.com"], ["phone", 4], ["created_at", "2016-12-07 04:05:43.114287"], ["updated_at", "2016-12-07 04:05:43.114287"]]
|
791
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 10], ["created_at", "2016-12-07 04:05:43.115287"], ["updated_at", "2016-12-07 04:05:43.115287"]]
|
792
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
793
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
794
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail6@example.com"], ["phone", 6], ["created_at", "2016-12-07 04:05:43.117066"], ["updated_at", "2016-12-07 04:05:43.117066"]]
|
795
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 11], ["created_at", "2016-12-07 04:05:43.117784"], ["updated_at", "2016-12-07 04:05:43.117784"]]
|
796
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
797
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
798
|
+
[1m[35m (0.1ms)[0m BEGIN
|
799
|
+
---------------------------
|
800
|
+
MakerTest: test_inheritance
|
801
|
+
---------------------------
|
802
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
803
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["age", 9], ["name", "name"], ["username", "name"], ["email", "mail8@example.com"], ["phone", 8], ["created_at", "2016-12-07 04:05:43.120445"], ["updated_at", "2016-12-07 04:05:43.120445"]]
|
804
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 12], ["created_at", "2016-12-07 04:05:43.121503"], ["updated_at", "2016-12-07 04:05:43.121503"]]
|
805
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
806
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
807
|
+
[1m[35m (0.1ms)[0m BEGIN
|
808
|
+
---------------------------
|
809
|
+
MakerTest: test_definitions
|
810
|
+
---------------------------
|
811
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
812
|
+
[1m[35m (0.1ms)[0m BEGIN
|
813
|
+
----------------------------
|
814
|
+
MakerTest: test_associations
|
815
|
+
----------------------------
|
816
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
817
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-07 04:05:43.124957"], ["updated_at", "2016-12-07 04:05:43.124957"]]
|
818
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
819
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
820
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-07 04:05:43.126274"], ["updated_at", "2016-12-07 04:05:43.126274"]]
|
821
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
822
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
823
|
+
[1m[35m (0.2ms)[0m BEGIN
|
824
|
+
-------------------------
|
825
|
+
MakerTest: test_overrides
|
826
|
+
-------------------------
|
827
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
828
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail15@example.com"], ["phone", 15], ["created_at", "2016-12-07 04:05:43.129678"], ["updated_at", "2016-12-07 04:05:43.129678"]]
|
829
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 13], ["created_at", "2016-12-07 04:05:43.130399"], ["updated_at", "2016-12-07 04:05:43.130399"]]
|
830
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
831
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
832
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail16@example.com"], ["phone", 16], ["created_at", "2016-12-07 04:05:43.131886"], ["updated_at", "2016-12-07 04:05:43.131886"]]
|
833
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 14], ["created_at", "2016-12-07 04:05:43.132591"], ["updated_at", "2016-12-07 04:05:43.132591"]]
|
834
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
835
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
836
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail17@example.com"], ["phone", 17], ["created_at", "2016-12-07 04:05:43.134080"], ["updated_at", "2016-12-07 04:05:43.134080"]]
|
837
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 15], ["created_at", "2016-12-07 04:05:43.134786"], ["updated_at", "2016-12-07 04:05:43.134786"]]
|
838
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
839
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
840
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail18@example.com"], ["phone", 18], ["created_at", "2016-12-07 04:05:43.136213"], ["updated_at", "2016-12-07 04:05:43.136213"]]
|
841
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 16], ["created_at", "2016-12-07 04:05:43.136904"], ["updated_at", "2016-12-07 04:05:43.136904"]]
|
842
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
843
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
844
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
845
|
+
[1m[35m (0.2ms)[0m BEGIN
|
846
|
+
-------------------------
|
847
|
+
MakerTest: test_sequences
|
848
|
+
-------------------------
|
849
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
850
|
+
[1m[35mSQL (6.7ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail2@example.com"], ["phone", 2], ["created_at", "2016-12-07 12:49:09.542239"], ["updated_at", "2016-12-07 12:49:09.542239"]]
|
851
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 17], ["created_at", "2016-12-07 12:49:09.553180"], ["updated_at", "2016-12-07 12:49:09.553180"]]
|
852
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
853
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
854
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail4@example.com"], ["phone", 4], ["created_at", "2016-12-07 12:49:09.555813"], ["updated_at", "2016-12-07 12:49:09.555813"]]
|
855
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 18], ["created_at", "2016-12-07 12:49:09.556552"], ["updated_at", "2016-12-07 12:49:09.556552"]]
|
856
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
857
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
858
|
+
[1m[35m (0.1ms)[0m BEGIN
|
859
|
+
---------------------------
|
860
|
+
MakerTest: test_definitions
|
861
|
+
---------------------------
|
862
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
863
|
+
[1m[35m (0.1ms)[0m BEGIN
|
864
|
+
----------------------------
|
865
|
+
MakerTest: test_associations
|
866
|
+
----------------------------
|
867
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
868
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-12-07 12:49:09.559995"], ["updated_at", "2016-12-07 12:49:09.559995"]]
|
869
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
870
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
871
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", "2016-12-07 12:49:09.561316"], ["updated_at", "2016-12-07 12:49:09.561316"]]
|
872
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
873
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
874
|
+
[1m[35m (0.1ms)[0m BEGIN
|
875
|
+
-------------------------
|
876
|
+
MakerTest: test_overrides
|
877
|
+
-------------------------
|
878
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
879
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail11@example.com"], ["phone", 11], ["created_at", "2016-12-07 12:49:09.564977"], ["updated_at", "2016-12-07 12:49:09.564977"]]
|
880
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 19], ["created_at", "2016-12-07 12:49:09.565758"], ["updated_at", "2016-12-07 12:49:09.565758"]]
|
881
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
882
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
883
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail12@example.com"], ["phone", 12], ["created_at", "2016-12-07 12:49:09.567259"], ["updated_at", "2016-12-07 12:49:09.567259"]]
|
884
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 20], ["created_at", "2016-12-07 12:49:09.567964"], ["updated_at", "2016-12-07 12:49:09.567964"]]
|
885
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
886
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
887
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail13@example.com"], ["phone", 13], ["created_at", "2016-12-07 12:49:09.569537"], ["updated_at", "2016-12-07 12:49:09.569537"]]
|
888
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 21], ["created_at", "2016-12-07 12:49:09.570222"], ["updated_at", "2016-12-07 12:49:09.570222"]]
|
889
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
890
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
891
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "other"], ["username", "name"], ["email", "mail14@example.com"], ["phone", 14], ["created_at", "2016-12-07 12:49:09.571985"], ["updated_at", "2016-12-07 12:49:09.571985"]]
|
892
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 22], ["created_at", "2016-12-07 12:49:09.572743"], ["updated_at", "2016-12-07 12:49:09.572743"]]
|
893
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
894
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
895
|
+
[1m[35m (0.1ms)[0m BEGIN
|
896
|
+
-------------------------
|
897
|
+
MakerTest: test_dependent
|
898
|
+
-------------------------
|
899
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
900
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["name", "name"], ["username", "name"], ["email", "mail16@example.com"], ["phone", 16], ["created_at", "2016-12-07 12:49:09.575381"], ["updated_at", "2016-12-07 12:49:09.575381"]]
|
901
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 23], ["created_at", "2016-12-07 12:49:09.576170"], ["updated_at", "2016-12-07 12:49:09.576170"]]
|
902
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
903
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
904
|
+
[1m[35m (0.1ms)[0m BEGIN
|
905
|
+
-----------------------
|
906
|
+
MakerTest: test_aliases
|
907
|
+
-----------------------
|
908
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
909
|
+
[1m[35m (0.1ms)[0m BEGIN
|
910
|
+
---------------------------
|
911
|
+
MakerTest: test_inheritance
|
912
|
+
---------------------------
|
913
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
914
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("age", "name", "username", "email", "phone", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["age", 9], ["name", "name"], ["username", "name"], ["email", "mail18@example.com"], ["phone", 18], ["created_at", "2016-12-07 12:49:09.579373"], ["updated_at", "2016-12-07 12:49:09.579373"]]
|
915
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("user_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["user_id", 24], ["created_at", "2016-12-07 12:49:09.580303"], ["updated_at", "2016-12-07 12:49:09.580303"]]
|
916
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
917
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
918
|
+
[1m[35m (0.1ms)[0m BEGIN
|
919
|
+
---------------------------
|
920
|
+
GeneratorTest: test_install
|
921
|
+
---------------------------
|
922
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
data/test/dummy/test/makers.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: makers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.0.
|
4
|
+
version: 4.0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mmontossi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -98,6 +98,9 @@ files:
|
|
98
98
|
- test/dummy/config/secrets.yml
|
99
99
|
- test/dummy/db/migrate/20140613221835_create_users.rb
|
100
100
|
- test/dummy/db/migrate/20140615180954_create_posts.rb
|
101
|
+
- test/dummy/db/schema.rb
|
102
|
+
- test/dummy/log/development.log
|
103
|
+
- test/dummy/log/test.log
|
101
104
|
- test/dummy/public/404.html
|
102
105
|
- test/dummy/public/422.html
|
103
106
|
- test/dummy/public/500.html
|
@@ -164,6 +167,9 @@ test_files:
|
|
164
167
|
- test/dummy/config.ru
|
165
168
|
- test/dummy/db/migrate/20140613221835_create_users.rb
|
166
169
|
- test/dummy/db/migrate/20140615180954_create_posts.rb
|
170
|
+
- test/dummy/db/schema.rb
|
171
|
+
- test/dummy/log/development.log
|
172
|
+
- test/dummy/log/test.log
|
167
173
|
- test/dummy/public/404.html
|
168
174
|
- test/dummy/public/422.html
|
169
175
|
- test/dummy/public/500.html
|