cogy 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +5 -2
- data/lib/cogy/capistrano/cogy.rake +2 -2
- data/lib/cogy/version.rb +1 -1
- data/test/dummy/log/test.log +370 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3068c33bbebd72f7ac80de1689ecc680e7ba7be8
|
4
|
+
data.tar.gz: 4e34ab0afc353d896d87fff55d28171477ab576f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7a6d7207b2d74defc1f4e183f961f69e799c147643ce1a08f14d46cb5cd6c5c481e0951f7438779394b799d55c79c06a94e0f1af7d6748262638ffd21900d10
|
7
|
+
data.tar.gz: e7d7f6110f2b9b783c3a2adaa07dc892f962c2e22ec55c7e76240cb7fe8885f5e6b64a12dc67416c9decd3ec83de9f972cee924ffff24064af77108d2fe03841
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,13 @@
|
|
2
2
|
|
3
3
|
## master (unreleased)
|
4
4
|
|
5
|
+
## 0.5.1 (2017-01-25)
|
6
|
+
|
7
|
+
### Fixed
|
8
|
+
|
9
|
+
- Revert back to the old behavior in Capistrano tasks. This means we still have
|
10
|
+
to provided the cogy endpoint in the Capistrano tasks. ([9f5bfb4](https://github.com/skroutz/cogy/commit/9f5bfb47aa5dc82390472693fab5822e3dbcb7fb))
|
11
|
+
|
5
12
|
## 0.5.0 (2017-01-25)
|
6
13
|
|
7
14
|
### Changed
|
data/README.md
CHANGED
@@ -382,9 +382,10 @@ example, it should run after the built-in `deploy:restart` task.
|
|
382
382
|
|
383
383
|
The following options need to be set:
|
384
384
|
|
385
|
-
* `Cogy.cogy_endpoint`: See [*Configuration*](#Configuration).
|
386
385
|
* `cogy_release_trigger_url`: This is the URL of the Cog Trigger that will
|
387
|
-
install the newly deployed bundle (ie. `!cogy:install`)
|
386
|
+
install the newly deployed bundle (ie. `!cogy:install`)
|
387
|
+
* `cogy_endpoint`: Where the Cogy Engine is mounted at.
|
388
|
+
For example `http://myapp.com/cogy`.
|
388
389
|
|
389
390
|
You can also configure the timeout value for the request to the Trigger by
|
390
391
|
setting the `cogy_trigger_timeout` option (default: 7).
|
@@ -400,6 +401,7 @@ Add the following in `config/deploy.rb`:
|
|
400
401
|
require "cogy/capistrano"
|
401
402
|
|
402
403
|
set :cogy_release_trigger_url, "<TRIGGER-INVOCATION-URL>"
|
404
|
+
set :cogy_endpoint, "<COGY-MOUNT-POINT>"
|
403
405
|
|
404
406
|
after "deploy:restart", "cogy:notify_cog"
|
405
407
|
```
|
@@ -418,6 +420,7 @@ Then configure the task and hook it:
|
|
418
420
|
# in config/deploy.rb
|
419
421
|
|
420
422
|
set :cogy_release_trigger_url, "<TRIGGER-INVOCATION-URL>"
|
423
|
+
set :cogy_endpoint, "<COGY-MOUNT-POINT>"
|
421
424
|
|
422
425
|
after "<app-restart-task>", "cogy:notify_cog"
|
423
426
|
```
|
@@ -6,11 +6,11 @@ namespace :cogy do
|
|
6
6
|
require "json"
|
7
7
|
|
8
8
|
trigger_url = fetch(:cogy_release_trigger_url)
|
9
|
-
cogy_endpoint =
|
9
|
+
cogy_endpoint = fetch(:cogy_endpoint)
|
10
10
|
|
11
11
|
begin
|
12
12
|
raise ":cogy_release_trigger_url must be set" if trigger_url.nil?
|
13
|
-
raise "
|
13
|
+
raise ":cogy_endpoint must be set" if cogy_endpoint.nil?
|
14
14
|
|
15
15
|
Timeout.timeout(fetch(:cogy_trigger_timeout) || 7) do
|
16
16
|
url = URI(trigger_url)
|
data/lib/cogy/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -40045,3 +40045,373 @@ Processing by Cogy::CogyController#command as HTML
|
|
40045
40045
|
Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
|
40046
40046
|
Rendered text template (0.0ms)
|
40047
40047
|
Completed 200 OK in 3ms (Views: 2.6ms)
|
40048
|
+
--------------------------------------------------------
|
40049
|
+
Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
|
40050
|
+
--------------------------------------------------------
|
40051
|
+
Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40052
|
+
Processing by Cogy::CogyController#command as HTML
|
40053
|
+
Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
|
40054
|
+
Rendered text template (0.0ms)
|
40055
|
+
Completed 200 OK in 7ms (Views: 6.5ms)
|
40056
|
+
-----------------------------------------------------------------------
|
40057
|
+
Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
|
40058
|
+
-----------------------------------------------------------------------
|
40059
|
+
Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40060
|
+
Processing by Cogy::CogyController#command as HTML
|
40061
|
+
Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
|
40062
|
+
Rendered text template (0.0ms)
|
40063
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
40064
|
+
-----------------------------------
|
40065
|
+
Cogy::BuiltinHelpersTest: test_args
|
40066
|
+
-----------------------------------
|
40067
|
+
Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40068
|
+
Processing by Cogy::CogyController#command as HTML
|
40069
|
+
Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
|
40070
|
+
Rendered text template (0.0ms)
|
40071
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
40072
|
+
------------------------------------
|
40073
|
+
Cogy::InventoryTest: test_valid_yaml
|
40074
|
+
------------------------------------
|
40075
|
+
Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40076
|
+
Processing by Cogy::CogyController#inventory as HTML
|
40077
|
+
Rendered text template (0.0ms)
|
40078
|
+
Completed 200 OK in 4ms (Views: 0.3ms)
|
40079
|
+
-----------------------------------------------
|
40080
|
+
Cogy::InventoryTest: test_bundle_version_lambda
|
40081
|
+
-----------------------------------------------
|
40082
|
+
Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40083
|
+
Processing by Cogy::CogyController#inventory as HTML
|
40084
|
+
Rendered text template (0.0ms)
|
40085
|
+
Completed 200 OK in 3ms (Views: 0.2ms)
|
40086
|
+
--------------------------------------------
|
40087
|
+
Cogy::InventoryTest: test_cog_bundle_version
|
40088
|
+
--------------------------------------------
|
40089
|
+
Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40090
|
+
Processing by Cogy::CogyController#inventory as HTML
|
40091
|
+
Rendered text template (0.0ms)
|
40092
|
+
Completed 200 OK in 3ms (Views: 0.3ms)
|
40093
|
+
------------------------------------------
|
40094
|
+
Cogy::InventoryTest: test_without_commands
|
40095
|
+
------------------------------------------
|
40096
|
+
Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40097
|
+
Processing by Cogy::CogyController#inventory as HTML
|
40098
|
+
Rendered text template (0.0ms)
|
40099
|
+
Completed 200 OK in 1ms (Views: 0.2ms)
|
40100
|
+
----------------------------------
|
40101
|
+
Cogy::InventoryTest: test_template
|
40102
|
+
----------------------------------
|
40103
|
+
Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40104
|
+
Processing by Cogy::CogyController#inventory as HTML
|
40105
|
+
Rendered text template (0.0ms)
|
40106
|
+
Completed 200 OK in 3ms (Views: 0.2ms)
|
40107
|
+
------------------------------------------
|
40108
|
+
Cogy::InventoryTest: test_commands_section
|
40109
|
+
------------------------------------------
|
40110
|
+
Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40111
|
+
Processing by Cogy::CogyController#inventory as HTML
|
40112
|
+
Rendered text template (0.0ms)
|
40113
|
+
Completed 200 OK in 5ms (Views: 0.3ms)
|
40114
|
+
--------------------------------------
|
40115
|
+
Cogy::InventoryTest: test_content_type
|
40116
|
+
--------------------------------------
|
40117
|
+
Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40118
|
+
Processing by Cogy::CogyController#inventory as HTML
|
40119
|
+
Rendered text template (0.0ms)
|
40120
|
+
Completed 200 OK in 3ms (Views: 0.2ms)
|
40121
|
+
------------------------------------------------
|
40122
|
+
Cogy::ErrorTemplateTest: test_error_tmpl_message
|
40123
|
+
------------------------------------------------
|
40124
|
+
Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40125
|
+
Processing by Cogy::CogyController#command as HTML
|
40126
|
+
Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
|
40127
|
+
Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.3ms)
|
40128
|
+
Completed 500 Internal Server Error in 5ms (Views: 4.6ms)
|
40129
|
+
----------------------------------------------------
|
40130
|
+
Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
|
40131
|
+
----------------------------------------------------
|
40132
|
+
Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40133
|
+
Processing by Cogy::CogyController#command as HTML
|
40134
|
+
Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
|
40135
|
+
Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
|
40136
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
|
40137
|
+
-----------------------------------------
|
40138
|
+
Cogy::CommandTest: test_rails_url_helpers
|
40139
|
+
-----------------------------------------
|
40140
|
+
Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40141
|
+
Processing by Cogy::CogyController#command as HTML
|
40142
|
+
Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
|
40143
|
+
Rendered text template (0.0ms)
|
40144
|
+
Completed 200 OK in 1ms (Views: 0.3ms)
|
40145
|
+
------------------------------------------------
|
40146
|
+
Cogy::CommandTest: test_invalid_opts_declaration
|
40147
|
+
------------------------------------------------
|
40148
|
+
--------------------------------
|
40149
|
+
Cogy::CommandTest: test_cogy_env
|
40150
|
+
--------------------------------
|
40151
|
+
Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40152
|
+
Processing by Cogy::CogyController#command as HTML
|
40153
|
+
Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
|
40154
|
+
Rendered text template (0.0ms)
|
40155
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
40156
|
+
-------------------------------------------------------------
|
40157
|
+
Cogy::CommandTest: test_opts_downcased_and_indifferent_access
|
40158
|
+
-------------------------------------------------------------
|
40159
|
+
Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40160
|
+
Processing by Cogy::CogyController#command as HTML
|
40161
|
+
Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
|
40162
|
+
Rendered text template (0.0ms)
|
40163
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
40164
|
+
-------------------------------------
|
40165
|
+
Cogy::CommandTest: test_args_ordering
|
40166
|
+
-------------------------------------
|
40167
|
+
Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40168
|
+
Processing by Cogy::CogyController#command as HTML
|
40169
|
+
Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
|
40170
|
+
Rendered text template (0.0ms)
|
40171
|
+
Completed 200 OK in 1ms (Views: 0.3ms)
|
40172
|
+
-----------------------------------------
|
40173
|
+
Cogy::CommandTest: test_command_not_found
|
40174
|
+
-----------------------------------------
|
40175
|
+
Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40176
|
+
Processing by Cogy::CogyController#command as HTML
|
40177
|
+
Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
|
40178
|
+
Rendered text template (0.0ms)
|
40179
|
+
Completed 404 Not Found in 0ms (Views: 0.2ms)
|
40180
|
+
------------------------------------
|
40181
|
+
Cogy::CommandTest: test_calc_command
|
40182
|
+
------------------------------------
|
40183
|
+
Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40184
|
+
Processing by Cogy::CogyController#command as HTML
|
40185
|
+
Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
|
40186
|
+
Rendered text template (0.0ms)
|
40187
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
40188
|
+
Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40189
|
+
Processing by Cogy::CogyController#command as HTML
|
40190
|
+
Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
|
40191
|
+
Rendered text template (0.0ms)
|
40192
|
+
Completed 200 OK in 1ms (Views: 0.5ms)
|
40193
|
+
-------------------------------------------
|
40194
|
+
Cogy::CommandTest: test_error_response_code
|
40195
|
+
-------------------------------------------
|
40196
|
+
Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40197
|
+
Processing by Cogy::CogyController#command as HTML
|
40198
|
+
Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
|
40199
|
+
Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
|
40200
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.7ms)
|
40201
|
+
--------------------------------------------
|
40202
|
+
Cogy::JsonResponseTest: test_custom_template
|
40203
|
+
--------------------------------------------
|
40204
|
+
Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40205
|
+
Processing by Cogy::CogyController#command as HTML
|
40206
|
+
Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
|
40207
|
+
Rendered text template (0.0ms)
|
40208
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
40209
|
+
-------------------------------------------------------------
|
40210
|
+
Cogy::JsonResponseTest: test_json_output_and_default_template
|
40211
|
+
-------------------------------------------------------------
|
40212
|
+
Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40213
|
+
Processing by Cogy::CogyController#command as HTML
|
40214
|
+
Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
|
40215
|
+
Rendered text template (0.0ms)
|
40216
|
+
Completed 200 OK in 0ms (Views: 0.3ms)
|
40217
|
+
----------------------------------------------------
|
40218
|
+
Cogy::HelpersTest: test_custom_helper_with_arguments
|
40219
|
+
----------------------------------------------------
|
40220
|
+
Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40221
|
+
Processing by Cogy::CogyController#command as HTML
|
40222
|
+
Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
|
40223
|
+
Rendered text template (0.0ms)
|
40224
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
40225
|
+
-----------------------------------------------------------------
|
40226
|
+
Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
|
40227
|
+
-----------------------------------------------------------------
|
40228
|
+
Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-01-25 15:02:52 +0200
|
40229
|
+
Processing by Cogy::CogyController#command as HTML
|
40230
|
+
Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
|
40231
|
+
Rendered text template (0.0ms)
|
40232
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
40233
|
+
----------------------------------------------------
|
40234
|
+
Cogy::HelpersTest: test_custom_helper_with_arguments
|
40235
|
+
----------------------------------------------------
|
40236
|
+
Started POST "/cogy/cmd/titleize" for 127.0.0.1 at 2017-01-25 15:06:21 +0200
|
40237
|
+
Processing by Cogy::CogyController#command as HTML
|
40238
|
+
Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"titleize"}
|
40239
|
+
Rendered text template (0.0ms)
|
40240
|
+
Completed 200 OK in 6ms (Views: 6.2ms)
|
40241
|
+
-----------------------------------------------------------------
|
40242
|
+
Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
|
40243
|
+
-----------------------------------------------------------------
|
40244
|
+
Started POST "/cogy/cmd/foohelper" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40245
|
+
Processing by Cogy::CogyController#command as HTML
|
40246
|
+
Parameters: {"cog_foo"=>"bar", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"foohelper"}
|
40247
|
+
Rendered text template (0.0ms)
|
40248
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
40249
|
+
------------------------------------------------
|
40250
|
+
Cogy::CommandTest: test_invalid_opts_declaration
|
40251
|
+
------------------------------------------------
|
40252
|
+
-------------------------------------------------------------
|
40253
|
+
Cogy::CommandTest: test_opts_downcased_and_indifferent_access
|
40254
|
+
-------------------------------------------------------------
|
40255
|
+
Started POST "/cogy/cmd/test_opts_downcased" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40256
|
+
Processing by Cogy::CogyController#command as HTML
|
40257
|
+
Parameters: {"COG_OPT_A"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"test_opts_downcased"}
|
40258
|
+
Rendered text template (0.0ms)
|
40259
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
40260
|
+
-------------------------------------------
|
40261
|
+
Cogy::CommandTest: test_error_response_code
|
40262
|
+
-------------------------------------------
|
40263
|
+
Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40264
|
+
Processing by Cogy::CogyController#command as HTML
|
40265
|
+
Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"raiser"}
|
40266
|
+
Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.3ms)
|
40267
|
+
Completed 500 Internal Server Error in 4ms (Views: 3.4ms)
|
40268
|
+
--------------------------------
|
40269
|
+
Cogy::CommandTest: test_cogy_env
|
40270
|
+
--------------------------------
|
40271
|
+
Started POST "/cogy/cmd/print_env" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40272
|
+
Processing by Cogy::CogyController#command as HTML
|
40273
|
+
Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"print_env"}
|
40274
|
+
Rendered text template (0.0ms)
|
40275
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
40276
|
+
------------------------------------
|
40277
|
+
Cogy::CommandTest: test_calc_command
|
40278
|
+
------------------------------------
|
40279
|
+
Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40280
|
+
Processing by Cogy::CogyController#command as HTML
|
40281
|
+
Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
|
40282
|
+
Rendered text template (0.0ms)
|
40283
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
40284
|
+
Started POST "/cogy/cmd/calc" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40285
|
+
Processing by Cogy::CogyController#command as HTML
|
40286
|
+
Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "COG_CHAT_HANDLE"=>"george", "cmd"=>"calc"}
|
40287
|
+
Rendered text template (0.0ms)
|
40288
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
40289
|
+
-----------------------------------------
|
40290
|
+
Cogy::CommandTest: test_command_not_found
|
40291
|
+
-----------------------------------------
|
40292
|
+
Started POST "/cogy/cmd/idontexist" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40293
|
+
Processing by Cogy::CogyController#command as HTML
|
40294
|
+
Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"idontexist"}
|
40295
|
+
Rendered text template (0.0ms)
|
40296
|
+
Completed 404 Not Found in 0ms (Views: 0.2ms)
|
40297
|
+
-------------------------------------
|
40298
|
+
Cogy::CommandTest: test_args_ordering
|
40299
|
+
-------------------------------------
|
40300
|
+
Started POST "/cogy/cmd/args_order" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40301
|
+
Processing by Cogy::CogyController#command as HTML
|
40302
|
+
Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_order"}
|
40303
|
+
Rendered text template (0.0ms)
|
40304
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
40305
|
+
-----------------------------------------
|
40306
|
+
Cogy::CommandTest: test_rails_url_helpers
|
40307
|
+
-----------------------------------------
|
40308
|
+
Started POST "/cogy/cmd/rails_url_helpers" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40309
|
+
Processing by Cogy::CogyController#command as HTML
|
40310
|
+
Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"rails_url_helpers"}
|
40311
|
+
Rendered text template (0.0ms)
|
40312
|
+
Completed 200 OK in 1ms (Views: 0.3ms)
|
40313
|
+
------------------------------------------
|
40314
|
+
Cogy::InventoryTest: test_without_commands
|
40315
|
+
------------------------------------------
|
40316
|
+
Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40317
|
+
Processing by Cogy::CogyController#inventory as HTML
|
40318
|
+
Rendered text template (0.0ms)
|
40319
|
+
Completed 200 OK in 1ms (Views: 0.2ms)
|
40320
|
+
--------------------------------------
|
40321
|
+
Cogy::InventoryTest: test_content_type
|
40322
|
+
--------------------------------------
|
40323
|
+
Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40324
|
+
Processing by Cogy::CogyController#inventory as HTML
|
40325
|
+
Rendered text template (0.0ms)
|
40326
|
+
Completed 200 OK in 3ms (Views: 0.2ms)
|
40327
|
+
-----------------------------------------------
|
40328
|
+
Cogy::InventoryTest: test_bundle_version_lambda
|
40329
|
+
-----------------------------------------------
|
40330
|
+
Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40331
|
+
Processing by Cogy::CogyController#inventory as HTML
|
40332
|
+
Rendered text template (0.0ms)
|
40333
|
+
Completed 200 OK in 3ms (Views: 0.3ms)
|
40334
|
+
--------------------------------------------
|
40335
|
+
Cogy::InventoryTest: test_cog_bundle_version
|
40336
|
+
--------------------------------------------
|
40337
|
+
Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40338
|
+
Processing by Cogy::CogyController#inventory as HTML
|
40339
|
+
Rendered text template (0.0ms)
|
40340
|
+
Completed 200 OK in 3ms (Views: 0.2ms)
|
40341
|
+
------------------------------------
|
40342
|
+
Cogy::InventoryTest: test_valid_yaml
|
40343
|
+
------------------------------------
|
40344
|
+
Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40345
|
+
Processing by Cogy::CogyController#inventory as HTML
|
40346
|
+
Rendered text template (0.0ms)
|
40347
|
+
Completed 200 OK in 3ms (Views: 0.2ms)
|
40348
|
+
----------------------------------
|
40349
|
+
Cogy::InventoryTest: test_template
|
40350
|
+
----------------------------------
|
40351
|
+
Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40352
|
+
Processing by Cogy::CogyController#inventory as HTML
|
40353
|
+
Rendered text template (0.0ms)
|
40354
|
+
Completed 200 OK in 3ms (Views: 0.3ms)
|
40355
|
+
------------------------------------------
|
40356
|
+
Cogy::InventoryTest: test_commands_section
|
40357
|
+
------------------------------------------
|
40358
|
+
Started GET "/cogy/inventory" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40359
|
+
Processing by Cogy::CogyController#inventory as HTML
|
40360
|
+
Rendered text template (0.0ms)
|
40361
|
+
Completed 200 OK in 4ms (Views: 0.5ms)
|
40362
|
+
-----------------------------------
|
40363
|
+
Cogy::BuiltinHelpersTest: test_args
|
40364
|
+
-----------------------------------
|
40365
|
+
Started POST "/cogy/cmd/add" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40366
|
+
Processing by Cogy::CogyController#command as HTML
|
40367
|
+
Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"add"}
|
40368
|
+
Rendered text template (0.0ms)
|
40369
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
40370
|
+
--------------------------------------------------------
|
40371
|
+
Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
|
40372
|
+
--------------------------------------------------------
|
40373
|
+
Started POST "/cogy/cmd/empty_args" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40374
|
+
Processing by Cogy::CogyController#command as HTML
|
40375
|
+
Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"empty_args"}
|
40376
|
+
Rendered text template (0.0ms)
|
40377
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
40378
|
+
-----------------------------------------------------------------------
|
40379
|
+
Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
|
40380
|
+
-----------------------------------------------------------------------
|
40381
|
+
Started POST "/cogy/cmd/args_overrides" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40382
|
+
Processing by Cogy::CogyController#command as HTML
|
40383
|
+
Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "COG_CHAT_HANDLE"=>"someone", "cmd"=>"args_overrides"}
|
40384
|
+
Rendered text template (0.0ms)
|
40385
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|
40386
|
+
----------------------------------------------------
|
40387
|
+
Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
|
40388
|
+
----------------------------------------------------
|
40389
|
+
Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40390
|
+
Processing by Cogy::CogyController#command as HTML
|
40391
|
+
Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
|
40392
|
+
Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
|
40393
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
|
40394
|
+
------------------------------------------------
|
40395
|
+
Cogy::ErrorTemplateTest: test_error_tmpl_message
|
40396
|
+
------------------------------------------------
|
40397
|
+
Started POST "/cogy/cmd/raiser" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40398
|
+
Processing by Cogy::CogyController#command as HTML
|
40399
|
+
Parameters: {"COG_CHAT_HANDLE"=>"george", "cmd"=>"raiser"}
|
40400
|
+
Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
|
40401
|
+
Completed 500 Internal Server Error in 1ms (Views: 0.7ms)
|
40402
|
+
--------------------------------------------
|
40403
|
+
Cogy::JsonResponseTest: test_custom_template
|
40404
|
+
--------------------------------------------
|
40405
|
+
Started POST "/cogy/cmd/custom_template" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40406
|
+
Processing by Cogy::CogyController#command as HTML
|
40407
|
+
Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"custom_template"}
|
40408
|
+
Rendered text template (0.0ms)
|
40409
|
+
Completed 200 OK in 2ms (Views: 0.5ms)
|
40410
|
+
-------------------------------------------------------------
|
40411
|
+
Cogy::JsonResponseTest: test_json_output_and_default_template
|
40412
|
+
-------------------------------------------------------------
|
40413
|
+
Started POST "/cogy/cmd/simple_json" for 127.0.0.1 at 2017-01-25 15:06:22 +0200
|
40414
|
+
Processing by Cogy::CogyController#command as HTML
|
40415
|
+
Parameters: {"COG_CHAT_HANDLE"=>"someone", "cmd"=>"simple_json"}
|
40416
|
+
Rendered text template (0.0ms)
|
40417
|
+
Completed 200 OK in 0ms (Views: 0.2ms)
|