Store the script options in the engine.
authorTomas Doran <bobtfish@bobtfish.net>
Sun, 24 Jul 2011 22:25:52 +0000 (23:25 +0100)
committerTomas Doran <bobtfish@bobtfish.net>
Tue, 25 Oct 2011 02:38:11 +0000 (19:38 -0700)
commitaee7cdcc0b2b3b7dc672b4b4a31b8c3b7ef3f1f7
treeb2e0741b94f0b18f6172f04b8bfc1daa99a79735
parent942572d7cd0a89d54b12ddd89de16ddcd19ca077
Store the script options in the engine.

Pass all normal script options by default.

This enables applications which have custom script options
(e.g. Gitalist) to get at the options the user gave at app startup,
without needed horrible code to stash the options in global or
environment variables.
lib/Catalyst.pm
lib/Catalyst/Engine.pm
lib/Catalyst/Script/FastCGI.pm
lib/Catalyst/Script/Server.pm
lib/Catalyst/ScriptRole.pm
t/aggregate/unit_core_script_cgi.t
t/aggregate/unit_core_script_fastcgi.t
t/aggregate/unit_core_script_run_options.t [new file with mode: 0644]
t/aggregate/unit_core_script_server.t
t/lib/ScriptTestApp.pm [new file with mode: 0644]
t/lib/ScriptTestApp/Controller/Root.pm [new file with mode: 0644]