groonga-client-model 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +30 -0
- data/groonga-client-model.gemspec +1 -1
- data/lib/groonga_client_model/log_subscriber.rb +1 -3
- data/lib/groonga_client_model/migration.rb +493 -0
- data/lib/groonga_client_model/migrator.rb +240 -0
- data/lib/groonga_client_model/railtie.rb +4 -2
- data/lib/groonga_client_model/railties/groonga.rake +55 -2
- data/lib/groonga_client_model/record.rb +39 -1
- data/lib/groonga_client_model/schema.rb +8 -0
- data/lib/groonga_client_model/schema_loader.rb +4 -9
- data/lib/groonga_client_model/test/groonga_server_runner.rb +19 -3
- data/lib/groonga_client_model/version.rb +1 -1
- data/lib/rails/generators/groonga_client_model/migration/templates/create_table_migration.rb +14 -0
- data/lib/rails/generators/groonga_client_model/migration/templates/delete_config_migration.rb +9 -0
- data/lib/rails/generators/groonga_client_model/migration/templates/migration.rb +12 -0
- data/lib/rails/generators/groonga_client_model/migration/templates/set_config_migration.rb +10 -0
- data/lib/rails/generators/groonga_client_model/migration_generator.rb +125 -0
- data/lib/rails/generators/groonga_client_model/{model/model_generator.rb → model_generator.rb} +18 -4
- data/test/apps/rails4/Gemfile.lock +2 -2
- data/test/apps/rails4/db/groonga/migrate/20170303120517_create_posts.rb +8 -0
- data/test/apps/rails4/db/groonga/migrate/20170303120527_create_terms.rb +7 -0
- data/test/apps/rails4/db/groonga/migrate/20170303120536_create_ages.rb +6 -0
- data/test/apps/rails4/log/development.log +22 -0
- data/test/apps/rails4/log/test.log +1350 -0
- data/test/apps/rails4/test/generators/migration_generator_test.rb +103 -0
- data/test/apps/rails4/test/tmp/db/groonga/migrate/20170307045825_set_config_alias_column.rb +10 -0
- data/test/apps/rails5/Gemfile.lock +8 -8
- data/test/apps/rails5/db/groonga/migrate/20170301061420_create_posts.rb +8 -0
- data/test/apps/rails5/db/groonga/migrate/20170303115054_create_terms.rb +7 -0
- data/test/apps/rails5/db/groonga/migrate/20170303115135_create_ages.rb +6 -0
- data/test/apps/rails5/log/development.log +350 -0
- data/test/apps/rails5/log/test.log +3260 -0
- data/test/apps/rails5/test/generators/migration_generator_test.rb +103 -0
- data/test/apps/rails5/test/tmp/db/groonga/migrate/20170307081511_remove_title_from_posts.rb +5 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/5C/5Cws9GLWcOju_f3tIpY01qSaj7zkLAU0a2bQmpf7sS8.cache +1 -0
- data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/XH/XH9pWZvGgK476BpPGID5z8hjzRmGJjtzV0cHBLXhIKc.cache +1 -0
- data/test/unit/fixtures/migrate/20170301061420_create_posts.rb +8 -0
- data/test/unit/fixtures/migrate/20170303115054_create_terms.rb +7 -0
- data/test/unit/fixtures/migrate/20170303115135_create_ages.rb +6 -0
- data/test/unit/migration/test_config.rb +62 -0
- data/test/unit/migration/test_copy.rb +117 -0
- data/test/unit/migration/test_create_table.rb +528 -0
- data/test/unit/migration/test_exist.rb +47 -0
- data/test/unit/migration/test_load.rb +83 -0
- data/test/unit/record/test_active_model.rb +31 -0
- data/test/unit/record/test_readers.rb +45 -0
- data/test/unit/record/test_timestamps.rb +76 -0
- data/test/unit/record/test_validators.rb +295 -0
- data/test/unit/run-test.rb +1 -2
- data/test/unit/test_helper.rb +109 -0
- data/test/unit/test_load_value_generator.rb +8 -7
- data/test/unit/test_migrator.rb +156 -0
- metadata +64 -11
- data/test/apps/rails4/db/schema.grn +0 -9
- data/test/apps/rails5/db/schema.grn +0 -11
- data/test/unit/test_record.rb +0 -345
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2016 Kouhei Sutou <kou@clear-code.com>
|
1
|
+
# Copyright (C) 2016-2017 Kouhei Sutou <kou@clear-code.com>
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -15,10 +15,14 @@
|
|
15
15
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
16
|
|
17
17
|
require "pathname"
|
18
|
+
require "socket"
|
19
|
+
require "stringio"
|
18
20
|
require "uri"
|
19
21
|
|
20
22
|
require "groonga/client/test/groonga-server-runner"
|
21
23
|
|
24
|
+
require "groonga_client_model/migrator"
|
25
|
+
|
22
26
|
module GroongaClientModel
|
23
27
|
module Test
|
24
28
|
class GroongaServerRunner < Groonga::Client::Test::GroongaServerRunner
|
@@ -36,8 +40,20 @@ module GroongaClientModel
|
|
36
40
|
else
|
37
41
|
base_dir = Pathname.pwd
|
38
42
|
end
|
39
|
-
|
40
|
-
|
43
|
+
|
44
|
+
schema_path = base_dir + "db" + "schema.grn"
|
45
|
+
migrate_path = base_dir + "db" + "groonga" + "migrate"
|
46
|
+
if schema_path.exist?
|
47
|
+
schema_path.open do |schema_file|
|
48
|
+
schema_loader = SchemaLoader.new(schema_file)
|
49
|
+
schema_loader.load
|
50
|
+
end
|
51
|
+
elsif migrate_path.exist?
|
52
|
+
output = StringIO.new
|
53
|
+
migrator = Migrator.new(migrate_path)
|
54
|
+
migrator.output = output
|
55
|
+
migrator.migrate
|
56
|
+
end
|
41
57
|
end
|
42
58
|
|
43
59
|
def url
|
@@ -0,0 +1,14 @@
|
|
1
|
+
class <%= migration_class_name %> < GroongaClientModel::Migration
|
2
|
+
def change
|
3
|
+
create_table :<%= table_name %><%=
|
4
|
+
create_table_options(" create_table ".size)
|
5
|
+
%> do |t|
|
6
|
+
<% target_attributes.each do |attribute| -%>
|
7
|
+
t.<%= attribute.type %> :<%= attribute.name %><%= attribute.inject_options %>
|
8
|
+
<% end -%>
|
9
|
+
<% if options[:timestamps] -%>
|
10
|
+
t.timestamps
|
11
|
+
<% end -%>
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
class <%= migration_class_name %> < GroongaClientModel::Migration
|
2
|
+
def change
|
3
|
+
<%- attributes.each do |attribute| -%>
|
4
|
+
<%- case @migration_action -%>
|
5
|
+
<%- when :add -%>
|
6
|
+
add_column :<%= table_name %>, :<%= attribute.name %>, :<%= attribute.type %><%= attribute.inject_options %>
|
7
|
+
<%- when :remove -%>
|
8
|
+
remove_column :<%= table_name %>, :<%= attribute.name %>
|
9
|
+
<%- end -%>
|
10
|
+
<%- end -%>
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,125 @@
|
|
1
|
+
# Copyright (C) 2017 Kouhei Sutou <kou@clear-code.com>
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
require "rails/generators/named_base"
|
18
|
+
require "rails/generators/migration"
|
19
|
+
|
20
|
+
require "groonga-client-model"
|
21
|
+
require "groonga_client_model/migration"
|
22
|
+
require "groonga_client_model/migrator"
|
23
|
+
|
24
|
+
module GroongaClientModel
|
25
|
+
module Generators
|
26
|
+
class MigrationGenerator < Rails::Generators::NamedBase
|
27
|
+
include Rails::Generators::Migration
|
28
|
+
|
29
|
+
class << self
|
30
|
+
def next_migration_number(dirname)
|
31
|
+
next_migration_number = current_migration_number(dirname) + 1
|
32
|
+
Migrator.next_migration_number(next_migration_number)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
source_root File.join(__dir__, "migration", "templates")
|
37
|
+
|
38
|
+
argument :attributes,
|
39
|
+
type: :array,
|
40
|
+
default: [],
|
41
|
+
banner: "name:type name:type"
|
42
|
+
|
43
|
+
class_option :table_type,
|
44
|
+
type: :string,
|
45
|
+
desc: "The table type (array, hash_table, patricia_trie or double_array_trie)"
|
46
|
+
class_option :table_propose,
|
47
|
+
type: :string,
|
48
|
+
desc: "The table propose (full_text_search)"
|
49
|
+
class_option :timestamps,
|
50
|
+
type: :boolean,
|
51
|
+
desc: "Whether creating columns for timestamps or not"
|
52
|
+
|
53
|
+
def create_migration_file
|
54
|
+
IllegalMigrationNameError.validate(file_name)
|
55
|
+
decide_template(file_name)
|
56
|
+
migration_template(@migration_template,
|
57
|
+
File.join(Migrator.default_search_path,
|
58
|
+
"#{file_name}.rb"))
|
59
|
+
end
|
60
|
+
|
61
|
+
private
|
62
|
+
def decide_template(output_file_name)
|
63
|
+
@migration_template = "migration.rb"
|
64
|
+
@migration_action = nil
|
65
|
+
@key_type = nil
|
66
|
+
case output_file_name
|
67
|
+
when /\Aadd_.*_to_(.*)\z/
|
68
|
+
@migration_action = :add
|
69
|
+
@table_name = normalize_table_name($1)
|
70
|
+
when /\Aremove_.*_from_(.*)\z/
|
71
|
+
@migration_action = :remove
|
72
|
+
@table_name = normalize_table_name($1)
|
73
|
+
when /\Acreate_(.+)\z/
|
74
|
+
@table_name = normalize_table_name($1)
|
75
|
+
@migration_template = "create_table_migration.rb"
|
76
|
+
attributes.each do |attribute|
|
77
|
+
if attribute.name == "_key"
|
78
|
+
@key_type = attribute.type
|
79
|
+
break
|
80
|
+
end
|
81
|
+
end
|
82
|
+
when /\Aset_config_(.*)\z/
|
83
|
+
@migration_template = "set_config_migration.rb"
|
84
|
+
@config_key = normalize_config_key($1)
|
85
|
+
if attributes.empty?
|
86
|
+
@config_value = "new value"
|
87
|
+
else
|
88
|
+
@config_value = attributes.first.name
|
89
|
+
end
|
90
|
+
when /\Adelete_config_(.*)\z/
|
91
|
+
@migration_template = "delete_config_migration.rb"
|
92
|
+
@config_key = normalize_config_key($1)
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
def normalize_table_name(name)
|
97
|
+
name.pluralize
|
98
|
+
end
|
99
|
+
|
100
|
+
def create_table_options(indent_size=0)
|
101
|
+
prefix = ",\n" + (" " * indent_size)
|
102
|
+
table_type = @options[:table_type]
|
103
|
+
table_type ||= "hash_table" if @key_type
|
104
|
+
table_propose = @options[:table_propose]
|
105
|
+
options_text = ""
|
106
|
+
if table_type
|
107
|
+
options_text << "#{prefix}type: :#{table_type}"
|
108
|
+
options_text << "#{prefix}key_type: :#{@key_type}" if @key_type
|
109
|
+
end
|
110
|
+
options_text << "#{prefix}propose: :#{table_propose}" if table_propose
|
111
|
+
options_text
|
112
|
+
end
|
113
|
+
|
114
|
+
def target_attributes
|
115
|
+
attributes.reject do |attribute|
|
116
|
+
attribute.name == "_key"
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
def normalize_config_key(key)
|
121
|
+
key.gsub(/_/, ".")
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
data/lib/rails/generators/groonga_client_model/{model/model_generator.rb → model_generator.rb}
RENAMED
@@ -16,25 +16,39 @@
|
|
16
16
|
|
17
17
|
require "rails/generators/named_base"
|
18
18
|
require "rails/generators/active_model"
|
19
|
+
|
19
20
|
require "groonga-client-model"
|
20
21
|
|
21
22
|
module GroongaClientModel
|
22
23
|
module Generators
|
23
24
|
class ModelGenerator < Rails::Generators::NamedBase
|
24
|
-
|
25
|
+
check_class_collision
|
26
|
+
|
27
|
+
source_root File.join(__dir__, "model", "templates")
|
25
28
|
|
26
29
|
argument :attributes,
|
27
30
|
type: :array,
|
28
31
|
default: [],
|
29
32
|
banner: "field[:type][:index] field[:type][:index]"
|
30
33
|
|
31
|
-
check_class_collision
|
32
|
-
|
33
34
|
class_option :parent,
|
34
35
|
type: :string,
|
35
36
|
desc: "The parent class for the generated model"
|
36
37
|
|
37
38
|
hook_for :test_framework
|
39
|
+
hook_for :migration do |klass|
|
40
|
+
args = ["create_#{table_name}"]
|
41
|
+
attributes.each do |attribute|
|
42
|
+
arg = "#{attribute.name}:#{attribute.type}"
|
43
|
+
if attribute.has_uniq_index?
|
44
|
+
arg << ":unique"
|
45
|
+
elsif attribute.has_index?
|
46
|
+
arg << ":index"
|
47
|
+
end
|
48
|
+
args << arg
|
49
|
+
end
|
50
|
+
invoke(klass, args)
|
51
|
+
end
|
38
52
|
|
39
53
|
def create_model_file
|
40
54
|
generate_application_groonga_record
|
@@ -62,7 +76,7 @@ module GroongaClientModel
|
|
62
76
|
|
63
77
|
def application_groonga_record_file_name
|
64
78
|
"app/models/application_groonga_record.rb"
|
65
|
-
|
79
|
+
end
|
66
80
|
end
|
67
81
|
end
|
68
82
|
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
[1m[36mobject_exist (1.5ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
2
|
+
[1m[36mtable_create (50.3ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
3
|
+
[1m[36mtable_create (40.9ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
4
|
+
[1m[36mcolumn_create (69.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
5
|
+
[1m[36mcolumn_create (38.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
6
|
+
[1m[36mload (3.0ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
7
|
+
[1m[36mtable_create (28.0ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
8
|
+
[1m[36mload (2.6ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
9
|
+
[1m[36mtable_create (36.6ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
10
|
+
[1m[36mload (2.7ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
11
|
+
[1m[36mobject_exist (1.4ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
12
|
+
[1m[36mtable_create (59.0ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
13
|
+
[1m[36mtable_create (32.6ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
14
|
+
[1m[36mcolumn_create (56.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
15
|
+
[1m[36mcolumn_create (59.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
16
|
+
[1m[36mload (2.9ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
17
|
+
[1m[36mtable_create (27.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
18
|
+
[1m[36mschema (5.1ms)[0m [1m[35mschema[0m
|
19
|
+
[1m[36mcolumn_create (94.6ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
20
|
+
[1m[36mload (2.7ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
21
|
+
[1m[36mtable_create (36.7ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
22
|
+
[1m[36mload (3.0ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
@@ -440,3 +440,1353 @@ PostTest: test_.create([Hash])
|
|
440
440
|
[1m[35mselect (34.6ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
441
441
|
[1m[35mselect (1.3ms)[0m [1m[34mselect --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"[0m
|
442
442
|
[1m[36mshutdown (0.8ms)[0m [1m[35mshutdown[0m
|
443
|
+
----------------------------------------
|
444
|
+
PostsControllerTest: test_should_get_new
|
445
|
+
----------------------------------------
|
446
|
+
[1m[36mshutdown (2.0ms)[0m [1m[35mshutdown[0m
|
447
|
+
------------------------------------------
|
448
|
+
PostsControllerTest: test_should_get_index
|
449
|
+
------------------------------------------
|
450
|
+
[1m[36mshutdown (1.8ms)[0m [1m[35mshutdown[0m
|
451
|
+
---------------------------------------------
|
452
|
+
PostsControllerTest: test_should_destroy_post
|
453
|
+
---------------------------------------------
|
454
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
455
|
+
-----------------------------------------
|
456
|
+
PostsControllerTest: test_should_get_edit
|
457
|
+
-----------------------------------------
|
458
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
459
|
+
------------------------------------------
|
460
|
+
PostsControllerTest: test_should_show_post
|
461
|
+
------------------------------------------
|
462
|
+
[1m[36mshutdown (2.6ms)[0m [1m[35mshutdown[0m
|
463
|
+
--------------------------------------------
|
464
|
+
PostsControllerTest: test_should_update_post
|
465
|
+
--------------------------------------------
|
466
|
+
[1m[36mshutdown (2.6ms)[0m [1m[35mshutdown[0m
|
467
|
+
--------------------------------------------
|
468
|
+
PostsControllerTest: test_should_create_post
|
469
|
+
--------------------------------------------
|
470
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
471
|
+
------------------------------
|
472
|
+
PostTest: test_.create([Hash])
|
473
|
+
------------------------------
|
474
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
475
|
+
----------------------------
|
476
|
+
PostTest: test_.create(Hash)
|
477
|
+
----------------------------
|
478
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
479
|
+
------------------------------------------
|
480
|
+
PostsControllerTest: test_should_get_index
|
481
|
+
------------------------------------------
|
482
|
+
[1m[36mshutdown (3.3ms)[0m [1m[35mshutdown[0m
|
483
|
+
--------------------------------------------
|
484
|
+
PostsControllerTest: test_should_update_post
|
485
|
+
--------------------------------------------
|
486
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
487
|
+
-----------------------------------------
|
488
|
+
PostsControllerTest: test_should_get_edit
|
489
|
+
-----------------------------------------
|
490
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
491
|
+
---------------------------------------------
|
492
|
+
PostsControllerTest: test_should_destroy_post
|
493
|
+
---------------------------------------------
|
494
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
495
|
+
------------------------------------------
|
496
|
+
PostsControllerTest: test_should_show_post
|
497
|
+
------------------------------------------
|
498
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
499
|
+
--------------------------------------------
|
500
|
+
PostsControllerTest: test_should_create_post
|
501
|
+
--------------------------------------------
|
502
|
+
[1m[36mshutdown (1.1ms)[0m [1m[35mshutdown[0m
|
503
|
+
----------------------------------------
|
504
|
+
PostsControllerTest: test_should_get_new
|
505
|
+
----------------------------------------
|
506
|
+
[1m[36mshutdown (2.6ms)[0m [1m[35mshutdown[0m
|
507
|
+
----------------------------
|
508
|
+
PostTest: test_.create(Hash)
|
509
|
+
----------------------------
|
510
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
511
|
+
------------------------------
|
512
|
+
PostTest: test_.create([Hash])
|
513
|
+
------------------------------
|
514
|
+
[1m[36mshutdown (2.7ms)[0m [1m[35mshutdown[0m
|
515
|
+
--------------------------------------------
|
516
|
+
PostsControllerTest: test_should_create_post
|
517
|
+
--------------------------------------------
|
518
|
+
[1m[36mshutdown (1.5ms)[0m [1m[35mshutdown[0m
|
519
|
+
-----------------------------------------
|
520
|
+
PostsControllerTest: test_should_get_edit
|
521
|
+
-----------------------------------------
|
522
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
523
|
+
------------------------------------------
|
524
|
+
PostsControllerTest: test_should_show_post
|
525
|
+
------------------------------------------
|
526
|
+
[1m[36mshutdown (2.4ms)[0m [1m[35mshutdown[0m
|
527
|
+
--------------------------------------------
|
528
|
+
PostsControllerTest: test_should_update_post
|
529
|
+
--------------------------------------------
|
530
|
+
[1m[36mshutdown (2.4ms)[0m [1m[35mshutdown[0m
|
531
|
+
------------------------------------------
|
532
|
+
PostsControllerTest: test_should_get_index
|
533
|
+
------------------------------------------
|
534
|
+
[1m[36mshutdown (2.6ms)[0m [1m[35mshutdown[0m
|
535
|
+
----------------------------------------
|
536
|
+
PostsControllerTest: test_should_get_new
|
537
|
+
----------------------------------------
|
538
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
539
|
+
---------------------------------------------
|
540
|
+
PostsControllerTest: test_should_destroy_post
|
541
|
+
---------------------------------------------
|
542
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
543
|
+
----------------------------
|
544
|
+
PostTest: test_.create(Hash)
|
545
|
+
----------------------------
|
546
|
+
[1m[36mshutdown (2.7ms)[0m [1m[35mshutdown[0m
|
547
|
+
------------------------------
|
548
|
+
PostTest: test_.create([Hash])
|
549
|
+
------------------------------
|
550
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
551
|
+
--------------------------------------------
|
552
|
+
PostsControllerTest: test_should_create_post
|
553
|
+
--------------------------------------------
|
554
|
+
[1m[36mshutdown (1.4ms)[0m [1m[35mshutdown[0m
|
555
|
+
---------------------------------------------
|
556
|
+
PostsControllerTest: test_should_destroy_post
|
557
|
+
---------------------------------------------
|
558
|
+
[1m[36mshutdown (2.6ms)[0m [1m[35mshutdown[0m
|
559
|
+
------------------------------------------
|
560
|
+
PostsControllerTest: test_should_get_index
|
561
|
+
------------------------------------------
|
562
|
+
[1m[36mshutdown (1.6ms)[0m [1m[35mshutdown[0m
|
563
|
+
------------------------------------------
|
564
|
+
PostsControllerTest: test_should_show_post
|
565
|
+
------------------------------------------
|
566
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
567
|
+
----------------------------------------
|
568
|
+
PostsControllerTest: test_should_get_new
|
569
|
+
----------------------------------------
|
570
|
+
[1m[36mshutdown (2.6ms)[0m [1m[35mshutdown[0m
|
571
|
+
-----------------------------------------
|
572
|
+
PostsControllerTest: test_should_get_edit
|
573
|
+
-----------------------------------------
|
574
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
575
|
+
--------------------------------------------
|
576
|
+
PostsControllerTest: test_should_update_post
|
577
|
+
--------------------------------------------
|
578
|
+
[1m[36mshutdown (1.6ms)[0m [1m[35mshutdown[0m
|
579
|
+
----------------------------
|
580
|
+
PostTest: test_.create(Hash)
|
581
|
+
----------------------------
|
582
|
+
[1m[36mshutdown (2.1ms)[0m [1m[35mshutdown[0m
|
583
|
+
------------------------------
|
584
|
+
PostTest: test_.create([Hash])
|
585
|
+
------------------------------
|
586
|
+
[1m[36mshutdown (2.7ms)[0m [1m[35mshutdown[0m
|
587
|
+
---------------------------------------------
|
588
|
+
PostsControllerTest: test_should_destroy_post
|
589
|
+
---------------------------------------------
|
590
|
+
[1m[36mtable_create (3.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
591
|
+
[1m[36mcolumn_create (2.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
592
|
+
[1m[36mcolumn_create (2.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
593
|
+
[1m[36mtable_create (2.0ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
594
|
+
[1m[36mcolumn_create (2.8ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
595
|
+
[1m[36mschema (4.0ms)[0m [1m[35mschema[0m
|
596
|
+
[1m[36mload (2.9ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
597
|
+
[1m[35mselect (1.7ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
598
|
+
Processing by PostsController#destroy as HTML
|
599
|
+
Parameters: {"id"=>"1"}
|
600
|
+
[1m[35mselect (46.9ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
601
|
+
[1m[36mdelete (1.1ms)[0m [1m[31mdelete --filter "_id == 1" --table "posts"[0m
|
602
|
+
Redirected to http://test.host/posts
|
603
|
+
Completed 302 Found in 50ms (Groonga: 48.1ms)
|
604
|
+
[1m[35mselect (1.0ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
605
|
+
[1m[36mshutdown (0.9ms)[0m [1m[35mshutdown[0m
|
606
|
+
-----------------------------------------
|
607
|
+
PostsControllerTest: test_should_get_edit
|
608
|
+
-----------------------------------------
|
609
|
+
[1m[36mtable_create (2.6ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
610
|
+
[1m[36mcolumn_create (2.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
611
|
+
[1m[36mcolumn_create (2.9ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
612
|
+
[1m[36mtable_create (2.0ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
613
|
+
[1m[36mcolumn_create (2.6ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
614
|
+
[1m[36mload (2.8ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
615
|
+
Processing by PostsController#edit as HTML
|
616
|
+
Parameters: {"id"=>"1"}
|
617
|
+
[1m[35mselect (56.0ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
618
|
+
Rendered posts/_form.html.erb (38.5ms)
|
619
|
+
Rendered posts/edit.html.erb within layouts/application (47.4ms)
|
620
|
+
Completed 200 OK in 355ms (Views: 298.0ms | Groonga: 56.0ms)
|
621
|
+
[1m[36mshutdown (2.0ms)[0m [1m[35mshutdown[0m
|
622
|
+
------------------------------------------
|
623
|
+
PostsControllerTest: test_should_get_index
|
624
|
+
------------------------------------------
|
625
|
+
[1m[36mtable_create (3.1ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
626
|
+
[1m[36mcolumn_create (2.7ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
627
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
628
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
629
|
+
[1m[36mcolumn_create (3.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
630
|
+
[1m[36mload (3.7ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
631
|
+
Processing by PostsController#index as HTML
|
632
|
+
[1m[35mselect (3.0ms)[0m [1m[34mselect --limit "-1" --match_columns "body" --table "posts"[0m
|
633
|
+
Rendered posts/index.html.erb within layouts/application (6.4ms)
|
634
|
+
Completed 200 OK in 12ms (Views: 8.0ms | Groonga: 3.0ms)
|
635
|
+
[1m[36mshutdown (2.2ms)[0m [1m[35mshutdown[0m
|
636
|
+
--------------------------------------------
|
637
|
+
PostsControllerTest: test_should_create_post
|
638
|
+
--------------------------------------------
|
639
|
+
[1m[36mtable_create (2.8ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
640
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
641
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
642
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
643
|
+
[1m[36mcolumn_create (3.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
644
|
+
[1m[36mload (3.8ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
645
|
+
[1m[35mselect (2.6ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
646
|
+
Processing by PostsController#create as HTML
|
647
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
|
648
|
+
[1m[36mload (2.7ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
649
|
+
Redirected to http://test.host/posts/2
|
650
|
+
Completed 302 Found in 6ms (Groonga: 2.7ms)
|
651
|
+
[1m[35mselect (2.0ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
652
|
+
[1m[36mshutdown (1.4ms)[0m [1m[35mshutdown[0m
|
653
|
+
--------------------------------------------
|
654
|
+
PostsControllerTest: test_should_update_post
|
655
|
+
--------------------------------------------
|
656
|
+
[1m[36mtable_create (2.8ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
657
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
658
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
659
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
660
|
+
[1m[36mcolumn_create (3.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
661
|
+
[1m[36mload (3.6ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
662
|
+
Processing by PostsController#update as HTML
|
663
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
|
664
|
+
[1m[35mselect (58.3ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
665
|
+
[1m[36mload (1.0ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"[0m
|
666
|
+
Redirected to http://test.host/posts/1
|
667
|
+
Completed 302 Found in 62ms (Groonga: 59.3ms)
|
668
|
+
[1m[36mshutdown (0.9ms)[0m [1m[35mshutdown[0m
|
669
|
+
------------------------------------------
|
670
|
+
PostsControllerTest: test_should_show_post
|
671
|
+
------------------------------------------
|
672
|
+
[1m[36mtable_create (2.7ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
673
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
674
|
+
[1m[36mcolumn_create (2.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
675
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
676
|
+
[1m[36mcolumn_create (3.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
677
|
+
[1m[36mload (3.8ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
678
|
+
Processing by PostsController#show as HTML
|
679
|
+
Parameters: {"id"=>"1"}
|
680
|
+
[1m[35mselect (59.7ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
681
|
+
Rendered posts/show.html.erb within layouts/application (0.5ms)
|
682
|
+
Completed 200 OK in 66ms (Views: 2.0ms | Groonga: 59.7ms)
|
683
|
+
[1m[36mshutdown (0.9ms)[0m [1m[35mshutdown[0m
|
684
|
+
----------------------------------------
|
685
|
+
PostsControllerTest: test_should_get_new
|
686
|
+
----------------------------------------
|
687
|
+
[1m[36mtable_create (2.5ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
688
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
689
|
+
[1m[36mcolumn_create (35.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
690
|
+
[1m[36mtable_create (1.5ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
691
|
+
[1m[36mcolumn_create (2.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
692
|
+
[1m[36mload (2.1ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
693
|
+
Processing by PostsController#new as HTML
|
694
|
+
Rendered posts/_form.html.erb (1.9ms)
|
695
|
+
Rendered posts/new.html.erb within layouts/application (2.6ms)
|
696
|
+
Completed 200 OK in 5ms (Views: 4.9ms | Groonga: 0.0ms)
|
697
|
+
[1m[36mshutdown (1.2ms)[0m [1m[35mshutdown[0m
|
698
|
+
----------------------------
|
699
|
+
PostTest: test_.create(Hash)
|
700
|
+
----------------------------
|
701
|
+
[1m[36mtable_create (2.8ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
702
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
703
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
704
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
705
|
+
[1m[36mcolumn_create (3.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
706
|
+
[1m[36mload (2.8ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"[0m
|
707
|
+
[1m[35mselect (45.2ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
708
|
+
[1m[36mshutdown (0.9ms)[0m [1m[35mshutdown[0m
|
709
|
+
------------------------------
|
710
|
+
PostTest: test_.create([Hash])
|
711
|
+
------------------------------
|
712
|
+
[1m[36mtable_create (2.6ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
713
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
714
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
715
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
716
|
+
[1m[36mcolumn_create (3.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
717
|
+
[1m[36mload (2.8ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"[0m
|
718
|
+
[1m[36mload (2.6ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"[0m
|
719
|
+
[1m[35mselect (62.6ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
720
|
+
[1m[35mselect (1.3ms)[0m [1m[34mselect --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"[0m
|
721
|
+
[1m[36mshutdown (1.0ms)[0m [1m[35mshutdown[0m
|
722
|
+
------------------------------
|
723
|
+
PostTest: test_.create([Hash])
|
724
|
+
------------------------------
|
725
|
+
[1m[36mobject_exist (3.2ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
726
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
727
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
728
|
+
[1m[36mcolumn_create (2.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
729
|
+
[1m[36mcolumn_create (2.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
730
|
+
[1m[36mload (2.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
731
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
732
|
+
[1m[36mschema (4.3ms)[0m [1m[35mschema[0m
|
733
|
+
[1m[36mcolumn_create (3.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
734
|
+
[1m[36mload (2.1ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
735
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
736
|
+
[1m[36mload (2.1ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
737
|
+
[1m[36mschema (4.6ms)[0m [1m[35mschema[0m
|
738
|
+
[1m[36mload (2.5ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"[0m
|
739
|
+
[1m[36mload (2.2ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"[0m
|
740
|
+
[1m[35mselect (51.2ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
741
|
+
[1m[35mselect (1.3ms)[0m [1m[34mselect --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"[0m
|
742
|
+
[1m[36mshutdown (0.9ms)[0m [1m[35mshutdown[0m
|
743
|
+
----------------------------
|
744
|
+
PostTest: test_.create(Hash)
|
745
|
+
----------------------------
|
746
|
+
[1m[36mobject_exist (2.5ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
747
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
748
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
749
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
750
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
751
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
752
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
753
|
+
[1m[36mschema (4.9ms)[0m [1m[35mschema[0m
|
754
|
+
[1m[36mcolumn_create (3.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
755
|
+
[1m[36mload (2.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
756
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
757
|
+
[1m[36mload (2.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
758
|
+
[1m[36mload (2.3ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"[0m
|
759
|
+
[1m[35mselect (55.8ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
760
|
+
[1m[36mshutdown (0.9ms)[0m [1m[35mshutdown[0m
|
761
|
+
----------------------------------------
|
762
|
+
PostsControllerTest: test_should_get_new
|
763
|
+
----------------------------------------
|
764
|
+
[1m[36mobject_exist (1.6ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
765
|
+
[1m[36mtable_create (1.4ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
766
|
+
[1m[36mtable_create (1.5ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
767
|
+
[1m[36mcolumn_create (1.6ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
768
|
+
[1m[36mcolumn_create (1.7ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
769
|
+
[1m[36mload (1.9ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
770
|
+
[1m[36mtable_create (2.1ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
771
|
+
[1m[36mschema (3.9ms)[0m [1m[35mschema[0m
|
772
|
+
[1m[36mcolumn_create (2.9ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
773
|
+
[1m[36mload (1.9ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
774
|
+
[1m[36mtable_create (2.0ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
775
|
+
[1m[36mload (2.0ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
776
|
+
[1m[36mload (3.1ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
777
|
+
Processing by PostsController#new as HTML
|
778
|
+
Rendered posts/_form.html.erb (14.2ms)
|
779
|
+
Rendered posts/new.html.erb within layouts/application (20.5ms)
|
780
|
+
Completed 200 OK in 161ms (Views: 160.9ms | Groonga: 0.0ms)
|
781
|
+
[1m[36mshutdown (1.2ms)[0m [1m[35mshutdown[0m
|
782
|
+
-----------------------------------------
|
783
|
+
PostsControllerTest: test_should_get_edit
|
784
|
+
-----------------------------------------
|
785
|
+
[1m[36mobject_exist (2.5ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
786
|
+
[1m[36mtable_create (2.5ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
787
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
788
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
789
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
790
|
+
[1m[36mload (2.5ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
791
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
792
|
+
[1m[36mschema (4.4ms)[0m [1m[35mschema[0m
|
793
|
+
[1m[36mcolumn_create (3.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
794
|
+
[1m[36mload (2.1ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
795
|
+
[1m[36mtable_create (2.1ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
796
|
+
[1m[36mload (2.1ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
797
|
+
[1m[36mload (3.3ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
798
|
+
Processing by PostsController#edit as HTML
|
799
|
+
Parameters: {"id"=>"1"}
|
800
|
+
[1m[35mselect (57.7ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
801
|
+
Rendered posts/_form.html.erb (1.0ms)
|
802
|
+
Rendered posts/edit.html.erb within layouts/application (1.5ms)
|
803
|
+
Completed 200 OK in 62ms (Views: 2.6ms | Groonga: 57.7ms)
|
804
|
+
[1m[36mshutdown (0.9ms)[0m [1m[35mshutdown[0m
|
805
|
+
--------------------------------------------
|
806
|
+
PostsControllerTest: test_should_update_post
|
807
|
+
--------------------------------------------
|
808
|
+
[1m[36mobject_exist (5.3ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
809
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
810
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
811
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
812
|
+
[1m[36mcolumn_create (2.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
813
|
+
[1m[36mload (2.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
814
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
815
|
+
[1m[36mschema (37.5ms)[0m [1m[35mschema[0m
|
816
|
+
[1m[36mcolumn_create (2.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
817
|
+
[1m[36mload (1.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
818
|
+
[1m[36mtable_create (1.3ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
819
|
+
[1m[36mload (1.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
820
|
+
[1m[36mload (1.5ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
821
|
+
Processing by PostsController#update as HTML
|
822
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
|
823
|
+
[1m[35mselect (31.2ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
824
|
+
[1m[36mload (1.1ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"[0m
|
825
|
+
Redirected to http://test.host/posts/1
|
826
|
+
Completed 302 Found in 34ms (Groonga: 32.3ms)
|
827
|
+
[1m[36mshutdown (0.8ms)[0m [1m[35mshutdown[0m
|
828
|
+
---------------------------------------------
|
829
|
+
PostsControllerTest: test_should_destroy_post
|
830
|
+
---------------------------------------------
|
831
|
+
[1m[36mobject_exist (2.7ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
832
|
+
[1m[36mtable_create (2.6ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
833
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
834
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
835
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
836
|
+
[1m[36mload (2.5ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
837
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
838
|
+
[1m[36mschema (4.8ms)[0m [1m[35mschema[0m
|
839
|
+
[1m[36mcolumn_create (3.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
840
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
841
|
+
[1m[36mtable_create (2.5ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
842
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
843
|
+
[1m[36mload (4.1ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
844
|
+
[1m[35mselect (2.8ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
845
|
+
Processing by PostsController#destroy as HTML
|
846
|
+
Parameters: {"id"=>"1"}
|
847
|
+
[1m[35mselect (58.9ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
848
|
+
[1m[36mdelete (1.2ms)[0m [1m[31mdelete --filter "_id == 1" --table "posts"[0m
|
849
|
+
Redirected to http://test.host/posts
|
850
|
+
Completed 302 Found in 62ms (Groonga: 60.1ms)
|
851
|
+
[1m[35mselect (0.9ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
852
|
+
[1m[36mshutdown (0.8ms)[0m [1m[35mshutdown[0m
|
853
|
+
------------------------------------------
|
854
|
+
PostsControllerTest: test_should_get_index
|
855
|
+
------------------------------------------
|
856
|
+
[1m[36mobject_exist (2.6ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
857
|
+
[1m[36mtable_create (2.5ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
858
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
859
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
860
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
861
|
+
[1m[36mload (2.6ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
862
|
+
[1m[36mtable_create (2.5ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
863
|
+
[1m[36mschema (5.3ms)[0m [1m[35mschema[0m
|
864
|
+
[1m[36mcolumn_create (3.7ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
865
|
+
[1m[36mload (2.7ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
866
|
+
[1m[36mtable_create (2.6ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
867
|
+
[1m[36mload (2.6ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
868
|
+
[1m[36mload (4.1ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
869
|
+
Processing by PostsController#index as HTML
|
870
|
+
[1m[35mselect (3.1ms)[0m [1m[34mselect --limit "-1" --match_columns "body" --table "posts"[0m
|
871
|
+
Rendered posts/index.html.erb within layouts/application (7.0ms)
|
872
|
+
Completed 200 OK in 12ms (Views: 8.1ms | Groonga: 3.1ms)
|
873
|
+
[1m[36mshutdown (2.0ms)[0m [1m[35mshutdown[0m
|
874
|
+
--------------------------------------------
|
875
|
+
PostsControllerTest: test_should_create_post
|
876
|
+
--------------------------------------------
|
877
|
+
[1m[36mobject_exist (2.7ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
878
|
+
[1m[36mtable_create (2.6ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
879
|
+
[1m[36mtable_create (3.8ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
880
|
+
[1m[36mcolumn_create (3.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
881
|
+
[1m[36mcolumn_create (3.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
882
|
+
[1m[36mload (3.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
883
|
+
[1m[36mtable_create (3.1ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
884
|
+
[1m[36mschema (7.6ms)[0m [1m[35mschema[0m
|
885
|
+
[1m[36mcolumn_create (4.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
886
|
+
[1m[36mload (3.5ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
887
|
+
[1m[36mtable_create (3.6ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
888
|
+
[1m[36mload (3.6ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
889
|
+
[1m[36mload (4.9ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
890
|
+
[1m[35mselect (3.4ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
891
|
+
Processing by PostsController#create as HTML
|
892
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
|
893
|
+
[1m[36mload (3.8ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
894
|
+
Redirected to http://test.host/posts/2
|
895
|
+
Completed 302 Found in 7ms (Groonga: 3.8ms)
|
896
|
+
[1m[35mselect (3.3ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
897
|
+
[1m[36mshutdown (2.7ms)[0m [1m[35mshutdown[0m
|
898
|
+
------------------------------------------
|
899
|
+
PostsControllerTest: test_should_show_post
|
900
|
+
------------------------------------------
|
901
|
+
[1m[36mobject_exist (3.5ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
902
|
+
[1m[36mtable_create (3.3ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
903
|
+
[1m[36mtable_create (3.0ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
904
|
+
[1m[36mcolumn_create (3.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
905
|
+
[1m[36mcolumn_create (3.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
906
|
+
[1m[36mload (3.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
907
|
+
[1m[36mtable_create (3.5ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
908
|
+
[1m[36mschema (6.9ms)[0m [1m[35mschema[0m
|
909
|
+
[1m[36mcolumn_create (4.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
910
|
+
[1m[36mload (3.6ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
911
|
+
[1m[36mtable_create (3.3ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
912
|
+
[1m[36mload (3.1ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
913
|
+
[1m[36mload (4.8ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
914
|
+
Processing by PostsController#show as HTML
|
915
|
+
Parameters: {"id"=>"1"}
|
916
|
+
[1m[35mselect (63.6ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
917
|
+
Rendered posts/show.html.erb within layouts/application (0.7ms)
|
918
|
+
Completed 200 OK in 69ms (Views: 2.7ms | Groonga: 63.6ms)
|
919
|
+
[1m[36mshutdown (1.1ms)[0m [1m[35mshutdown[0m
|
920
|
+
---------------------------------------
|
921
|
+
MigrationGeneratorTest: test_add_column
|
922
|
+
---------------------------------------
|
923
|
+
------------------------------------------
|
924
|
+
MigrationGeneratorTest: test_remove_column
|
925
|
+
------------------------------------------
|
926
|
+
----------------------------------------------
|
927
|
+
MigrationGeneratorTest: test_set_config:_value
|
928
|
+
----------------------------------------------
|
929
|
+
------------------------------------------
|
930
|
+
MigrationGeneratorTest: test_delete_config
|
931
|
+
------------------------------------------
|
932
|
+
-----------------------------------------
|
933
|
+
MigrationGeneratorTest: test_create_table
|
934
|
+
-----------------------------------------
|
935
|
+
---------------------------------------
|
936
|
+
MigrationGeneratorTest: test_set_config
|
937
|
+
---------------------------------------
|
938
|
+
----------------------------
|
939
|
+
PostTest: test_.create(Hash)
|
940
|
+
----------------------------
|
941
|
+
[1m[36mobject_exist (2.0ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
942
|
+
[1m[36mtable_create (1.7ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
943
|
+
[1m[36mtable_create (1.8ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
944
|
+
[1m[36mcolumn_create (2.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
945
|
+
[1m[36mcolumn_create (2.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
946
|
+
[1m[36mload (2.6ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
947
|
+
[1m[36mtable_create (2.7ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
948
|
+
[1m[36mschema (4.7ms)[0m [1m[35mschema[0m
|
949
|
+
[1m[36mcolumn_create (3.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
950
|
+
[1m[36mload (2.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
951
|
+
[1m[36mtable_create (2.7ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
952
|
+
[1m[36mload (2.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
953
|
+
[1m[36mschema (4.7ms)[0m [1m[35mschema[0m
|
954
|
+
[1m[36mload (2.6ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"[0m
|
955
|
+
[1m[35mselect (62.8ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
956
|
+
[1m[36mshutdown (0.8ms)[0m [1m[35mshutdown[0m
|
957
|
+
------------------------------
|
958
|
+
PostTest: test_.create([Hash])
|
959
|
+
------------------------------
|
960
|
+
[1m[36mobject_exist (2.4ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
961
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
962
|
+
[1m[36mtable_create (2.1ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
963
|
+
[1m[36mcolumn_create (2.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
964
|
+
[1m[36mcolumn_create (2.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
965
|
+
[1m[36mload (2.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
966
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
967
|
+
[1m[36mschema (2.1ms)[0m [1m[35mschema[0m
|
968
|
+
[1m[36mcolumn_create (1.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
969
|
+
[1m[36mload (0.7ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
970
|
+
[1m[36mtable_create (0.6ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
971
|
+
[1m[36mload (0.5ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
972
|
+
[1m[36mload (0.6ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"[0m
|
973
|
+
[1m[36mload (0.6ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"[0m
|
974
|
+
[1m[35mselect (28.9ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
975
|
+
[1m[35mselect (1.2ms)[0m [1m[34mselect --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"[0m
|
976
|
+
[1m[36mshutdown (0.8ms)[0m [1m[35mshutdown[0m
|
977
|
+
----------------------------------------
|
978
|
+
PostsControllerTest: test_should_get_new
|
979
|
+
----------------------------------------
|
980
|
+
[1m[36mobject_exist (1.4ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
981
|
+
[1m[36mtable_create (1.1ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
982
|
+
[1m[36mtable_create (1.0ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
983
|
+
[1m[36mcolumn_create (1.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
984
|
+
[1m[36mcolumn_create (1.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
985
|
+
[1m[36mload (1.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
986
|
+
[1m[36mtable_create (1.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
987
|
+
[1m[36mschema (2.5ms)[0m [1m[35mschema[0m
|
988
|
+
[1m[36mcolumn_create (2.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
989
|
+
[1m[36mload (1.5ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
990
|
+
[1m[36mtable_create (1.8ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
991
|
+
[1m[36mload (1.7ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
992
|
+
[1m[36mload (3.7ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
993
|
+
Processing by PostsController#new as HTML
|
994
|
+
Rendered posts/_form.html.erb (44.7ms)
|
995
|
+
Rendered posts/new.html.erb within layouts/application (52.7ms)
|
996
|
+
Completed 200 OK in 207ms (Views: 206.8ms | Groonga: 0.0ms)
|
997
|
+
[1m[36mshutdown (0.8ms)[0m [1m[35mshutdown[0m
|
998
|
+
---------------------------------------------
|
999
|
+
PostsControllerTest: test_should_destroy_post
|
1000
|
+
---------------------------------------------
|
1001
|
+
[1m[36mobject_exist (2.1ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1002
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1003
|
+
[1m[36mtable_create (2.1ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1004
|
+
[1m[36mcolumn_create (2.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1005
|
+
[1m[36mcolumn_create (2.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1006
|
+
[1m[36mload (2.1ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1007
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1008
|
+
[1m[36mschema (4.4ms)[0m [1m[35mschema[0m
|
1009
|
+
[1m[36mcolumn_create (3.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1010
|
+
[1m[36mload (2.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1011
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1012
|
+
[1m[36mload (2.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1013
|
+
[1m[36mload (3.5ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1014
|
+
[1m[35mselect (2.4ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
1015
|
+
Processing by PostsController#destroy as HTML
|
1016
|
+
Parameters: {"id"=>"1"}
|
1017
|
+
[1m[35mselect (60.5ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
1018
|
+
[1m[36mdelete (0.8ms)[0m [1m[31mdelete --filter "_id == 1" --table "posts"[0m
|
1019
|
+
Redirected to http://test.host/posts
|
1020
|
+
Completed 302 Found in 64ms (Groonga: 61.3ms)
|
1021
|
+
[1m[35mselect (0.7ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
1022
|
+
[1m[36mshutdown (0.5ms)[0m [1m[35mshutdown[0m
|
1023
|
+
-----------------------------------------
|
1024
|
+
PostsControllerTest: test_should_get_edit
|
1025
|
+
-----------------------------------------
|
1026
|
+
[1m[36mobject_exist (2.4ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1027
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1028
|
+
[1m[36mtable_create (2.1ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1029
|
+
[1m[36mcolumn_create (35.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1030
|
+
[1m[36mcolumn_create (1.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1031
|
+
[1m[36mload (1.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1032
|
+
[1m[36mtable_create (1.1ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1033
|
+
[1m[36mschema (2.0ms)[0m [1m[35mschema[0m
|
1034
|
+
[1m[36mcolumn_create (1.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1035
|
+
[1m[36mload (1.1ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1036
|
+
[1m[36mtable_create (0.9ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1037
|
+
[1m[36mload (0.8ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1038
|
+
[1m[36mload (1.5ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1039
|
+
Processing by PostsController#edit as HTML
|
1040
|
+
Parameters: {"id"=>"1"}
|
1041
|
+
[1m[35mselect (39.4ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
1042
|
+
Rendered posts/_form.html.erb (1.1ms)
|
1043
|
+
Rendered posts/edit.html.erb within layouts/application (1.7ms)
|
1044
|
+
Completed 200 OK in 44ms (Views: 3.3ms | Groonga: 39.4ms)
|
1045
|
+
[1m[36mshutdown (0.9ms)[0m [1m[35mshutdown[0m
|
1046
|
+
--------------------------------------------
|
1047
|
+
PostsControllerTest: test_should_update_post
|
1048
|
+
--------------------------------------------
|
1049
|
+
[1m[36mobject_exist (2.5ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1050
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1051
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1052
|
+
[1m[36mcolumn_create (2.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1053
|
+
[1m[36mcolumn_create (2.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1054
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1055
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1056
|
+
[1m[36mschema (5.0ms)[0m [1m[35mschema[0m
|
1057
|
+
[1m[36mcolumn_create (3.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1058
|
+
[1m[36mload (2.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1059
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1060
|
+
[1m[36mload (2.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1061
|
+
[1m[36mload (3.7ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1062
|
+
Processing by PostsController#update as HTML
|
1063
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
|
1064
|
+
[1m[35mselect (36.7ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
1065
|
+
[1m[36mload (1.0ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"[0m
|
1066
|
+
Redirected to http://test.host/posts/1
|
1067
|
+
Completed 302 Found in 40ms (Groonga: 37.8ms)
|
1068
|
+
[1m[36mshutdown (0.8ms)[0m [1m[35mshutdown[0m
|
1069
|
+
--------------------------------------------
|
1070
|
+
PostsControllerTest: test_should_create_post
|
1071
|
+
--------------------------------------------
|
1072
|
+
[1m[36mobject_exist (2.5ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1073
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1074
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1075
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1076
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1077
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1078
|
+
[1m[36mtable_create (2.5ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1079
|
+
[1m[36mschema (5.1ms)[0m [1m[35mschema[0m
|
1080
|
+
[1m[36mcolumn_create (3.6ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1081
|
+
[1m[36mload (2.6ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1082
|
+
[1m[36mtable_create (2.5ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1083
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1084
|
+
[1m[36mload (3.8ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1085
|
+
[1m[35mselect (2.6ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
1086
|
+
Processing by PostsController#create as HTML
|
1087
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
|
1088
|
+
[1m[36mload (4.4ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1089
|
+
Redirected to http://test.host/posts/2
|
1090
|
+
Completed 302 Found in 9ms (Groonga: 4.4ms)
|
1091
|
+
[1m[35mselect (3.2ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
1092
|
+
[1m[36mshutdown (1.9ms)[0m [1m[35mshutdown[0m
|
1093
|
+
------------------------------------------
|
1094
|
+
PostsControllerTest: test_should_get_index
|
1095
|
+
------------------------------------------
|
1096
|
+
[1m[36mobject_exist (2.3ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1097
|
+
[1m[36mtable_create (3.4ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1098
|
+
[1m[36mtable_create (3.1ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1099
|
+
[1m[36mcolumn_create (3.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1100
|
+
[1m[36mcolumn_create (3.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1101
|
+
[1m[36mload (3.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1102
|
+
[1m[36mtable_create (3.1ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1103
|
+
[1m[36mschema (16.7ms)[0m [1m[35mschema[0m
|
1104
|
+
[1m[36mcolumn_create (3.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1105
|
+
[1m[36mload (3.1ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1106
|
+
[1m[36mtable_create (3.1ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1107
|
+
[1m[36mload (3.0ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1108
|
+
[1m[36mload (5.5ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1109
|
+
Processing by PostsController#index as HTML
|
1110
|
+
[1m[35mselect (3.6ms)[0m [1m[34mselect --limit "-1" --match_columns "body" --table "posts"[0m
|
1111
|
+
Rendered posts/index.html.erb within layouts/application (8.8ms)
|
1112
|
+
Completed 200 OK in 16ms (Views: 11.1ms | Groonga: 3.6ms)
|
1113
|
+
[1m[36mshutdown (1.9ms)[0m [1m[35mshutdown[0m
|
1114
|
+
------------------------------------------
|
1115
|
+
PostsControllerTest: test_should_show_post
|
1116
|
+
------------------------------------------
|
1117
|
+
[1m[36mobject_exist (3.5ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1118
|
+
[1m[36mtable_create (3.3ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1119
|
+
[1m[36mtable_create (3.3ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1120
|
+
[1m[36mcolumn_create (3.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1121
|
+
[1m[36mcolumn_create (3.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1122
|
+
[1m[36mload (3.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1123
|
+
[1m[36mtable_create (3.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1124
|
+
[1m[36mschema (6.9ms)[0m [1m[35mschema[0m
|
1125
|
+
[1m[36mcolumn_create (4.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1126
|
+
[1m[36mload (2.7ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1127
|
+
[1m[36mtable_create (2.1ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1128
|
+
[1m[36mload (2.7ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1129
|
+
[1m[36mload (3.5ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1130
|
+
Processing by PostsController#show as HTML
|
1131
|
+
Parameters: {"id"=>"1"}
|
1132
|
+
[1m[35mselect (62.0ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
1133
|
+
Rendered posts/show.html.erb within layouts/application (0.9ms)
|
1134
|
+
Completed 200 OK in 68ms (Views: 3.2ms | Groonga: 62.0ms)
|
1135
|
+
[1m[36mshutdown (0.7ms)[0m [1m[35mshutdown[0m
|
1136
|
+
----------------------------
|
1137
|
+
PostTest: test_.create(Hash)
|
1138
|
+
----------------------------
|
1139
|
+
[1m[36mobject_exist (1.5ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1140
|
+
[1m[36mtable_create (1.2ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1141
|
+
[1m[36mtable_create (1.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1142
|
+
[1m[36mcolumn_create (1.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1143
|
+
[1m[36mcolumn_create (1.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1144
|
+
[1m[36mload (1.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1145
|
+
[1m[36mtable_create (1.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1146
|
+
[1m[36mschema (2.7ms)[0m [1m[35mschema[0m
|
1147
|
+
[1m[36mcolumn_create (2.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1148
|
+
[1m[36mload (1.6ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1149
|
+
[1m[36mtable_create (1.8ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1150
|
+
[1m[36mload (2.0ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1151
|
+
[1m[36mschema (4.3ms)[0m [1m[35mschema[0m
|
1152
|
+
[1m[36mload (2.3ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"[0m
|
1153
|
+
[1m[35mselect (56.7ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
1154
|
+
[1m[36mshutdown (0.9ms)[0m [1m[35mshutdown[0m
|
1155
|
+
------------------------------
|
1156
|
+
PostTest: test_.create([Hash])
|
1157
|
+
------------------------------
|
1158
|
+
[1m[36mobject_exist (2.4ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1159
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1160
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1161
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1162
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1163
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1164
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1165
|
+
[1m[36mschema (4.6ms)[0m [1m[35mschema[0m
|
1166
|
+
[1m[36mcolumn_create (3.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1167
|
+
[1m[36mload (3.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1168
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1169
|
+
[1m[36mload (2.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1170
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"[0m
|
1171
|
+
[1m[36mload (2.3ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"[0m
|
1172
|
+
[1m[35mselect (54.4ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
1173
|
+
[1m[35mselect (1.0ms)[0m [1m[34mselect --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"[0m
|
1174
|
+
[1m[36mshutdown (0.7ms)[0m [1m[35mshutdown[0m
|
1175
|
+
---------------------------------------
|
1176
|
+
MigrationGeneratorTest: test_add_column
|
1177
|
+
---------------------------------------
|
1178
|
+
---------------------------------------
|
1179
|
+
MigrationGeneratorTest: test_set_config
|
1180
|
+
---------------------------------------
|
1181
|
+
----------------------------------------------
|
1182
|
+
MigrationGeneratorTest: test_set_config:_value
|
1183
|
+
----------------------------------------------
|
1184
|
+
-----------------------------------------------
|
1185
|
+
MigrationGeneratorTest: test_create_table:__key
|
1186
|
+
-----------------------------------------------
|
1187
|
+
------------------------------------------
|
1188
|
+
MigrationGeneratorTest: test_delete_config
|
1189
|
+
------------------------------------------
|
1190
|
+
------------------------------------------
|
1191
|
+
MigrationGeneratorTest: test_remove_column
|
1192
|
+
------------------------------------------
|
1193
|
+
-----------------------------------------
|
1194
|
+
MigrationGeneratorTest: test_create_table
|
1195
|
+
-----------------------------------------
|
1196
|
+
------------------------------------------
|
1197
|
+
PostsControllerTest: test_should_get_index
|
1198
|
+
------------------------------------------
|
1199
|
+
[1m[36mobject_exist (1.4ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1200
|
+
[1m[36mtable_create (1.3ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1201
|
+
[1m[36mtable_create (1.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1202
|
+
[1m[36mcolumn_create (1.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1203
|
+
[1m[36mcolumn_create (1.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1204
|
+
[1m[36mload (1.5ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1205
|
+
[1m[36mtable_create (1.9ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1206
|
+
[1m[36mschema (4.1ms)[0m [1m[35mschema[0m
|
1207
|
+
[1m[36mcolumn_create (2.8ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1208
|
+
[1m[36mload (1.9ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1209
|
+
[1m[36mtable_create (1.9ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1210
|
+
[1m[36mload (1.8ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1211
|
+
[1m[36mload (3.0ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1212
|
+
Processing by PostsController#index as HTML
|
1213
|
+
[1m[35mselect (2.5ms)[0m [1m[34mselect --limit "-1" --match_columns "body" --table "posts"[0m
|
1214
|
+
Rendered posts/index.html.erb within layouts/application (7.3ms)
|
1215
|
+
Completed 200 OK in 159ms (Views: 155.8ms | Groonga: 2.5ms)
|
1216
|
+
[1m[36mshutdown (1.0ms)[0m [1m[35mshutdown[0m
|
1217
|
+
----------------------------------------
|
1218
|
+
PostsControllerTest: test_should_get_new
|
1219
|
+
----------------------------------------
|
1220
|
+
[1m[36mobject_exist (2.5ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1221
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1222
|
+
[1m[36mtable_create (2.1ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1223
|
+
[1m[36mcolumn_create (2.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1224
|
+
[1m[36mcolumn_create (2.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1225
|
+
[1m[36mload (2.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1226
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1227
|
+
[1m[36mschema (4.3ms)[0m [1m[35mschema[0m
|
1228
|
+
[1m[36mcolumn_create (3.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1229
|
+
[1m[36mload (1.9ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1230
|
+
[1m[36mtable_create (2.0ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1231
|
+
[1m[36mload (1.9ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1232
|
+
[1m[36mload (3.5ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1233
|
+
Processing by PostsController#new as HTML
|
1234
|
+
Rendered posts/_form.html.erb (24.3ms)
|
1235
|
+
Rendered posts/new.html.erb within layouts/application (29.8ms)
|
1236
|
+
Completed 200 OK in 33ms (Views: 32.3ms | Groonga: 0.0ms)
|
1237
|
+
[1m[36mshutdown (1.3ms)[0m [1m[35mshutdown[0m
|
1238
|
+
--------------------------------------------
|
1239
|
+
PostsControllerTest: test_should_update_post
|
1240
|
+
--------------------------------------------
|
1241
|
+
[1m[36mobject_exist (2.4ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1242
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1243
|
+
[1m[36mtable_create (2.0ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1244
|
+
[1m[36mcolumn_create (1.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1245
|
+
[1m[36mcolumn_create (1.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1246
|
+
[1m[36mload (1.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1247
|
+
[1m[36mtable_create (1.1ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1248
|
+
[1m[36mschema (2.0ms)[0m [1m[35mschema[0m
|
1249
|
+
[1m[36mcolumn_create (1.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1250
|
+
[1m[36mload (1.0ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1251
|
+
[1m[36mtable_create (1.1ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1252
|
+
[1m[36mload (1.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1253
|
+
[1m[36mload (1.5ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1254
|
+
Processing by PostsController#update as HTML
|
1255
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
|
1256
|
+
[1m[35mselect (31.5ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
1257
|
+
[1m[36mload (1.0ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"[0m
|
1258
|
+
Redirected to http://test.host/posts/1
|
1259
|
+
Completed 302 Found in 34ms (Groonga: 32.5ms)
|
1260
|
+
[1m[36mshutdown (0.7ms)[0m [1m[35mshutdown[0m
|
1261
|
+
--------------------------------------------
|
1262
|
+
PostsControllerTest: test_should_create_post
|
1263
|
+
--------------------------------------------
|
1264
|
+
[1m[36mobject_exist (2.5ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1265
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1266
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1267
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1268
|
+
[1m[36mcolumn_create (2.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1269
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1270
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1271
|
+
[1m[36mschema (4.7ms)[0m [1m[35mschema[0m
|
1272
|
+
[1m[36mcolumn_create (3.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1273
|
+
[1m[36mload (2.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1274
|
+
[1m[36mtable_create (2.7ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1275
|
+
[1m[36mload (2.5ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1276
|
+
[1m[36mload (3.8ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1277
|
+
[1m[35mselect (2.5ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
1278
|
+
Processing by PostsController#create as HTML
|
1279
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
|
1280
|
+
[1m[36mload (2.9ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1281
|
+
Redirected to http://test.host/posts/2
|
1282
|
+
Completed 302 Found in 6ms (Groonga: 2.9ms)
|
1283
|
+
[1m[35mselect (2.9ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
1284
|
+
[1m[36mshutdown (2.1ms)[0m [1m[35mshutdown[0m
|
1285
|
+
---------------------------------------------
|
1286
|
+
PostsControllerTest: test_should_destroy_post
|
1287
|
+
---------------------------------------------
|
1288
|
+
[1m[36mobject_exist (2.3ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1289
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1290
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1291
|
+
[1m[36mcolumn_create (2.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1292
|
+
[1m[36mcolumn_create (2.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1293
|
+
[1m[36mload (2.5ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1294
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1295
|
+
[1m[36mschema (4.6ms)[0m [1m[35mschema[0m
|
1296
|
+
[1m[36mcolumn_create (3.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1297
|
+
[1m[36mload (2.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1298
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1299
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1300
|
+
[1m[36mload (3.9ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1301
|
+
[1m[35mselect (2.6ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
1302
|
+
Processing by PostsController#destroy as HTML
|
1303
|
+
Parameters: {"id"=>"1"}
|
1304
|
+
[1m[35mselect (51.5ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
1305
|
+
[1m[36mdelete (1.1ms)[0m [1m[31mdelete --filter "_id == 1" --table "posts"[0m
|
1306
|
+
Redirected to http://test.host/posts
|
1307
|
+
Completed 302 Found in 55ms (Groonga: 52.6ms)
|
1308
|
+
[1m[35mselect (1.0ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
1309
|
+
[1m[36mshutdown (0.8ms)[0m [1m[35mshutdown[0m
|
1310
|
+
-----------------------------------------
|
1311
|
+
PostsControllerTest: test_should_get_edit
|
1312
|
+
-----------------------------------------
|
1313
|
+
[1m[36mobject_exist (3.5ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1314
|
+
[1m[36mtable_create (3.3ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1315
|
+
[1m[36mtable_create (3.0ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1316
|
+
[1m[36mcolumn_create (3.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1317
|
+
[1m[36mcolumn_create (3.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1318
|
+
[1m[36mload (3.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1319
|
+
[1m[36mtable_create (3.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1320
|
+
[1m[36mschema (6.6ms)[0m [1m[35mschema[0m
|
1321
|
+
[1m[36mcolumn_create (4.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1322
|
+
[1m[36mload (3.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1323
|
+
[1m[36mtable_create (3.5ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1324
|
+
[1m[36mload (3.8ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1325
|
+
[1m[36mload (4.4ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1326
|
+
Processing by PostsController#edit as HTML
|
1327
|
+
Parameters: {"id"=>"1"}
|
1328
|
+
[1m[35mselect (38.1ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
1329
|
+
Rendered posts/_form.html.erb (1.5ms)
|
1330
|
+
Rendered posts/edit.html.erb within layouts/application (2.2ms)
|
1331
|
+
Completed 200 OK in 44ms (Views: 3.7ms | Groonga: 38.1ms)
|
1332
|
+
[1m[36mshutdown (1.2ms)[0m [1m[35mshutdown[0m
|
1333
|
+
------------------------------------------
|
1334
|
+
PostsControllerTest: test_should_show_post
|
1335
|
+
------------------------------------------
|
1336
|
+
[1m[36mobject_exist (3.3ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1337
|
+
[1m[36mtable_create (3.1ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1338
|
+
[1m[36mtable_create (3.1ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1339
|
+
[1m[36mcolumn_create (2.8ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1340
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1341
|
+
[1m[36mload (5.0ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1342
|
+
[1m[36mtable_create (3.8ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1343
|
+
[1m[36mschema (5.8ms)[0m [1m[35mschema[0m
|
1344
|
+
[1m[36mcolumn_create (3.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1345
|
+
[1m[36mload (2.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1346
|
+
[1m[36mtable_create (1.8ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1347
|
+
[1m[36mload (1.6ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1348
|
+
[1m[36mload (2.9ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1349
|
+
Processing by PostsController#show as HTML
|
1350
|
+
Parameters: {"id"=>"1"}
|
1351
|
+
[1m[35mselect (36.8ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
1352
|
+
Rendered posts/show.html.erb within layouts/application (1.0ms)
|
1353
|
+
Completed 200 OK in 43ms (Views: 4.1ms | Groonga: 36.8ms)
|
1354
|
+
[1m[36mshutdown (3.4ms)[0m [1m[35mshutdown[0m
|
1355
|
+
----------------------------
|
1356
|
+
PostTest: test_.create(Hash)
|
1357
|
+
----------------------------
|
1358
|
+
[1m[36mobject_exist (1.8ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1359
|
+
[1m[36mtable_create (1.4ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1360
|
+
[1m[36mtable_create (1.3ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1361
|
+
[1m[36mcolumn_create (1.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1362
|
+
[1m[36mcolumn_create (1.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1363
|
+
[1m[36mload (1.7ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1364
|
+
[1m[36mtable_create (2.0ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1365
|
+
[1m[36mschema (4.2ms)[0m [1m[35mschema[0m
|
1366
|
+
[1m[36mcolumn_create (3.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1367
|
+
[1m[36mload (2.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1368
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1369
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1370
|
+
[1m[36mschema (4.9ms)[0m [1m[35mschema[0m
|
1371
|
+
[1m[36mload (2.8ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"[0m
|
1372
|
+
[1m[35mselect (60.9ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
1373
|
+
[1m[36mshutdown (0.9ms)[0m [1m[35mshutdown[0m
|
1374
|
+
------------------------------
|
1375
|
+
PostTest: test_.create([Hash])
|
1376
|
+
------------------------------
|
1377
|
+
[1m[36mobject_exist (2.7ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1378
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1379
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1380
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1381
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1382
|
+
[1m[36mload (2.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1383
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1384
|
+
[1m[36mschema (5.3ms)[0m [1m[35mschema[0m
|
1385
|
+
[1m[36mcolumn_create (3.9ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1386
|
+
[1m[36mload (2.5ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1387
|
+
[1m[36mtable_create (3.8ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1388
|
+
[1m[36mload (2.5ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1389
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"[0m
|
1390
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"[0m
|
1391
|
+
[1m[35mselect (64.0ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
1392
|
+
[1m[35mselect (1.2ms)[0m [1m[34mselect --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"[0m
|
1393
|
+
[1m[36mshutdown (0.7ms)[0m [1m[35mshutdown[0m
|
1394
|
+
-----------------------------------------
|
1395
|
+
MigrationGeneratorTest: test_create_table
|
1396
|
+
-----------------------------------------
|
1397
|
+
-----------------------------------------------
|
1398
|
+
MigrationGeneratorTest: test_create_table:__key
|
1399
|
+
-----------------------------------------------
|
1400
|
+
------------------------------------------
|
1401
|
+
MigrationGeneratorTest: test_delete_config
|
1402
|
+
------------------------------------------
|
1403
|
+
---------------------------------------
|
1404
|
+
MigrationGeneratorTest: test_add_column
|
1405
|
+
---------------------------------------
|
1406
|
+
------------------------------------------
|
1407
|
+
MigrationGeneratorTest: test_remove_column
|
1408
|
+
------------------------------------------
|
1409
|
+
----------------------------------------------
|
1410
|
+
MigrationGeneratorTest: test_set_config:_value
|
1411
|
+
----------------------------------------------
|
1412
|
+
---------------------------------------
|
1413
|
+
MigrationGeneratorTest: test_set_config
|
1414
|
+
---------------------------------------
|
1415
|
+
------------------------------------------
|
1416
|
+
PostsControllerTest: test_should_get_index
|
1417
|
+
------------------------------------------
|
1418
|
+
[1m[36mobject_exist (1.8ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1419
|
+
[1m[36mtable_create (1.7ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1420
|
+
[1m[36mtable_create (1.8ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1421
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1422
|
+
[1m[36mcolumn_create (1.8ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1423
|
+
[1m[36mload (1.9ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1424
|
+
[1m[36mtable_create (1.8ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1425
|
+
[1m[36mschema (4.1ms)[0m [1m[35mschema[0m
|
1426
|
+
[1m[36mcolumn_create (3.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1427
|
+
[1m[36mload (2.0ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1428
|
+
[1m[36mtable_create (1.9ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1429
|
+
[1m[36mload (1.7ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1430
|
+
[1m[36mload (3.5ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1431
|
+
Processing by PostsController#index as HTML
|
1432
|
+
[1m[35mselect (2.1ms)[0m [1m[34mselect --limit "-1" --match_columns "body" --table "posts"[0m
|
1433
|
+
Rendered posts/index.html.erb within layouts/application (6.5ms)
|
1434
|
+
Completed 200 OK in 206ms (Views: 203.4ms | Groonga: 2.1ms)
|
1435
|
+
[1m[36mshutdown (0.9ms)[0m [1m[35mshutdown[0m
|
1436
|
+
-----------------------------------------
|
1437
|
+
PostsControllerTest: test_should_get_edit
|
1438
|
+
-----------------------------------------
|
1439
|
+
[1m[36mobject_exist (2.1ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1440
|
+
[1m[36mtable_create (1.7ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1441
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1442
|
+
[1m[36mcolumn_create (1.8ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1443
|
+
[1m[36mcolumn_create (1.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1444
|
+
[1m[36mload (1.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1445
|
+
[1m[36mtable_create (1.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1446
|
+
[1m[36mschema (2.3ms)[0m [1m[35mschema[0m
|
1447
|
+
[1m[36mcolumn_create (1.9ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1448
|
+
[1m[36mload (2.1ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1449
|
+
[1m[36mtable_create (2.5ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1450
|
+
[1m[36mload (1.5ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1451
|
+
[1m[36mload (2.0ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1452
|
+
Processing by PostsController#edit as HTML
|
1453
|
+
Parameters: {"id"=>"1"}
|
1454
|
+
[1m[35mselect (46.9ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
1455
|
+
Rendered posts/_form.html.erb (8.6ms)
|
1456
|
+
Rendered posts/edit.html.erb within layouts/application (10.5ms)
|
1457
|
+
Completed 200 OK in 60ms (Views: 11.7ms | Groonga: 46.9ms)
|
1458
|
+
[1m[36mshutdown (1.0ms)[0m [1m[35mshutdown[0m
|
1459
|
+
--------------------------------------------
|
1460
|
+
PostsControllerTest: test_should_create_post
|
1461
|
+
--------------------------------------------
|
1462
|
+
[1m[36mobject_exist (2.4ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1463
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1464
|
+
[1m[36mtable_create (40.1ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1465
|
+
[1m[36mcolumn_create (1.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1466
|
+
[1m[36mcolumn_create (1.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1467
|
+
[1m[36mload (1.1ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1468
|
+
[1m[36mtable_create (1.2ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1469
|
+
[1m[36mschema (2.6ms)[0m [1m[35mschema[0m
|
1470
|
+
[1m[36mcolumn_create (2.7ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1471
|
+
[1m[36mload (1.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1472
|
+
[1m[36mtable_create (1.2ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1473
|
+
[1m[36mload (1.0ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1474
|
+
[1m[36mload (1.4ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1475
|
+
[1m[35mselect (1.2ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
1476
|
+
Processing by PostsController#create as HTML
|
1477
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
|
1478
|
+
[1m[36mload (1.3ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1479
|
+
Redirected to http://test.host/posts/2
|
1480
|
+
Completed 302 Found in 3ms (Groonga: 1.3ms)
|
1481
|
+
[1m[35mselect (1.0ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
1482
|
+
[1m[36mshutdown (0.9ms)[0m [1m[35mshutdown[0m
|
1483
|
+
------------------------------------------
|
1484
|
+
PostsControllerTest: test_should_show_post
|
1485
|
+
------------------------------------------
|
1486
|
+
[1m[36mobject_exist (1.8ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1487
|
+
[1m[36mtable_create (1.8ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1488
|
+
[1m[36mtable_create (1.6ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1489
|
+
[1m[36mcolumn_create (1.7ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1490
|
+
[1m[36mcolumn_create (1.7ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1491
|
+
[1m[36mload (1.7ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1492
|
+
[1m[36mtable_create (1.8ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1493
|
+
[1m[36mschema (3.3ms)[0m [1m[35mschema[0m
|
1494
|
+
[1m[36mcolumn_create (2.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1495
|
+
[1m[36mload (1.6ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1496
|
+
[1m[36mtable_create (1.7ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1497
|
+
[1m[36mload (1.7ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1498
|
+
[1m[36mload (2.6ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1499
|
+
Processing by PostsController#show as HTML
|
1500
|
+
Parameters: {"id"=>"1"}
|
1501
|
+
[1m[35mselect (50.7ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
1502
|
+
Rendered posts/show.html.erb within layouts/application (0.8ms)
|
1503
|
+
Completed 200 OK in 55ms (Views: 2.7ms | Groonga: 50.7ms)
|
1504
|
+
[1m[36mshutdown (0.7ms)[0m [1m[35mshutdown[0m
|
1505
|
+
---------------------------------------------
|
1506
|
+
PostsControllerTest: test_should_destroy_post
|
1507
|
+
---------------------------------------------
|
1508
|
+
[1m[36mobject_exist (2.7ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1509
|
+
[1m[36mtable_create (2.5ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1510
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1511
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1512
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1513
|
+
[1m[36mload (2.5ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1514
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1515
|
+
[1m[36mschema (4.7ms)[0m [1m[35mschema[0m
|
1516
|
+
[1m[36mcolumn_create (3.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1517
|
+
[1m[36mload (2.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1518
|
+
[1m[36mtable_create (2.5ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1519
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1520
|
+
[1m[36mload (3.9ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1521
|
+
[1m[35mselect (2.8ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
1522
|
+
Processing by PostsController#destroy as HTML
|
1523
|
+
Parameters: {"id"=>"1"}
|
1524
|
+
[1m[35mselect (60.6ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
1525
|
+
[1m[36mdelete (1.2ms)[0m [1m[31mdelete --filter "_id == 1" --table "posts"[0m
|
1526
|
+
Redirected to http://test.host/posts
|
1527
|
+
Completed 302 Found in 64ms (Groonga: 61.8ms)
|
1528
|
+
[1m[35mselect (1.0ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
1529
|
+
[1m[36mshutdown (0.8ms)[0m [1m[35mshutdown[0m
|
1530
|
+
----------------------------------------
|
1531
|
+
PostsControllerTest: test_should_get_new
|
1532
|
+
----------------------------------------
|
1533
|
+
[1m[36mobject_exist (3.4ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1534
|
+
[1m[36mtable_create (3.3ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1535
|
+
[1m[36mtable_create (3.1ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1536
|
+
[1m[36mcolumn_create (3.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1537
|
+
[1m[36mcolumn_create (3.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1538
|
+
[1m[36mload (3.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1539
|
+
[1m[36mtable_create (3.2ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1540
|
+
[1m[36mschema (7.7ms)[0m [1m[35mschema[0m
|
1541
|
+
[1m[36mcolumn_create (4.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1542
|
+
[1m[36mload (3.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1543
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1544
|
+
[1m[36mload (3.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1545
|
+
[1m[36mload (4.5ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1546
|
+
Processing by PostsController#new as HTML
|
1547
|
+
Rendered posts/_form.html.erb (4.6ms)
|
1548
|
+
Rendered posts/new.html.erb within layouts/application (7.3ms)
|
1549
|
+
Completed 200 OK in 12ms (Views: 11.2ms | Groonga: 0.0ms)
|
1550
|
+
[1m[36mshutdown (2.2ms)[0m [1m[35mshutdown[0m
|
1551
|
+
--------------------------------------------
|
1552
|
+
PostsControllerTest: test_should_update_post
|
1553
|
+
--------------------------------------------
|
1554
|
+
[1m[36mobject_exist (3.2ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1555
|
+
[1m[36mtable_create (3.0ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1556
|
+
[1m[36mtable_create (2.8ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1557
|
+
[1m[36mcolumn_create (2.6ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1558
|
+
[1m[36mcolumn_create (3.8ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1559
|
+
[1m[36mload (3.6ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1560
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1561
|
+
[1m[36mschema (7.8ms)[0m [1m[35mschema[0m
|
1562
|
+
[1m[36mcolumn_create (4.6ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1563
|
+
[1m[36mload (3.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1564
|
+
[1m[36mtable_create (3.3ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1565
|
+
[1m[36mload (3.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1566
|
+
[1m[36mload (4.7ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1567
|
+
Processing by PostsController#update as HTML
|
1568
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
|
1569
|
+
[1m[35mselect (51.1ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
1570
|
+
[1m[36mload (1.5ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"[0m
|
1571
|
+
Redirected to http://test.host/posts/1
|
1572
|
+
Completed 302 Found in 56ms (Groonga: 52.6ms)
|
1573
|
+
[1m[36mshutdown (1.2ms)[0m [1m[35mshutdown[0m
|
1574
|
+
-----------------------------------------
|
1575
|
+
PostsControllerTest: test_should_get_edit
|
1576
|
+
-----------------------------------------
|
1577
|
+
[1m[36mobject_exist (1.7ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1578
|
+
[1m[36mtable_create (1.3ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1579
|
+
[1m[36mtable_create (1.1ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1580
|
+
[1m[36mcolumn_create (1.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1581
|
+
[1m[36mcolumn_create (1.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1582
|
+
[1m[36mload (1.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1583
|
+
[1m[36mtable_create (1.5ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1584
|
+
[1m[36mschema (3.1ms)[0m [1m[35mschema[0m
|
1585
|
+
[1m[36mcolumn_create (2.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1586
|
+
[1m[36mload (1.8ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1587
|
+
[1m[36mtable_create (1.9ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1588
|
+
[1m[36mload (8.0ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1589
|
+
[1m[36mschema (3.8ms)[0m [1m[35mschema[0m
|
1590
|
+
[1m[36mload (3.0ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1591
|
+
Processing by PostsController#edit as HTML
|
1592
|
+
Parameters: {"id"=>"1"}
|
1593
|
+
[1m[35mselect (52.9ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
1594
|
+
Rendered posts/_form.html.erb (9.0ms)
|
1595
|
+
Rendered posts/edit.html.erb within layouts/application (11.3ms)
|
1596
|
+
Completed 200 OK in 206ms (Views: 151.5ms | Groonga: 52.9ms)
|
1597
|
+
[1m[36mshutdown (1.0ms)[0m [1m[35mshutdown[0m
|
1598
|
+
------------------------------------------
|
1599
|
+
PostsControllerTest: test_should_get_index
|
1600
|
+
------------------------------------------
|
1601
|
+
[1m[36mobject_exist (2.2ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1602
|
+
[1m[36mtable_create (2.0ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1603
|
+
[1m[36mtable_create (2.0ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1604
|
+
[1m[36mcolumn_create (1.9ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1605
|
+
[1m[36mcolumn_create (2.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1606
|
+
[1m[36mload (2.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1607
|
+
[1m[36mtable_create (3.2ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1608
|
+
[1m[36mschema (4.4ms)[0m [1m[35mschema[0m
|
1609
|
+
[1m[36mcolumn_create (3.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1610
|
+
[1m[36mload (1.9ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1611
|
+
[1m[36mtable_create (2.0ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1612
|
+
[1m[36mload (2.0ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1613
|
+
[1m[36mload (3.9ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1614
|
+
Processing by PostsController#index as HTML
|
1615
|
+
[1m[35mselect (2.7ms)[0m [1m[34mselect --limit "-1" --match_columns "body" --table "posts"[0m
|
1616
|
+
Rendered posts/index.html.erb within layouts/application (5.7ms)
|
1617
|
+
Completed 200 OK in 11ms (Views: 6.8ms | Groonga: 2.7ms)
|
1618
|
+
[1m[36mshutdown (1.6ms)[0m [1m[35mshutdown[0m
|
1619
|
+
--------------------------------------------
|
1620
|
+
PostsControllerTest: test_should_create_post
|
1621
|
+
--------------------------------------------
|
1622
|
+
[1m[36mobject_exist (2.5ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1623
|
+
[1m[36mtable_create (4.6ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1624
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1625
|
+
[1m[36mcolumn_create (2.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1626
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1627
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1628
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1629
|
+
[1m[36mschema (35.2ms)[0m [1m[35mschema[0m
|
1630
|
+
[1m[36mcolumn_create (2.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1631
|
+
[1m[36mload (1.1ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1632
|
+
[1m[36mtable_create (1.2ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1633
|
+
[1m[36mload (1.1ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1634
|
+
[1m[36mload (1.7ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1635
|
+
[1m[35mselect (1.2ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
1636
|
+
Processing by PostsController#create as HTML
|
1637
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
|
1638
|
+
[1m[36mload (1.1ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1639
|
+
Redirected to http://test.host/posts/2
|
1640
|
+
Completed 302 Found in 2ms (Groonga: 1.1ms)
|
1641
|
+
[1m[35mselect (1.2ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
1642
|
+
[1m[36mshutdown (1.0ms)[0m [1m[35mshutdown[0m
|
1643
|
+
--------------------------------------------
|
1644
|
+
PostsControllerTest: test_should_update_post
|
1645
|
+
--------------------------------------------
|
1646
|
+
[1m[36mobject_exist (2.4ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1647
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1648
|
+
[1m[36mtable_create (2.1ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1649
|
+
[1m[36mcolumn_create (2.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1650
|
+
[1m[36mcolumn_create (2.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1651
|
+
[1m[36mload (2.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1652
|
+
[1m[36mtable_create (2.1ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1653
|
+
[1m[36mschema (4.0ms)[0m [1m[35mschema[0m
|
1654
|
+
[1m[36mcolumn_create (2.9ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1655
|
+
[1m[36mload (1.9ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1656
|
+
[1m[36mtable_create (2.0ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1657
|
+
[1m[36mload (1.9ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1658
|
+
[1m[36mload (3.1ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1659
|
+
Processing by PostsController#update as HTML
|
1660
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
|
1661
|
+
[1m[35mselect (50.5ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
1662
|
+
[1m[36mload (1.1ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"[0m
|
1663
|
+
Redirected to http://test.host/posts/1
|
1664
|
+
Completed 302 Found in 54ms (Groonga: 51.6ms)
|
1665
|
+
[1m[36mshutdown (0.8ms)[0m [1m[35mshutdown[0m
|
1666
|
+
---------------------------------------------
|
1667
|
+
PostsControllerTest: test_should_destroy_post
|
1668
|
+
---------------------------------------------
|
1669
|
+
[1m[36mobject_exist (2.5ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1670
|
+
[1m[36mtable_create (2.6ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1671
|
+
[1m[36mtable_create (2.1ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1672
|
+
[1m[36mcolumn_create (1.9ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1673
|
+
[1m[36mcolumn_create (1.9ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1674
|
+
[1m[36mload (2.5ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1675
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1676
|
+
[1m[36mschema (5.0ms)[0m [1m[35mschema[0m
|
1677
|
+
[1m[36mcolumn_create (3.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1678
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1679
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1680
|
+
[1m[36mload (2.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1681
|
+
[1m[36mload (3.9ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1682
|
+
[1m[35mselect (2.6ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
1683
|
+
Processing by PostsController#destroy as HTML
|
1684
|
+
Parameters: {"id"=>"1"}
|
1685
|
+
[1m[35mselect (57.2ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
1686
|
+
[1m[36mdelete (1.2ms)[0m [1m[31mdelete --filter "_id == 1" --table "posts"[0m
|
1687
|
+
Redirected to http://test.host/posts
|
1688
|
+
Completed 302 Found in 61ms (Groonga: 58.5ms)
|
1689
|
+
[1m[35mselect (0.9ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
1690
|
+
[1m[36mshutdown (0.7ms)[0m [1m[35mshutdown[0m
|
1691
|
+
----------------------------------------
|
1692
|
+
PostsControllerTest: test_should_get_new
|
1693
|
+
----------------------------------------
|
1694
|
+
[1m[36mobject_exist (2.6ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1695
|
+
[1m[36mtable_create (2.5ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1696
|
+
[1m[36mtable_create (3.7ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1697
|
+
[1m[36mcolumn_create (3.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1698
|
+
[1m[36mcolumn_create (3.9ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1699
|
+
[1m[36mload (5.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1700
|
+
[1m[36mtable_create (3.6ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1701
|
+
[1m[36mschema (7.8ms)[0m [1m[35mschema[0m
|
1702
|
+
[1m[36mcolumn_create (4.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1703
|
+
[1m[36mload (3.1ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1704
|
+
[1m[36mtable_create (3.3ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1705
|
+
[1m[36mload (3.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1706
|
+
[1m[36mload (4.7ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1707
|
+
Processing by PostsController#new as HTML
|
1708
|
+
Rendered posts/_form.html.erb (3.9ms)
|
1709
|
+
Rendered posts/new.html.erb within layouts/application (5.9ms)
|
1710
|
+
Completed 200 OK in 10ms (Views: 9.9ms | Groonga: 0.0ms)
|
1711
|
+
[1m[36mshutdown (1.8ms)[0m [1m[35mshutdown[0m
|
1712
|
+
------------------------------------------
|
1713
|
+
PostsControllerTest: test_should_show_post
|
1714
|
+
------------------------------------------
|
1715
|
+
[1m[36mobject_exist (3.4ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1716
|
+
[1m[36mtable_create (3.3ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1717
|
+
[1m[36mtable_create (3.1ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1718
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1719
|
+
[1m[36mcolumn_create (3.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1720
|
+
[1m[36mload (3.5ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1721
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1722
|
+
[1m[36mschema (6.5ms)[0m [1m[35mschema[0m
|
1723
|
+
[1m[36mcolumn_create (5.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1724
|
+
[1m[36mload (4.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1725
|
+
[1m[36mtable_create (3.6ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1726
|
+
[1m[36mload (3.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1727
|
+
[1m[36mload (5.0ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
1728
|
+
Processing by PostsController#show as HTML
|
1729
|
+
Parameters: {"id"=>"1"}
|
1730
|
+
[1m[35mselect (58.2ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
1731
|
+
Rendered posts/show.html.erb within layouts/application (0.8ms)
|
1732
|
+
Completed 200 OK in 63ms (Views: 2.3ms | Groonga: 58.2ms)
|
1733
|
+
[1m[36mshutdown (1.1ms)[0m [1m[35mshutdown[0m
|
1734
|
+
------------------------------------------
|
1735
|
+
MigrationGeneratorTest: test_remove_column
|
1736
|
+
------------------------------------------
|
1737
|
+
-----------------------------------------------
|
1738
|
+
MigrationGeneratorTest: test_create_table:__key
|
1739
|
+
-----------------------------------------------
|
1740
|
+
------------------------------------------
|
1741
|
+
MigrationGeneratorTest: test_delete_config
|
1742
|
+
------------------------------------------
|
1743
|
+
---------------------------------------
|
1744
|
+
MigrationGeneratorTest: test_add_column
|
1745
|
+
---------------------------------------
|
1746
|
+
-----------------------------------------
|
1747
|
+
MigrationGeneratorTest: test_create_table
|
1748
|
+
-----------------------------------------
|
1749
|
+
---------------------------------------
|
1750
|
+
MigrationGeneratorTest: test_set_config
|
1751
|
+
---------------------------------------
|
1752
|
+
----------------------------------------------
|
1753
|
+
MigrationGeneratorTest: test_set_config:_value
|
1754
|
+
----------------------------------------------
|
1755
|
+
----------------------------
|
1756
|
+
PostTest: test_.create(Hash)
|
1757
|
+
----------------------------
|
1758
|
+
[1m[36mobject_exist (2.3ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1759
|
+
[1m[36mtable_create (3.1ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1760
|
+
[1m[36mtable_create (3.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1761
|
+
[1m[36mcolumn_create (3.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1762
|
+
[1m[36mcolumn_create (3.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1763
|
+
[1m[36mload (3.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1764
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1765
|
+
[1m[36mschema (6.0ms)[0m [1m[35mschema[0m
|
1766
|
+
[1m[36mcolumn_create (3.9ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1767
|
+
[1m[36mload (2.7ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1768
|
+
[1m[36mtable_create (2.2ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1769
|
+
[1m[36mload (2.2ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1770
|
+
[1m[36mload (2.6ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"[0m
|
1771
|
+
[1m[35mselect (54.7ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
1772
|
+
[1m[36mshutdown (1.1ms)[0m [1m[35mshutdown[0m
|
1773
|
+
------------------------------
|
1774
|
+
PostTest: test_.create([Hash])
|
1775
|
+
------------------------------
|
1776
|
+
[1m[36mobject_exist (3.1ms)[0m [1m[35mobject_exist --name "schema_versions"[0m
|
1777
|
+
[1m[36mtable_create (2.8ms)[0m [1m[35mtable_create --flags "TABLE_PAT_KEY" --key_type "UInt64" --name "schema_versions"[0m
|
1778
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
1779
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
1780
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
1781
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120517}]"[0m
|
1782
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
1783
|
+
[1m[36mschema (4.8ms)[0m [1m[35mschema[0m
|
1784
|
+
[1m[36mcolumn_create (3.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
1785
|
+
[1m[36mload (2.4ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120527}]"[0m
|
1786
|
+
[1m[36mtable_create (2.3ms)[0m [1m[35mtable_create --flags "TABLE_HASH_KEY" --key_type "UInt32" --name "ages"[0m
|
1787
|
+
[1m[36mload (2.3ms)[0m [1m[32mload --table "schema_versions" --values "[{\"_key\":20170303120536}]"[0m
|
1788
|
+
[1m[36mload (2.6ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"[0m
|
1789
|
+
[1m[36mload (6.3ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"[0m
|
1790
|
+
[1m[35mselect (45.8ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
1791
|
+
[1m[35mselect (1.1ms)[0m [1m[34mselect --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"[0m
|
1792
|
+
[1m[36mshutdown (0.7ms)[0m [1m[35mshutdown[0m
|