cogy 0.5.2 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +25 -5
  4. data/Rakefile +5 -1
  5. data/app/controllers/cogy/application_controller.rb +4 -2
  6. data/app/controllers/cogy/cogy_controller.rb +4 -4
  7. data/lib/cogy/version.rb +1 -1
  8. data/test/{dummy → dummies/4.2}/README.rdoc +0 -0
  9. data/test/{dummy → dummies/4.2}/Rakefile +0 -0
  10. data/test/{dummy → dummies/4.2}/app/controllers/application_controller.rb +0 -0
  11. data/test/{dummy → dummies/4.2}/app/helpers/application_helper.rb +0 -0
  12. data/test/{dummy → dummies/4.2}/app/views/layouts/application.html.erb +0 -0
  13. data/test/{dummy → dummies/4.2}/bin/bundle +0 -0
  14. data/test/{dummy → dummies/4.2}/bin/rails +0 -0
  15. data/test/{dummy → dummies/4.2}/bin/rake +0 -0
  16. data/test/{dummy → dummies/4.2}/bin/setup +0 -0
  17. data/test/{dummy → dummies/4.2}/config.ru +0 -0
  18. data/test/{dummy → dummies/4.2}/config/application.rb +0 -0
  19. data/test/{dummy → dummies/4.2}/config/boot.rb +0 -0
  20. data/test/{dummy → dummies/4.2}/config/database.yml +0 -0
  21. data/test/{dummy → dummies/4.2}/config/environment.rb +0 -0
  22. data/test/{dummy → dummies/4.2}/config/environments/development.rb +0 -0
  23. data/test/{dummy → dummies/4.2}/config/environments/production.rb +0 -0
  24. data/test/{dummy → dummies/4.2}/config/environments/test.rb +0 -0
  25. data/test/{dummy → dummies/4.2}/config/initializers/assets.rb +0 -0
  26. data/test/{dummy → dummies/4.2}/config/initializers/backtrace_silencers.rb +0 -0
  27. data/test/{dummy → dummies/4.2}/config/initializers/cogy.rb +1 -1
  28. data/test/{dummy → dummies/4.2}/config/initializers/cookies_serializer.rb +0 -0
  29. data/test/{dummy → dummies/4.2}/config/initializers/filter_parameter_logging.rb +0 -0
  30. data/test/{dummy → dummies/4.2}/config/initializers/inflections.rb +0 -0
  31. data/test/{dummy → dummies/4.2}/config/initializers/mime_types.rb +0 -0
  32. data/test/{dummy → dummies/4.2}/config/initializers/session_store.rb +0 -0
  33. data/test/{dummy → dummies/4.2}/config/initializers/wrap_parameters.rb +0 -0
  34. data/test/{dummy → dummies/4.2}/config/locales/en.yml +0 -0
  35. data/test/{dummy → dummies/4.2}/config/routes.rb +0 -0
  36. data/test/{dummy → dummies/4.2}/config/secrets.yml +0 -0
  37. data/test/dummies/4.2/log/test.log +555 -0
  38. data/test/{dummy → dummies/4.2}/public/404.html +0 -0
  39. data/test/{dummy → dummies/4.2}/public/422.html +0 -0
  40. data/test/{dummy → dummies/4.2}/public/500.html +0 -0
  41. data/test/{dummy → dummies/4.2}/public/favicon.ico +0 -0
  42. data/test/dummies/5.0/Rakefile +6 -0
  43. data/test/dummies/5.0/app/controllers/application_controller.rb +3 -0
  44. data/test/dummies/5.0/app/views/layouts/application.html.erb +14 -0
  45. data/test/dummies/5.0/config.ru +5 -0
  46. data/test/dummies/5.0/config/application.rb +15 -0
  47. data/test/dummies/5.0/config/boot.rb +3 -0
  48. data/test/dummies/5.0/config/database.yml +25 -0
  49. data/test/dummies/5.0/config/environment.rb +5 -0
  50. data/test/dummies/5.0/config/environments/test.rb +42 -0
  51. data/test/dummies/5.0/config/initializers/application_controller_renderer.rb +6 -0
  52. data/test/dummies/5.0/config/initializers/assets.rb +11 -0
  53. data/test/dummies/5.0/config/initializers/backtrace_silencers.rb +7 -0
  54. data/test/dummies/5.0/config/initializers/cogy.rb +14 -0
  55. data/test/dummies/5.0/config/initializers/cookies_serializer.rb +5 -0
  56. data/test/dummies/5.0/config/initializers/filter_parameter_logging.rb +4 -0
  57. data/test/dummies/5.0/config/initializers/inflections.rb +16 -0
  58. data/test/dummies/5.0/config/initializers/mime_types.rb +4 -0
  59. data/test/dummies/5.0/config/initializers/new_framework_defaults.rb +26 -0
  60. data/test/dummies/5.0/config/initializers/session_store.rb +3 -0
  61. data/test/dummies/5.0/config/initializers/wrap_parameters.rb +14 -0
  62. data/test/dummies/5.0/config/locales/en.yml +23 -0
  63. data/test/dummies/5.0/config/routes.rb +5 -0
  64. data/test/dummies/5.0/config/secrets.yml +22 -0
  65. data/test/dummies/5.0/db/seeds.rb +7 -0
  66. data/test/dummies/5.0/db/test.sqlite3 +0 -0
  67. data/test/dummies/5.0/log/test.log +514 -0
  68. data/test/dummies/5.0/public/404.html +67 -0
  69. data/test/dummies/5.0/public/422.html +67 -0
  70. data/test/dummies/5.0/public/500.html +66 -0
  71. data/test/dummies/5.0/public/apple-touch-icon-precomposed.png +0 -0
  72. data/test/dummies/5.0/public/apple-touch-icon.png +0 -0
  73. data/test/dummies/5.0/public/favicon.ico +0 -0
  74. data/test/dummies/5.0/public/robots.txt +5 -0
  75. data/test/dummies/5.1/Rakefile +6 -0
  76. data/test/dummies/5.1/app/controllers/application_controller.rb +3 -0
  77. data/test/dummies/5.1/app/views/layouts/application.html.erb +14 -0
  78. data/test/dummies/5.1/config.ru +5 -0
  79. data/test/dummies/5.1/config/application.rb +18 -0
  80. data/test/dummies/5.1/config/boot.rb +5 -0
  81. data/test/dummies/5.1/config/database.yml +25 -0
  82. data/test/dummies/5.1/config/environment.rb +5 -0
  83. data/test/dummies/5.1/config/environments/test.rb +42 -0
  84. data/test/dummies/5.1/config/initializers/application_controller_renderer.rb +6 -0
  85. data/test/dummies/5.1/config/initializers/assets.rb +14 -0
  86. data/test/dummies/5.1/config/initializers/backtrace_silencers.rb +7 -0
  87. data/test/dummies/5.1/config/initializers/cogy.rb +14 -0
  88. data/test/dummies/5.1/config/initializers/cookies_serializer.rb +5 -0
  89. data/test/dummies/5.1/config/initializers/filter_parameter_logging.rb +4 -0
  90. data/test/dummies/5.1/config/initializers/inflections.rb +16 -0
  91. data/test/dummies/5.1/config/initializers/mime_types.rb +4 -0
  92. data/test/dummies/5.1/config/initializers/wrap_parameters.rb +14 -0
  93. data/test/dummies/5.1/config/locales/en.yml +33 -0
  94. data/test/dummies/5.1/config/routes.rb +5 -0
  95. data/test/dummies/5.1/config/secrets.yml +22 -0
  96. data/test/dummies/5.1/db/test.sqlite3 +0 -0
  97. data/test/dummies/5.1/log/test.log +1028 -0
  98. data/test/dummies/5.1/public/404.html +67 -0
  99. data/test/dummies/5.1/public/422.html +67 -0
  100. data/test/dummies/5.1/public/500.html +66 -0
  101. data/test/dummies/5.1/public/apple-touch-icon-precomposed.png +0 -0
  102. data/test/dummies/5.1/public/apple-touch-icon.png +0 -0
  103. data/test/dummies/5.1/public/favicon.ico +0 -0
  104. data/test/{dummy → dummies}/cogy/builtin_helpers.rb +0 -0
  105. data/test/{dummy → dummies}/cogy/foo.rb +0 -0
  106. data/test/{dummy → dummies}/cogy/fully_fledged.rb +0 -0
  107. data/test/{dummy → dummies}/cogy/json_response.rb +0 -0
  108. data/test/{dummy → dummies}/cogy/templates/pretty-command +0 -0
  109. data/test/support/helpers.rb +7 -1
  110. data/test/test_helper.rb +2 -1
  111. metadata +227 -85
  112. data/test/dummy/log/development.log +0 -84
  113. data/test/dummy/log/test.log +0 -40417
@@ -0,0 +1,33 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # The following keys must be escaped otherwise they will not be retrieved by
20
+ # the default I18n backend:
21
+ #
22
+ # true, false, on, off, yes, no
23
+ #
24
+ # Instead, surround them with single quotes.
25
+ #
26
+ # en:
27
+ # 'true': 'foo'
28
+ #
29
+ # To learn more, please read the Rails Internationalization guide
30
+ # available at http://guides.rubyonrails.org/i18n.html.
31
+
32
+ en:
33
+ hello: "Hello world"
@@ -0,0 +1,5 @@
1
+ Rails.application.routes.draw do
2
+ mount Cogy::Engine => "/cogy"
3
+
4
+ get "baz" => "cogy#cmd"
5
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: dfcefc806ee6eae57f6e874bf16df4c64d1ec6aa4fbd998c896c998a9aa545784bb5224523fa5e78255718e8576193dbb590cac24f3f116c658f6caf93853119
15
+
16
+ test:
17
+ secret_key_base: c28a0f107731ac72a10d506791f63f40bd554e49300eb175856799bd738cef0e58fe7455173abde0cbfff86ddd562df7a1c5c651abbf99a27514f6ebec03f455
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
File without changes
@@ -0,0 +1,1028 @@
1
+  (0.1ms) begin transaction
2
+ -----------------------------------------------------------------------
3
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
4
+ -----------------------------------------------------------------------
5
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
6
+ Processing by Cogy::CogyController#command as HTML
7
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
8
+ Rendering text template
9
+ Rendered text template (0.0ms)
10
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
11
+  (0.1ms) rollback transaction
12
+  (0.0ms) begin transaction
13
+ --------------------------------------------------------
14
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
15
+ --------------------------------------------------------
16
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
17
+ Processing by Cogy::CogyController#command as HTML
18
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
19
+ Rendering text template
20
+ Rendered text template (0.0ms)
21
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
22
+  (0.1ms) rollback transaction
23
+  (0.1ms) begin transaction
24
+ -----------------------------------
25
+ Cogy::BuiltinHelpersTest: test_args
26
+ -----------------------------------
27
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
28
+ Processing by Cogy::CogyController#command as HTML
29
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
30
+ Rendering text template
31
+ Rendered text template (0.0ms)
32
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
33
+  (0.0ms) rollback transaction
34
+  (0.1ms) begin transaction
35
+ --------------------------------------------
36
+ Cogy::JsonResponseTest: test_custom_template
37
+ --------------------------------------------
38
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
39
+ Processing by Cogy::CogyController#command as HTML
40
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
41
+ Rendering text template
42
+ Rendered text template (0.0ms)
43
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
44
+  (0.0ms) rollback transaction
45
+  (0.0ms) begin transaction
46
+ -------------------------------------------------------------
47
+ Cogy::JsonResponseTest: test_json_output_and_default_template
48
+ -------------------------------------------------------------
49
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
50
+ Processing by Cogy::CogyController#command as HTML
51
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
52
+ Rendering text template
53
+ Rendered text template (0.0ms)
54
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
55
+  (0.0ms) rollback transaction
56
+  (0.1ms) begin transaction
57
+ ------------------------------------------
58
+ Cogy::InventoryTest: test_without_commands
59
+ ------------------------------------------
60
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
61
+ Processing by Cogy::CogyController#inventory as HTML
62
+ Rendering text template
63
+ Rendered text template (0.0ms)
64
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
65
+  (0.1ms) rollback transaction
66
+  (0.0ms) begin transaction
67
+ ----------------------------------
68
+ Cogy::InventoryTest: test_template
69
+ ----------------------------------
70
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
71
+ Processing by Cogy::CogyController#inventory as HTML
72
+ Rendering text template
73
+ Rendered text template (0.0ms)
74
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
75
+  (0.1ms) rollback transaction
76
+  (0.0ms) begin transaction
77
+ ------------------------------------------
78
+ Cogy::InventoryTest: test_commands_section
79
+ ------------------------------------------
80
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
81
+ Processing by Cogy::CogyController#inventory as HTML
82
+ Rendering text template
83
+ Rendered text template (0.0ms)
84
+ Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)
85
+  (0.1ms) rollback transaction
86
+  (0.1ms) begin transaction
87
+ ------------------------------------
88
+ Cogy::InventoryTest: test_valid_yaml
89
+ ------------------------------------
90
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
91
+ Processing by Cogy::CogyController#inventory as HTML
92
+ Rendering text template
93
+ Rendered text template (0.0ms)
94
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
95
+  (0.1ms) rollback transaction
96
+  (0.0ms) begin transaction
97
+ --------------------------------------------
98
+ Cogy::InventoryTest: test_cog_bundle_version
99
+ --------------------------------------------
100
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
101
+ Processing by Cogy::CogyController#inventory as HTML
102
+ Rendering text template
103
+ Rendered text template (0.0ms)
104
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
105
+  (0.1ms) rollback transaction
106
+  (0.0ms) begin transaction
107
+ -----------------------------------------------
108
+ Cogy::InventoryTest: test_bundle_version_lambda
109
+ -----------------------------------------------
110
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
111
+ Processing by Cogy::CogyController#inventory as HTML
112
+ Rendering text template
113
+ Rendered text template (0.0ms)
114
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
115
+  (0.0ms) rollback transaction
116
+  (0.0ms) begin transaction
117
+ --------------------------------------
118
+ Cogy::InventoryTest: test_content_type
119
+ --------------------------------------
120
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
121
+ Processing by Cogy::CogyController#inventory as HTML
122
+ Rendering text template
123
+ Rendered text template (0.0ms)
124
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
125
+  (0.1ms) rollback transaction
126
+  (0.1ms) begin transaction
127
+ ----------------------------------------------------
128
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
129
+ ----------------------------------------------------
130
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
131
+ Processing by Cogy::CogyController#command as HTML
132
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
133
+ Rendering /Users/agis/dev/cogy/app/views/cogy/error.text.erb
134
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.2ms)
135
+ Completed 500 Internal Server Error in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
136
+  (0.1ms) rollback transaction
137
+  (0.1ms) begin transaction
138
+ ------------------------------------------------
139
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
140
+ ------------------------------------------------
141
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
142
+ Processing by Cogy::CogyController#command as HTML
143
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
144
+ Rendering /Users/agis/dev/cogy/app/views/cogy/error.text.erb
145
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
146
+ Completed 500 Internal Server Error in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
147
+  (0.1ms) rollback transaction
148
+  (0.1ms) begin transaction
149
+ -----------------------------------------
150
+ Cogy::CommandTest: test_command_not_found
151
+ -----------------------------------------
152
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
153
+ Processing by Cogy::CogyController#command as HTML
154
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
155
+ Rendering text template
156
+ Rendered text template (0.0ms)
157
+ Completed 404 Not Found in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
158
+  (0.1ms) rollback transaction
159
+  (0.1ms) begin transaction
160
+ -------------------------------------
161
+ Cogy::CommandTest: test_args_ordering
162
+ -------------------------------------
163
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
164
+ Processing by Cogy::CogyController#command as HTML
165
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
166
+ Rendering text template
167
+ Rendered text template (0.0ms)
168
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
169
+  (0.1ms) rollback transaction
170
+  (0.2ms) begin transaction
171
+ ------------------------------------------------
172
+ Cogy::CommandTest: test_invalid_opts_declaration
173
+ ------------------------------------------------
174
+  (0.1ms) rollback transaction
175
+  (0.1ms) begin transaction
176
+ ------------------------------------
177
+ Cogy::CommandTest: test_calc_command
178
+ ------------------------------------
179
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
180
+ Processing by Cogy::CogyController#command as HTML
181
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
182
+ Rendering text template
183
+ Rendered text template (0.0ms)
184
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
185
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
186
+ Processing by Cogy::CogyController#command as HTML
187
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
188
+ Rendering text template
189
+ Rendered text template (0.0ms)
190
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
191
+  (0.1ms) rollback transaction
192
+  (0.1ms) begin transaction
193
+ -------------------------------------------------------------
194
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
195
+ -------------------------------------------------------------
196
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
197
+ Processing by Cogy::CogyController#command as HTML
198
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
199
+ Rendering text template
200
+ Rendered text template (0.0ms)
201
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
202
+  (0.1ms) rollback transaction
203
+  (0.1ms) begin transaction
204
+ -----------------------------------------
205
+ Cogy::CommandTest: test_rails_url_helpers
206
+ -----------------------------------------
207
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
208
+ Processing by Cogy::CogyController#command as HTML
209
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
210
+ Rendering text template
211
+ Rendered text template (0.0ms)
212
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
213
+  (0.2ms) rollback transaction
214
+  (0.1ms) begin transaction
215
+ --------------------------------
216
+ Cogy::CommandTest: test_cogy_env
217
+ --------------------------------
218
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
219
+ Processing by Cogy::CogyController#command as HTML
220
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
221
+ Rendering text template
222
+ Rendered text template (0.0ms)
223
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
224
+  (0.1ms) rollback transaction
225
+  (0.1ms) begin transaction
226
+ -------------------------------------------
227
+ Cogy::CommandTest: test_error_response_code
228
+ -------------------------------------------
229
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
230
+ Processing by Cogy::CogyController#command as HTML
231
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
232
+ Rendering /Users/agis/dev/cogy/app/views/cogy/error.text.erb
233
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
234
+ Completed 500 Internal Server Error in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
235
+  (0.1ms) rollback transaction
236
+  (0.1ms) begin transaction
237
+ ----------------------------------------------------
238
+ Cogy::HelpersTest: test_custom_helper_with_arguments
239
+ ----------------------------------------------------
240
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
241
+ Processing by Cogy::CogyController#command as HTML
242
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
243
+ Rendering text template
244
+ Rendered text template (0.1ms)
245
+ Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
246
+  (0.1ms) rollback transaction
247
+  (0.0ms) begin transaction
248
+ -----------------------------------------------------------------
249
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
250
+ -----------------------------------------------------------------
251
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-05-31 14:32:19 +0300
252
+ Processing by Cogy::CogyController#command as HTML
253
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
254
+ Rendering text template
255
+ Rendered text template (0.1ms)
256
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
257
+  (0.1ms) rollback transaction
258
+  (0.1ms) begin transaction
259
+ -------------------------------------------
260
+ Cogy::CommandTest: test_error_response_code
261
+ -------------------------------------------
262
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
263
+ Processing by Cogy::CogyController#command as HTML
264
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
265
+ Rendering /Users/agis/dev/cogy/app/views/cogy/error.text.erb
266
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.1ms)
267
+ Completed 500 Internal Server Error in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
268
+  (0.1ms) rollback transaction
269
+  (0.0ms) begin transaction
270
+ -------------------------------------------------------------
271
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
272
+ -------------------------------------------------------------
273
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
274
+ Processing by Cogy::CogyController#command as HTML
275
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
276
+ Rendering text template
277
+ Rendered text template (0.0ms)
278
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
279
+  (0.1ms) rollback transaction
280
+  (0.1ms) begin transaction
281
+ ------------------------------------------------
282
+ Cogy::CommandTest: test_invalid_opts_declaration
283
+ ------------------------------------------------
284
+  (0.0ms) rollback transaction
285
+  (0.0ms) begin transaction
286
+ --------------------------------
287
+ Cogy::CommandTest: test_cogy_env
288
+ --------------------------------
289
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
290
+ Processing by Cogy::CogyController#command as HTML
291
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
292
+ Rendering text template
293
+ Rendered text template (0.0ms)
294
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
295
+  (0.1ms) rollback transaction
296
+  (0.0ms) begin transaction
297
+ -----------------------------------------
298
+ Cogy::CommandTest: test_rails_url_helpers
299
+ -----------------------------------------
300
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
301
+ Processing by Cogy::CogyController#command as HTML
302
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
303
+ Rendering text template
304
+ Rendered text template (0.0ms)
305
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
306
+  (0.1ms) rollback transaction
307
+  (0.0ms) begin transaction
308
+ ------------------------------------
309
+ Cogy::CommandTest: test_calc_command
310
+ ------------------------------------
311
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
312
+ Processing by Cogy::CogyController#command as HTML
313
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
314
+ Rendering text template
315
+ Rendered text template (0.0ms)
316
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
317
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
318
+ Processing by Cogy::CogyController#command as HTML
319
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
320
+ Rendering text template
321
+ Rendered text template (0.1ms)
322
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
323
+  (0.1ms) rollback transaction
324
+  (0.0ms) begin transaction
325
+ -----------------------------------------
326
+ Cogy::CommandTest: test_command_not_found
327
+ -----------------------------------------
328
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
329
+ Processing by Cogy::CogyController#command as HTML
330
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
331
+ Rendering text template
332
+ Rendered text template (0.0ms)
333
+ Completed 404 Not Found in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
334
+  (0.1ms) rollback transaction
335
+  (0.1ms) begin transaction
336
+ -------------------------------------
337
+ Cogy::CommandTest: test_args_ordering
338
+ -------------------------------------
339
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
340
+ Processing by Cogy::CogyController#command as HTML
341
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
342
+ Rendering text template
343
+ Rendered text template (0.0ms)
344
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
345
+  (0.1ms) rollback transaction
346
+  (0.0ms) begin transaction
347
+ ------------------------------------
348
+ Cogy::InventoryTest: test_valid_yaml
349
+ ------------------------------------
350
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
351
+ Processing by Cogy::CogyController#inventory as HTML
352
+ Rendering text template
353
+ Rendered text template (0.0ms)
354
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
355
+  (0.1ms) rollback transaction
356
+  (0.0ms) begin transaction
357
+ --------------------------------------------
358
+ Cogy::InventoryTest: test_cog_bundle_version
359
+ --------------------------------------------
360
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
361
+ Processing by Cogy::CogyController#inventory as HTML
362
+ Rendering text template
363
+ Rendered text template (0.0ms)
364
+ Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 0.0ms)
365
+  (0.1ms) rollback transaction
366
+  (0.1ms) begin transaction
367
+ -----------------------------------------------
368
+ Cogy::InventoryTest: test_bundle_version_lambda
369
+ -----------------------------------------------
370
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
371
+ Processing by Cogy::CogyController#inventory as HTML
372
+ Rendering text template
373
+ Rendered text template (0.0ms)
374
+ Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.0ms)
375
+  (0.1ms) rollback transaction
376
+  (0.0ms) begin transaction
377
+ --------------------------------------
378
+ Cogy::InventoryTest: test_content_type
379
+ --------------------------------------
380
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
381
+ Processing by Cogy::CogyController#inventory as HTML
382
+ Rendering text template
383
+ Rendered text template (0.0ms)
384
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
385
+  (0.1ms) rollback transaction
386
+  (0.1ms) begin transaction
387
+ ----------------------------------
388
+ Cogy::InventoryTest: test_template
389
+ ----------------------------------
390
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
391
+ Processing by Cogy::CogyController#inventory as HTML
392
+ Rendering text template
393
+ Rendered text template (0.0ms)
394
+ Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.0ms)
395
+  (0.1ms) rollback transaction
396
+  (0.0ms) begin transaction
397
+ ------------------------------------------
398
+ Cogy::InventoryTest: test_commands_section
399
+ ------------------------------------------
400
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
401
+ Processing by Cogy::CogyController#inventory as HTML
402
+ Rendering text template
403
+ Rendered text template (0.0ms)
404
+ Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.0ms)
405
+  (0.1ms) rollback transaction
406
+  (0.1ms) begin transaction
407
+ ------------------------------------------
408
+ Cogy::InventoryTest: test_without_commands
409
+ ------------------------------------------
410
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
411
+ Processing by Cogy::CogyController#inventory as HTML
412
+ Rendering text template
413
+ Rendered text template (0.0ms)
414
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
415
+  (0.1ms) rollback transaction
416
+  (0.1ms) begin transaction
417
+ ----------------------------------------------------
418
+ Cogy::HelpersTest: test_custom_helper_with_arguments
419
+ ----------------------------------------------------
420
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
421
+ Processing by Cogy::CogyController#command as HTML
422
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
423
+ Rendering text template
424
+ Rendered text template (0.0ms)
425
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
426
+  (0.1ms) rollback transaction
427
+  (0.1ms) begin transaction
428
+ -----------------------------------------------------------------
429
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
430
+ -----------------------------------------------------------------
431
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
432
+ Processing by Cogy::CogyController#command as HTML
433
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
434
+ Rendering text template
435
+ Rendered text template (0.0ms)
436
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
437
+  (0.1ms) rollback transaction
438
+  (0.1ms) begin transaction
439
+ --------------------------------------------
440
+ Cogy::JsonResponseTest: test_custom_template
441
+ --------------------------------------------
442
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
443
+ Processing by Cogy::CogyController#command as HTML
444
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
445
+ Rendering text template
446
+ Rendered text template (0.0ms)
447
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
448
+  (0.1ms) rollback transaction
449
+  (0.0ms) begin transaction
450
+ -------------------------------------------------------------
451
+ Cogy::JsonResponseTest: test_json_output_and_default_template
452
+ -------------------------------------------------------------
453
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
454
+ Processing by Cogy::CogyController#command as HTML
455
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
456
+ Rendering text template
457
+ Rendered text template (0.0ms)
458
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
459
+  (0.1ms) rollback transaction
460
+  (0.1ms) begin transaction
461
+ -----------------------------------------------------------------------
462
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
463
+ -----------------------------------------------------------------------
464
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
465
+ Processing by Cogy::CogyController#command as HTML
466
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
467
+ Rendering text template
468
+ Rendered text template (0.0ms)
469
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
470
+  (0.0ms) rollback transaction
471
+  (0.0ms) begin transaction
472
+ -----------------------------------
473
+ Cogy::BuiltinHelpersTest: test_args
474
+ -----------------------------------
475
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
476
+ Processing by Cogy::CogyController#command as HTML
477
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
478
+ Rendering text template
479
+ Rendered text template (0.0ms)
480
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
481
+  (0.1ms) rollback transaction
482
+  (0.1ms) begin transaction
483
+ --------------------------------------------------------
484
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
485
+ --------------------------------------------------------
486
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
487
+ Processing by Cogy::CogyController#command as HTML
488
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
489
+ Rendering text template
490
+ Rendered text template (0.0ms)
491
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
492
+  (0.0ms) rollback transaction
493
+  (0.0ms) begin transaction
494
+ ----------------------------------------------------
495
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
496
+ ----------------------------------------------------
497
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
498
+ Processing by Cogy::CogyController#command as HTML
499
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
500
+ Rendering /Users/agis/dev/cogy/app/views/cogy/error.text.erb
501
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.0ms)
502
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
503
+  (0.1ms) rollback transaction
504
+  (0.2ms) begin transaction
505
+ ------------------------------------------------
506
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
507
+ ------------------------------------------------
508
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-05-31 14:32:26 +0300
509
+ Processing by Cogy::CogyController#command as HTML
510
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
511
+ Rendering /Users/agis/dev/cogy/app/views/cogy/error.text.erb
512
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.0ms)
513
+ Completed 500 Internal Server Error in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
514
+  (0.1ms) rollback transaction
515
+  (0.1ms) begin transaction
516
+ -------------------------------------------------------------
517
+ Cogy::JsonResponseTest: test_json_output_and_default_template
518
+ -------------------------------------------------------------
519
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
520
+ Processing by Cogy::CogyController#command as HTML
521
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
522
+ Rendering text template
523
+ Rendered text template (0.0ms)
524
+ Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
525
+  (0.1ms) rollback transaction
526
+  (0.1ms) begin transaction
527
+ --------------------------------------------
528
+ Cogy::JsonResponseTest: test_custom_template
529
+ --------------------------------------------
530
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
531
+ Processing by Cogy::CogyController#command as HTML
532
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
533
+ Rendering text template
534
+ Rendered text template (0.0ms)
535
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
536
+  (0.1ms) rollback transaction
537
+  (0.1ms) begin transaction
538
+ -----------------------------------------------
539
+ Cogy::InventoryTest: test_bundle_version_lambda
540
+ -----------------------------------------------
541
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
542
+ Processing by Cogy::CogyController#inventory as HTML
543
+ Rendering text template
544
+ Rendered text template (0.0ms)
545
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
546
+  (0.0ms) rollback transaction
547
+  (0.0ms) begin transaction
548
+ ------------------------------------------
549
+ Cogy::InventoryTest: test_commands_section
550
+ ------------------------------------------
551
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
552
+ Processing by Cogy::CogyController#inventory as HTML
553
+ Rendering text template
554
+ Rendered text template (0.0ms)
555
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
556
+  (0.1ms) rollback transaction
557
+  (0.1ms) begin transaction
558
+ ----------------------------------
559
+ Cogy::InventoryTest: test_template
560
+ ----------------------------------
561
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
562
+ Processing by Cogy::CogyController#inventory as HTML
563
+ Rendering text template
564
+ Rendered text template (0.0ms)
565
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)
566
+  (0.1ms) rollback transaction
567
+  (0.0ms) begin transaction
568
+ ------------------------------------
569
+ Cogy::InventoryTest: test_valid_yaml
570
+ ------------------------------------
571
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
572
+ Processing by Cogy::CogyController#inventory as HTML
573
+ Rendering text template
574
+ Rendered text template (0.0ms)
575
+ Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.0ms)
576
+  (0.1ms) rollback transaction
577
+  (0.1ms) begin transaction
578
+ --------------------------------------------
579
+ Cogy::InventoryTest: test_cog_bundle_version
580
+ --------------------------------------------
581
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
582
+ Processing by Cogy::CogyController#inventory as HTML
583
+ Rendering text template
584
+ Rendered text template (0.0ms)
585
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
586
+  (0.1ms) rollback transaction
587
+  (0.0ms) begin transaction
588
+ --------------------------------------
589
+ Cogy::InventoryTest: test_content_type
590
+ --------------------------------------
591
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
592
+ Processing by Cogy::CogyController#inventory as HTML
593
+ Rendering text template
594
+ Rendered text template (0.0ms)
595
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.0ms)
596
+  (0.0ms) rollback transaction
597
+  (0.0ms) begin transaction
598
+ ------------------------------------------
599
+ Cogy::InventoryTest: test_without_commands
600
+ ------------------------------------------
601
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
602
+ Processing by Cogy::CogyController#inventory as HTML
603
+ Rendering text template
604
+ Rendered text template (0.0ms)
605
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
606
+  (0.1ms) rollback transaction
607
+  (0.1ms) begin transaction
608
+ ----------------------------------------------------
609
+ Cogy::HelpersTest: test_custom_helper_with_arguments
610
+ ----------------------------------------------------
611
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
612
+ Processing by Cogy::CogyController#command as HTML
613
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
614
+ Rendering text template
615
+ Rendered text template (0.0ms)
616
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
617
+  (0.1ms) rollback transaction
618
+  (0.0ms) begin transaction
619
+ -----------------------------------------------------------------
620
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
621
+ -----------------------------------------------------------------
622
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
623
+ Processing by Cogy::CogyController#command as HTML
624
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
625
+ Rendering text template
626
+ Rendered text template (0.0ms)
627
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
628
+  (0.1ms) rollback transaction
629
+  (0.1ms) begin transaction
630
+ -----------------------------------------
631
+ Cogy::CommandTest: test_command_not_found
632
+ -----------------------------------------
633
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
634
+ Processing by Cogy::CogyController#command as HTML
635
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
636
+ Rendering text template
637
+ Rendered text template (0.0ms)
638
+ Completed 404 Not Found in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
639
+  (0.0ms) rollback transaction
640
+  (0.0ms) begin transaction
641
+ ------------------------------------------------
642
+ Cogy::CommandTest: test_invalid_opts_declaration
643
+ ------------------------------------------------
644
+  (0.1ms) rollback transaction
645
+  (0.0ms) begin transaction
646
+ -----------------------------------------
647
+ Cogy::CommandTest: test_rails_url_helpers
648
+ -----------------------------------------
649
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
650
+ Processing by Cogy::CogyController#command as HTML
651
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
652
+ Rendering text template
653
+ Rendered text template (0.0ms)
654
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
655
+  (0.1ms) rollback transaction
656
+  (0.0ms) begin transaction
657
+ -------------------------------------------------------------
658
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
659
+ -------------------------------------------------------------
660
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
661
+ Processing by Cogy::CogyController#command as HTML
662
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
663
+ Rendering text template
664
+ Rendered text template (0.0ms)
665
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
666
+  (0.0ms) rollback transaction
667
+  (0.1ms) begin transaction
668
+ -------------------------------------------
669
+ Cogy::CommandTest: test_error_response_code
670
+ -------------------------------------------
671
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
672
+ Processing by Cogy::CogyController#command as HTML
673
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
674
+ Rendering /Users/agis/dev/cogy/app/views/cogy/error.text.erb
675
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.3ms)
676
+ Completed 500 Internal Server Error in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
677
+  (0.1ms) rollback transaction
678
+  (0.0ms) begin transaction
679
+ ------------------------------------
680
+ Cogy::CommandTest: test_calc_command
681
+ ------------------------------------
682
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
683
+ Processing by Cogy::CogyController#command as HTML
684
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
685
+ Rendering text template
686
+ Rendered text template (0.0ms)
687
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
688
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
689
+ Processing by Cogy::CogyController#command as HTML
690
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
691
+ Rendering text template
692
+ Rendered text template (0.0ms)
693
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
694
+  (0.1ms) rollback transaction
695
+  (0.1ms) begin transaction
696
+ -------------------------------------
697
+ Cogy::CommandTest: test_args_ordering
698
+ -------------------------------------
699
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
700
+ Processing by Cogy::CogyController#command as HTML
701
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
702
+ Rendering text template
703
+ Rendered text template (0.0ms)
704
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
705
+  (0.1ms) rollback transaction
706
+  (0.0ms) begin transaction
707
+ --------------------------------
708
+ Cogy::CommandTest: test_cogy_env
709
+ --------------------------------
710
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
711
+ Processing by Cogy::CogyController#command as HTML
712
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
713
+ Rendering text template
714
+ Rendered text template (0.0ms)
715
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
716
+  (0.1ms) rollback transaction
717
+  (0.1ms) begin transaction
718
+ ----------------------------------------------------
719
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
720
+ ----------------------------------------------------
721
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
722
+ Processing by Cogy::CogyController#command as HTML
723
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
724
+ Rendering /Users/agis/dev/cogy/app/views/cogy/error.text.erb
725
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.2ms)
726
+ Completed 500 Internal Server Error in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
727
+  (0.2ms) rollback transaction
728
+  (0.1ms) begin transaction
729
+ ------------------------------------------------
730
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
731
+ ------------------------------------------------
732
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
733
+ Processing by Cogy::CogyController#command as HTML
734
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
735
+ Rendering /Users/agis/dev/cogy/app/views/cogy/error.text.erb
736
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.0ms)
737
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
738
+  (0.1ms) rollback transaction
739
+  (0.1ms) begin transaction
740
+ -----------------------------------------------------------------------
741
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
742
+ -----------------------------------------------------------------------
743
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
744
+ Processing by Cogy::CogyController#command as HTML
745
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
746
+ Rendering text template
747
+ Rendered text template (0.0ms)
748
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
749
+  (0.0ms) rollback transaction
750
+  (0.0ms) begin transaction
751
+ --------------------------------------------------------
752
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
753
+ --------------------------------------------------------
754
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
755
+ Processing by Cogy::CogyController#command as HTML
756
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
757
+ Rendering text template
758
+ Rendered text template (0.0ms)
759
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
760
+  (0.1ms) rollback transaction
761
+  (0.1ms) begin transaction
762
+ -----------------------------------
763
+ Cogy::BuiltinHelpersTest: test_args
764
+ -----------------------------------
765
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-05-31 14:34:49 +0300
766
+ Processing by Cogy::CogyController#command as HTML
767
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
768
+ Rendering text template
769
+ Rendered text template (0.0ms)
770
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
771
+  (0.1ms) rollback transaction
772
+  (0.1ms) begin transaction
773
+ -----------------------------------------------
774
+ Cogy::InventoryTest: test_bundle_version_lambda
775
+ -----------------------------------------------
776
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
777
+ Processing by Cogy::CogyController#inventory as HTML
778
+ Rendering text template
779
+ Rendered text template (0.0ms)
780
+ Completed 200 OK in 9ms (Views: 4.8ms | ActiveRecord: 0.0ms)
781
+  (0.1ms) rollback transaction
782
+  (0.1ms) begin transaction
783
+ ------------------------------------
784
+ Cogy::InventoryTest: test_valid_yaml
785
+ ------------------------------------
786
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
787
+ Processing by Cogy::CogyController#inventory as HTML
788
+ Rendering text template
789
+ Rendered text template (0.0ms)
790
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
791
+  (0.1ms) rollback transaction
792
+  (0.1ms) begin transaction
793
+ ------------------------------------------
794
+ Cogy::InventoryTest: test_without_commands
795
+ ------------------------------------------
796
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
797
+ Processing by Cogy::CogyController#inventory as HTML
798
+ Rendering text template
799
+ Rendered text template (0.0ms)
800
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
801
+  (0.1ms) rollback transaction
802
+  (0.1ms) begin transaction
803
+ --------------------------------------
804
+ Cogy::InventoryTest: test_content_type
805
+ --------------------------------------
806
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
807
+ Processing by Cogy::CogyController#inventory as HTML
808
+ Rendering text template
809
+ Rendered text template (0.0ms)
810
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)
811
+  (0.1ms) rollback transaction
812
+  (0.0ms) begin transaction
813
+ ------------------------------------------
814
+ Cogy::InventoryTest: test_commands_section
815
+ ------------------------------------------
816
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
817
+ Processing by Cogy::CogyController#inventory as HTML
818
+ Rendering text template
819
+ Rendered text template (0.1ms)
820
+ Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.0ms)
821
+  (0.1ms) rollback transaction
822
+  (0.1ms) begin transaction
823
+ ----------------------------------
824
+ Cogy::InventoryTest: test_template
825
+ ----------------------------------
826
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
827
+ Processing by Cogy::CogyController#inventory as HTML
828
+ Rendering text template
829
+ Rendered text template (0.0ms)
830
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
831
+  (0.1ms) rollback transaction
832
+  (0.1ms) begin transaction
833
+ --------------------------------------------
834
+ Cogy::InventoryTest: test_cog_bundle_version
835
+ --------------------------------------------
836
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
837
+ Processing by Cogy::CogyController#inventory as HTML
838
+ Rendering text template
839
+ Rendered text template (0.0ms)
840
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.0ms)
841
+  (0.1ms) rollback transaction
842
+  (0.1ms) begin transaction
843
+ ----------------------------------------------------
844
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
845
+ ----------------------------------------------------
846
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
847
+ Processing by Cogy::CogyController#command as HTML
848
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
849
+ Rendering /Users/agis/dev/cogy/app/views/cogy/error.text.erb
850
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (2.1ms)
851
+ Completed 500 Internal Server Error in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)
852
+  (0.1ms) rollback transaction
853
+  (0.0ms) begin transaction
854
+ ------------------------------------------------
855
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
856
+ ------------------------------------------------
857
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
858
+ Processing by Cogy::CogyController#command as HTML
859
+ Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
860
+ Rendering /Users/agis/dev/cogy/app/views/cogy/error.text.erb
861
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.0ms)
862
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
863
+  (0.1ms) rollback transaction
864
+  (0.1ms) begin transaction
865
+ ----------------------------------------------------
866
+ Cogy::HelpersTest: test_custom_helper_with_arguments
867
+ ----------------------------------------------------
868
+ Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
869
+ Processing by Cogy::CogyController#command as HTML
870
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
871
+ Rendering text template
872
+ Rendered text template (0.0ms)
873
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
874
+  (0.1ms) rollback transaction
875
+  (0.0ms) begin transaction
876
+ -----------------------------------------------------------------
877
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
878
+ -----------------------------------------------------------------
879
+ Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
880
+ Processing by Cogy::CogyController#command as HTML
881
+ Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
882
+ Rendering text template
883
+ Rendered text template (0.0ms)
884
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
885
+  (0.0ms) rollback transaction
886
+  (0.0ms) begin transaction
887
+ -----------------------------------------------------------------------
888
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
889
+ -----------------------------------------------------------------------
890
+ Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
891
+ Processing by Cogy::CogyController#command as HTML
892
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
893
+ Rendering text template
894
+ Rendered text template (0.0ms)
895
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
896
+  (0.1ms) rollback transaction
897
+  (0.0ms) begin transaction
898
+ -----------------------------------
899
+ Cogy::BuiltinHelpersTest: test_args
900
+ -----------------------------------
901
+ Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
902
+ Processing by Cogy::CogyController#command as HTML
903
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
904
+ Rendering text template
905
+ Rendered text template (0.0ms)
906
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
907
+  (0.0ms) rollback transaction
908
+  (0.0ms) begin transaction
909
+ --------------------------------------------------------
910
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
911
+ --------------------------------------------------------
912
+ Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
913
+ Processing by Cogy::CogyController#command as HTML
914
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
915
+ Rendering text template
916
+ Rendered text template (0.0ms)
917
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
918
+  (0.1ms) rollback transaction
919
+  (0.2ms) begin transaction
920
+ --------------------------------------------
921
+ Cogy::JsonResponseTest: test_custom_template
922
+ --------------------------------------------
923
+ Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
924
+ Processing by Cogy::CogyController#command as HTML
925
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
926
+ Rendering text template
927
+ Rendered text template (0.0ms)
928
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
929
+  (0.1ms) rollback transaction
930
+  (0.0ms) begin transaction
931
+ -------------------------------------------------------------
932
+ Cogy::JsonResponseTest: test_json_output_and_default_template
933
+ -------------------------------------------------------------
934
+ Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
935
+ Processing by Cogy::CogyController#command as HTML
936
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
937
+ Rendering text template
938
+ Rendered text template (0.0ms)
939
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
940
+  (0.1ms) rollback transaction
941
+  (0.1ms) begin transaction
942
+ -------------------------------------
943
+ Cogy::CommandTest: test_args_ordering
944
+ -------------------------------------
945
+ Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
946
+ Processing by Cogy::CogyController#command as HTML
947
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
948
+ Rendering text template
949
+ Rendered text template (0.0ms)
950
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
951
+  (0.1ms) rollback transaction
952
+  (0.1ms) begin transaction
953
+ --------------------------------
954
+ Cogy::CommandTest: test_cogy_env
955
+ --------------------------------
956
+ Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
957
+ Processing by Cogy::CogyController#command as HTML
958
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
959
+ Rendering text template
960
+ Rendered text template (0.0ms)
961
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
962
+  (0.1ms) rollback transaction
963
+  (0.0ms) begin transaction
964
+ -------------------------------------------------------------
965
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
966
+ -------------------------------------------------------------
967
+ Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
968
+ Processing by Cogy::CogyController#command as HTML
969
+ Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
970
+ Rendering text template
971
+ Rendered text template (0.0ms)
972
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
973
+  (0.0ms) rollback transaction
974
+  (0.0ms) begin transaction
975
+ ------------------------------------------------
976
+ Cogy::CommandTest: test_invalid_opts_declaration
977
+ ------------------------------------------------
978
+  (0.0ms) rollback transaction
979
+  (0.1ms) begin transaction
980
+ -------------------------------------------
981
+ Cogy::CommandTest: test_error_response_code
982
+ -------------------------------------------
983
+ Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
984
+ Processing by Cogy::CogyController#command as HTML
985
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
986
+ Rendering /Users/agis/dev/cogy/app/views/cogy/error.text.erb
987
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.0ms)
988
+ Completed 500 Internal Server Error in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
989
+  (0.1ms) rollback transaction
990
+  (0.1ms) begin transaction
991
+ ------------------------------------
992
+ Cogy::CommandTest: test_calc_command
993
+ ------------------------------------
994
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
995
+ Processing by Cogy::CogyController#command as HTML
996
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
997
+ Rendering text template
998
+ Rendered text template (0.0ms)
999
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1000
+ Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
1001
+ Processing by Cogy::CogyController#command as HTML
1002
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
1003
+ Rendering text template
1004
+ Rendered text template (0.0ms)
1005
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
1006
+  (0.1ms) rollback transaction
1007
+  (0.1ms) begin transaction
1008
+ -----------------------------------------
1009
+ Cogy::CommandTest: test_command_not_found
1010
+ -----------------------------------------
1011
+ Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
1012
+ Processing by Cogy::CogyController#command as HTML
1013
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
1014
+ Rendering text template
1015
+ Rendered text template (0.0ms)
1016
+ Completed 404 Not Found in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1017
+  (0.0ms) rollback transaction
1018
+  (0.1ms) begin transaction
1019
+ -----------------------------------------
1020
+ Cogy::CommandTest: test_rails_url_helpers
1021
+ -----------------------------------------
1022
+ Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-05-31 14:38:39 +0300
1023
+ Processing by Cogy::CogyController#command as HTML
1024
+ Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
1025
+ Rendering text template
1026
+ Rendered text template (0.0ms)
1027
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1028
+  (0.1ms) rollback transaction