cogy 0.5.2 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +25 -5
- data/Rakefile +5 -1
- data/app/controllers/cogy/application_controller.rb +4 -2
- data/app/controllers/cogy/cogy_controller.rb +4 -4
- data/lib/cogy/version.rb +1 -1
- data/test/{dummy → dummies/4.2}/README.rdoc +0 -0
- data/test/{dummy → dummies/4.2}/Rakefile +0 -0
- data/test/{dummy → dummies/4.2}/app/controllers/application_controller.rb +0 -0
- data/test/{dummy → dummies/4.2}/app/helpers/application_helper.rb +0 -0
- data/test/{dummy → dummies/4.2}/app/views/layouts/application.html.erb +0 -0
- data/test/{dummy → dummies/4.2}/bin/bundle +0 -0
- data/test/{dummy → dummies/4.2}/bin/rails +0 -0
- data/test/{dummy → dummies/4.2}/bin/rake +0 -0
- data/test/{dummy → dummies/4.2}/bin/setup +0 -0
- data/test/{dummy → dummies/4.2}/config.ru +0 -0
- data/test/{dummy → dummies/4.2}/config/application.rb +0 -0
- data/test/{dummy → dummies/4.2}/config/boot.rb +0 -0
- data/test/{dummy → dummies/4.2}/config/database.yml +0 -0
- data/test/{dummy → dummies/4.2}/config/environment.rb +0 -0
- data/test/{dummy → dummies/4.2}/config/environments/development.rb +0 -0
- data/test/{dummy → dummies/4.2}/config/environments/production.rb +0 -0
- data/test/{dummy → dummies/4.2}/config/environments/test.rb +0 -0
- data/test/{dummy → dummies/4.2}/config/initializers/assets.rb +0 -0
- data/test/{dummy → dummies/4.2}/config/initializers/backtrace_silencers.rb +0 -0
- data/test/{dummy → dummies/4.2}/config/initializers/cogy.rb +1 -1
- data/test/{dummy → dummies/4.2}/config/initializers/cookies_serializer.rb +0 -0
- data/test/{dummy → dummies/4.2}/config/initializers/filter_parameter_logging.rb +0 -0
- data/test/{dummy → dummies/4.2}/config/initializers/inflections.rb +0 -0
- data/test/{dummy → dummies/4.2}/config/initializers/mime_types.rb +0 -0
- data/test/{dummy → dummies/4.2}/config/initializers/session_store.rb +0 -0
- data/test/{dummy → dummies/4.2}/config/initializers/wrap_parameters.rb +0 -0
- data/test/{dummy → dummies/4.2}/config/locales/en.yml +0 -0
- data/test/{dummy → dummies/4.2}/config/routes.rb +0 -0
- data/test/{dummy → dummies/4.2}/config/secrets.yml +0 -0
- data/test/dummies/4.2/log/test.log +555 -0
- data/test/{dummy → dummies/4.2}/public/404.html +0 -0
- data/test/{dummy → dummies/4.2}/public/422.html +0 -0
- data/test/{dummy → dummies/4.2}/public/500.html +0 -0
- data/test/{dummy → dummies/4.2}/public/favicon.ico +0 -0
- data/test/dummies/5.0/Rakefile +6 -0
- data/test/dummies/5.0/app/controllers/application_controller.rb +3 -0
- data/test/dummies/5.0/app/views/layouts/application.html.erb +14 -0
- data/test/dummies/5.0/config.ru +5 -0
- data/test/dummies/5.0/config/application.rb +15 -0
- data/test/dummies/5.0/config/boot.rb +3 -0
- data/test/dummies/5.0/config/database.yml +25 -0
- data/test/dummies/5.0/config/environment.rb +5 -0
- data/test/dummies/5.0/config/environments/test.rb +42 -0
- data/test/dummies/5.0/config/initializers/application_controller_renderer.rb +6 -0
- data/test/dummies/5.0/config/initializers/assets.rb +11 -0
- data/test/dummies/5.0/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummies/5.0/config/initializers/cogy.rb +14 -0
- data/test/dummies/5.0/config/initializers/cookies_serializer.rb +5 -0
- data/test/dummies/5.0/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummies/5.0/config/initializers/inflections.rb +16 -0
- data/test/dummies/5.0/config/initializers/mime_types.rb +4 -0
- data/test/dummies/5.0/config/initializers/new_framework_defaults.rb +26 -0
- data/test/dummies/5.0/config/initializers/session_store.rb +3 -0
- data/test/dummies/5.0/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummies/5.0/config/locales/en.yml +23 -0
- data/test/dummies/5.0/config/routes.rb +5 -0
- data/test/dummies/5.0/config/secrets.yml +22 -0
- data/test/dummies/5.0/db/seeds.rb +7 -0
- data/test/dummies/5.0/db/test.sqlite3 +0 -0
- data/test/dummies/5.0/log/test.log +514 -0
- data/test/dummies/5.0/public/404.html +67 -0
- data/test/dummies/5.0/public/422.html +67 -0
- data/test/dummies/5.0/public/500.html +66 -0
- data/test/dummies/5.0/public/apple-touch-icon-precomposed.png +0 -0
- data/test/dummies/5.0/public/apple-touch-icon.png +0 -0
- data/test/dummies/5.0/public/favicon.ico +0 -0
- data/test/dummies/5.0/public/robots.txt +5 -0
- data/test/dummies/5.1/Rakefile +6 -0
- data/test/dummies/5.1/app/controllers/application_controller.rb +3 -0
- data/test/dummies/5.1/app/views/layouts/application.html.erb +14 -0
- data/test/dummies/5.1/config.ru +5 -0
- data/test/dummies/5.1/config/application.rb +18 -0
- data/test/dummies/5.1/config/boot.rb +5 -0
- data/test/dummies/5.1/config/database.yml +25 -0
- data/test/dummies/5.1/config/environment.rb +5 -0
- data/test/dummies/5.1/config/environments/test.rb +42 -0
- data/test/dummies/5.1/config/initializers/application_controller_renderer.rb +6 -0
- data/test/dummies/5.1/config/initializers/assets.rb +14 -0
- data/test/dummies/5.1/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummies/5.1/config/initializers/cogy.rb +14 -0
- data/test/dummies/5.1/config/initializers/cookies_serializer.rb +5 -0
- data/test/dummies/5.1/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummies/5.1/config/initializers/inflections.rb +16 -0
- data/test/dummies/5.1/config/initializers/mime_types.rb +4 -0
- data/test/dummies/5.1/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummies/5.1/config/locales/en.yml +33 -0
- data/test/dummies/5.1/config/routes.rb +5 -0
- data/test/dummies/5.1/config/secrets.yml +22 -0
- data/test/dummies/5.1/db/test.sqlite3 +0 -0
- data/test/dummies/5.1/log/test.log +1028 -0
- data/test/dummies/5.1/public/404.html +67 -0
- data/test/dummies/5.1/public/422.html +67 -0
- data/test/dummies/5.1/public/500.html +66 -0
- data/test/dummies/5.1/public/apple-touch-icon-precomposed.png +0 -0
- data/test/dummies/5.1/public/apple-touch-icon.png +0 -0
- data/test/dummies/5.1/public/favicon.ico +0 -0
- data/test/{dummy → dummies}/cogy/builtin_helpers.rb +0 -0
- data/test/{dummy → dummies}/cogy/foo.rb +0 -0
- data/test/{dummy → dummies}/cogy/fully_fledged.rb +0 -0
- data/test/{dummy → dummies}/cogy/json_response.rb +0 -0
- data/test/{dummy → dummies}/cogy/templates/pretty-command +0 -0
- data/test/support/helpers.rb +7 -1
- data/test/test_helper.rb +2 -1
- metadata +227 -85
- data/test/dummy/log/development.log +0 -84
- 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,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
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
12
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
23
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
34
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
45
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
56
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
66
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
76
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
86
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
96
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
106
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
116
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
126
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
137
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
148
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
159
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
170
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
171
|
+
------------------------------------------------
|
172
|
+
Cogy::CommandTest: test_invalid_opts_declaration
|
173
|
+
------------------------------------------------
|
174
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
175
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
192
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
203
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
214
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
225
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
236
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
247
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
258
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
269
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
280
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
281
|
+
------------------------------------------------
|
282
|
+
Cogy::CommandTest: test_invalid_opts_declaration
|
283
|
+
------------------------------------------------
|
284
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
285
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
296
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
307
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
324
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
335
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
346
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
356
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
366
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
376
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
386
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
396
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
406
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
416
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
427
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
438
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
449
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
460
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
471
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
482
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
493
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
504
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
515
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
526
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
537
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
547
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
557
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
567
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
577
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
587
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
597
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
607
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
618
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
629
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
640
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
641
|
+
------------------------------------------------
|
642
|
+
Cogy::CommandTest: test_invalid_opts_declaration
|
643
|
+
------------------------------------------------
|
644
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
645
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
656
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
667
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
678
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
695
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
706
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
717
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
728
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
739
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
750
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
761
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
772
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
782
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
792
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
802
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
812
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
822
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
832
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
842
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
853
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
864
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
875
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
886
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
897
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
908
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
919
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
930
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
941
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
952
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
963
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
974
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
975
|
+
------------------------------------------------
|
976
|
+
Cogy::CommandTest: test_invalid_opts_declaration
|
977
|
+
------------------------------------------------
|
978
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
979
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
990
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1007
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1018
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|