cogy 0.2.1 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1faf81c2609b206d60d98e48f243dc56f76e4862
4
- data.tar.gz: 2931c87a90991bdb9d78632b847afb0645a5af05
3
+ metadata.gz: 594980685522210c3c12429b0ff4aeff0011e103
4
+ data.tar.gz: 006c7df96512ee2ee362102782d8fa68430546b2
5
5
  SHA512:
6
- metadata.gz: 74f80197ab55e9d9a22f3a12d210584055edcd6a6faec3e7bf928125c73d06c59e108486c3c2f4ed2b38c18a2e96a2365fed8e32a759badc92184cffa504b618
7
- data.tar.gz: de2abb4b92d7994d5f0c05ac45ee94b885b239a830290a275a0550d086851cf0bda82f16e0ea5206bb3e8a9ee3df432e5d824eafa8670f8752016cd9127071db
6
+ metadata.gz: 1aab5e7578c675ae57209331e27c1dfedc67f7144feca18aed40be622d4c8a4eb46a7d27426058e36012464428fb155a20c1a67a270255be6151e89ebe0ab2fe
7
+ data.tar.gz: 0474fc729b3405ee55754ad7cbf1b5e36902e64fb2fe4f74c588ee6033af37f1f4e960c0c30fdd51efb03f661799938a638be825a9f74536e3dbe9a08d856867
data/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
 
3
3
  ## master (unreleased)
4
4
 
5
+ ## 0.3.0 (2016-11-29)
6
+
7
+ This release requires the [cogy-bundle](https://github.com/skroutz/cogy-bundle)
8
+ to be at version 0.3.0 or later.
9
+
10
+ ### Changed
11
+
12
+ - The incoming request from the Relay is now a POST ([#25](https://github.com/skroutz/cogy/issues/25))
13
+ - The complete Relay environment is now available as-is using the `env` helper
14
+ inside commands ([#26](https://github.com/skroutz/cogy/issues/26))
15
+
5
16
  ## 0.2.1 (2016-11-28)
6
17
 
7
18
  ### Changed
@@ -1,5 +1,6 @@
1
1
  module Cogy
2
2
  class ApplicationController < ActionController::Base
3
- protect_from_forgery with: :exception
3
+ # @todo https://github.com/skroutz/cogy/issues/43
4
+ skip_before_action :verify_authenticity_token
4
5
  end
5
6
  end
@@ -2,7 +2,7 @@ require_dependency "cogy/application_controller"
2
2
 
3
3
  module Cogy
4
4
  class CogyController < ApplicationController
5
- # GET <mount_path>/cmd/:cmd/:user
5
+ # POST <mount_path>/cmd/:cmd/:user
6
6
  #
7
7
  # The command endpoint is the one that the cogy executable (see
8
8
  # https://github.com/skroutz/cogy-bundle hits. It executes the requested
@@ -12,17 +12,16 @@ module Cogy
12
12
  # See https://github.com/skroutz/cogy-bundle.
13
13
  def command
14
14
  cmd = params[:cmd]
15
- args = request.query_parameters.select { |k, _| k.start_with?("cog_argv_") }
16
- .sort_by { |k, _| k.match(/\d+\z/)[0] }.to_h.values
17
-
18
- opts = request.query_parameters.select { |k, _| k.start_with?("cog_opt_") }
19
- .transform_keys { |k| k.sub("cog_opt_", "") }
20
- cogy_env = request.query_parameters.select { |k, _| k.start_with?("cogy_") }
15
+ args = params.select { |k, _| k.start_with?("COG_ARGV_") }
16
+ .sort_by { |k, _| k.match(/\d+\z/)[0] }.to_h.values
17
+ opts = params.select { |k, _| k.start_with?("COG_OPT_") }
18
+ .transform_keys { |k| k.sub("COG_OPT_", "").downcase }
21
19
  user = params[:user]
20
+ cog_env = request.request_parameters
22
21
 
23
22
  begin
24
23
  if (command = Cogy.commands[cmd])
25
- result = Context.new(command, args, opts, user, cogy_env).invoke
24
+ result = Context.new(command, args, opts, user, cog_env).invoke
26
25
  if result.is_a?(Hash)
27
26
  result = "COG_TEMPLATE: #{command.template || command.name}\n" \
28
27
  "JSON\n" \
data/config/routes.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  Cogy::Engine.routes.draw do
2
- get "cmd/:cmd/:user" => "cogy#command"
2
+ post "cmd/:cmd/:user" => "cogy#command"
3
3
  get "inventory" => "cogy#inventory"
4
4
  end
data/lib/cogy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cogy
2
- VERSION = "0.2.1".freeze
2
+ VERSION = "0.3.0".freeze
3
3
  end
@@ -7,7 +7,7 @@ on "raiser", desc: "Raises an exception" do
7
7
  end
8
8
 
9
9
  on "print_env", desc: "Test cogy env access" do
10
- env["cogy_foo"]
10
+ "#{env["foo"]} #{env["COG_FOO"]} #{env["NOEXIST"]} #{env["FOO"]}"
11
11
  end
12
12
 
13
13
  on "foohelper", desc: "" do
@@ -25,3 +25,9 @@ end
25
25
  on "args_order", args: [:a, :b, :c], desc: "" do
26
26
  args.join
27
27
  end
28
+
29
+ on "test_opts_downcased",
30
+ opts: { a: { type: "string", required: false } },
31
+ desc: "" do
32
+ opts[:a]
33
+ end
@@ -8,6 +8,6 @@ Cogy.configure do |c|
8
8
 
9
9
  c.command_load_paths = ["cogy"]
10
10
 
11
- c.helper(:foo) { env["cogy_foo"] }
11
+ c.helper(:foo) { env["cog_foo"] }
12
12
  c.helper(:bar) { |text| text.titleize }
13
13
  end
@@ -29243,3 +29243,2375 @@ Processing by Cogy::CogyController#command as HTML
29243
29243
  Parameters: {"cmd"=>"simple_json", "user"=>"george"}
29244
29244
  Rendered text template (0.0ms)
29245
29245
  Completed 200 OK in 0ms (Views: 0.2ms)
29246
+ -------------------------------------------------------------
29247
+ Cogy::JsonResponseTest: test_json_output_and_default_template
29248
+ -------------------------------------------------------------
29249
+ Started GET "/cogy/cmd/simple_json/george" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29250
+ --------------------------------------------
29251
+ Cogy::JsonResponseTest: test_custom_template
29252
+ --------------------------------------------
29253
+ Started GET "/cogy/cmd/custom_template/hyu" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29254
+ ----------------------------------------------------
29255
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
29256
+ ----------------------------------------------------
29257
+ Started GET "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29258
+ ------------------------------------------------
29259
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
29260
+ ------------------------------------------------
29261
+ Started GET "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29262
+ --------------------------------------
29263
+ Cogy::InventoryTest: test_content_type
29264
+ --------------------------------------
29265
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29266
+ Processing by Cogy::CogyController#inventory as HTML
29267
+ Rendered text template (0.0ms)
29268
+ Completed 200 OK in 27ms (Views: 23.3ms)
29269
+ --------------------------------------------
29270
+ Cogy::InventoryTest: test_cog_bundle_version
29271
+ --------------------------------------------
29272
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29273
+ Processing by Cogy::CogyController#inventory as HTML
29274
+ Rendered text template (0.0ms)
29275
+ Completed 200 OK in 2ms (Views: 0.3ms)
29276
+ ------------------------------------
29277
+ Cogy::InventoryTest: test_valid_yaml
29278
+ ------------------------------------
29279
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29280
+ Processing by Cogy::CogyController#inventory as HTML
29281
+ Rendered text template (0.0ms)
29282
+ Completed 200 OK in 2ms (Views: 0.2ms)
29283
+ -----------------------------------------------
29284
+ Cogy::InventoryTest: test_bundle_version_lambda
29285
+ -----------------------------------------------
29286
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29287
+ Processing by Cogy::CogyController#inventory as HTML
29288
+ Rendered text template (0.0ms)
29289
+ Completed 200 OK in 2ms (Views: 0.2ms)
29290
+ ----------------------------------
29291
+ Cogy::InventoryTest: test_template
29292
+ ----------------------------------
29293
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29294
+ Processing by Cogy::CogyController#inventory as HTML
29295
+ Rendered text template (0.0ms)
29296
+ Completed 200 OK in 2ms (Views: 0.2ms)
29297
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29298
+ Processing by Cogy::CogyController#inventory as HTML
29299
+ Rendered text template (0.0ms)
29300
+ Completed 200 OK in 3ms (Views: 0.2ms)
29301
+ ------------------------------------------
29302
+ Cogy::InventoryTest: test_commands_section
29303
+ ------------------------------------------
29304
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29305
+ Processing by Cogy::CogyController#inventory as HTML
29306
+ Rendered text template (0.0ms)
29307
+ Completed 200 OK in 2ms (Views: 0.2ms)
29308
+ ------------------------------------------
29309
+ Cogy::InventoryTest: test_without_commands
29310
+ ------------------------------------------
29311
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29312
+ Processing by Cogy::CogyController#inventory as HTML
29313
+ Rendered text template (0.0ms)
29314
+ Completed 200 OK in 1ms (Views: 0.2ms)
29315
+ ----------------------------------------------------
29316
+ Cogy::HelpersTest: test_custom_helper_with_arguments
29317
+ ----------------------------------------------------
29318
+ Started GET "/cogy/cmd/titleize/george" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29319
+ -----------------------------------------------------------------
29320
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
29321
+ -----------------------------------------------------------------
29322
+ Started GET "/cogy/cmd/foohelper/george?cogy_foo=bar" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29323
+ -----------------------------------------------------------------------
29324
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
29325
+ -----------------------------------------------------------------------
29326
+ Started GET "/cogy/cmd/args_overrides/george?cog_argv_1=hu&cog_argv_0=haha" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29327
+ --------------------------------------------------------
29328
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
29329
+ --------------------------------------------------------
29330
+ Started GET "/cogy/cmd/empty_args/george" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29331
+ -----------------------------------
29332
+ Cogy::BuiltinHelpersTest: test_args
29333
+ -----------------------------------
29334
+ Started GET "/cogy/cmd/add/george?cog_argv_0=1&cog_argv_1=2" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29335
+ -----------------------------------------
29336
+ Cogy::CommandTest: test_rails_url_helpers
29337
+ -----------------------------------------
29338
+ Started GET "/cogy/cmd/rails_url_helpers/george" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29339
+ ------------------------------------------------
29340
+ Cogy::CommandTest: test_invalid_opts_declaration
29341
+ ------------------------------------------------
29342
+ -----------------------------------------
29343
+ Cogy::CommandTest: test_command_not_found
29344
+ -----------------------------------------
29345
+ Started GET "/cogy/cmd/idontexist/foo" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29346
+ --------------------------------
29347
+ Cogy::CommandTest: test_cogy_env
29348
+ --------------------------------
29349
+ Started GET "/cogy/cmd/print_env/george?cogy_foo=bar" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29350
+ -------------------------------------------
29351
+ Cogy::CommandTest: test_error_response_code
29352
+ -------------------------------------------
29353
+ Started GET "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29354
+ ------------------------------------
29355
+ Cogy::CommandTest: test_calc_command
29356
+ ------------------------------------
29357
+ Started GET "/cogy/cmd/calc/george?cog_opt_op=%2B&cog_argv_0=1&cog_argv_1=2" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29358
+ -------------------------------------
29359
+ Cogy::CommandTest: test_args_ordering
29360
+ -------------------------------------
29361
+ Started GET "/cogy/cmd/args_order/george?cog_argv_2=3&cog_argv_1=2&cog_argv_0=1" for 127.0.0.1 at 2016-11-29 14:11:33 +0200
29362
+ -----------------------------------
29363
+ Cogy::BuiltinHelpersTest: test_args
29364
+ -----------------------------------
29365
+ Started GET "/cogy/cmd/add/george?cog_argv_0=1&cog_argv_1=2" for 127.0.0.1 at 2016-11-29 14:12:19 +0200
29366
+ --------------------------------------------------------
29367
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
29368
+ --------------------------------------------------------
29369
+ Started GET "/cogy/cmd/empty_args/george" for 127.0.0.1 at 2016-11-29 14:12:19 +0200
29370
+ -----------------------------------------------------------------------
29371
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
29372
+ -----------------------------------------------------------------------
29373
+ Started GET "/cogy/cmd/args_overrides/george?cog_argv_1=hu&cog_argv_0=haha" for 127.0.0.1 at 2016-11-29 14:12:19 +0200
29374
+ --------------------------------------------------------
29375
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
29376
+ --------------------------------------------------------
29377
+ Started POST "/cogy/cmd/empty_args/george" for 127.0.0.1 at 2016-11-29 14:12:30 +0200
29378
+ Processing by Cogy::CogyController#command as HTML
29379
+ Parameters: {"cmd"=>"empty_args", "user"=>"george"}
29380
+ Rendered text template (0.0ms)
29381
+ Completed 200 OK in 5ms (Views: 4.9ms)
29382
+ -----------------------------------------------------------------------
29383
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
29384
+ -----------------------------------------------------------------------
29385
+ Started POST "/cogy/cmd/args_overrides/george" for 127.0.0.1 at 2016-11-29 14:12:30 +0200
29386
+ Processing by Cogy::CogyController#command as HTML
29387
+ Parameters: {"cog_argv_1"=>"hu", "cog_argv_0"=>"haha", "cmd"=>"args_overrides", "user"=>"george"}
29388
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.6ms)
29389
+ Completed 500 Internal Server Error in 6ms (Views: 5.5ms)
29390
+ -----------------------------------
29391
+ Cogy::BuiltinHelpersTest: test_args
29392
+ -----------------------------------
29393
+ Started POST "/cogy/cmd/add/george" for 127.0.0.1 at 2016-11-29 14:12:30 +0200
29394
+ Processing by Cogy::CogyController#command as HTML
29395
+ Parameters: {"cog_argv_0"=>"1", "cog_argv_1"=>"2", "cmd"=>"add", "user"=>"george"}
29396
+ Rendered text template (0.0ms)
29397
+ Completed 200 OK in 1ms (Views: 0.4ms)
29398
+ -----------------------------------------------------------------------
29399
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
29400
+ -----------------------------------------------------------------------
29401
+ Started POST "/cogy/cmd/args_overrides/george" for 127.0.0.1 at 2016-11-29 14:12:49 +0200
29402
+ Processing by Cogy::CogyController#command as HTML
29403
+ Parameters: {"cog_argv_1"=>"hu", "cog_argv_0"=>"haha", "cmd"=>"args_overrides", "user"=>"george"}
29404
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.1ms)
29405
+ Completed 500 Internal Server Error in 7ms (Views: 6.8ms)
29406
+ --------------------------------------------------------
29407
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
29408
+ --------------------------------------------------------
29409
+ Started POST "/cogy/cmd/empty_args/george" for 127.0.0.1 at 2016-11-29 14:12:49 +0200
29410
+ Processing by Cogy::CogyController#command as HTML
29411
+ Parameters: {"cmd"=>"empty_args", "user"=>"george"}
29412
+ Rendered text template (0.0ms)
29413
+ Completed 200 OK in 1ms (Views: 1.1ms)
29414
+ -----------------------------------
29415
+ Cogy::BuiltinHelpersTest: test_args
29416
+ -----------------------------------
29417
+ Started POST "/cogy/cmd/add/george" for 127.0.0.1 at 2016-11-29 14:12:49 +0200
29418
+ Processing by Cogy::CogyController#command as HTML
29419
+ Parameters: {"cog_argv_0"=>"1", "cog_argv_1"=>"2", "cmd"=>"add", "user"=>"george"}
29420
+ Rendered text template (0.1ms)
29421
+ Completed 200 OK in 0ms (Views: 0.2ms)
29422
+ --------------------------------------------------------
29423
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
29424
+ --------------------------------------------------------
29425
+ Started POST "/cogy/cmd/empty_args/george" for 127.0.0.1 at 2016-11-29 14:12:55 +0200
29426
+ Processing by Cogy::CogyController#command as HTML
29427
+ Parameters: {"cmd"=>"empty_args", "user"=>"george"}
29428
+ Rendered text template (0.0ms)
29429
+ Completed 200 OK in 5ms (Views: 5.2ms)
29430
+ -----------------------------------------------------------------------
29431
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
29432
+ -----------------------------------------------------------------------
29433
+ Started POST "/cogy/cmd/args_overrides/george" for 127.0.0.1 at 2016-11-29 14:12:55 +0200
29434
+ Processing by Cogy::CogyController#command as HTML
29435
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "cmd"=>"args_overrides", "user"=>"george"}
29436
+ Rendered text template (0.0ms)
29437
+ Completed 200 OK in 0ms (Views: 0.2ms)
29438
+ -----------------------------------
29439
+ Cogy::BuiltinHelpersTest: test_args
29440
+ -----------------------------------
29441
+ Started POST "/cogy/cmd/add/george" for 127.0.0.1 at 2016-11-29 14:12:55 +0200
29442
+ Processing by Cogy::CogyController#command as HTML
29443
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"add", "user"=>"george"}
29444
+ Rendered text template (0.0ms)
29445
+ Completed 200 OK in 0ms (Views: 0.2ms)
29446
+ --------------------------------------------
29447
+ Cogy::JsonResponseTest: test_custom_template
29448
+ --------------------------------------------
29449
+ Started POST "/cogy/cmd/custom_template/hyu" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29450
+ Processing by Cogy::CogyController#command as HTML
29451
+ Parameters: {"cmd"=>"custom_template", "user"=>"hyu"}
29452
+ Rendered text template (0.0ms)
29453
+ Completed 200 OK in 5ms (Views: 4.7ms)
29454
+ -------------------------------------------------------------
29455
+ Cogy::JsonResponseTest: test_json_output_and_default_template
29456
+ -------------------------------------------------------------
29457
+ Started POST "/cogy/cmd/simple_json/george" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29458
+ Processing by Cogy::CogyController#command as HTML
29459
+ Parameters: {"cmd"=>"simple_json", "user"=>"george"}
29460
+ Rendered text template (0.0ms)
29461
+ Completed 200 OK in 0ms (Views: 0.2ms)
29462
+ --------------------------------
29463
+ Cogy::CommandTest: test_cogy_env
29464
+ --------------------------------
29465
+ Started POST "/cogy/cmd/print_env/george" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29466
+ Processing by Cogy::CogyController#command as HTML
29467
+ Parameters: {"cogy_foo"=>"bar", "cmd"=>"print_env", "user"=>"george"}
29468
+ Rendered text template (0.0ms)
29469
+ Completed 200 OK in 0ms (Views: 0.2ms)
29470
+ -----------------------------------------
29471
+ Cogy::CommandTest: test_rails_url_helpers
29472
+ -----------------------------------------
29473
+ Started POST "/cogy/cmd/rails_url_helpers/george" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29474
+ Processing by Cogy::CogyController#command as HTML
29475
+ Parameters: {"cmd"=>"rails_url_helpers", "user"=>"george"}
29476
+ Rendered text template (0.0ms)
29477
+ Completed 200 OK in 1ms (Views: 0.4ms)
29478
+ ------------------------------------------------
29479
+ Cogy::CommandTest: test_invalid_opts_declaration
29480
+ ------------------------------------------------
29481
+ -------------------------------------------
29482
+ Cogy::CommandTest: test_error_response_code
29483
+ -------------------------------------------
29484
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29485
+ Processing by Cogy::CogyController#command as HTML
29486
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
29487
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.1ms)
29488
+ Completed 500 Internal Server Error in 3ms (Views: 2.8ms)
29489
+ -----------------------------------------
29490
+ Cogy::CommandTest: test_command_not_found
29491
+ -----------------------------------------
29492
+ Started POST "/cogy/cmd/idontexist/foo" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29493
+ Processing by Cogy::CogyController#command as HTML
29494
+ Parameters: {"cmd"=>"idontexist", "user"=>"foo"}
29495
+ Rendered text template (0.0ms)
29496
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
29497
+ -------------------------------------
29498
+ Cogy::CommandTest: test_args_ordering
29499
+ -------------------------------------
29500
+ Started POST "/cogy/cmd/args_order/george" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29501
+ Processing by Cogy::CogyController#command as HTML
29502
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "cmd"=>"args_order", "user"=>"george"}
29503
+ Rendered text template (0.0ms)
29504
+ Completed 200 OK in 0ms (Views: 0.2ms)
29505
+ ------------------------------------
29506
+ Cogy::CommandTest: test_calc_command
29507
+ ------------------------------------
29508
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29509
+ Processing by Cogy::CogyController#command as HTML
29510
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"calc", "user"=>"george"}
29511
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
29512
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
29513
+ --------------------------------------
29514
+ Cogy::InventoryTest: test_content_type
29515
+ --------------------------------------
29516
+ Started POST "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29517
+ ----------------------------------
29518
+ Cogy::InventoryTest: test_template
29519
+ ----------------------------------
29520
+ Started POST "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29521
+ -----------------------------------------------
29522
+ Cogy::InventoryTest: test_bundle_version_lambda
29523
+ -----------------------------------------------
29524
+ Started POST "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29525
+ ------------------------------------------
29526
+ Cogy::InventoryTest: test_without_commands
29527
+ ------------------------------------------
29528
+ Started POST "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29529
+ --------------------------------------------
29530
+ Cogy::InventoryTest: test_cog_bundle_version
29531
+ --------------------------------------------
29532
+ Started POST "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29533
+ ------------------------------------
29534
+ Cogy::InventoryTest: test_valid_yaml
29535
+ ------------------------------------
29536
+ Started POST "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29537
+ ------------------------------------------
29538
+ Cogy::InventoryTest: test_commands_section
29539
+ ------------------------------------------
29540
+ Started POST "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29541
+ -----------------------------------
29542
+ Cogy::BuiltinHelpersTest: test_args
29543
+ -----------------------------------
29544
+ Started POST "/cogy/cmd/add/george" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29545
+ Processing by Cogy::CogyController#command as HTML
29546
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"add", "user"=>"george"}
29547
+ Rendered text template (0.0ms)
29548
+ Completed 404 Not Found in 0ms (Views: 0.3ms)
29549
+ --------------------------------------------------------
29550
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
29551
+ --------------------------------------------------------
29552
+ Started POST "/cogy/cmd/empty_args/george" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29553
+ Processing by Cogy::CogyController#command as HTML
29554
+ Parameters: {"cmd"=>"empty_args", "user"=>"george"}
29555
+ Rendered text template (0.0ms)
29556
+ Completed 404 Not Found in 0ms (Views: 0.3ms)
29557
+ -----------------------------------------------------------------------
29558
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
29559
+ -----------------------------------------------------------------------
29560
+ Started POST "/cogy/cmd/args_overrides/george" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29561
+ Processing by Cogy::CogyController#command as HTML
29562
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "cmd"=>"args_overrides", "user"=>"george"}
29563
+ Rendered text template (0.0ms)
29564
+ Completed 404 Not Found in 0ms (Views: 0.3ms)
29565
+ ----------------------------------------------------
29566
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
29567
+ ----------------------------------------------------
29568
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29569
+ Processing by Cogy::CogyController#command as HTML
29570
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
29571
+ Rendered text template (0.0ms)
29572
+ Completed 404 Not Found in 1ms (Views: 0.3ms)
29573
+ ------------------------------------------------
29574
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
29575
+ ------------------------------------------------
29576
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29577
+ Processing by Cogy::CogyController#command as HTML
29578
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
29579
+ Rendered text template (0.0ms)
29580
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
29581
+ ----------------------------------------------------
29582
+ Cogy::HelpersTest: test_custom_helper_with_arguments
29583
+ ----------------------------------------------------
29584
+ Started POST "/cogy/cmd/titleize/george" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29585
+ Processing by Cogy::CogyController#command as HTML
29586
+ Parameters: {"cmd"=>"titleize", "user"=>"george"}
29587
+ Rendered text template (0.0ms)
29588
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
29589
+ -----------------------------------------------------------------
29590
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
29591
+ -----------------------------------------------------------------
29592
+ Started POST "/cogy/cmd/foohelper/george" for 127.0.0.1 at 2016-11-29 14:17:18 +0200
29593
+ Processing by Cogy::CogyController#command as HTML
29594
+ Parameters: {"cogy_foo"=>"bar", "cmd"=>"foohelper", "user"=>"george"}
29595
+ Rendered text template (0.0ms)
29596
+ Completed 404 Not Found in 0ms (Views: 0.3ms)
29597
+ -----------------------------------------------
29598
+ Cogy::InventoryTest: test_bundle_version_lambda
29599
+ -----------------------------------------------
29600
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:19:33 +0200
29601
+ Processing by Cogy::CogyController#inventory as HTML
29602
+ Rendered text template (0.0ms)
29603
+ Completed 200 OK in 8ms (Views: 5.1ms)
29604
+ ------------------------------------
29605
+ Cogy::InventoryTest: test_valid_yaml
29606
+ ------------------------------------
29607
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:19:33 +0200
29608
+ Processing by Cogy::CogyController#inventory as HTML
29609
+ Rendered text template (0.0ms)
29610
+ Completed 200 OK in 19ms (Views: 0.3ms)
29611
+ ------------------------------------------
29612
+ Cogy::InventoryTest: test_commands_section
29613
+ ------------------------------------------
29614
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:19:33 +0200
29615
+ Processing by Cogy::CogyController#inventory as HTML
29616
+ Rendered text template (0.0ms)
29617
+ Completed 200 OK in 2ms (Views: 0.2ms)
29618
+ ----------------------------------
29619
+ Cogy::InventoryTest: test_template
29620
+ ----------------------------------
29621
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:19:33 +0200
29622
+ Processing by Cogy::CogyController#inventory as HTML
29623
+ Rendered text template (0.0ms)
29624
+ Completed 200 OK in 2ms (Views: 0.2ms)
29625
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:19:33 +0200
29626
+ Processing by Cogy::CogyController#inventory as HTML
29627
+ Rendered text template (0.0ms)
29628
+ Completed 200 OK in 2ms (Views: 0.2ms)
29629
+ --------------------------------------
29630
+ Cogy::InventoryTest: test_content_type
29631
+ --------------------------------------
29632
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:19:33 +0200
29633
+ Processing by Cogy::CogyController#inventory as HTML
29634
+ Rendered text template (0.0ms)
29635
+ Completed 200 OK in 2ms (Views: 0.2ms)
29636
+ --------------------------------------------
29637
+ Cogy::InventoryTest: test_cog_bundle_version
29638
+ --------------------------------------------
29639
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:19:33 +0200
29640
+ Processing by Cogy::CogyController#inventory as HTML
29641
+ Rendered text template (0.0ms)
29642
+ Completed 200 OK in 2ms (Views: 0.2ms)
29643
+ ------------------------------------------
29644
+ Cogy::InventoryTest: test_without_commands
29645
+ ------------------------------------------
29646
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:19:33 +0200
29647
+ Processing by Cogy::CogyController#inventory as HTML
29648
+ Rendered text template (0.0ms)
29649
+ Completed 200 OK in 1ms (Views: 0.2ms)
29650
+ ------------------------------------------------
29651
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
29652
+ ------------------------------------------------
29653
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:19:34 +0200
29654
+ Processing by Cogy::CogyController#command as HTML
29655
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
29656
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.2ms)
29657
+ Completed 500 Internal Server Error in 3ms (Views: 3.2ms)
29658
+ ----------------------------------------------------
29659
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
29660
+ ----------------------------------------------------
29661
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:19:34 +0200
29662
+ Processing by Cogy::CogyController#command as HTML
29663
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
29664
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
29665
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
29666
+ -----------------------------------
29667
+ Cogy::BuiltinHelpersTest: test_args
29668
+ -----------------------------------
29669
+ Started POST "/cogy/cmd/add/george" for 127.0.0.1 at 2016-11-29 14:19:34 +0200
29670
+ Processing by Cogy::CogyController#command as HTML
29671
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"add", "user"=>"george"}
29672
+ Rendered text template (0.0ms)
29673
+ Completed 200 OK in 0ms (Views: 0.2ms)
29674
+ -----------------------------------------------------------------------
29675
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
29676
+ -----------------------------------------------------------------------
29677
+ Started POST "/cogy/cmd/args_overrides/george" for 127.0.0.1 at 2016-11-29 14:19:34 +0200
29678
+ Processing by Cogy::CogyController#command as HTML
29679
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "cmd"=>"args_overrides", "user"=>"george"}
29680
+ Rendered text template (0.0ms)
29681
+ Completed 200 OK in 0ms (Views: 0.2ms)
29682
+ --------------------------------------------------------
29683
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
29684
+ --------------------------------------------------------
29685
+ Started POST "/cogy/cmd/empty_args/george" for 127.0.0.1 at 2016-11-29 14:19:34 +0200
29686
+ Processing by Cogy::CogyController#command as HTML
29687
+ Parameters: {"cmd"=>"empty_args", "user"=>"george"}
29688
+ Rendered text template (0.0ms)
29689
+ Completed 200 OK in 0ms (Views: 0.2ms)
29690
+ -----------------------------------------------------------------
29691
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
29692
+ -----------------------------------------------------------------
29693
+ Started POST "/cogy/cmd/foohelper/george" for 127.0.0.1 at 2016-11-29 14:19:34 +0200
29694
+ Processing by Cogy::CogyController#command as HTML
29695
+ Parameters: {"cogy_foo"=>"bar", "cmd"=>"foohelper", "user"=>"george"}
29696
+ Rendered text template (0.0ms)
29697
+ Completed 200 OK in 0ms (Views: 0.2ms)
29698
+ ----------------------------------------------------
29699
+ Cogy::HelpersTest: test_custom_helper_with_arguments
29700
+ ----------------------------------------------------
29701
+ Started POST "/cogy/cmd/titleize/george" for 127.0.0.1 at 2016-11-29 14:19:34 +0200
29702
+ Processing by Cogy::CogyController#command as HTML
29703
+ Parameters: {"cmd"=>"titleize", "user"=>"george"}
29704
+ Rendered text template (0.0ms)
29705
+ Completed 200 OK in 0ms (Views: 0.2ms)
29706
+ -----------------------------------------
29707
+ Cogy::CommandTest: test_rails_url_helpers
29708
+ -----------------------------------------
29709
+ Started POST "/cogy/cmd/rails_url_helpers/george" for 127.0.0.1 at 2016-11-29 14:19:34 +0200
29710
+ Processing by Cogy::CogyController#command as HTML
29711
+ Parameters: {"cmd"=>"rails_url_helpers", "user"=>"george"}
29712
+ Rendered text template (0.0ms)
29713
+ Completed 200 OK in 1ms (Views: 0.4ms)
29714
+ ------------------------------------------------
29715
+ Cogy::CommandTest: test_invalid_opts_declaration
29716
+ ------------------------------------------------
29717
+ ------------------------------------
29718
+ Cogy::CommandTest: test_calc_command
29719
+ ------------------------------------
29720
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:19:34 +0200
29721
+ Processing by Cogy::CogyController#command as HTML
29722
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"calc", "user"=>"george"}
29723
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
29724
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
29725
+ -------------------------------------------
29726
+ Cogy::CommandTest: test_error_response_code
29727
+ -------------------------------------------
29728
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:19:34 +0200
29729
+ Processing by Cogy::CogyController#command as HTML
29730
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
29731
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
29732
+ Completed 500 Internal Server Error in 1ms (Views: 0.5ms)
29733
+ -----------------------------------------
29734
+ Cogy::CommandTest: test_command_not_found
29735
+ -----------------------------------------
29736
+ Started POST "/cogy/cmd/idontexist/foo" for 127.0.0.1 at 2016-11-29 14:19:34 +0200
29737
+ Processing by Cogy::CogyController#command as HTML
29738
+ Parameters: {"cmd"=>"idontexist", "user"=>"foo"}
29739
+ Rendered text template (0.0ms)
29740
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
29741
+ -------------------------------------
29742
+ Cogy::CommandTest: test_args_ordering
29743
+ -------------------------------------
29744
+ Started POST "/cogy/cmd/args_order/george" for 127.0.0.1 at 2016-11-29 14:19:34 +0200
29745
+ Processing by Cogy::CogyController#command as HTML
29746
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "cmd"=>"args_order", "user"=>"george"}
29747
+ Rendered text template (0.0ms)
29748
+ Completed 200 OK in 0ms (Views: 0.2ms)
29749
+ --------------------------------
29750
+ Cogy::CommandTest: test_cogy_env
29751
+ --------------------------------
29752
+ Started POST "/cogy/cmd/print_env/george" for 127.0.0.1 at 2016-11-29 14:19:34 +0200
29753
+ Processing by Cogy::CogyController#command as HTML
29754
+ Parameters: {"cogy_foo"=>"bar", "cmd"=>"print_env", "user"=>"george"}
29755
+ Rendered text template (0.0ms)
29756
+ Completed 200 OK in 0ms (Views: 0.2ms)
29757
+ -------------------------------------------------------------
29758
+ Cogy::JsonResponseTest: test_json_output_and_default_template
29759
+ -------------------------------------------------------------
29760
+ Started POST "/cogy/cmd/simple_json/george" for 127.0.0.1 at 2016-11-29 14:19:34 +0200
29761
+ Processing by Cogy::CogyController#command as HTML
29762
+ Parameters: {"cmd"=>"simple_json", "user"=>"george"}
29763
+ Rendered text template (0.0ms)
29764
+ Completed 200 OK in 0ms (Views: 0.2ms)
29765
+ --------------------------------------------
29766
+ Cogy::JsonResponseTest: test_custom_template
29767
+ --------------------------------------------
29768
+ Started POST "/cogy/cmd/custom_template/hyu" for 127.0.0.1 at 2016-11-29 14:19:34 +0200
29769
+ Processing by Cogy::CogyController#command as HTML
29770
+ Parameters: {"cmd"=>"custom_template", "user"=>"hyu"}
29771
+ Rendered text template (0.0ms)
29772
+ Completed 200 OK in 0ms (Views: 0.2ms)
29773
+ -----------------------------------------------
29774
+ Cogy::InventoryTest: test_bundle_version_lambda
29775
+ -----------------------------------------------
29776
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:11 +0200
29777
+ Processing by Cogy::CogyController#inventory as HTML
29778
+ Rendered text template (0.0ms)
29779
+ Completed 200 OK in 7ms (Views: 4.7ms)
29780
+ ----------------------------------
29781
+ Cogy::InventoryTest: test_template
29782
+ ----------------------------------
29783
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:11 +0200
29784
+ Processing by Cogy::CogyController#inventory as HTML
29785
+ Rendered text template (0.0ms)
29786
+ Completed 200 OK in 18ms (Views: 0.3ms)
29787
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:11 +0200
29788
+ Processing by Cogy::CogyController#inventory as HTML
29789
+ Rendered text template (0.0ms)
29790
+ Completed 200 OK in 2ms (Views: 0.2ms)
29791
+ --------------------------------------------
29792
+ Cogy::InventoryTest: test_cog_bundle_version
29793
+ --------------------------------------------
29794
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:11 +0200
29795
+ Processing by Cogy::CogyController#inventory as HTML
29796
+ Rendered text template (0.0ms)
29797
+ Completed 200 OK in 2ms (Views: 0.2ms)
29798
+ ------------------------------------------
29799
+ Cogy::InventoryTest: test_commands_section
29800
+ ------------------------------------------
29801
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:11 +0200
29802
+ Processing by Cogy::CogyController#inventory as HTML
29803
+ Rendered text template (0.0ms)
29804
+ Completed 200 OK in 2ms (Views: 0.2ms)
29805
+ --------------------------------------
29806
+ Cogy::InventoryTest: test_content_type
29807
+ --------------------------------------
29808
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:11 +0200
29809
+ Processing by Cogy::CogyController#inventory as HTML
29810
+ Rendered text template (0.0ms)
29811
+ Completed 200 OK in 2ms (Views: 0.2ms)
29812
+ ------------------------------------
29813
+ Cogy::InventoryTest: test_valid_yaml
29814
+ ------------------------------------
29815
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:11 +0200
29816
+ Processing by Cogy::CogyController#inventory as HTML
29817
+ Rendered text template (0.0ms)
29818
+ Completed 200 OK in 2ms (Views: 0.3ms)
29819
+ ------------------------------------------
29820
+ Cogy::InventoryTest: test_without_commands
29821
+ ------------------------------------------
29822
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:11 +0200
29823
+ Processing by Cogy::CogyController#inventory as HTML
29824
+ Rendered text template (0.0ms)
29825
+ Completed 200 OK in 1ms (Views: 0.2ms)
29826
+ -----------------------------------------
29827
+ Cogy::CommandTest: test_command_not_found
29828
+ -----------------------------------------
29829
+ Started POST "/cogy/cmd/idontexist/foo" for 127.0.0.1 at 2016-11-29 14:20:12 +0200
29830
+ Processing by Cogy::CogyController#command as HTML
29831
+ Parameters: {"cmd"=>"idontexist", "user"=>"foo"}
29832
+ Rendered text template (0.0ms)
29833
+ Completed 404 Not Found in 0ms (Views: 0.3ms)
29834
+ ------------------------------------------------
29835
+ Cogy::CommandTest: test_invalid_opts_declaration
29836
+ ------------------------------------------------
29837
+ -----------------------------------------
29838
+ Cogy::CommandTest: test_rails_url_helpers
29839
+ -----------------------------------------
29840
+ Started POST "/cogy/cmd/rails_url_helpers/george" for 127.0.0.1 at 2016-11-29 14:20:12 +0200
29841
+ Processing by Cogy::CogyController#command as HTML
29842
+ Parameters: {"cmd"=>"rails_url_helpers", "user"=>"george"}
29843
+ Rendered text template (0.0ms)
29844
+ Completed 200 OK in 1ms (Views: 0.3ms)
29845
+ -------------------------------------
29846
+ Cogy::CommandTest: test_args_ordering
29847
+ -------------------------------------
29848
+ Started POST "/cogy/cmd/args_order/george" for 127.0.0.1 at 2016-11-29 14:20:12 +0200
29849
+ Processing by Cogy::CogyController#command as HTML
29850
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "cmd"=>"args_order", "user"=>"george"}
29851
+ Rendered text template (0.0ms)
29852
+ Completed 200 OK in 0ms (Views: 0.2ms)
29853
+ ------------------------------------
29854
+ Cogy::CommandTest: test_calc_command
29855
+ ------------------------------------
29856
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:20:12 +0200
29857
+ Processing by Cogy::CogyController#command as HTML
29858
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"calc", "user"=>"george"}
29859
+ Rendered text template (0.0ms)
29860
+ Completed 200 OK in 0ms (Views: 0.2ms)
29861
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:20:12 +0200
29862
+ Processing by Cogy::CogyController#command as HTML
29863
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "cmd"=>"calc", "user"=>"george"}
29864
+ Rendered text template (0.0ms)
29865
+ Completed 200 OK in 0ms (Views: 0.2ms)
29866
+ --------------------------------
29867
+ Cogy::CommandTest: test_cogy_env
29868
+ --------------------------------
29869
+ Started POST "/cogy/cmd/print_env/george" for 127.0.0.1 at 2016-11-29 14:20:12 +0200
29870
+ Processing by Cogy::CogyController#command as HTML
29871
+ Parameters: {"cogy_foo"=>"bar", "cmd"=>"print_env", "user"=>"george"}
29872
+ Rendered text template (0.0ms)
29873
+ Completed 200 OK in 0ms (Views: 0.2ms)
29874
+ -------------------------------------------
29875
+ Cogy::CommandTest: test_error_response_code
29876
+ -------------------------------------------
29877
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:20:12 +0200
29878
+ Processing by Cogy::CogyController#command as HTML
29879
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
29880
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.0ms)
29881
+ Completed 500 Internal Server Error in 3ms (Views: 2.8ms)
29882
+ ----------------------------------------------------
29883
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
29884
+ ----------------------------------------------------
29885
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:20:12 +0200
29886
+ Processing by Cogy::CogyController#command as HTML
29887
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
29888
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
29889
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
29890
+ ------------------------------------------------
29891
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
29892
+ ------------------------------------------------
29893
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:20:12 +0200
29894
+ Processing by Cogy::CogyController#command as HTML
29895
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
29896
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
29897
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
29898
+ ----------------------------------------------------
29899
+ Cogy::HelpersTest: test_custom_helper_with_arguments
29900
+ ----------------------------------------------------
29901
+ Started POST "/cogy/cmd/titleize/george" for 127.0.0.1 at 2016-11-29 14:20:12 +0200
29902
+ Processing by Cogy::CogyController#command as HTML
29903
+ Parameters: {"cmd"=>"titleize", "user"=>"george"}
29904
+ Rendered text template (0.0ms)
29905
+ Completed 200 OK in 0ms (Views: 0.3ms)
29906
+ -----------------------------------------------------------------
29907
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
29908
+ -----------------------------------------------------------------
29909
+ Started POST "/cogy/cmd/foohelper/george" for 127.0.0.1 at 2016-11-29 14:20:12 +0200
29910
+ Processing by Cogy::CogyController#command as HTML
29911
+ Parameters: {"cogy_foo"=>"bar", "cmd"=>"foohelper", "user"=>"george"}
29912
+ Rendered text template (0.0ms)
29913
+ Completed 200 OK in 0ms (Views: 0.2ms)
29914
+ -----------------------------------------------------------------------
29915
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
29916
+ -----------------------------------------------------------------------
29917
+ Started POST "/cogy/cmd/args_overrides/george" for 127.0.0.1 at 2016-11-29 14:20:12 +0200
29918
+ Processing by Cogy::CogyController#command as HTML
29919
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "cmd"=>"args_overrides", "user"=>"george"}
29920
+ Rendered text template (0.0ms)
29921
+ Completed 200 OK in 0ms (Views: 0.2ms)
29922
+ --------------------------------------------------------
29923
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
29924
+ --------------------------------------------------------
29925
+ Started POST "/cogy/cmd/empty_args/george" for 127.0.0.1 at 2016-11-29 14:20:12 +0200
29926
+ Processing by Cogy::CogyController#command as HTML
29927
+ Parameters: {"cmd"=>"empty_args", "user"=>"george"}
29928
+ Rendered text template (0.0ms)
29929
+ Completed 200 OK in 0ms (Views: 0.2ms)
29930
+ -----------------------------------
29931
+ Cogy::BuiltinHelpersTest: test_args
29932
+ -----------------------------------
29933
+ Started POST "/cogy/cmd/add/george" for 127.0.0.1 at 2016-11-29 14:20:12 +0200
29934
+ Processing by Cogy::CogyController#command as HTML
29935
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"add", "user"=>"george"}
29936
+ Rendered text template (0.0ms)
29937
+ Completed 200 OK in 0ms (Views: 0.2ms)
29938
+ --------------------------------------------
29939
+ Cogy::JsonResponseTest: test_custom_template
29940
+ --------------------------------------------
29941
+ Started POST "/cogy/cmd/custom_template/hyu" for 127.0.0.1 at 2016-11-29 14:20:12 +0200
29942
+ Processing by Cogy::CogyController#command as HTML
29943
+ Parameters: {"cmd"=>"custom_template", "user"=>"hyu"}
29944
+ Rendered text template (0.0ms)
29945
+ Completed 200 OK in 1ms (Views: 0.4ms)
29946
+ -------------------------------------------------------------
29947
+ Cogy::JsonResponseTest: test_json_output_and_default_template
29948
+ -------------------------------------------------------------
29949
+ Started POST "/cogy/cmd/simple_json/george" for 127.0.0.1 at 2016-11-29 14:20:12 +0200
29950
+ Processing by Cogy::CogyController#command as HTML
29951
+ Parameters: {"cmd"=>"simple_json", "user"=>"george"}
29952
+ Rendered text template (0.0ms)
29953
+ Completed 200 OK in 0ms (Views: 0.2ms)
29954
+ ----------------------------------------------------
29955
+ Cogy::HelpersTest: test_custom_helper_with_arguments
29956
+ ----------------------------------------------------
29957
+ Started POST "/cogy/cmd/titleize/george" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
29958
+ Processing by Cogy::CogyController#command as HTML
29959
+ Parameters: {"cmd"=>"titleize", "user"=>"george"}
29960
+ Rendered text template (0.0ms)
29961
+ Completed 200 OK in 5ms (Views: 4.4ms)
29962
+ -----------------------------------------------------------------
29963
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
29964
+ -----------------------------------------------------------------
29965
+ Started POST "/cogy/cmd/foohelper/george" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
29966
+ Processing by Cogy::CogyController#command as HTML
29967
+ Parameters: {"cogy_foo"=>"bar", "cmd"=>"foohelper", "user"=>"george"}
29968
+ Rendered text template (0.0ms)
29969
+ Completed 200 OK in 0ms (Views: 0.2ms)
29970
+ -----------------------------------
29971
+ Cogy::BuiltinHelpersTest: test_args
29972
+ -----------------------------------
29973
+ Started POST "/cogy/cmd/add/george" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
29974
+ Processing by Cogy::CogyController#command as HTML
29975
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"add", "user"=>"george"}
29976
+ Rendered text template (0.0ms)
29977
+ Completed 200 OK in 0ms (Views: 0.2ms)
29978
+ -----------------------------------------------------------------------
29979
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
29980
+ -----------------------------------------------------------------------
29981
+ Started POST "/cogy/cmd/args_overrides/george" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
29982
+ Processing by Cogy::CogyController#command as HTML
29983
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "cmd"=>"args_overrides", "user"=>"george"}
29984
+ Rendered text template (0.0ms)
29985
+ Completed 200 OK in 0ms (Views: 0.2ms)
29986
+ --------------------------------------------------------
29987
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
29988
+ --------------------------------------------------------
29989
+ Started POST "/cogy/cmd/empty_args/george" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
29990
+ Processing by Cogy::CogyController#command as HTML
29991
+ Parameters: {"cmd"=>"empty_args", "user"=>"george"}
29992
+ Rendered text template (0.0ms)
29993
+ Completed 200 OK in 0ms (Views: 0.2ms)
29994
+ ------------------------------------
29995
+ Cogy::CommandTest: test_calc_command
29996
+ ------------------------------------
29997
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
29998
+ Processing by Cogy::CogyController#command as HTML
29999
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"calc", "user"=>"george"}
30000
+ Rendered text template (0.0ms)
30001
+ Completed 200 OK in 0ms (Views: 0.2ms)
30002
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30003
+ Processing by Cogy::CogyController#command as HTML
30004
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "cmd"=>"calc", "user"=>"george"}
30005
+ Rendered text template (0.0ms)
30006
+ Completed 200 OK in 0ms (Views: 0.1ms)
30007
+ ------------------------------------------------
30008
+ Cogy::CommandTest: test_invalid_opts_declaration
30009
+ ------------------------------------------------
30010
+ -----------------------------------------
30011
+ Cogy::CommandTest: test_command_not_found
30012
+ -----------------------------------------
30013
+ Started POST "/cogy/cmd/idontexist/foo" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30014
+ Processing by Cogy::CogyController#command as HTML
30015
+ Parameters: {"cmd"=>"idontexist", "user"=>"foo"}
30016
+ Rendered text template (0.0ms)
30017
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
30018
+ --------------------------------
30019
+ Cogy::CommandTest: test_cogy_env
30020
+ --------------------------------
30021
+ Started POST "/cogy/cmd/print_env/george" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30022
+ Processing by Cogy::CogyController#command as HTML
30023
+ Parameters: {"cogy_foo"=>"bar", "cmd"=>"print_env", "user"=>"george"}
30024
+ Rendered text template (0.0ms)
30025
+ Completed 200 OK in 0ms (Views: 0.2ms)
30026
+ -----------------------------------------
30027
+ Cogy::CommandTest: test_rails_url_helpers
30028
+ -----------------------------------------
30029
+ Started POST "/cogy/cmd/rails_url_helpers/george" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30030
+ Processing by Cogy::CogyController#command as HTML
30031
+ Parameters: {"cmd"=>"rails_url_helpers", "user"=>"george"}
30032
+ Rendered text template (0.0ms)
30033
+ Completed 200 OK in 1ms (Views: 0.3ms)
30034
+ -------------------------------------------
30035
+ Cogy::CommandTest: test_error_response_code
30036
+ -------------------------------------------
30037
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30038
+ Processing by Cogy::CogyController#command as HTML
30039
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30040
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.0ms)
30041
+ Completed 500 Internal Server Error in 3ms (Views: 2.7ms)
30042
+ -------------------------------------
30043
+ Cogy::CommandTest: test_args_ordering
30044
+ -------------------------------------
30045
+ Started POST "/cogy/cmd/args_order/george" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30046
+ Processing by Cogy::CogyController#command as HTML
30047
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "cmd"=>"args_order", "user"=>"george"}
30048
+ Rendered text template (0.0ms)
30049
+ Completed 200 OK in 0ms (Views: 0.2ms)
30050
+ ------------------------------------------------
30051
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
30052
+ ------------------------------------------------
30053
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30054
+ Processing by Cogy::CogyController#command as HTML
30055
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30056
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
30057
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
30058
+ ----------------------------------------------------
30059
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
30060
+ ----------------------------------------------------
30061
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30062
+ Processing by Cogy::CogyController#command as HTML
30063
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30064
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.0ms)
30065
+ Completed 500 Internal Server Error in 0ms (Views: 0.4ms)
30066
+ --------------------------------------------
30067
+ Cogy::JsonResponseTest: test_custom_template
30068
+ --------------------------------------------
30069
+ Started POST "/cogy/cmd/custom_template/hyu" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30070
+ Processing by Cogy::CogyController#command as HTML
30071
+ Parameters: {"cmd"=>"custom_template", "user"=>"hyu"}
30072
+ Rendered text template (0.0ms)
30073
+ Completed 200 OK in 0ms (Views: 0.2ms)
30074
+ -------------------------------------------------------------
30075
+ Cogy::JsonResponseTest: test_json_output_and_default_template
30076
+ -------------------------------------------------------------
30077
+ Started POST "/cogy/cmd/simple_json/george" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30078
+ Processing by Cogy::CogyController#command as HTML
30079
+ Parameters: {"cmd"=>"simple_json", "user"=>"george"}
30080
+ Rendered text template (0.0ms)
30081
+ Completed 200 OK in 0ms (Views: 0.2ms)
30082
+ ------------------------------------------
30083
+ Cogy::InventoryTest: test_commands_section
30084
+ ------------------------------------------
30085
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30086
+ Processing by Cogy::CogyController#inventory as HTML
30087
+ Rendered text template (0.0ms)
30088
+ Completed 200 OK in 2ms (Views: 0.3ms)
30089
+ --------------------------------------------
30090
+ Cogy::InventoryTest: test_cog_bundle_version
30091
+ --------------------------------------------
30092
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30093
+ Processing by Cogy::CogyController#inventory as HTML
30094
+ Rendered text template (0.0ms)
30095
+ Completed 200 OK in 2ms (Views: 0.2ms)
30096
+ --------------------------------------
30097
+ Cogy::InventoryTest: test_content_type
30098
+ --------------------------------------
30099
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30100
+ Processing by Cogy::CogyController#inventory as HTML
30101
+ Rendered text template (0.0ms)
30102
+ Completed 200 OK in 2ms (Views: 0.2ms)
30103
+ -----------------------------------------------
30104
+ Cogy::InventoryTest: test_bundle_version_lambda
30105
+ -----------------------------------------------
30106
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30107
+ Processing by Cogy::CogyController#inventory as HTML
30108
+ Rendered text template (0.0ms)
30109
+ Completed 200 OK in 2ms (Views: 0.3ms)
30110
+ ------------------------------------------
30111
+ Cogy::InventoryTest: test_without_commands
30112
+ ------------------------------------------
30113
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30114
+ Processing by Cogy::CogyController#inventory as HTML
30115
+ Rendered text template (0.0ms)
30116
+ Completed 200 OK in 1ms (Views: 0.2ms)
30117
+ ------------------------------------
30118
+ Cogy::InventoryTest: test_valid_yaml
30119
+ ------------------------------------
30120
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30121
+ Processing by Cogy::CogyController#inventory as HTML
30122
+ Rendered text template (0.0ms)
30123
+ Completed 200 OK in 2ms (Views: 0.2ms)
30124
+ ----------------------------------
30125
+ Cogy::InventoryTest: test_template
30126
+ ----------------------------------
30127
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30128
+ Processing by Cogy::CogyController#inventory as HTML
30129
+ Rendered text template (0.0ms)
30130
+ Completed 200 OK in 4ms (Views: 0.6ms)
30131
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:46 +0200
30132
+ Processing by Cogy::CogyController#inventory as HTML
30133
+ Rendered text template (0.0ms)
30134
+ Completed 200 OK in 2ms (Views: 0.2ms)
30135
+ --------------------------------------------
30136
+ Cogy::JsonResponseTest: test_custom_template
30137
+ --------------------------------------------
30138
+ Started POST "/cogy/cmd/custom_template/hyu" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30139
+ Processing by Cogy::CogyController#command as HTML
30140
+ Parameters: {"cmd"=>"custom_template", "user"=>"hyu"}
30141
+ Rendered text template (0.0ms)
30142
+ Completed 200 OK in 5ms (Views: 4.5ms)
30143
+ -------------------------------------------------------------
30144
+ Cogy::JsonResponseTest: test_json_output_and_default_template
30145
+ -------------------------------------------------------------
30146
+ Started POST "/cogy/cmd/simple_json/george" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30147
+ Processing by Cogy::CogyController#command as HTML
30148
+ Parameters: {"cmd"=>"simple_json", "user"=>"george"}
30149
+ Rendered text template (0.0ms)
30150
+ Completed 200 OK in 0ms (Views: 0.2ms)
30151
+ ------------------------------------
30152
+ Cogy::CommandTest: test_calc_command
30153
+ ------------------------------------
30154
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30155
+ Processing by Cogy::CogyController#command as HTML
30156
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"calc", "user"=>"george"}
30157
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.9ms)
30158
+ Completed 500 Internal Server Error in 19ms (Views: 19.2ms)
30159
+ ------------------------------------------------
30160
+ Cogy::CommandTest: test_invalid_opts_declaration
30161
+ ------------------------------------------------
30162
+ --------------------------------
30163
+ Cogy::CommandTest: test_cogy_env
30164
+ --------------------------------
30165
+ Started POST "/cogy/cmd/print_env/george" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30166
+ Processing by Cogy::CogyController#command as HTML
30167
+ Parameters: {"cogy_foo"=>"bar", "cmd"=>"print_env", "user"=>"george"}
30168
+ Rendered text template (0.0ms)
30169
+ Completed 200 OK in 0ms (Views: 0.3ms)
30170
+ -----------------------------------------
30171
+ Cogy::CommandTest: test_command_not_found
30172
+ -----------------------------------------
30173
+ Started POST "/cogy/cmd/idontexist/foo" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30174
+ Processing by Cogy::CogyController#command as HTML
30175
+ Parameters: {"cmd"=>"idontexist", "user"=>"foo"}
30176
+ Rendered text template (0.0ms)
30177
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
30178
+ -------------------------------------
30179
+ Cogy::CommandTest: test_args_ordering
30180
+ -------------------------------------
30181
+ Started POST "/cogy/cmd/args_order/george" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30182
+ Processing by Cogy::CogyController#command as HTML
30183
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "cmd"=>"args_order", "user"=>"george"}
30184
+ Rendered text template (0.0ms)
30185
+ Completed 200 OK in 0ms (Views: 0.2ms)
30186
+ -----------------------------------------
30187
+ Cogy::CommandTest: test_rails_url_helpers
30188
+ -----------------------------------------
30189
+ Started POST "/cogy/cmd/rails_url_helpers/george" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30190
+ Processing by Cogy::CogyController#command as HTML
30191
+ Parameters: {"cmd"=>"rails_url_helpers", "user"=>"george"}
30192
+ Rendered text template (0.0ms)
30193
+ Completed 200 OK in 1ms (Views: 0.2ms)
30194
+ -------------------------------------------
30195
+ Cogy::CommandTest: test_error_response_code
30196
+ -------------------------------------------
30197
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30198
+ Processing by Cogy::CogyController#command as HTML
30199
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30200
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
30201
+ Completed 500 Internal Server Error in 1ms (Views: 0.6ms)
30202
+ --------------------------------------
30203
+ Cogy::InventoryTest: test_content_type
30204
+ --------------------------------------
30205
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30206
+ Processing by Cogy::CogyController#inventory as HTML
30207
+ Rendered text template (0.0ms)
30208
+ Completed 200 OK in 3ms (Views: 0.2ms)
30209
+ ------------------------------------
30210
+ Cogy::InventoryTest: test_valid_yaml
30211
+ ------------------------------------
30212
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30213
+ Processing by Cogy::CogyController#inventory as HTML
30214
+ Rendered text template (0.0ms)
30215
+ Completed 200 OK in 2ms (Views: 0.2ms)
30216
+ ----------------------------------
30217
+ Cogy::InventoryTest: test_template
30218
+ ----------------------------------
30219
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30220
+ Processing by Cogy::CogyController#inventory as HTML
30221
+ Rendered text template (0.0ms)
30222
+ Completed 200 OK in 2ms (Views: 0.2ms)
30223
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30224
+ Processing by Cogy::CogyController#inventory as HTML
30225
+ Rendered text template (0.0ms)
30226
+ Completed 200 OK in 4ms (Views: 0.2ms)
30227
+ -----------------------------------------------
30228
+ Cogy::InventoryTest: test_bundle_version_lambda
30229
+ -----------------------------------------------
30230
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30231
+ Processing by Cogy::CogyController#inventory as HTML
30232
+ Rendered text template (0.0ms)
30233
+ Completed 200 OK in 2ms (Views: 0.2ms)
30234
+ --------------------------------------------
30235
+ Cogy::InventoryTest: test_cog_bundle_version
30236
+ --------------------------------------------
30237
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30238
+ Processing by Cogy::CogyController#inventory as HTML
30239
+ Rendered text template (0.0ms)
30240
+ Completed 200 OK in 3ms (Views: 0.3ms)
30241
+ ------------------------------------------
30242
+ Cogy::InventoryTest: test_without_commands
30243
+ ------------------------------------------
30244
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30245
+ Processing by Cogy::CogyController#inventory as HTML
30246
+ Rendered text template (0.0ms)
30247
+ Completed 200 OK in 1ms (Views: 0.2ms)
30248
+ ------------------------------------------
30249
+ Cogy::InventoryTest: test_commands_section
30250
+ ------------------------------------------
30251
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30252
+ Processing by Cogy::CogyController#inventory as HTML
30253
+ Rendered text template (0.0ms)
30254
+ Completed 200 OK in 2ms (Views: 0.2ms)
30255
+ ----------------------------------------------------
30256
+ Cogy::HelpersTest: test_custom_helper_with_arguments
30257
+ ----------------------------------------------------
30258
+ Started POST "/cogy/cmd/titleize/george" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30259
+ Processing by Cogy::CogyController#command as HTML
30260
+ Parameters: {"cmd"=>"titleize", "user"=>"george"}
30261
+ Rendered text template (0.0ms)
30262
+ Completed 200 OK in 0ms (Views: 0.2ms)
30263
+ -----------------------------------------------------------------
30264
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
30265
+ -----------------------------------------------------------------
30266
+ Started POST "/cogy/cmd/foohelper/george" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30267
+ Processing by Cogy::CogyController#command as HTML
30268
+ Parameters: {"cogy_foo"=>"bar", "cmd"=>"foohelper", "user"=>"george"}
30269
+ Rendered text template (0.0ms)
30270
+ Completed 200 OK in 0ms (Views: 0.2ms)
30271
+ --------------------------------------------------------
30272
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
30273
+ --------------------------------------------------------
30274
+ Started POST "/cogy/cmd/empty_args/george" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30275
+ Processing by Cogy::CogyController#command as HTML
30276
+ Parameters: {"cmd"=>"empty_args", "user"=>"george"}
30277
+ Rendered text template (0.0ms)
30278
+ Completed 200 OK in 0ms (Views: 0.2ms)
30279
+ -----------------------------------------------------------------------
30280
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
30281
+ -----------------------------------------------------------------------
30282
+ Started POST "/cogy/cmd/args_overrides/george" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30283
+ Processing by Cogy::CogyController#command as HTML
30284
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "cmd"=>"args_overrides", "user"=>"george"}
30285
+ Rendered text template (0.0ms)
30286
+ Completed 200 OK in 0ms (Views: 0.2ms)
30287
+ -----------------------------------
30288
+ Cogy::BuiltinHelpersTest: test_args
30289
+ -----------------------------------
30290
+ Started POST "/cogy/cmd/add/george" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30291
+ Processing by Cogy::CogyController#command as HTML
30292
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"add", "user"=>"george"}
30293
+ Rendered text template (0.0ms)
30294
+ Completed 200 OK in 0ms (Views: 0.2ms)
30295
+ ----------------------------------------------------
30296
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
30297
+ ----------------------------------------------------
30298
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30299
+ Processing by Cogy::CogyController#command as HTML
30300
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30301
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
30302
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
30303
+ ------------------------------------------------
30304
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
30305
+ ------------------------------------------------
30306
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:20:56 +0200
30307
+ Processing by Cogy::CogyController#command as HTML
30308
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30309
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
30310
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
30311
+ ----------------------------------------------------
30312
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
30313
+ ----------------------------------------------------
30314
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30315
+ Processing by Cogy::CogyController#command as HTML
30316
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30317
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.0ms)
30318
+ Completed 500 Internal Server Error in 7ms (Views: 6.8ms)
30319
+ ------------------------------------------------
30320
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
30321
+ ------------------------------------------------
30322
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30323
+ Processing by Cogy::CogyController#command as HTML
30324
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30325
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.0ms)
30326
+ Completed 500 Internal Server Error in 0ms (Views: 0.3ms)
30327
+ -----------------------------------
30328
+ Cogy::BuiltinHelpersTest: test_args
30329
+ -----------------------------------
30330
+ Started POST "/cogy/cmd/add/george" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30331
+ Processing by Cogy::CogyController#command as HTML
30332
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"add", "user"=>"george"}
30333
+ Rendered text template (0.0ms)
30334
+ Completed 200 OK in 1ms (Views: 0.8ms)
30335
+ --------------------------------------------------------
30336
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
30337
+ --------------------------------------------------------
30338
+ Started POST "/cogy/cmd/empty_args/george" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30339
+ Processing by Cogy::CogyController#command as HTML
30340
+ Parameters: {"cmd"=>"empty_args", "user"=>"george"}
30341
+ Rendered text template (0.0ms)
30342
+ Completed 200 OK in 0ms (Views: 0.2ms)
30343
+ -----------------------------------------------------------------------
30344
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
30345
+ -----------------------------------------------------------------------
30346
+ Started POST "/cogy/cmd/args_overrides/george" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30347
+ Processing by Cogy::CogyController#command as HTML
30348
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "cmd"=>"args_overrides", "user"=>"george"}
30349
+ Rendered text template (0.0ms)
30350
+ Completed 200 OK in 0ms (Views: 0.2ms)
30351
+ -----------------------------------------------------------------
30352
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
30353
+ -----------------------------------------------------------------
30354
+ Started POST "/cogy/cmd/foohelper/george" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30355
+ Processing by Cogy::CogyController#command as HTML
30356
+ Parameters: {"cogy_foo"=>"bar", "cmd"=>"foohelper", "user"=>"george"}
30357
+ Rendered text template (0.0ms)
30358
+ Completed 200 OK in 0ms (Views: 0.2ms)
30359
+ ----------------------------------------------------
30360
+ Cogy::HelpersTest: test_custom_helper_with_arguments
30361
+ ----------------------------------------------------
30362
+ Started POST "/cogy/cmd/titleize/george" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30363
+ Processing by Cogy::CogyController#command as HTML
30364
+ Parameters: {"cmd"=>"titleize", "user"=>"george"}
30365
+ Rendered text template (0.0ms)
30366
+ Completed 200 OK in 0ms (Views: 0.2ms)
30367
+ ------------------------------------------
30368
+ Cogy::InventoryTest: test_commands_section
30369
+ ------------------------------------------
30370
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30371
+ Processing by Cogy::CogyController#inventory as HTML
30372
+ Rendered text template (0.0ms)
30373
+ Completed 200 OK in 3ms (Views: 0.3ms)
30374
+ ------------------------------------------
30375
+ Cogy::InventoryTest: test_without_commands
30376
+ ------------------------------------------
30377
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30378
+ Processing by Cogy::CogyController#inventory as HTML
30379
+ Rendered text template (0.0ms)
30380
+ Completed 200 OK in 1ms (Views: 0.2ms)
30381
+ ----------------------------------
30382
+ Cogy::InventoryTest: test_template
30383
+ ----------------------------------
30384
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30385
+ Processing by Cogy::CogyController#inventory as HTML
30386
+ Rendered text template (0.0ms)
30387
+ Completed 200 OK in 2ms (Views: 0.2ms)
30388
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30389
+ Processing by Cogy::CogyController#inventory as HTML
30390
+ Rendered text template (0.0ms)
30391
+ Completed 200 OK in 2ms (Views: 0.2ms)
30392
+ --------------------------------------------
30393
+ Cogy::InventoryTest: test_cog_bundle_version
30394
+ --------------------------------------------
30395
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30396
+ Processing by Cogy::CogyController#inventory as HTML
30397
+ Rendered text template (0.0ms)
30398
+ Completed 200 OK in 2ms (Views: 0.2ms)
30399
+ --------------------------------------
30400
+ Cogy::InventoryTest: test_content_type
30401
+ --------------------------------------
30402
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30403
+ Processing by Cogy::CogyController#inventory as HTML
30404
+ Rendered text template (0.0ms)
30405
+ Completed 200 OK in 2ms (Views: 0.2ms)
30406
+ -----------------------------------------------
30407
+ Cogy::InventoryTest: test_bundle_version_lambda
30408
+ -----------------------------------------------
30409
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30410
+ Processing by Cogy::CogyController#inventory as HTML
30411
+ Rendered text template (0.0ms)
30412
+ Completed 200 OK in 2ms (Views: 0.2ms)
30413
+ ------------------------------------
30414
+ Cogy::InventoryTest: test_valid_yaml
30415
+ ------------------------------------
30416
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30417
+ Processing by Cogy::CogyController#inventory as HTML
30418
+ Rendered text template (0.0ms)
30419
+ Completed 200 OK in 2ms (Views: 0.2ms)
30420
+ --------------------------------------------
30421
+ Cogy::JsonResponseTest: test_custom_template
30422
+ --------------------------------------------
30423
+ Started POST "/cogy/cmd/custom_template/hyu" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30424
+ Processing by Cogy::CogyController#command as HTML
30425
+ Parameters: {"cmd"=>"custom_template", "user"=>"hyu"}
30426
+ Rendered text template (0.0ms)
30427
+ Completed 200 OK in 0ms (Views: 0.2ms)
30428
+ -------------------------------------------------------------
30429
+ Cogy::JsonResponseTest: test_json_output_and_default_template
30430
+ -------------------------------------------------------------
30431
+ Started POST "/cogy/cmd/simple_json/george" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30432
+ Processing by Cogy::CogyController#command as HTML
30433
+ Parameters: {"cmd"=>"simple_json", "user"=>"george"}
30434
+ Rendered text template (0.0ms)
30435
+ Completed 200 OK in 0ms (Views: 0.2ms)
30436
+ -------------------------------------
30437
+ Cogy::CommandTest: test_args_ordering
30438
+ -------------------------------------
30439
+ Started POST "/cogy/cmd/args_order/george" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30440
+ Processing by Cogy::CogyController#command as HTML
30441
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "cmd"=>"args_order", "user"=>"george"}
30442
+ Rendered text template (0.0ms)
30443
+ Completed 200 OK in 0ms (Views: 0.2ms)
30444
+ --------------------------------
30445
+ Cogy::CommandTest: test_cogy_env
30446
+ --------------------------------
30447
+ Started POST "/cogy/cmd/print_env/george" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30448
+ Processing by Cogy::CogyController#command as HTML
30449
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "cmd"=>"print_env", "user"=>"george"}
30450
+ Rendered text template (0.0ms)
30451
+ Completed 200 OK in 0ms (Views: 0.2ms)
30452
+ -----------------------------------------
30453
+ Cogy::CommandTest: test_command_not_found
30454
+ -----------------------------------------
30455
+ Started POST "/cogy/cmd/idontexist/foo" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30456
+ Processing by Cogy::CogyController#command as HTML
30457
+ Parameters: {"cmd"=>"idontexist", "user"=>"foo"}
30458
+ Rendered text template (0.0ms)
30459
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
30460
+ -----------------------------------------
30461
+ Cogy::CommandTest: test_rails_url_helpers
30462
+ -----------------------------------------
30463
+ Started POST "/cogy/cmd/rails_url_helpers/george" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30464
+ Processing by Cogy::CogyController#command as HTML
30465
+ Parameters: {"cmd"=>"rails_url_helpers", "user"=>"george"}
30466
+ Rendered text template (0.0ms)
30467
+ Completed 200 OK in 1ms (Views: 0.2ms)
30468
+ ------------------------------------------------
30469
+ Cogy::CommandTest: test_invalid_opts_declaration
30470
+ ------------------------------------------------
30471
+ ------------------------------------
30472
+ Cogy::CommandTest: test_calc_command
30473
+ ------------------------------------
30474
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30475
+ Processing by Cogy::CogyController#command as HTML
30476
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"calc", "user"=>"george"}
30477
+ Rendered text template (0.0ms)
30478
+ Completed 200 OK in 0ms (Views: 0.2ms)
30479
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30480
+ Processing by Cogy::CogyController#command as HTML
30481
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "cmd"=>"calc", "user"=>"george"}
30482
+ Rendered text template (0.0ms)
30483
+ Completed 200 OK in 0ms (Views: 0.2ms)
30484
+ -------------------------------------------
30485
+ Cogy::CommandTest: test_error_response_code
30486
+ -------------------------------------------
30487
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:24:59 +0200
30488
+ Processing by Cogy::CogyController#command as HTML
30489
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30490
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
30491
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
30492
+ --------------------------------------------
30493
+ Cogy::JsonResponseTest: test_custom_template
30494
+ --------------------------------------------
30495
+ Started POST "/cogy/cmd/custom_template/hyu" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30496
+ Processing by Cogy::CogyController#command as HTML
30497
+ Parameters: {"cmd"=>"custom_template", "user"=>"hyu"}
30498
+ Rendered text template (0.0ms)
30499
+ Completed 200 OK in 5ms (Views: 4.6ms)
30500
+ -------------------------------------------------------------
30501
+ Cogy::JsonResponseTest: test_json_output_and_default_template
30502
+ -------------------------------------------------------------
30503
+ Started POST "/cogy/cmd/simple_json/george" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30504
+ Processing by Cogy::CogyController#command as HTML
30505
+ Parameters: {"cmd"=>"simple_json", "user"=>"george"}
30506
+ Rendered text template (0.0ms)
30507
+ Completed 200 OK in 0ms (Views: 0.2ms)
30508
+ ----------------------------------
30509
+ Cogy::InventoryTest: test_template
30510
+ ----------------------------------
30511
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30512
+ Processing by Cogy::CogyController#inventory as HTML
30513
+ Rendered text template (0.0ms)
30514
+ Completed 200 OK in 18ms (Views: 0.3ms)
30515
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30516
+ Processing by Cogy::CogyController#inventory as HTML
30517
+ Rendered text template (0.0ms)
30518
+ Completed 200 OK in 2ms (Views: 0.2ms)
30519
+ ------------------------------------
30520
+ Cogy::InventoryTest: test_valid_yaml
30521
+ ------------------------------------
30522
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30523
+ Processing by Cogy::CogyController#inventory as HTML
30524
+ Rendered text template (0.0ms)
30525
+ Completed 200 OK in 2ms (Views: 0.2ms)
30526
+ -----------------------------------------------
30527
+ Cogy::InventoryTest: test_bundle_version_lambda
30528
+ -----------------------------------------------
30529
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30530
+ Processing by Cogy::CogyController#inventory as HTML
30531
+ Rendered text template (0.0ms)
30532
+ Completed 200 OK in 2ms (Views: 0.2ms)
30533
+ --------------------------------------
30534
+ Cogy::InventoryTest: test_content_type
30535
+ --------------------------------------
30536
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30537
+ Processing by Cogy::CogyController#inventory as HTML
30538
+ Rendered text template (0.0ms)
30539
+ Completed 200 OK in 2ms (Views: 0.2ms)
30540
+ ------------------------------------------
30541
+ Cogy::InventoryTest: test_commands_section
30542
+ ------------------------------------------
30543
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30544
+ Processing by Cogy::CogyController#inventory as HTML
30545
+ Rendered text template (0.0ms)
30546
+ Completed 200 OK in 2ms (Views: 0.2ms)
30547
+ --------------------------------------------
30548
+ Cogy::InventoryTest: test_cog_bundle_version
30549
+ --------------------------------------------
30550
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30551
+ Processing by Cogy::CogyController#inventory as HTML
30552
+ Rendered text template (0.0ms)
30553
+ Completed 200 OK in 3ms (Views: 0.3ms)
30554
+ ------------------------------------------
30555
+ Cogy::InventoryTest: test_without_commands
30556
+ ------------------------------------------
30557
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30558
+ Processing by Cogy::CogyController#inventory as HTML
30559
+ Rendered text template (0.0ms)
30560
+ Completed 200 OK in 1ms (Views: 0.2ms)
30561
+ ----------------------------------------------------
30562
+ Cogy::HelpersTest: test_custom_helper_with_arguments
30563
+ ----------------------------------------------------
30564
+ Started POST "/cogy/cmd/titleize/george" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30565
+ Processing by Cogy::CogyController#command as HTML
30566
+ Parameters: {"cmd"=>"titleize", "user"=>"george"}
30567
+ Rendered text template (0.0ms)
30568
+ Completed 200 OK in 0ms (Views: 0.2ms)
30569
+ -----------------------------------------------------------------
30570
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
30571
+ -----------------------------------------------------------------
30572
+ Started POST "/cogy/cmd/foohelper/george" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30573
+ Processing by Cogy::CogyController#command as HTML
30574
+ Parameters: {"cogy_foo"=>"bar", "cmd"=>"foohelper", "user"=>"george"}
30575
+ Rendered text template (0.0ms)
30576
+ Completed 200 OK in 0ms (Views: 0.2ms)
30577
+ --------------------------------------------------------
30578
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
30579
+ --------------------------------------------------------
30580
+ Started POST "/cogy/cmd/empty_args/george" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30581
+ Processing by Cogy::CogyController#command as HTML
30582
+ Parameters: {"cmd"=>"empty_args", "user"=>"george"}
30583
+ Rendered text template (0.0ms)
30584
+ Completed 200 OK in 0ms (Views: 0.2ms)
30585
+ -----------------------------------------------------------------------
30586
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
30587
+ -----------------------------------------------------------------------
30588
+ Started POST "/cogy/cmd/args_overrides/george" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30589
+ Processing by Cogy::CogyController#command as HTML
30590
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "cmd"=>"args_overrides", "user"=>"george"}
30591
+ Rendered text template (0.0ms)
30592
+ Completed 200 OK in 0ms (Views: 0.2ms)
30593
+ -----------------------------------
30594
+ Cogy::BuiltinHelpersTest: test_args
30595
+ -----------------------------------
30596
+ Started POST "/cogy/cmd/add/george" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30597
+ Processing by Cogy::CogyController#command as HTML
30598
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"add", "user"=>"george"}
30599
+ Rendered text template (0.0ms)
30600
+ Completed 200 OK in 0ms (Views: 0.2ms)
30601
+ -------------------------------------
30602
+ Cogy::CommandTest: test_args_ordering
30603
+ -------------------------------------
30604
+ Started POST "/cogy/cmd/args_order/george" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30605
+ Processing by Cogy::CogyController#command as HTML
30606
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "cmd"=>"args_order", "user"=>"george"}
30607
+ Rendered text template (0.0ms)
30608
+ Completed 200 OK in 0ms (Views: 0.2ms)
30609
+ --------------------------------
30610
+ Cogy::CommandTest: test_cogy_env
30611
+ --------------------------------
30612
+ Started POST "/cogy/cmd/print_env/george" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30613
+ Processing by Cogy::CogyController#command as HTML
30614
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "cmd"=>"print_env", "user"=>"george"}
30615
+ Rendered text template (0.0ms)
30616
+ Completed 200 OK in 0ms (Views: 0.2ms)
30617
+ -------------------------------------------
30618
+ Cogy::CommandTest: test_error_response_code
30619
+ -------------------------------------------
30620
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30621
+ Processing by Cogy::CogyController#command as HTML
30622
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30623
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.0ms)
30624
+ Completed 500 Internal Server Error in 3ms (Views: 2.7ms)
30625
+ -----------------------------------------
30626
+ Cogy::CommandTest: test_command_not_found
30627
+ -----------------------------------------
30628
+ Started POST "/cogy/cmd/idontexist/foo" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30629
+ Processing by Cogy::CogyController#command as HTML
30630
+ Parameters: {"cmd"=>"idontexist", "user"=>"foo"}
30631
+ Rendered text template (0.0ms)
30632
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
30633
+ ------------------------------------
30634
+ Cogy::CommandTest: test_calc_command
30635
+ ------------------------------------
30636
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30637
+ Processing by Cogy::CogyController#command as HTML
30638
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"calc", "user"=>"george"}
30639
+ Rendered text template (0.0ms)
30640
+ Completed 200 OK in 0ms (Views: 0.2ms)
30641
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30642
+ Processing by Cogy::CogyController#command as HTML
30643
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "cmd"=>"calc", "user"=>"george"}
30644
+ Rendered text template (0.0ms)
30645
+ Completed 200 OK in 0ms (Views: 0.2ms)
30646
+ ------------------------------------------------
30647
+ Cogy::CommandTest: test_invalid_opts_declaration
30648
+ ------------------------------------------------
30649
+ -----------------------------------------
30650
+ Cogy::CommandTest: test_rails_url_helpers
30651
+ -----------------------------------------
30652
+ Started POST "/cogy/cmd/rails_url_helpers/george" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30653
+ Processing by Cogy::CogyController#command as HTML
30654
+ Parameters: {"cmd"=>"rails_url_helpers", "user"=>"george"}
30655
+ Rendered text template (0.0ms)
30656
+ Completed 200 OK in 1ms (Views: 0.3ms)
30657
+ ------------------------------------------------
30658
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
30659
+ ------------------------------------------------
30660
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30661
+ Processing by Cogy::CogyController#command as HTML
30662
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30663
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
30664
+ Completed 500 Internal Server Error in 1ms (Views: 0.5ms)
30665
+ ----------------------------------------------------
30666
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
30667
+ ----------------------------------------------------
30668
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:25:20 +0200
30669
+ Processing by Cogy::CogyController#command as HTML
30670
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30671
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.2ms)
30672
+ Completed 500 Internal Server Error in 1ms (Views: 0.8ms)
30673
+ --------------------------------------------
30674
+ Cogy::JsonResponseTest: test_custom_template
30675
+ --------------------------------------------
30676
+ Started POST "/cogy/cmd/custom_template/hyu" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30677
+ Processing by Cogy::CogyController#command as HTML
30678
+ Parameters: {"cmd"=>"custom_template", "user"=>"hyu"}
30679
+ Rendered text template (0.0ms)
30680
+ Completed 200 OK in 5ms (Views: 4.7ms)
30681
+ -------------------------------------------------------------
30682
+ Cogy::JsonResponseTest: test_json_output_and_default_template
30683
+ -------------------------------------------------------------
30684
+ Started POST "/cogy/cmd/simple_json/george" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30685
+ Processing by Cogy::CogyController#command as HTML
30686
+ Parameters: {"cmd"=>"simple_json", "user"=>"george"}
30687
+ Rendered text template (0.0ms)
30688
+ Completed 200 OK in 0ms (Views: 0.2ms)
30689
+ --------------------------------------------------------
30690
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
30691
+ --------------------------------------------------------
30692
+ Started POST "/cogy/cmd/empty_args/george" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30693
+ Processing by Cogy::CogyController#command as HTML
30694
+ Parameters: {"cmd"=>"empty_args", "user"=>"george"}
30695
+ Rendered text template (0.0ms)
30696
+ Completed 200 OK in 0ms (Views: 0.2ms)
30697
+ -----------------------------------------------------------------------
30698
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
30699
+ -----------------------------------------------------------------------
30700
+ Started POST "/cogy/cmd/args_overrides/george" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30701
+ Processing by Cogy::CogyController#command as HTML
30702
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "cmd"=>"args_overrides", "user"=>"george"}
30703
+ Rendered text template (0.0ms)
30704
+ Completed 200 OK in 0ms (Views: 0.2ms)
30705
+ -----------------------------------
30706
+ Cogy::BuiltinHelpersTest: test_args
30707
+ -----------------------------------
30708
+ Started POST "/cogy/cmd/add/george" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30709
+ Processing by Cogy::CogyController#command as HTML
30710
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"add", "user"=>"george"}
30711
+ Rendered text template (0.0ms)
30712
+ Completed 200 OK in 0ms (Views: 0.2ms)
30713
+ ----------------------------------------------------
30714
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
30715
+ ----------------------------------------------------
30716
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30717
+ Processing by Cogy::CogyController#command as HTML
30718
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30719
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.1ms)
30720
+ Completed 500 Internal Server Error in 3ms (Views: 2.8ms)
30721
+ ------------------------------------------------
30722
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
30723
+ ------------------------------------------------
30724
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30725
+ Processing by Cogy::CogyController#command as HTML
30726
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30727
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
30728
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
30729
+ ----------------------------------------------------
30730
+ Cogy::HelpersTest: test_custom_helper_with_arguments
30731
+ ----------------------------------------------------
30732
+ Started POST "/cogy/cmd/titleize/george" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30733
+ Processing by Cogy::CogyController#command as HTML
30734
+ Parameters: {"cmd"=>"titleize", "user"=>"george"}
30735
+ Rendered text template (0.0ms)
30736
+ Completed 200 OK in 0ms (Views: 0.2ms)
30737
+ -----------------------------------------------------------------
30738
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
30739
+ -----------------------------------------------------------------
30740
+ Started POST "/cogy/cmd/foohelper/george" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30741
+ Processing by Cogy::CogyController#command as HTML
30742
+ Parameters: {"cogy_foo"=>"bar", "cmd"=>"foohelper", "user"=>"george"}
30743
+ Rendered text template (0.0ms)
30744
+ Completed 200 OK in 0ms (Views: 0.2ms)
30745
+ -----------------------------------------------
30746
+ Cogy::InventoryTest: test_bundle_version_lambda
30747
+ -----------------------------------------------
30748
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30749
+ Processing by Cogy::CogyController#inventory as HTML
30750
+ Rendered text template (0.0ms)
30751
+ Completed 200 OK in 3ms (Views: 0.2ms)
30752
+ ----------------------------------
30753
+ Cogy::InventoryTest: test_template
30754
+ ----------------------------------
30755
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30756
+ Processing by Cogy::CogyController#inventory as HTML
30757
+ Rendered text template (0.0ms)
30758
+ Completed 200 OK in 3ms (Views: 0.2ms)
30759
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30760
+ Processing by Cogy::CogyController#inventory as HTML
30761
+ Rendered text template (0.0ms)
30762
+ Completed 200 OK in 2ms (Views: 0.2ms)
30763
+ --------------------------------------------
30764
+ Cogy::InventoryTest: test_cog_bundle_version
30765
+ --------------------------------------------
30766
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30767
+ Processing by Cogy::CogyController#inventory as HTML
30768
+ Rendered text template (0.0ms)
30769
+ Completed 200 OK in 2ms (Views: 0.2ms)
30770
+ ------------------------------------
30771
+ Cogy::InventoryTest: test_valid_yaml
30772
+ ------------------------------------
30773
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30774
+ Processing by Cogy::CogyController#inventory as HTML
30775
+ Rendered text template (0.0ms)
30776
+ Completed 200 OK in 3ms (Views: 0.3ms)
30777
+ ------------------------------------------
30778
+ Cogy::InventoryTest: test_commands_section
30779
+ ------------------------------------------
30780
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30781
+ Processing by Cogy::CogyController#inventory as HTML
30782
+ Rendered text template (0.0ms)
30783
+ Completed 200 OK in 3ms (Views: 0.3ms)
30784
+ --------------------------------------
30785
+ Cogy::InventoryTest: test_content_type
30786
+ --------------------------------------
30787
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30788
+ Processing by Cogy::CogyController#inventory as HTML
30789
+ Rendered text template (0.0ms)
30790
+ Completed 200 OK in 2ms (Views: 0.2ms)
30791
+ ------------------------------------------
30792
+ Cogy::InventoryTest: test_without_commands
30793
+ ------------------------------------------
30794
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30795
+ Processing by Cogy::CogyController#inventory as HTML
30796
+ Rendered text template (0.0ms)
30797
+ Completed 200 OK in 1ms (Views: 0.2ms)
30798
+ -------------------------------------
30799
+ Cogy::CommandTest: test_args_ordering
30800
+ -------------------------------------
30801
+ Started POST "/cogy/cmd/args_order/george" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30802
+ Processing by Cogy::CogyController#command as HTML
30803
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "cmd"=>"args_order", "user"=>"george"}
30804
+ Rendered text template (0.0ms)
30805
+ Completed 200 OK in 0ms (Views: 0.2ms)
30806
+ --------------------------------------
30807
+ Cogy::CommandTest: test_opts_downcased
30808
+ --------------------------------------
30809
+ Started POST "/cogy/cmd/test_opts_downcased/george" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30810
+ Processing by Cogy::CogyController#command as HTML
30811
+ Parameters: {"COG_OPT_A"=>"foo", "cmd"=>"test_opts_downcased", "user"=>"george"}
30812
+ Rendered text template (0.0ms)
30813
+ Completed 200 OK in 0ms (Views: 0.2ms)
30814
+ -----------------------------------------
30815
+ Cogy::CommandTest: test_rails_url_helpers
30816
+ -----------------------------------------
30817
+ Started POST "/cogy/cmd/rails_url_helpers/george" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30818
+ Processing by Cogy::CogyController#command as HTML
30819
+ Parameters: {"cmd"=>"rails_url_helpers", "user"=>"george"}
30820
+ Rendered text template (0.0ms)
30821
+ Completed 200 OK in 1ms (Views: 0.3ms)
30822
+ -----------------------------------------
30823
+ Cogy::CommandTest: test_command_not_found
30824
+ -----------------------------------------
30825
+ Started POST "/cogy/cmd/idontexist/foo" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30826
+ Processing by Cogy::CogyController#command as HTML
30827
+ Parameters: {"cmd"=>"idontexist", "user"=>"foo"}
30828
+ Rendered text template (0.0ms)
30829
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
30830
+ ------------------------------------
30831
+ Cogy::CommandTest: test_calc_command
30832
+ ------------------------------------
30833
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30834
+ Processing by Cogy::CogyController#command as HTML
30835
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"calc", "user"=>"george"}
30836
+ Rendered text template (0.0ms)
30837
+ Completed 200 OK in 0ms (Views: 0.2ms)
30838
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30839
+ Processing by Cogy::CogyController#command as HTML
30840
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "cmd"=>"calc", "user"=>"george"}
30841
+ Rendered text template (0.0ms)
30842
+ Completed 200 OK in 0ms (Views: 0.2ms)
30843
+ --------------------------------
30844
+ Cogy::CommandTest: test_cogy_env
30845
+ --------------------------------
30846
+ Started POST "/cogy/cmd/print_env/george" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30847
+ Processing by Cogy::CogyController#command as HTML
30848
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "cmd"=>"print_env", "user"=>"george"}
30849
+ Rendered text template (0.0ms)
30850
+ Completed 200 OK in 0ms (Views: 0.2ms)
30851
+ ------------------------------------------------
30852
+ Cogy::CommandTest: test_invalid_opts_declaration
30853
+ ------------------------------------------------
30854
+ -------------------------------------------
30855
+ Cogy::CommandTest: test_error_response_code
30856
+ -------------------------------------------
30857
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:27:26 +0200
30858
+ Processing by Cogy::CogyController#command as HTML
30859
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30860
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
30861
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
30862
+ ----------------------------------------------------
30863
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
30864
+ ----------------------------------------------------
30865
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
30866
+ Processing by Cogy::CogyController#command as HTML
30867
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30868
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.0ms)
30869
+ Completed 500 Internal Server Error in 7ms (Views: 6.4ms)
30870
+ ------------------------------------------------
30871
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
30872
+ ------------------------------------------------
30873
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
30874
+ Processing by Cogy::CogyController#command as HTML
30875
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30876
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.0ms)
30877
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
30878
+ -----------------------------------------
30879
+ Cogy::CommandTest: test_rails_url_helpers
30880
+ -----------------------------------------
30881
+ Started POST "/cogy/cmd/rails_url_helpers/george" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
30882
+ Processing by Cogy::CogyController#command as HTML
30883
+ Parameters: {"cmd"=>"rails_url_helpers", "user"=>"george"}
30884
+ Rendered text template (0.0ms)
30885
+ Completed 200 OK in 1ms (Views: 1.0ms)
30886
+ -------------------------------------------------------------
30887
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
30888
+ -------------------------------------------------------------
30889
+ Started POST "/cogy/cmd/test_opts_downcased/george" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
30890
+ Processing by Cogy::CogyController#command as HTML
30891
+ Parameters: {"COG_OPT_A"=>"foo", "cmd"=>"test_opts_downcased", "user"=>"george"}
30892
+ Rendered text template (0.0ms)
30893
+ Completed 200 OK in 0ms (Views: 0.2ms)
30894
+ -------------------------------------------
30895
+ Cogy::CommandTest: test_error_response_code
30896
+ -------------------------------------------
30897
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
30898
+ Processing by Cogy::CogyController#command as HTML
30899
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
30900
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
30901
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
30902
+ -------------------------------------
30903
+ Cogy::CommandTest: test_args_ordering
30904
+ -------------------------------------
30905
+ Started POST "/cogy/cmd/args_order/george" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
30906
+ Processing by Cogy::CogyController#command as HTML
30907
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "cmd"=>"args_order", "user"=>"george"}
30908
+ Rendered text template (0.0ms)
30909
+ Completed 200 OK in 0ms (Views: 0.2ms)
30910
+ ------------------------------------------------
30911
+ Cogy::CommandTest: test_invalid_opts_declaration
30912
+ ------------------------------------------------
30913
+ --------------------------------
30914
+ Cogy::CommandTest: test_cogy_env
30915
+ --------------------------------
30916
+ Started POST "/cogy/cmd/print_env/george" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
30917
+ Processing by Cogy::CogyController#command as HTML
30918
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "cmd"=>"print_env", "user"=>"george"}
30919
+ Rendered text template (0.0ms)
30920
+ Completed 200 OK in 0ms (Views: 0.2ms)
30921
+ ------------------------------------
30922
+ Cogy::CommandTest: test_calc_command
30923
+ ------------------------------------
30924
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
30925
+ Processing by Cogy::CogyController#command as HTML
30926
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"calc", "user"=>"george"}
30927
+ Rendered text template (0.0ms)
30928
+ Completed 200 OK in 0ms (Views: 0.2ms)
30929
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
30930
+ Processing by Cogy::CogyController#command as HTML
30931
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "cmd"=>"calc", "user"=>"george"}
30932
+ Rendered text template (0.0ms)
30933
+ Completed 200 OK in 0ms (Views: 0.1ms)
30934
+ -----------------------------------------
30935
+ Cogy::CommandTest: test_command_not_found
30936
+ -----------------------------------------
30937
+ Started POST "/cogy/cmd/idontexist/foo" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
30938
+ Processing by Cogy::CogyController#command as HTML
30939
+ Parameters: {"cmd"=>"idontexist", "user"=>"foo"}
30940
+ Rendered text template (0.0ms)
30941
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
30942
+ --------------------------------------------------------
30943
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
30944
+ --------------------------------------------------------
30945
+ Started POST "/cogy/cmd/empty_args/george" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
30946
+ Processing by Cogy::CogyController#command as HTML
30947
+ Parameters: {"cmd"=>"empty_args", "user"=>"george"}
30948
+ Rendered text template (0.0ms)
30949
+ Completed 200 OK in 0ms (Views: 0.2ms)
30950
+ -----------------------------------------------------------------------
30951
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
30952
+ -----------------------------------------------------------------------
30953
+ Started POST "/cogy/cmd/args_overrides/george" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
30954
+ Processing by Cogy::CogyController#command as HTML
30955
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "cmd"=>"args_overrides", "user"=>"george"}
30956
+ Rendered text template (0.0ms)
30957
+ Completed 200 OK in 0ms (Views: 0.2ms)
30958
+ -----------------------------------
30959
+ Cogy::BuiltinHelpersTest: test_args
30960
+ -----------------------------------
30961
+ Started POST "/cogy/cmd/add/george" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
30962
+ Processing by Cogy::CogyController#command as HTML
30963
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"add", "user"=>"george"}
30964
+ Rendered text template (0.0ms)
30965
+ Completed 200 OK in 0ms (Views: 0.2ms)
30966
+ ----------------------------------------------------
30967
+ Cogy::HelpersTest: test_custom_helper_with_arguments
30968
+ ----------------------------------------------------
30969
+ Started POST "/cogy/cmd/titleize/george" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
30970
+ Processing by Cogy::CogyController#command as HTML
30971
+ Parameters: {"cmd"=>"titleize", "user"=>"george"}
30972
+ Rendered text template (0.0ms)
30973
+ Completed 200 OK in 0ms (Views: 0.2ms)
30974
+ -----------------------------------------------------------------
30975
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
30976
+ -----------------------------------------------------------------
30977
+ Started POST "/cogy/cmd/foohelper/george" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
30978
+ Processing by Cogy::CogyController#command as HTML
30979
+ Parameters: {"cogy_foo"=>"bar", "cmd"=>"foohelper", "user"=>"george"}
30980
+ Rendered text template (0.0ms)
30981
+ Completed 200 OK in 0ms (Views: 0.2ms)
30982
+ ------------------------------------------
30983
+ Cogy::InventoryTest: test_commands_section
30984
+ ------------------------------------------
30985
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
30986
+ Processing by Cogy::CogyController#inventory as HTML
30987
+ Rendered text template (0.0ms)
30988
+ Completed 200 OK in 6ms (Views: 0.3ms)
30989
+ --------------------------------------------
30990
+ Cogy::InventoryTest: test_cog_bundle_version
30991
+ --------------------------------------------
30992
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
30993
+ Processing by Cogy::CogyController#inventory as HTML
30994
+ Rendered text template (0.0ms)
30995
+ Completed 200 OK in 2ms (Views: 0.2ms)
30996
+ -----------------------------------------------
30997
+ Cogy::InventoryTest: test_bundle_version_lambda
30998
+ -----------------------------------------------
30999
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:28:36 +0200
31000
+ Processing by Cogy::CogyController#inventory as HTML
31001
+ Rendered text template (0.0ms)
31002
+ Completed 200 OK in 2ms (Views: 0.2ms)
31003
+ ------------------------------------------
31004
+ Cogy::InventoryTest: test_without_commands
31005
+ ------------------------------------------
31006
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:28:37 +0200
31007
+ Processing by Cogy::CogyController#inventory as HTML
31008
+ Rendered text template (0.0ms)
31009
+ Completed 200 OK in 1ms (Views: 0.2ms)
31010
+ --------------------------------------
31011
+ Cogy::InventoryTest: test_content_type
31012
+ --------------------------------------
31013
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:28:37 +0200
31014
+ Processing by Cogy::CogyController#inventory as HTML
31015
+ Rendered text template (0.0ms)
31016
+ Completed 200 OK in 2ms (Views: 0.2ms)
31017
+ ------------------------------------
31018
+ Cogy::InventoryTest: test_valid_yaml
31019
+ ------------------------------------
31020
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:28:37 +0200
31021
+ Processing by Cogy::CogyController#inventory as HTML
31022
+ Rendered text template (0.0ms)
31023
+ Completed 200 OK in 2ms (Views: 0.2ms)
31024
+ ----------------------------------
31025
+ Cogy::InventoryTest: test_template
31026
+ ----------------------------------
31027
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:28:37 +0200
31028
+ Processing by Cogy::CogyController#inventory as HTML
31029
+ Rendered text template (0.0ms)
31030
+ Completed 200 OK in 2ms (Views: 0.2ms)
31031
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:28:37 +0200
31032
+ Processing by Cogy::CogyController#inventory as HTML
31033
+ Rendered text template (0.0ms)
31034
+ Completed 200 OK in 2ms (Views: 0.2ms)
31035
+ --------------------------------------------
31036
+ Cogy::JsonResponseTest: test_custom_template
31037
+ --------------------------------------------
31038
+ Started POST "/cogy/cmd/custom_template/hyu" for 127.0.0.1 at 2016-11-29 14:28:37 +0200
31039
+ Processing by Cogy::CogyController#command as HTML
31040
+ Parameters: {"cmd"=>"custom_template", "user"=>"hyu"}
31041
+ Rendered text template (0.0ms)
31042
+ Completed 200 OK in 0ms (Views: 0.2ms)
31043
+ -------------------------------------------------------------
31044
+ Cogy::JsonResponseTest: test_json_output_and_default_template
31045
+ -------------------------------------------------------------
31046
+ Started POST "/cogy/cmd/simple_json/george" for 127.0.0.1 at 2016-11-29 14:28:37 +0200
31047
+ Processing by Cogy::CogyController#command as HTML
31048
+ Parameters: {"cmd"=>"simple_json", "user"=>"george"}
31049
+ Rendered text template (0.0ms)
31050
+ Completed 200 OK in 0ms (Views: 0.2ms)
31051
+ ----------------------------------------------------
31052
+ Cogy::HelpersTest: test_custom_helper_with_arguments
31053
+ ----------------------------------------------------
31054
+ Started POST "/cogy/cmd/titleize/george" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31055
+ Processing by Cogy::CogyController#command as HTML
31056
+ Parameters: {"cmd"=>"titleize", "user"=>"george"}
31057
+ Rendered text template (0.0ms)
31058
+ Completed 200 OK in 7ms (Views: 6.5ms)
31059
+ -----------------------------------------------------------------
31060
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
31061
+ -----------------------------------------------------------------
31062
+ Started POST "/cogy/cmd/foohelper/george" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31063
+ Processing by Cogy::CogyController#command as HTML
31064
+ Parameters: {"cog_foo"=>"bar", "cmd"=>"foohelper", "user"=>"george"}
31065
+ Rendered text template (0.0ms)
31066
+ Completed 200 OK in 0ms (Views: 0.2ms)
31067
+ ------------------------------------------------
31068
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
31069
+ ------------------------------------------------
31070
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31071
+ Processing by Cogy::CogyController#command as HTML
31072
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
31073
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.1ms)
31074
+ Completed 500 Internal Server Error in 19ms (Views: 19.0ms)
31075
+ ----------------------------------------------------
31076
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
31077
+ ----------------------------------------------------
31078
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31079
+ Processing by Cogy::CogyController#command as HTML
31080
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
31081
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
31082
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
31083
+ --------------------------------------------------------
31084
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
31085
+ --------------------------------------------------------
31086
+ Started POST "/cogy/cmd/empty_args/george" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31087
+ Processing by Cogy::CogyController#command as HTML
31088
+ Parameters: {"cmd"=>"empty_args", "user"=>"george"}
31089
+ Rendered text template (0.0ms)
31090
+ Completed 200 OK in 0ms (Views: 0.2ms)
31091
+ -----------------------------------------------------------------------
31092
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
31093
+ -----------------------------------------------------------------------
31094
+ Started POST "/cogy/cmd/args_overrides/george" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31095
+ Processing by Cogy::CogyController#command as HTML
31096
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "cmd"=>"args_overrides", "user"=>"george"}
31097
+ Rendered text template (0.0ms)
31098
+ Completed 200 OK in 0ms (Views: 0.2ms)
31099
+ -----------------------------------
31100
+ Cogy::BuiltinHelpersTest: test_args
31101
+ -----------------------------------
31102
+ Started POST "/cogy/cmd/add/george" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31103
+ Processing by Cogy::CogyController#command as HTML
31104
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"add", "user"=>"george"}
31105
+ Rendered text template (0.0ms)
31106
+ Completed 200 OK in 0ms (Views: 0.2ms)
31107
+ --------------------------------------
31108
+ Cogy::InventoryTest: test_content_type
31109
+ --------------------------------------
31110
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31111
+ Processing by Cogy::CogyController#inventory as HTML
31112
+ Rendered text template (0.0ms)
31113
+ Completed 200 OK in 3ms (Views: 0.2ms)
31114
+ ------------------------------------------
31115
+ Cogy::InventoryTest: test_without_commands
31116
+ ------------------------------------------
31117
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31118
+ Processing by Cogy::CogyController#inventory as HTML
31119
+ Rendered text template (0.0ms)
31120
+ Completed 200 OK in 1ms (Views: 0.2ms)
31121
+ ------------------------------------------
31122
+ Cogy::InventoryTest: test_commands_section
31123
+ ------------------------------------------
31124
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31125
+ Processing by Cogy::CogyController#inventory as HTML
31126
+ Rendered text template (0.0ms)
31127
+ Completed 200 OK in 2ms (Views: 0.2ms)
31128
+ ------------------------------------
31129
+ Cogy::InventoryTest: test_valid_yaml
31130
+ ------------------------------------
31131
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31132
+ Processing by Cogy::CogyController#inventory as HTML
31133
+ Rendered text template (0.0ms)
31134
+ Completed 200 OK in 2ms (Views: 0.2ms)
31135
+ --------------------------------------------
31136
+ Cogy::InventoryTest: test_cog_bundle_version
31137
+ --------------------------------------------
31138
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31139
+ Processing by Cogy::CogyController#inventory as HTML
31140
+ Rendered text template (0.0ms)
31141
+ Completed 200 OK in 2ms (Views: 0.2ms)
31142
+ ----------------------------------
31143
+ Cogy::InventoryTest: test_template
31144
+ ----------------------------------
31145
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31146
+ Processing by Cogy::CogyController#inventory as HTML
31147
+ Rendered text template (0.0ms)
31148
+ Completed 200 OK in 3ms (Views: 0.3ms)
31149
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31150
+ Processing by Cogy::CogyController#inventory as HTML
31151
+ Rendered text template (0.0ms)
31152
+ Completed 200 OK in 2ms (Views: 0.3ms)
31153
+ -----------------------------------------------
31154
+ Cogy::InventoryTest: test_bundle_version_lambda
31155
+ -----------------------------------------------
31156
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31157
+ Processing by Cogy::CogyController#inventory as HTML
31158
+ Rendered text template (0.0ms)
31159
+ Completed 200 OK in 2ms (Views: 0.2ms)
31160
+ --------------------------------
31161
+ Cogy::CommandTest: test_cogy_env
31162
+ --------------------------------
31163
+ Started POST "/cogy/cmd/print_env/george" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31164
+ Processing by Cogy::CogyController#command as HTML
31165
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "cmd"=>"print_env", "user"=>"george"}
31166
+ Rendered text template (0.0ms)
31167
+ Completed 200 OK in 0ms (Views: 0.2ms)
31168
+ ------------------------------------
31169
+ Cogy::CommandTest: test_calc_command
31170
+ ------------------------------------
31171
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31172
+ Processing by Cogy::CogyController#command as HTML
31173
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"calc", "user"=>"george"}
31174
+ Rendered text template (0.0ms)
31175
+ Completed 200 OK in 0ms (Views: 0.2ms)
31176
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31177
+ Processing by Cogy::CogyController#command as HTML
31178
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "cmd"=>"calc", "user"=>"george"}
31179
+ Rendered text template (0.0ms)
31180
+ Completed 200 OK in 0ms (Views: 0.1ms)
31181
+ -----------------------------------------
31182
+ Cogy::CommandTest: test_command_not_found
31183
+ -----------------------------------------
31184
+ Started POST "/cogy/cmd/idontexist/foo" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31185
+ Processing by Cogy::CogyController#command as HTML
31186
+ Parameters: {"cmd"=>"idontexist", "user"=>"foo"}
31187
+ Rendered text template (0.0ms)
31188
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
31189
+ -------------------------------------------
31190
+ Cogy::CommandTest: test_error_response_code
31191
+ -------------------------------------------
31192
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31193
+ Processing by Cogy::CogyController#command as HTML
31194
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
31195
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
31196
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
31197
+ -------------------------------------------------------------
31198
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
31199
+ -------------------------------------------------------------
31200
+ Started POST "/cogy/cmd/test_opts_downcased/george" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31201
+ Processing by Cogy::CogyController#command as HTML
31202
+ Parameters: {"COG_OPT_A"=>"foo", "cmd"=>"test_opts_downcased", "user"=>"george"}
31203
+ Rendered text template (0.0ms)
31204
+ Completed 200 OK in 0ms (Views: 0.2ms)
31205
+ ------------------------------------------------
31206
+ Cogy::CommandTest: test_invalid_opts_declaration
31207
+ ------------------------------------------------
31208
+ -------------------------------------
31209
+ Cogy::CommandTest: test_args_ordering
31210
+ -------------------------------------
31211
+ Started POST "/cogy/cmd/args_order/george" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31212
+ Processing by Cogy::CogyController#command as HTML
31213
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "cmd"=>"args_order", "user"=>"george"}
31214
+ Rendered text template (0.0ms)
31215
+ Completed 200 OK in 0ms (Views: 0.2ms)
31216
+ -----------------------------------------
31217
+ Cogy::CommandTest: test_rails_url_helpers
31218
+ -----------------------------------------
31219
+ Started POST "/cogy/cmd/rails_url_helpers/george" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31220
+ Processing by Cogy::CogyController#command as HTML
31221
+ Parameters: {"cmd"=>"rails_url_helpers", "user"=>"george"}
31222
+ Rendered text template (0.0ms)
31223
+ Completed 200 OK in 1ms (Views: 0.3ms)
31224
+ --------------------------------------------
31225
+ Cogy::JsonResponseTest: test_custom_template
31226
+ --------------------------------------------
31227
+ Started POST "/cogy/cmd/custom_template/hyu" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31228
+ Processing by Cogy::CogyController#command as HTML
31229
+ Parameters: {"cmd"=>"custom_template", "user"=>"hyu"}
31230
+ Rendered text template (0.0ms)
31231
+ Completed 200 OK in 0ms (Views: 0.2ms)
31232
+ -------------------------------------------------------------
31233
+ Cogy::JsonResponseTest: test_json_output_and_default_template
31234
+ -------------------------------------------------------------
31235
+ Started POST "/cogy/cmd/simple_json/george" for 127.0.0.1 at 2016-11-29 14:31:48 +0200
31236
+ Processing by Cogy::CogyController#command as HTML
31237
+ Parameters: {"cmd"=>"simple_json", "user"=>"george"}
31238
+ Rendered text template (0.0ms)
31239
+ Completed 200 OK in 0ms (Views: 0.2ms)
31240
+ ----------------------------------------------------
31241
+ Cogy::HelpersTest: test_custom_helper_with_arguments
31242
+ ----------------------------------------------------
31243
+ Started POST "/cogy/cmd/titleize/george" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31244
+ Processing by Cogy::CogyController#command as HTML
31245
+ Parameters: {"cmd"=>"titleize", "user"=>"george"}
31246
+ Rendered text template (0.0ms)
31247
+ Completed 200 OK in 5ms (Views: 4.5ms)
31248
+ -----------------------------------------------------------------
31249
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
31250
+ -----------------------------------------------------------------
31251
+ Started POST "/cogy/cmd/foohelper/george" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31252
+ Processing by Cogy::CogyController#command as HTML
31253
+ Parameters: {"cog_foo"=>"bar", "cmd"=>"foohelper", "user"=>"george"}
31254
+ Rendered text template (0.0ms)
31255
+ Completed 200 OK in 0ms (Views: 0.2ms)
31256
+ -------------------------------------------------------------
31257
+ Cogy::JsonResponseTest: test_json_output_and_default_template
31258
+ -------------------------------------------------------------
31259
+ Started POST "/cogy/cmd/simple_json/george" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31260
+ Processing by Cogy::CogyController#command as HTML
31261
+ Parameters: {"cmd"=>"simple_json", "user"=>"george"}
31262
+ Rendered text template (0.0ms)
31263
+ Completed 200 OK in 0ms (Views: 0.2ms)
31264
+ --------------------------------------------
31265
+ Cogy::JsonResponseTest: test_custom_template
31266
+ --------------------------------------------
31267
+ Started POST "/cogy/cmd/custom_template/hyu" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31268
+ Processing by Cogy::CogyController#command as HTML
31269
+ Parameters: {"cmd"=>"custom_template", "user"=>"hyu"}
31270
+ Rendered text template (0.0ms)
31271
+ Completed 200 OK in 0ms (Views: 0.2ms)
31272
+ --------------------------------------------------------
31273
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
31274
+ --------------------------------------------------------
31275
+ Started POST "/cogy/cmd/empty_args/george" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31276
+ Processing by Cogy::CogyController#command as HTML
31277
+ Parameters: {"cmd"=>"empty_args", "user"=>"george"}
31278
+ Rendered text template (0.0ms)
31279
+ Completed 200 OK in 0ms (Views: 0.2ms)
31280
+ -----------------------------------------------------------------------
31281
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
31282
+ -----------------------------------------------------------------------
31283
+ Started POST "/cogy/cmd/args_overrides/george" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31284
+ Processing by Cogy::CogyController#command as HTML
31285
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "cmd"=>"args_overrides", "user"=>"george"}
31286
+ Rendered text template (0.0ms)
31287
+ Completed 200 OK in 0ms (Views: 0.2ms)
31288
+ -----------------------------------
31289
+ Cogy::BuiltinHelpersTest: test_args
31290
+ -----------------------------------
31291
+ Started POST "/cogy/cmd/add/george" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31292
+ Processing by Cogy::CogyController#command as HTML
31293
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"add", "user"=>"george"}
31294
+ Rendered text template (0.0ms)
31295
+ Completed 200 OK in 0ms (Views: 0.2ms)
31296
+ ------------------------------------
31297
+ Cogy::InventoryTest: test_valid_yaml
31298
+ ------------------------------------
31299
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31300
+ Processing by Cogy::CogyController#inventory as HTML
31301
+ Rendered text template (0.0ms)
31302
+ Completed 200 OK in 3ms (Views: 0.3ms)
31303
+ --------------------------------------------
31304
+ Cogy::InventoryTest: test_cog_bundle_version
31305
+ --------------------------------------------
31306
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31307
+ Processing by Cogy::CogyController#inventory as HTML
31308
+ Rendered text template (0.0ms)
31309
+ Completed 200 OK in 2ms (Views: 0.2ms)
31310
+ ------------------------------------------
31311
+ Cogy::InventoryTest: test_without_commands
31312
+ ------------------------------------------
31313
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31314
+ Processing by Cogy::CogyController#inventory as HTML
31315
+ Rendered text template (0.0ms)
31316
+ Completed 200 OK in 1ms (Views: 0.2ms)
31317
+ ------------------------------------------
31318
+ Cogy::InventoryTest: test_commands_section
31319
+ ------------------------------------------
31320
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31321
+ Processing by Cogy::CogyController#inventory as HTML
31322
+ Rendered text template (0.0ms)
31323
+ Completed 200 OK in 2ms (Views: 0.2ms)
31324
+ ----------------------------------
31325
+ Cogy::InventoryTest: test_template
31326
+ ----------------------------------
31327
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31328
+ Processing by Cogy::CogyController#inventory as HTML
31329
+ Rendered text template (0.0ms)
31330
+ Completed 200 OK in 2ms (Views: 0.2ms)
31331
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31332
+ Processing by Cogy::CogyController#inventory as HTML
31333
+ Rendered text template (0.0ms)
31334
+ Completed 200 OK in 2ms (Views: 0.2ms)
31335
+ -----------------------------------------------
31336
+ Cogy::InventoryTest: test_bundle_version_lambda
31337
+ -----------------------------------------------
31338
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31339
+ Processing by Cogy::CogyController#inventory as HTML
31340
+ Rendered text template (0.0ms)
31341
+ Completed 200 OK in 2ms (Views: 0.2ms)
31342
+ --------------------------------------
31343
+ Cogy::InventoryTest: test_content_type
31344
+ --------------------------------------
31345
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31346
+ Processing by Cogy::CogyController#inventory as HTML
31347
+ Rendered text template (0.0ms)
31348
+ Completed 200 OK in 2ms (Views: 0.2ms)
31349
+ -----------------------------------------
31350
+ Cogy::CommandTest: test_rails_url_helpers
31351
+ -----------------------------------------
31352
+ Started POST "/cogy/cmd/rails_url_helpers/george" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31353
+ Processing by Cogy::CogyController#command as HTML
31354
+ Parameters: {"cmd"=>"rails_url_helpers", "user"=>"george"}
31355
+ Rendered text template (0.0ms)
31356
+ Completed 200 OK in 1ms (Views: 0.3ms)
31357
+ ------------------------------------
31358
+ Cogy::CommandTest: test_calc_command
31359
+ ------------------------------------
31360
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31361
+ Processing by Cogy::CogyController#command as HTML
31362
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"calc", "user"=>"george"}
31363
+ Rendered text template (0.0ms)
31364
+ Completed 200 OK in 0ms (Views: 0.2ms)
31365
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31366
+ Processing by Cogy::CogyController#command as HTML
31367
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "cmd"=>"calc", "user"=>"george"}
31368
+ Rendered text template (0.0ms)
31369
+ Completed 200 OK in 0ms (Views: 0.1ms)
31370
+ -------------------------------------------
31371
+ Cogy::CommandTest: test_error_response_code
31372
+ -------------------------------------------
31373
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31374
+ Processing by Cogy::CogyController#command as HTML
31375
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
31376
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.1ms)
31377
+ Completed 500 Internal Server Error in 3ms (Views: 2.8ms)
31378
+ -------------------------------------
31379
+ Cogy::CommandTest: test_args_ordering
31380
+ -------------------------------------
31381
+ Started POST "/cogy/cmd/args_order/george" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31382
+ Processing by Cogy::CogyController#command as HTML
31383
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "cmd"=>"args_order", "user"=>"george"}
31384
+ Rendered text template (0.0ms)
31385
+ Completed 200 OK in 0ms (Views: 0.2ms)
31386
+ --------------------------------
31387
+ Cogy::CommandTest: test_cogy_env
31388
+ --------------------------------
31389
+ Started POST "/cogy/cmd/print_env/george" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31390
+ Processing by Cogy::CogyController#command as HTML
31391
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "cmd"=>"print_env", "user"=>"george"}
31392
+ Rendered text template (0.0ms)
31393
+ Completed 200 OK in 0ms (Views: 0.2ms)
31394
+ -------------------------------------------------------------
31395
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
31396
+ -------------------------------------------------------------
31397
+ Started POST "/cogy/cmd/test_opts_downcased/george" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31398
+ Processing by Cogy::CogyController#command as HTML
31399
+ Parameters: {"COG_OPT_A"=>"foo", "cmd"=>"test_opts_downcased", "user"=>"george"}
31400
+ Rendered text template (0.0ms)
31401
+ Completed 200 OK in 0ms (Views: 0.2ms)
31402
+ ------------------------------------------------
31403
+ Cogy::CommandTest: test_invalid_opts_declaration
31404
+ ------------------------------------------------
31405
+ -----------------------------------------
31406
+ Cogy::CommandTest: test_command_not_found
31407
+ -----------------------------------------
31408
+ Started POST "/cogy/cmd/idontexist/foo" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31409
+ Processing by Cogy::CogyController#command as HTML
31410
+ Parameters: {"cmd"=>"idontexist", "user"=>"foo"}
31411
+ Rendered text template (0.0ms)
31412
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
31413
+ ----------------------------------------------------
31414
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
31415
+ ----------------------------------------------------
31416
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31417
+ Processing by Cogy::CogyController#command as HTML
31418
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
31419
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
31420
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
31421
+ ------------------------------------------------
31422
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
31423
+ ------------------------------------------------
31424
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 14:44:24 +0200
31425
+ Processing by Cogy::CogyController#command as HTML
31426
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
31427
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.0ms)
31428
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
31429
+ -------------------------------------------
31430
+ Cogy::CommandTest: test_error_response_code
31431
+ -------------------------------------------
31432
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31433
+ Processing by Cogy::CogyController#command as HTML
31434
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
31435
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (1.2ms)
31436
+ Completed 500 Internal Server Error in 9ms (Views: 8.5ms)
31437
+ ------------------------------------
31438
+ Cogy::CommandTest: test_calc_command
31439
+ ------------------------------------
31440
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31441
+ Processing by Cogy::CogyController#command as HTML
31442
+ Parameters: {"COG_OPT_OP"=>"+", "COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"calc", "user"=>"george"}
31443
+ Rendered text template (0.0ms)
31444
+ Completed 200 OK in 1ms (Views: 1.1ms)
31445
+ Started POST "/cogy/cmd/calc/george" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31446
+ Processing by Cogy::CogyController#command as HTML
31447
+ Parameters: {"COG_OPT_OP"=>"/", "COG_ARGV_0"=>"10", "COG_ARGV_1"=>"5", "cmd"=>"calc", "user"=>"george"}
31448
+ Rendered text template (0.0ms)
31449
+ Completed 200 OK in 0ms (Views: 0.3ms)
31450
+ --------------------------------
31451
+ Cogy::CommandTest: test_cogy_env
31452
+ --------------------------------
31453
+ Started POST "/cogy/cmd/print_env/george" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31454
+ Processing by Cogy::CogyController#command as HTML
31455
+ Parameters: {"foo"=>"ha", "COG_FOO"=>"baz", "FOO"=>"foo", "cmd"=>"print_env", "user"=>"george"}
31456
+ Rendered text template (0.0ms)
31457
+ Completed 200 OK in 0ms (Views: 0.2ms)
31458
+ -------------------------------------------------------------
31459
+ Cogy::CommandTest: test_opts_downcased_and_indifferent_access
31460
+ -------------------------------------------------------------
31461
+ Started POST "/cogy/cmd/test_opts_downcased/george" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31462
+ Processing by Cogy::CogyController#command as HTML
31463
+ Parameters: {"COG_OPT_A"=>"foo", "cmd"=>"test_opts_downcased", "user"=>"george"}
31464
+ Rendered text template (0.0ms)
31465
+ Completed 200 OK in 0ms (Views: 0.2ms)
31466
+ ------------------------------------------------
31467
+ Cogy::CommandTest: test_invalid_opts_declaration
31468
+ ------------------------------------------------
31469
+ -------------------------------------
31470
+ Cogy::CommandTest: test_args_ordering
31471
+ -------------------------------------
31472
+ Started POST "/cogy/cmd/args_order/george" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31473
+ Processing by Cogy::CogyController#command as HTML
31474
+ Parameters: {"COG_ARGV_2"=>"3", "COG_ARGV_1"=>"2", "COG_ARGV_0"=>"1", "cmd"=>"args_order", "user"=>"george"}
31475
+ Rendered text template (0.0ms)
31476
+ Completed 200 OK in 0ms (Views: 0.2ms)
31477
+ -----------------------------------------
31478
+ Cogy::CommandTest: test_command_not_found
31479
+ -----------------------------------------
31480
+ Started POST "/cogy/cmd/idontexist/foo" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31481
+ Processing by Cogy::CogyController#command as HTML
31482
+ Parameters: {"cmd"=>"idontexist", "user"=>"foo"}
31483
+ Rendered text template (0.0ms)
31484
+ Completed 404 Not Found in 0ms (Views: 0.2ms)
31485
+ -----------------------------------------
31486
+ Cogy::CommandTest: test_rails_url_helpers
31487
+ -----------------------------------------
31488
+ Started POST "/cogy/cmd/rails_url_helpers/george" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31489
+ Processing by Cogy::CogyController#command as HTML
31490
+ Parameters: {"cmd"=>"rails_url_helpers", "user"=>"george"}
31491
+ Rendered text template (0.0ms)
31492
+ Completed 200 OK in 1ms (Views: 0.3ms)
31493
+ ----------------------------------
31494
+ Cogy::InventoryTest: test_template
31495
+ ----------------------------------
31496
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31497
+ Processing by Cogy::CogyController#inventory as HTML
31498
+ Rendered text template (0.0ms)
31499
+ Completed 200 OK in 3ms (Views: 0.2ms)
31500
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31501
+ Processing by Cogy::CogyController#inventory as HTML
31502
+ Rendered text template (0.0ms)
31503
+ Completed 200 OK in 2ms (Views: 0.2ms)
31504
+ --------------------------------------------
31505
+ Cogy::InventoryTest: test_cog_bundle_version
31506
+ --------------------------------------------
31507
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31508
+ Processing by Cogy::CogyController#inventory as HTML
31509
+ Rendered text template (0.0ms)
31510
+ Completed 200 OK in 2ms (Views: 0.2ms)
31511
+ ------------------------------------------
31512
+ Cogy::InventoryTest: test_without_commands
31513
+ ------------------------------------------
31514
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31515
+ Processing by Cogy::CogyController#inventory as HTML
31516
+ Rendered text template (0.0ms)
31517
+ Completed 200 OK in 1ms (Views: 0.2ms)
31518
+ ------------------------------------
31519
+ Cogy::InventoryTest: test_valid_yaml
31520
+ ------------------------------------
31521
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31522
+ Processing by Cogy::CogyController#inventory as HTML
31523
+ Rendered text template (0.0ms)
31524
+ Completed 200 OK in 3ms (Views: 0.3ms)
31525
+ ------------------------------------------
31526
+ Cogy::InventoryTest: test_commands_section
31527
+ ------------------------------------------
31528
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31529
+ Processing by Cogy::CogyController#inventory as HTML
31530
+ Rendered text template (0.0ms)
31531
+ Completed 200 OK in 2ms (Views: 0.3ms)
31532
+ --------------------------------------
31533
+ Cogy::InventoryTest: test_content_type
31534
+ --------------------------------------
31535
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31536
+ Processing by Cogy::CogyController#inventory as HTML
31537
+ Rendered text template (0.0ms)
31538
+ Completed 200 OK in 2ms (Views: 0.2ms)
31539
+ -----------------------------------------------
31540
+ Cogy::InventoryTest: test_bundle_version_lambda
31541
+ -----------------------------------------------
31542
+ Started GET "/cogy/inventory" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31543
+ Processing by Cogy::CogyController#inventory as HTML
31544
+ Rendered text template (0.0ms)
31545
+ Completed 200 OK in 2ms (Views: 0.2ms)
31546
+ ----------------------------------------------------
31547
+ Cogy::HelpersTest: test_custom_helper_with_arguments
31548
+ ----------------------------------------------------
31549
+ Started POST "/cogy/cmd/titleize/george" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31550
+ Processing by Cogy::CogyController#command as HTML
31551
+ Parameters: {"cmd"=>"titleize", "user"=>"george"}
31552
+ Rendered text template (0.0ms)
31553
+ Completed 200 OK in 0ms (Views: 0.2ms)
31554
+ -----------------------------------------------------------------
31555
+ Cogy::HelpersTest: test_custom_helpers_can_access_default_helpers
31556
+ -----------------------------------------------------------------
31557
+ Started POST "/cogy/cmd/foohelper/george" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31558
+ Processing by Cogy::CogyController#command as HTML
31559
+ Parameters: {"cog_foo"=>"bar", "cmd"=>"foohelper", "user"=>"george"}
31560
+ Rendered text template (0.0ms)
31561
+ Completed 200 OK in 0ms (Views: 0.2ms)
31562
+ ----------------------------------------------------
31563
+ Cogy::ErrorTemplateTest: test_error_tmpl_contenttype
31564
+ ----------------------------------------------------
31565
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31566
+ Processing by Cogy::CogyController#command as HTML
31567
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
31568
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
31569
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
31570
+ ------------------------------------------------
31571
+ Cogy::ErrorTemplateTest: test_error_tmpl_message
31572
+ ------------------------------------------------
31573
+ Started POST "/cogy/cmd/raiser/george" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31574
+ Processing by Cogy::CogyController#command as HTML
31575
+ Parameters: {"cmd"=>"raiser", "user"=>"george"}
31576
+ Rendered /Users/agis/dev/cogy/app/views/cogy/error.text.erb (0.1ms)
31577
+ Completed 500 Internal Server Error in 1ms (Views: 0.4ms)
31578
+ --------------------------------------------
31579
+ Cogy::JsonResponseTest: test_custom_template
31580
+ --------------------------------------------
31581
+ Started POST "/cogy/cmd/custom_template/hyu" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31582
+ Processing by Cogy::CogyController#command as HTML
31583
+ Parameters: {"cmd"=>"custom_template", "user"=>"hyu"}
31584
+ Rendered text template (0.0ms)
31585
+ Completed 200 OK in 0ms (Views: 0.2ms)
31586
+ -------------------------------------------------------------
31587
+ Cogy::JsonResponseTest: test_json_output_and_default_template
31588
+ -------------------------------------------------------------
31589
+ Started POST "/cogy/cmd/simple_json/george" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31590
+ Processing by Cogy::CogyController#command as HTML
31591
+ Parameters: {"cmd"=>"simple_json", "user"=>"george"}
31592
+ Rendered text template (0.0ms)
31593
+ Completed 200 OK in 0ms (Views: 0.3ms)
31594
+ --------------------------------------------------------
31595
+ Cogy::BuiltinHelpersTest: test_args_with_empty_arguments
31596
+ --------------------------------------------------------
31597
+ Started POST "/cogy/cmd/empty_args/george" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31598
+ Processing by Cogy::CogyController#command as HTML
31599
+ Parameters: {"cmd"=>"empty_args", "user"=>"george"}
31600
+ Rendered text template (0.0ms)
31601
+ Completed 200 OK in 0ms (Views: 0.2ms)
31602
+ -----------------------------------------------------------------------
31603
+ Cogy::BuiltinHelpersTest: test_args_helper_overrides_predefined_helpers
31604
+ -----------------------------------------------------------------------
31605
+ Started POST "/cogy/cmd/args_overrides/george" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31606
+ Processing by Cogy::CogyController#command as HTML
31607
+ Parameters: {"COG_ARGV_1"=>"hu", "COG_ARGV_0"=>"haha", "cmd"=>"args_overrides", "user"=>"george"}
31608
+ Rendered text template (0.0ms)
31609
+ Completed 200 OK in 0ms (Views: 0.2ms)
31610
+ -----------------------------------
31611
+ Cogy::BuiltinHelpersTest: test_args
31612
+ -----------------------------------
31613
+ Started POST "/cogy/cmd/add/george" for 127.0.0.1 at 2016-11-29 15:27:24 +0200
31614
+ Processing by Cogy::CogyController#command as HTML
31615
+ Parameters: {"COG_ARGV_0"=>"1", "COG_ARGV_1"=>"2", "cmd"=>"add", "user"=>"george"}
31616
+ Rendered text template (0.0ms)
31617
+ Completed 200 OK in 0ms (Views: 0.2ms)