groonga-client-model 0.9.9 → 1.0.0
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 +6 -0
- data/lib/groonga_client_model/railtie.rb +9 -2
- data/lib/groonga_client_model/version.rb +1 -1
- data/test/apps/rails4/Gemfile +15 -22
- data/test/apps/rails4/Gemfile.lock +77 -91
- data/test/apps/rails4/{README.md → README.rdoc} +5 -1
- data/test/apps/rails4/Rakefile +1 -1
- data/test/apps/rails4/app/assets/javascripts/application.js +1 -1
- data/test/apps/rails4/app/assets/stylesheets/application.css +3 -3
- data/test/apps/rails4/app/assets/stylesheets/scaffolds.scss +1 -17
- data/test/apps/rails4/app/controllers/application_controller.rb +2 -0
- data/test/apps/rails4/app/models/application_groonga_record.rb +2 -0
- data/test/apps/rails4/app/models/post.rb +1 -1
- data/test/apps/rails4/app/views/layouts/application.html.erb +9 -9
- data/test/apps/rails4/app/views/posts/_form.html.erb +6 -8
- data/test/apps/rails4/app/views/posts/edit.html.erb +1 -1
- data/test/apps/rails4/app/views/posts/index.html.erb +1 -1
- data/test/apps/rails4/app/views/posts/new.html.erb +1 -1
- data/test/apps/rails4/bin/rails +1 -1
- data/test/apps/rails4/bin/setup +12 -17
- data/test/apps/rails4/bin/spring +2 -1
- data/test/apps/rails4/config.ru +1 -2
- data/test/apps/rails4/config/application.rb +9 -2
- data/test/apps/rails4/config/boot.rb +1 -1
- data/test/apps/rails4/config/environment.rb +1 -1
- data/test/apps/rails4/config/environments/development.rb +11 -24
- data/test/apps/rails4/config/environments/production.rb +17 -24
- data/test/apps/rails4/config/environments/test.rb +6 -6
- data/test/apps/rails4/config/groonga.yml +18 -3
- data/test/apps/rails4/config/initializers/cookies_serializer.rb +0 -2
- data/test/apps/rails4/config/initializers/wrap_parameters.rb +1 -1
- data/test/apps/rails4/config/routes.rb +54 -1
- data/test/apps/rails4/config/secrets.yml +3 -3
- data/test/apps/rails4/db/seeds.rb +3 -3
- data/test/apps/rails4/log/test.log +363 -184
- data/test/apps/rails4/test/controllers/posts_controller_test.rb +12 -11
- data/test/apps/rails4/test/models/post_test.rb +16 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{mA/mAWsnX7Peh_B8DPSBTB4f9Yr4LFtZwOf5prl05GZY3g.cache → 1v/1vNbaFvqzPuMCPa9LBe2yL962Ncp7RbNREOlE_qe8Ss.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{0g/0gB1rYz79RuAa43DzVci1GUjc5so0F1dU_LyLSmm3oQ.cache → 2F/2FyDjMLF22tXYLEKS6UqrqiSZTKp2HowmRsOZfW2dQs.cache} +1 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/3Q/3QxCnPBwOHO-nainvNGREWb7QnMUKlPsx4AFZgNVVUI.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache → 5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{rF/rF2vahiCQKUhJ8McEG0p8B7csWsz-dL13EQ7r2APOxc.cache → 6q/6q02XRkUAs1p1AznDygMg5SQnzVPORnD3tttb6bN38Y.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/AP/APY89OAPJx9A3D3xcCoktvEvQUs7NcWChYXnjjjPzz0.cache +2 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/BX/BXotLtoyOM47AZWstuYImgPP3ZX_6ePkTaL-w2UbD6s.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/CP/CPpqyQND9PwMf8rWX137atdXUJllZf-MoJqsrRy8-_M.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/GB/GBwB7RWhc8G8ZTp1BmhlFA9KxTMHsC0ozT6BA4wY4E0.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{N1/N1cFx1cQirDbaPCgGKbLjIcxsOM8ODiP98PZWSHDzyE.cache → Im/ImPjo1rh_BjihbG9lqrj6vYU12ZpBF1ml-SYAoCeDfs.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Kj/Kj5SXlN75_IXQg3ClSWOr0un4meXeR4o2STN7wQlrNs.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{Bh/BhBHwSo9EwfIYTDkA21FIndZkPsZ28CYARi4iBDw608.cache → Kq/KqE4OB3K1Vvxhxu20J2vygXKabgv57Mk0fYncnRtMVM.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/L6/L6VeuDb0xHGN0ZkbW-7I8k4hl6jcoufH3IqJLGat0uw.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/MG/MGY7vCFpMwMfTZjnoHcjrEns4qINkUs6SDLo-7ZHDzY.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Md/MdQJlkbMaRGmGTWDp3vV1gnrGTBlA_WglIB5glz1bEE.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache → OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{tH/tHi6ifML6NOeHhumbOb5hc1QFREX-LhACtiUhS54YPQ.cache → Ot/Ot1Yjpr09IxOvvY7PgNcg-1nEEO0nhzwJmosWMeSWwc.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{kz/kzw210ITXFWNFV8kw5e-_kRlpS48lGotSQWKPlUfMJ4.cache → Pm/Pm3ENYpCrQMOJGd-d8lACN_nbGZWiivq_KyPLJoD9Xk.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{VQ/VQNk5aqOyF22mFE5NhdDjfBZeFpSfgaaZdyngvHYi48.cache → QG/QG2CRa1A_ehuXGL8JwqPi2U16gehGSaXO_IzkOjcZaU.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Rg/RgDBcEPslcvUrodRXUXEkV6mbPTHBBnNrD3IO7tzw78.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/UF/UF2HqGF3e151MaG10cb333axk4G1L4l2TfS91DkiX6I.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{XJ/XJRPx7aZ4ajZ72O37hx53ZFkfXSHpDDpCy78LI0leqM.cache → Uo/UoAGEMj7jzkXrlFKxviQpDP2tiO1dYTKiZGzA1EZyc4.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{Ru/Ru1MOhJ8ZzL7pBzPr_QeTTd0LnfWx4DcM0iVcL4cTzo.cache → W4/W4TqFfx9xs_9OpiAURaumjMu1Xoiw4wE0LcVK7hQS8A.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{eQ/eQxzX_D16-XyOt1WTkYEC0qDvRbjXcCgQgnd9pBrg7o.cache → X-/X-m9giJcrkJm0BkoCQEan-MDJ0UTN9QaLyfNo0LXm2s.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/YL/YLHQFFsVrl4ksR5ZNFU1vc0ytWPUeiahGhk4llYc4Zg.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/YY/YYjjrExY-FL2dQQkvcHOLwpb_KNTHlsTyyFUVMhLbUE.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Zs/Zs96XWLbB-Sp-R9P31ArcdU7j6VL_RBI-SwpwTE_TZA.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{bM/bMMUbhA2nFZ9dHAnzKZsPzKVcv-UlAWaVq92COmAHwI.cache → _e/_eNuPQDv_ZR4m8hgbRvDpxc2CL_5gpsPUczPBDERMbA.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{6r/6rrJLZY0-_gdJxgMUZBZIn-wf8bPVArYjXhIIrt_O5Y.cache → cM/cMcoi258fMhhWlagTzUINSg8srih6ebrpZ50tLfKUoc.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/dv/dvWPUKdon1kQ0NI3VfpPzMETH0CWImWXui_6n2SsoAE.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/eb/ebKQzT3ac6Hus7GSISyFj_1LkQW1W9-BlhewMEXtUg0.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/kS/kSkCWaAJCcTgZ_AhrRCjZhNtkE12cubiq70uNtditqk.cache +2 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{eA/eA_fQgrHsn-vD9XeNQyC8335oMP8k0cnmerzHzjEwLQ.cache → lL/lL_dWZRBcwCn63yXBT5UzQ-7tnVDndwPc7qVdFgl0tM.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/lz/lzP8RQ5zmNQAi9-dzplqCwDpDZ13rCc2ob9BrMG-FCk.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/nd/ndY4mwZ38em5ydI4kE4ZwSM5DZim7EHoyJlccsNffzU.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{JX/JXqwLmb9hlO9nmp2kJYEcKaKy9RMO-HxwnptsiVAADc.cache → oF/oF9RtQhbL4wfZGSLn-E5OVetjrvjXHH91DpRQE52ufA.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{0M/0M4bZ4tQh0MQYZMb72U5yr-ELStAsUSb8akkTME9TPM.cache → ok/okosRqsUehqnm3OWnShpWnh8oyDXxM73IeCQyLhjZBM.cache} +1 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{a5/a5Ai9QXaiRRSN7BXZZ3eZSL8mbwrdOKNM9Hco1Bp498.cache → r9/r9AgJGnY4OgxXHKYgc1j-0muJGgEkcWFIrHDk2ev4ps.cache} +1 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/{do/doMYM14rQvSD5lPwCGe0ULzbXBwyBM-f1jOE0MzmEs4.cache → vw/vw0y0WzpHCSScyQbk0p_zI3oc3XRp-WEcoO-RxTASls.cache} +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/wZ/wZ0ALwHNZctvL4oikOtK5ZgTaBqFADb6scXaXjRGnzg.cache +1 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/xY/xYS0jeJMWjdvv2rhUmK2NWvRYx51t9zJQC31JW7SuOE.cache +2 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/yt/ytNmOXX5w9z_7WDwpxuKls7UhKWzz8w1aYLF0WQ-NC4.cache +0 -0
- metadata +89 -139
- data/test/apps/rails4/app/assets/config/manifest.js +0 -3
- data/test/apps/rails4/app/assets/javascripts/cable.js +0 -13
- data/test/apps/rails4/app/channels/application_cable/channel.rb +0 -4
- data/test/apps/rails4/app/channels/application_cable/connection.rb +0 -4
- data/test/apps/rails4/app/jobs/application_job.rb +0 -2
- data/test/apps/rails4/app/mailers/application_mailer.rb +0 -4
- data/test/apps/rails4/app/views/layouts/mailer.html.erb +0 -13
- data/test/apps/rails4/app/views/layouts/mailer.text.erb +0 -1
- data/test/apps/rails4/bin/update +0 -29
- data/test/apps/rails4/config/cable.yml +0 -9
- data/test/apps/rails4/config/initializers/application_controller_renderer.rb +0 -6
- data/test/apps/rails4/config/initializers/new_framework_defaults.rb +0 -21
- data/test/apps/rails4/config/puma.rb +0 -47
- data/test/apps/rails4/config/spring.rb +0 -6
- data/test/apps/rails4/public/apple-touch-icon-precomposed.png +0 -0
- data/test/apps/rails4/public/apple-touch-icon.png +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/0I/0Ihy3SE8nTe---ZtfB9WjKd6UOgmtLFlyhbw1R2BDFs.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/17/17ACx-zXgzaAZBriGH5oeRJJ9hMIlwP9bWBPlEMoY-0.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/8i/8iQwPHnNGnDGUJBtgrVMB7FceEuaXnCBF1671S9jJgo.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/B6/B6nLb8yGukrJQUpa3aPtLwrmBPnh2_8ZFkSTc5T8c0k.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Bj/BjttQ669rtLFSU4Oq7YxTtumvpgsHKREjOND3HIVJx8.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Bx/BxzoG0KxeNLac4xTNeJv3qfeytbNBw58xj2zD-xdbrE.cache +0 -2
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/C3/C3hMQl1ywl9gQ3OFdiiVc8l1y2gP7GWN37t9DDEaoy4.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/FT/FTiuNlnEJN59jNEEgEfQazsLhj_YTdIQnCuFC2EM7qw.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/K9/K9G8c-hzp4a8xRtPMnSQf6bsziHMznJz-OvHDz7w3rE.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Kq/KqsxRPBMXWQubUa9Ab4tmgT4j4DM5-A89_rh15MNlmI.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Kz/KznX4kBl2yjCE-XZL5bNAJ0xXrLVL6nJEJWMYLY3X7I.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/QH/QHW6bVAXmJeybTQiApxxYej1wQkNigo-KRbnXDwd1Mk.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/R7/R7bSW7yrMkNVznGUpcDS6MXM3ZziGA7RrQGogNiuVTA.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/RH/RHIJ8umE9bWwt5xXi8SJ4RYpZqFvt88JBVNo4lTPg0U.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Rt/Rtg9DogJyyU6DIW9gV2GCVTWMF0GYLevAVNvv3bEDeI.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/S3/S3OZbpxIypECjqQj77Gb9Oc6A-q0U1fKpzMbPVMoubk.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Vw/Vwgy4zAZLGHF9RslYQ40wbF7NYW47NDE0wcA7T3HwxI.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/W9/W9OEjda3McVaqzRMNGzY4zMzGFKwy-JYer2dt7dxRjQ.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/Ya/YayMISAqD-Y3vBFywwKrXbUovGf5o77HUF5s8mnQgO0.cache +0 -2
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/cc/ccFbs28DWObwrW_wnGA4cU9RmsKrBzb5xDaMu1-5QOo.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/d8/d80_M7rvPV-A1sCjIEhieR5jS353S0hCykiWL6Qoy7Q.cache +0 -3
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/gl/glrAgaE6JUHFNGuQsy5qakLJ2Sjmq-O09QX7cJklxP4.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/jt/jtP0R1pGResPYdA6O4Ph5x0W0T1If9yb0sRFijAemLY.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/mX/mXbxFiGMdcA3j1srHRMPEBxhXw8udKgsNtXk6_Zl5ts.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/nf/nfIObnkUaxVC6zkWxRI2Mzau2JKMWf2ii3dr0Q0IvNk.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/u3/u3DEuOZf5FZ_vumprxhkeIsi2jzeDJRxtjYbqNJ13wQ.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/u_/u_yfB9bAyTK1suTw3FxVxx4Lv0U31dIL1G0uX9R9byU.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/vH/vHuuPjMkmfpQ2eqHofMJprX6McDX-BRf-OZLe-Zy0uM.cache +0 -0
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/wq/wqEwEzqpIhD5Ie3bMy9VSp3TZI4lqTUROqfAYdpO83g.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/x7/x7PYh8DJvPykcEqpVab2vcY9-GFz-3cqtoMlRAu94Uc.cache +0 -2
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/yZ/yZz4rIdiAxAUWJ7Io7t9ZdVN8fjEjgzn8MfNKrBdIR0.cache +0 -1
- data/test/apps/rails4/tmp/cache/assets/sprockets/v3.0/zQ/zQ9ej9LKS_XIns0yfDEKXZaCGO7n1sA2dRjIsPO9Krg.cache +0 -1
@@ -5,16 +5,16 @@
|
|
5
5
|
|
6
6
|
# Make sure the secret is at least 30 characters and all random,
|
7
7
|
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
-
# You can use `
|
8
|
+
# You can use `rake secret` to generate a secure secret key.
|
9
9
|
|
10
10
|
# Make sure the secrets in this file are kept private
|
11
11
|
# if you're sharing your code publicly.
|
12
12
|
|
13
13
|
development:
|
14
|
-
secret_key_base:
|
14
|
+
secret_key_base: cd601617986a637bfd151a594f2f735f85afb230f3a2877d9823d86546e2a6c1cacea6f32173be267c28c7274a941bc64c34037cff13fbc4ac39ee2b801a6a3f
|
15
15
|
|
16
16
|
test:
|
17
|
-
secret_key_base:
|
17
|
+
secret_key_base: 90647008867e3c3ea89d3b541ce6c20db05412a38d83430caf661c856c63a21ddce9a8ce8c3df1ff531d936529d66e6411234a370d99b8a02f90b31c267654f4
|
18
18
|
|
19
19
|
# Do not keep production secrets in the repository,
|
20
20
|
# instead read values from the environment.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# This file should contain all the record creation needed to seed the database with its default values.
|
2
|
-
# The data can then be loaded with the
|
2
|
+
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
3
3
|
#
|
4
4
|
# Examples:
|
5
5
|
#
|
6
|
-
#
|
7
|
-
#
|
6
|
+
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
|
7
|
+
# Mayor.create(name: 'Emanuel', city: cities.first)
|
@@ -1,263 +1,442 @@
|
|
1
|
-
-----------------------------------------
|
2
|
-
PostsControllerTest: test_should_get_edit
|
3
|
-
-----------------------------------------
|
4
|
-
----------------------------------------
|
5
|
-
PostsControllerTest: test_should_get_new
|
6
|
-
----------------------------------------
|
7
|
-
--------------------------------------------
|
8
|
-
PostsControllerTest: test_should_update_post
|
9
|
-
--------------------------------------------
|
10
|
-
--------------------------------------------
|
11
|
-
PostsControllerTest: test_should_create_post
|
12
|
-
--------------------------------------------
|
13
|
-
---------------------------------------------
|
14
|
-
PostsControllerTest: test_should_destroy_post
|
15
|
-
---------------------------------------------
|
16
|
-
------------------------------------------
|
17
|
-
PostsControllerTest: test_should_get_index
|
18
|
-
------------------------------------------
|
19
|
-
------------------------------------------
|
20
|
-
PostsControllerTest: test_should_show_post
|
21
|
-
------------------------------------------
|
22
|
-
------------------------------------------
|
23
|
-
PostsControllerTest: test_should_get_index
|
24
|
-
------------------------------------------
|
25
1
|
------------------------------------------
|
26
2
|
PostsControllerTest: test_should_show_post
|
27
3
|
------------------------------------------
|
4
|
+
[1m[36mschema (5.6ms)[0m [1m[35mschema[0m
|
5
|
+
[1m[36mshutdown (2.2ms)[0m [1m[35mshutdown[0m
|
28
6
|
---------------------------------------------
|
29
7
|
PostsControllerTest: test_should_destroy_post
|
30
8
|
---------------------------------------------
|
31
|
-
|
32
|
-
PostsControllerTest: test_should_update_post
|
33
|
-
--------------------------------------------
|
34
|
-
----------------------------------------
|
35
|
-
PostsControllerTest: test_should_get_new
|
36
|
-
----------------------------------------
|
9
|
+
[1m[36mshutdown (1.9ms)[0m [1m[35mshutdown[0m
|
37
10
|
--------------------------------------------
|
38
11
|
PostsControllerTest: test_should_create_post
|
39
12
|
--------------------------------------------
|
40
|
-
|
41
|
-
PostsControllerTest: test_should_get_edit
|
42
|
-
-----------------------------------------
|
13
|
+
[1m[36mshutdown (2.6ms)[0m [1m[35mshutdown[0m
|
43
14
|
--------------------------------------------
|
44
15
|
PostsControllerTest: test_should_update_post
|
45
16
|
--------------------------------------------
|
46
|
-
|
47
|
-
PostsControllerTest: test_should_create_post
|
48
|
-
--------------------------------------------
|
49
|
-
------------------------------------------
|
50
|
-
PostsControllerTest: test_should_show_post
|
51
|
-
------------------------------------------
|
52
|
-
---------------------------------------------
|
53
|
-
PostsControllerTest: test_should_destroy_post
|
54
|
-
---------------------------------------------
|
55
|
-
-----------------------------------------
|
56
|
-
PostsControllerTest: test_should_get_edit
|
57
|
-
-----------------------------------------
|
58
|
-
------------------------------------------
|
59
|
-
PostsControllerTest: test_should_get_index
|
60
|
-
------------------------------------------
|
61
|
-
----------------------------------------
|
62
|
-
PostsControllerTest: test_should_get_new
|
63
|
-
----------------------------------------
|
64
|
-
------------------------------------------
|
65
|
-
PostsControllerTest: test_should_show_post
|
66
|
-
------------------------------------------
|
17
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
67
18
|
-----------------------------------------
|
68
19
|
PostsControllerTest: test_should_get_edit
|
69
20
|
-----------------------------------------
|
21
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
70
22
|
----------------------------------------
|
71
23
|
PostsControllerTest: test_should_get_new
|
72
24
|
----------------------------------------
|
25
|
+
[1m[36mshutdown (2.5ms)[0m [1m[35mshutdown[0m
|
73
26
|
------------------------------------------
|
74
27
|
PostsControllerTest: test_should_get_index
|
75
28
|
------------------------------------------
|
76
|
-
|
77
|
-
|
78
|
-
|
29
|
+
[1m[36mshutdown (2.8ms)[0m [1m[35mshutdown[0m
|
30
|
+
------------------------------
|
31
|
+
PostTest: test_.create([Hash])
|
32
|
+
------------------------------
|
33
|
+
[1m[36mshutdown (2.6ms)[0m [1m[35mshutdown[0m
|
34
|
+
----------------------------
|
35
|
+
PostTest: test_.create(Hash)
|
36
|
+
----------------------------
|
37
|
+
[1m[36mshutdown (2.8ms)[0m [1m[35mshutdown[0m
|
38
|
+
------------------------------
|
39
|
+
PostTest: test_.create([Hash])
|
40
|
+
------------------------------
|
41
|
+
[1m[36mtable_create (1.5ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
42
|
+
[1m[36mcolumn_create (1.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
43
|
+
[1m[36mcolumn_create (1.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
44
|
+
[1m[36mtable_create (1.0ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
45
|
+
[1m[36mcolumn_create (1.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
46
|
+
[1m[36mschema (2.0ms)[0m [1m[35mschema[0m
|
47
|
+
[1m[36mload (1.7ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"[0m
|
48
|
+
[1m[36mload (1.5ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"[0m
|
49
|
+
[1m[35mselect (95.7ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
50
|
+
[1m[35mselect (1.2ms)[0m [1m[34mselect --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"[0m
|
51
|
+
[1m[36mshutdown (0.8ms)[0m [1m[35mshutdown[0m
|
52
|
+
----------------------------
|
53
|
+
PostTest: test_.create(Hash)
|
54
|
+
----------------------------
|
55
|
+
[1m[36mtable_create (3.1ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
56
|
+
[1m[36mcolumn_create (2.7ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
57
|
+
[1m[36mcolumn_create (2.7ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
58
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
59
|
+
[1m[36mcolumn_create (3.6ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
60
|
+
[1m[36mload (2.7ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"[0m
|
61
|
+
[1m[35mselect (55.6ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
62
|
+
[1m[36mshutdown (1.0ms)[0m [1m[35mshutdown[0m
|
79
63
|
--------------------------------------------
|
80
|
-
PostsControllerTest:
|
64
|
+
PostsControllerTest: test_should_create_post
|
81
65
|
--------------------------------------------
|
66
|
+
[1m[36mtable_create (1.7ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
67
|
+
[1m[36mcolumn_create (1.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
68
|
+
[1m[36mcolumn_create (1.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
69
|
+
[1m[36mtable_create (1.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
70
|
+
[1m[36mcolumn_create (2.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
71
|
+
[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
|
72
|
+
[1m[35mselect (2.1ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
73
|
+
Processing by PostsController#create as HTML
|
74
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
|
75
|
+
[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
|
76
|
+
Redirected to http://test.host/posts/2
|
77
|
+
Completed 302 Found in 7ms (Groonga: 3.0ms)
|
78
|
+
[1m[35mselect (2.7ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
79
|
+
[1m[36mshutdown (2.1ms)[0m [1m[35mshutdown[0m
|
82
80
|
--------------------------------------------
|
83
|
-
PostsControllerTest:
|
81
|
+
PostsControllerTest: test_should_update_post
|
84
82
|
--------------------------------------------
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
83
|
+
[1m[36mtable_create (2.8ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
84
|
+
[1m[36mcolumn_create (2.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
85
|
+
[1m[36mcolumn_create (2.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
86
|
+
[1m[36mtable_create (2.5ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
87
|
+
[1m[36mcolumn_create (3.6ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
88
|
+
[1m[36mload (12.6ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
89
|
+
Processing by PostsController#update as HTML
|
90
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
|
91
|
+
[1m[35mselect (59.5ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
92
|
+
[1m[36mload (1.3ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"_id\":1,\"body\":\"World\",\"title\":\"Hello\"}\n]"[0m
|
93
|
+
Redirected to http://test.host/posts/1
|
94
|
+
Completed 302 Found in 63ms (Groonga: 60.8ms)
|
95
|
+
[1m[36mshutdown (0.9ms)[0m [1m[35mshutdown[0m
|
91
96
|
---------------------------------------------
|
92
97
|
PostsControllerTest: test_should_destroy_post
|
93
98
|
---------------------------------------------
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
99
|
+
[1m[36mtable_create (2.9ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
100
|
+
[1m[36mcolumn_create (2.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
101
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
102
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
103
|
+
[1m[36mcolumn_create (3.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
104
|
+
[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
|
105
|
+
[1m[35mselect (2.6ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
106
|
+
Processing by PostsController#destroy as HTML
|
107
|
+
Parameters: {"id"=>"1"}
|
108
|
+
[1m[35mselect (60.3ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
109
|
+
[1m[36mdelete (1.1ms)[0m [1m[31mdelete --filter "_id == 1" --table "posts"[0m
|
110
|
+
Redirected to http://test.host/posts
|
111
|
+
Completed 302 Found in 63ms (Groonga: 61.4ms)
|
112
|
+
[1m[35mselect (1.0ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
113
|
+
[1m[36mshutdown (0.8ms)[0m [1m[35mshutdown[0m
|
109
114
|
-----------------------------------------
|
110
115
|
PostsControllerTest: test_should_get_edit
|
111
116
|
-----------------------------------------
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
117
|
+
[1m[36mtable_create (2.9ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
118
|
+
[1m[36mcolumn_create (2.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
119
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
120
|
+
[1m[36mtable_create (2.5ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
121
|
+
[1m[36mcolumn_create (3.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
122
|
+
[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
|
123
|
+
Processing by PostsController#edit as HTML
|
124
|
+
Parameters: {"id"=>"1"}
|
125
|
+
[1m[35mselect (61.6ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
126
|
+
Rendered posts/_form.html.erb (44.0ms)
|
127
|
+
Rendered posts/edit.html.erb within layouts/application (55.7ms)
|
128
|
+
Completed 200 OK in 874ms (Views: 811.0ms | Groonga: 61.6ms)
|
129
|
+
[1m[36mshutdown (1.2ms)[0m [1m[35mshutdown[0m
|
118
130
|
------------------------------------------
|
119
131
|
PostsControllerTest: test_should_get_index
|
120
132
|
------------------------------------------
|
133
|
+
[1m[36mtable_create (2.9ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
134
|
+
[1m[36mcolumn_create (2.6ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
135
|
+
[1m[36mcolumn_create (2.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
136
|
+
[1m[36mtable_create (2.5ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
137
|
+
[1m[36mcolumn_create (3.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
138
|
+
[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
|
139
|
+
Processing by PostsController#index as HTML
|
140
|
+
[1m[35mselect (3.1ms)[0m [1m[34mselect --limit "-1" --match_columns "body" --table "posts"[0m
|
141
|
+
Rendered posts/index.html.erb within layouts/application (6.6ms)
|
142
|
+
Completed 200 OK in 12ms (Views: 7.6ms | Groonga: 3.1ms)
|
143
|
+
[1m[36mshutdown (2.4ms)[0m [1m[35mshutdown[0m
|
121
144
|
----------------------------------------
|
122
145
|
PostsControllerTest: test_should_get_new
|
123
146
|
----------------------------------------
|
124
|
-
|
125
|
-
|
126
|
-
|
147
|
+
[1m[36mtable_create (3.0ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
148
|
+
[1m[36mcolumn_create (2.6ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
149
|
+
[1m[36mcolumn_create (2.6ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
150
|
+
[1m[36mtable_create (2.6ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
151
|
+
[1m[36mcolumn_create (3.6ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
152
|
+
[1m[36mload (4.0ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
153
|
+
Processing by PostsController#new as HTML
|
154
|
+
Rendered posts/_form.html.erb (3.6ms)
|
155
|
+
Rendered posts/new.html.erb within layouts/application (5.0ms)
|
156
|
+
Completed 200 OK in 9ms (Views: 9.1ms | Groonga: 0.0ms)
|
157
|
+
[1m[36mshutdown (2.7ms)[0m [1m[35mshutdown[0m
|
127
158
|
------------------------------------------
|
128
|
-
PostsControllerTest:
|
159
|
+
PostsControllerTest: test_should_show_post
|
129
160
|
------------------------------------------
|
130
|
-
|
131
|
-
|
132
|
-
|
161
|
+
[1m[36mtable_create (2.9ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
162
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
163
|
+
[1m[36mcolumn_create (2.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
164
|
+
[1m[36mtable_create (2.6ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
165
|
+
[1m[36mcolumn_create (3.7ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
166
|
+
[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
|
167
|
+
Processing by PostsController#show as HTML
|
168
|
+
Parameters: {"id"=>"1"}
|
169
|
+
[1m[35mselect (51.8ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
170
|
+
Rendered posts/show.html.erb within layouts/application (0.5ms)
|
171
|
+
Completed 200 OK in 55ms (Views: 1.8ms | Groonga: 51.8ms)
|
172
|
+
[1m[36mshutdown (1.0ms)[0m [1m[35mshutdown[0m
|
173
|
+
----------------------------
|
174
|
+
PostTest: test_.create(Hash)
|
175
|
+
----------------------------
|
176
|
+
[1m[36mtable_create (1.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
177
|
+
[1m[36mcolumn_create (0.9ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
178
|
+
[1m[36mcolumn_create (0.8ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
179
|
+
[1m[36mtable_create (0.8ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
180
|
+
[1m[36mcolumn_create (1.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
181
|
+
[1m[36mschema (1.5ms)[0m [1m[35mschema[0m
|
182
|
+
[1m[36mload (1.0ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"[0m
|
183
|
+
[1m[35mselect (28.7ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
184
|
+
[1m[36mshutdown (1.2ms)[0m [1m[35mshutdown[0m
|
185
|
+
------------------------------
|
186
|
+
PostTest: test_.create([Hash])
|
187
|
+
------------------------------
|
188
|
+
[1m[36mtable_create (1.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
189
|
+
[1m[36mcolumn_create (0.7ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
190
|
+
[1m[36mcolumn_create (0.7ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
191
|
+
[1m[36mtable_create (1.2ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
192
|
+
[1m[36mcolumn_create (3.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
193
|
+
[1m[36mload (0.8ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"[0m
|
194
|
+
[1m[36mload (0.7ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"[0m
|
195
|
+
[1m[35mselect (27.1ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
196
|
+
[1m[35mselect (1.2ms)[0m [1m[34mselect --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"[0m
|
197
|
+
[1m[36mshutdown (0.7ms)[0m [1m[35mshutdown[0m
|
133
198
|
----------------------------------------
|
134
199
|
PostsControllerTest: test_should_get_new
|
135
200
|
----------------------------------------
|
201
|
+
[1m[36mtable_create (1.1ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
202
|
+
[1m[36mcolumn_create (0.8ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
203
|
+
[1m[36mcolumn_create (0.7ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
204
|
+
[1m[36mtable_create (0.8ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
205
|
+
[1m[36mcolumn_create (1.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
206
|
+
[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
|
207
|
+
Processing by PostsController#new as HTML
|
208
|
+
Rendered posts/_form.html.erb (11.7ms)
|
209
|
+
Rendered posts/new.html.erb within layouts/application (14.1ms)
|
210
|
+
Completed 200 OK in 153ms (Views: 153.0ms | Groonga: 0.0ms)
|
211
|
+
[1m[36mshutdown (1.2ms)[0m [1m[35mshutdown[0m
|
136
212
|
--------------------------------------------
|
137
213
|
PostsControllerTest: test_should_create_post
|
138
214
|
--------------------------------------------
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
215
|
+
[1m[36mtable_create (2.7ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
216
|
+
[1m[36mcolumn_create (2.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
217
|
+
[1m[36mcolumn_create (3.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
218
|
+
[1m[36mtable_create (3.6ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
219
|
+
[1m[36mcolumn_create (3.7ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
220
|
+
[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
|
221
|
+
[1m[35mselect (2.5ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
222
|
+
Processing by PostsController#create as HTML
|
223
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
|
224
|
+
[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
|
225
|
+
Redirected to http://test.host/posts/2
|
226
|
+
Completed 302 Found in 6ms (Groonga: 3.3ms)
|
227
|
+
[1m[35mselect (2.5ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
228
|
+
[1m[36mshutdown (2.1ms)[0m [1m[35mshutdown[0m
|
145
229
|
--------------------------------------------
|
146
230
|
PostsControllerTest: test_should_update_post
|
147
231
|
--------------------------------------------
|
232
|
+
[1m[36mtable_create (2.7ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
233
|
+
[1m[36mcolumn_create (2.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
234
|
+
[1m[36mcolumn_create (2.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
235
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
236
|
+
[1m[36mcolumn_create (3.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
237
|
+
[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
|
238
|
+
Processing by PostsController#update as HTML
|
239
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
|
240
|
+
[1m[35mselect (58.2ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
241
|
+
[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
|
242
|
+
Redirected to http://test.host/posts/1
|
243
|
+
Completed 302 Found in 61ms (Groonga: 59.2ms)
|
244
|
+
[1m[36mshutdown (0.8ms)[0m [1m[35mshutdown[0m
|
148
245
|
---------------------------------------------
|
149
246
|
PostsControllerTest: test_should_destroy_post
|
150
247
|
---------------------------------------------
|
151
|
-
|
248
|
+
[1m[36mtable_create (3.3ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
249
|
+
[1m[36mcolumn_create (2.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
250
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
251
|
+
[1m[36mtable_create (2.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
252
|
+
[1m[36mcolumn_create (2.6ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
253
|
+
[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
|
254
|
+
[1m[35mselect (3.0ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
152
255
|
Processing by PostsController#destroy as HTML
|
153
256
|
Parameters: {"id"=>"1"}
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
Processing by PostsController#new as HTML
|
161
|
-
Rendering posts/new.html.erb within layouts/application
|
162
|
-
Rendered posts/_form.html.erb (30.5ms)
|
163
|
-
Rendered posts/new.html.erb within layouts/application (37.8ms)
|
164
|
-
Completed 200 OK in 849ms (Views: 848.3ms)
|
165
|
-
--------------------------------------------
|
166
|
-
PostsControllerTest: test_should_update_post
|
167
|
-
--------------------------------------------
|
168
|
-
Started PATCH "/posts/1" for 127.0.0.1 at 2016-12-27 15:07:52 +0900
|
169
|
-
Processing by PostsController#update as HTML
|
170
|
-
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
|
171
|
-
Redirected to http://www.example.com/posts/1
|
172
|
-
Completed 302 Found in 31ms
|
173
|
-
--------------------------------------------
|
174
|
-
PostsControllerTest: test_should_create_post
|
175
|
-
--------------------------------------------
|
176
|
-
Started POST "/posts" for 127.0.0.1 at 2016-12-27 15:07:52 +0900
|
177
|
-
Processing by PostsController#create as HTML
|
178
|
-
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
|
179
|
-
Redirected to http://www.example.com/posts/2
|
180
|
-
Completed 302 Found in 3ms
|
257
|
+
[1m[35mselect (39.0ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
258
|
+
[1m[36mdelete (1.1ms)[0m [1m[31mdelete --filter "_id == 1" --table "posts"[0m
|
259
|
+
Redirected to http://test.host/posts
|
260
|
+
Completed 302 Found in 42ms (Groonga: 40.1ms)
|
261
|
+
[1m[35mselect (1.0ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
262
|
+
[1m[36mshutdown (0.8ms)[0m [1m[35mshutdown[0m
|
181
263
|
-----------------------------------------
|
182
264
|
PostsControllerTest: test_should_get_edit
|
183
265
|
-----------------------------------------
|
184
|
-
|
266
|
+
[1m[36mtable_create (2.6ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
267
|
+
[1m[36mcolumn_create (1.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
268
|
+
[1m[36mcolumn_create (1.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
269
|
+
[1m[36mtable_create (1.3ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
270
|
+
[1m[36mcolumn_create (1.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
271
|
+
[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
|
185
272
|
Processing by PostsController#edit as HTML
|
186
273
|
Parameters: {"id"=>"1"}
|
187
|
-
|
188
|
-
Rendered posts/_form.html.erb (
|
189
|
-
Rendered posts/edit.html.erb within layouts/application (
|
190
|
-
Completed 200 OK in
|
274
|
+
[1m[35mselect (35.8ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
275
|
+
Rendered posts/_form.html.erb (1.1ms)
|
276
|
+
Rendered posts/edit.html.erb within layouts/application (1.6ms)
|
277
|
+
Completed 200 OK in 40ms (Views: 2.8ms | Groonga: 35.8ms)
|
278
|
+
[1m[36mshutdown (1.1ms)[0m [1m[35mshutdown[0m
|
279
|
+
------------------------------------------
|
280
|
+
PostsControllerTest: test_should_show_post
|
281
|
+
------------------------------------------
|
282
|
+
[1m[36mtable_create (2.7ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
283
|
+
[1m[36mcolumn_create (37.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
284
|
+
[1m[36mcolumn_create (1.8ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
285
|
+
[1m[36mtable_create (1.6ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
286
|
+
[1m[36mcolumn_create (1.8ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
287
|
+
[1m[36mload (2.2ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
288
|
+
Processing by PostsController#show as HTML
|
289
|
+
Parameters: {"id"=>"1"}
|
290
|
+
[1m[35mselect (33.9ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
291
|
+
Rendered posts/show.html.erb within layouts/application (0.6ms)
|
292
|
+
Completed 200 OK in 38ms (Views: 3.0ms | Groonga: 33.9ms)
|
293
|
+
[1m[36mshutdown (2.3ms)[0m [1m[35mshutdown[0m
|
191
294
|
------------------------------------------
|
192
295
|
PostsControllerTest: test_should_get_index
|
193
296
|
------------------------------------------
|
194
|
-
|
297
|
+
[1m[36mtable_create (2.9ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
298
|
+
[1m[36mcolumn_create (2.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
299
|
+
[1m[36mcolumn_create (2.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
300
|
+
[1m[36mtable_create (2.6ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
301
|
+
[1m[36mcolumn_create (3.6ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
302
|
+
[1m[36mload (4.2ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
195
303
|
Processing by PostsController#index as HTML
|
196
|
-
|
197
|
-
Rendered posts/index.html.erb within layouts/application (
|
198
|
-
Completed 200 OK in
|
304
|
+
[1m[35mselect (3.0ms)[0m [1m[34mselect --limit "-1" --match_columns "body" --table "posts"[0m
|
305
|
+
Rendered posts/index.html.erb within layouts/application (6.3ms)
|
306
|
+
Completed 200 OK in 11ms (Views: 7.4ms | Groonga: 3.0ms)
|
307
|
+
[1m[36mshutdown (2.2ms)[0m [1m[35mshutdown[0m
|
308
|
+
---------------------------------------------
|
309
|
+
PostsControllerTest: test_should_destroy_post
|
310
|
+
---------------------------------------------
|
311
|
+
[1m[36mtable_create (1.4ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
312
|
+
[1m[36mcolumn_create (1.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
313
|
+
[1m[36mcolumn_create (0.9ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
314
|
+
[1m[36mtable_create (0.9ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
315
|
+
[1m[36mcolumn_create (1.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
316
|
+
[1m[36mschema (1.6ms)[0m [1m[35mschema[0m
|
317
|
+
[1m[36mload (1.6ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
318
|
+
[1m[35mselect (1.0ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
319
|
+
Processing by PostsController#destroy as HTML
|
320
|
+
Parameters: {"id"=>"1"}
|
321
|
+
[1m[35mselect (28.9ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
322
|
+
[1m[36mdelete (1.1ms)[0m [1m[31mdelete --filter "_id == 1" --table "posts"[0m
|
323
|
+
Redirected to http://test.host/posts
|
324
|
+
Completed 302 Found in 32ms (Groonga: 30.1ms)
|
325
|
+
[1m[35mselect (1.2ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
326
|
+
[1m[36mshutdown (0.8ms)[0m [1m[35mshutdown[0m
|
199
327
|
------------------------------------------
|
200
328
|
PostsControllerTest: test_should_show_post
|
201
329
|
------------------------------------------
|
202
|
-
|
330
|
+
[1m[36mtable_create (1.3ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
331
|
+
[1m[36mcolumn_create (1.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
332
|
+
[1m[36mcolumn_create (1.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
333
|
+
[1m[36mtable_create (1.0ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
334
|
+
[1m[36mcolumn_create (1.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
335
|
+
[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
|
203
336
|
Processing by PostsController#show as HTML
|
204
337
|
Parameters: {"id"=>"1"}
|
205
|
-
|
338
|
+
[1m[35mselect (31.1ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
206
339
|
Rendered posts/show.html.erb within layouts/application (0.9ms)
|
207
|
-
Completed 200 OK in
|
208
|
-
|
209
|
-
PostsControllerTest: test_should_create_post
|
210
|
-
--------------------------------------------
|
211
|
-
[1m[36mtable_create (0.7ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
340
|
+
Completed 200 OK in 181ms (Views: 149.2ms | Groonga: 31.1ms)
|
341
|
+
[1m[36mshutdown (1.2ms)[0m [1m[35mshutdown[0m
|
212
342
|
-----------------------------------------
|
213
343
|
PostsControllerTest: test_should_get_edit
|
214
344
|
-----------------------------------------
|
215
|
-
[1m[36mtable_create (
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
[1m[
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
[1m[
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
[1m[
|
228
|
-
------------------------------------------
|
229
|
-
PostsControllerTest: test_should_get_index
|
230
|
-
------------------------------------------
|
231
|
-
[1m[36mtable_create (0.5ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
345
|
+
[1m[36mtable_create (1.4ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
346
|
+
[1m[36mcolumn_create (1.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
347
|
+
[1m[36mcolumn_create (1.2ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
348
|
+
[1m[36mtable_create (1.4ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
349
|
+
[1m[36mcolumn_create (1.7ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
350
|
+
[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
|
351
|
+
Processing by PostsController#edit as HTML
|
352
|
+
Parameters: {"id"=>"1"}
|
353
|
+
[1m[35mselect (29.0ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
354
|
+
Rendered posts/_form.html.erb (10.8ms)
|
355
|
+
Rendered posts/edit.html.erb within layouts/application (12.7ms)
|
356
|
+
Completed 200 OK in 44ms (Views: 13.8ms | Groonga: 29.0ms)
|
357
|
+
[1m[36mshutdown (1.0ms)[0m [1m[35mshutdown[0m
|
232
358
|
--------------------------------------------
|
233
359
|
PostsControllerTest: test_should_update_post
|
234
360
|
--------------------------------------------
|
235
|
-
[1m[36mtable_create (
|
361
|
+
[1m[36mtable_create (1.1ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
362
|
+
[1m[36mcolumn_create (1.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
363
|
+
[1m[36mcolumn_create (0.7ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
364
|
+
[1m[36mtable_create (0.8ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
365
|
+
[1m[36mcolumn_create (1.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
366
|
+
[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
|
367
|
+
Processing by PostsController#update as HTML
|
368
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
|
369
|
+
[1m[35mselect (28.6ms)[0m [1m[34mselect --filter "_id == \"1\"" --limit "1" --match_columns "body" --table "posts"[0m
|
370
|
+
[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
|
371
|
+
Redirected to http://test.host/posts/1
|
372
|
+
Completed 302 Found in 31ms (Groonga: 29.5ms)
|
373
|
+
[1m[36mshutdown (0.7ms)[0m [1m[35mshutdown[0m
|
236
374
|
------------------------------------------
|
237
|
-
PostsControllerTest:
|
375
|
+
PostsControllerTest: test_should_get_index
|
238
376
|
------------------------------------------
|
239
|
-
[1m[36mtable_create (
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
[1m[
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
377
|
+
[1m[36mtable_create (1.2ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
378
|
+
[1m[36mcolumn_create (1.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
379
|
+
[1m[36mcolumn_create (1.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
380
|
+
[1m[36mtable_create (1.0ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
381
|
+
[1m[36mcolumn_create (1.4ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
382
|
+
[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
|
383
|
+
Processing by PostsController#index as HTML
|
384
|
+
[1m[35mselect (1.1ms)[0m [1m[34mselect --limit "-1" --match_columns "body" --table "posts"[0m
|
385
|
+
Rendered posts/index.html.erb within layouts/application (2.2ms)
|
386
|
+
Completed 200 OK in 4ms (Views: 2.3ms | Groonga: 1.1ms)
|
387
|
+
[1m[36mshutdown (0.9ms)[0m [1m[35mshutdown[0m
|
248
388
|
----------------------------------------
|
249
389
|
PostsControllerTest: test_should_get_new
|
250
390
|
----------------------------------------
|
251
|
-
[1m[36mtable_create (
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
[1m[
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
391
|
+
[1m[36mtable_create (1.0ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
392
|
+
[1m[36mcolumn_create (0.8ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
393
|
+
[1m[36mcolumn_create (0.8ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
394
|
+
[1m[36mtable_create (0.8ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
395
|
+
[1m[36mcolumn_create (1.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
396
|
+
[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
|
397
|
+
Processing by PostsController#new as HTML
|
398
|
+
Rendered posts/_form.html.erb (0.9ms)
|
399
|
+
Rendered posts/new.html.erb within layouts/application (1.3ms)
|
400
|
+
Completed 200 OK in 3ms (Views: 3.3ms | Groonga: 0.0ms)
|
401
|
+
[1m[36mshutdown (0.9ms)[0m [1m[35mshutdown[0m
|
402
|
+
--------------------------------------------
|
403
|
+
PostsControllerTest: test_should_create_post
|
404
|
+
--------------------------------------------
|
405
|
+
[1m[36mtable_create (1.1ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
406
|
+
[1m[36mcolumn_create (0.8ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
407
|
+
[1m[36mcolumn_create (2.1ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
408
|
+
[1m[36mtable_create (12.6ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
409
|
+
[1m[36mcolumn_create (1.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
410
|
+
[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
|
411
|
+
[1m[35mselect (1.3ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
412
|
+
Processing by PostsController#create as HTML
|
413
|
+
Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
|
414
|
+
[1m[36mload (1.2ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\",\"body\":\"World\"}\n]"[0m
|
415
|
+
Redirected to http://test.host/posts/2
|
416
|
+
Completed 302 Found in 2ms (Groonga: 1.2ms)
|
417
|
+
[1m[35mselect (1.0ms)[0m [1m[34mselect --limit "0" --match_columns "body" --output_columns "_id" --table "posts"[0m
|
418
|
+
[1m[36mshutdown (1.0ms)[0m [1m[35mshutdown[0m
|
419
|
+
----------------------------
|
420
|
+
PostTest: test_.create(Hash)
|
421
|
+
----------------------------
|
422
|
+
[1m[36mtable_create (1.3ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
423
|
+
[1m[36mcolumn_create (1.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
424
|
+
[1m[36mcolumn_create (1.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
425
|
+
[1m[36mtable_create (0.9ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
426
|
+
[1m[36mcolumn_create (1.6ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
427
|
+
[1m[36mload (1.4ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello\"}\n]"[0m
|
428
|
+
[1m[35mselect (33.2ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
429
|
+
[1m[36mshutdown (0.8ms)[0m [1m[35mshutdown[0m
|
430
|
+
------------------------------
|
431
|
+
PostTest: test_.create([Hash])
|
432
|
+
------------------------------
|
433
|
+
[1m[36mtable_create (1.5ms)[0m [1m[35mtable_create --flags "TABLE_NO_KEY" --name "posts"[0m
|
434
|
+
[1m[36mcolumn_create (1.3ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "title" --table "posts" --type "ShortText"[0m
|
435
|
+
[1m[36mcolumn_create (1.0ms)[0m [1m[35mcolumn_create --flags "COLUMN_SCALAR" --name "body" --table "posts" --type "Text"[0m
|
436
|
+
[1m[36mtable_create (1.0ms)[0m [1m[35mtable_create --default_tokenizer "TokenBigram" --flags "TABLE_PAT_KEY" --key_type "ShortText" --name "terms" --normalizer "NormalizerAuto"[0m
|
437
|
+
[1m[36mcolumn_create (1.5ms)[0m [1m[35mcolumn_create --flags "COLUMN_INDEX|WITH_POSITION" --name "posts_body" --source "body" --table "terms" --type "posts"[0m
|
438
|
+
[1m[36mload (1.2ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello1\"}\n]"[0m
|
439
|
+
[1m[36mload (1.2ms)[0m [1m[32mload --command_version "3" --output_errors "yes" --output_ids "yes" --table "posts" --values "[\n{\"title\":\"Hello2\"}\n]"[0m
|
440
|
+
[1m[35mselect (34.6ms)[0m [1m[34mselect --filter "_id == 1" --limit "1" --match_columns "body" --table "posts"[0m
|
441
|
+
[1m[35mselect (1.3ms)[0m [1m[34mselect --filter "_id == 2" --limit "1" --match_columns "body" --table "posts"[0m
|
442
|
+
[1m[36mshutdown (0.8ms)[0m [1m[35mshutdown[0m
|