Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-P
perl-Plack-Middleware-DebugLogging
perl-Plack-Middleware-DebugLogging.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Plack-Middleware-DebugLogging.spec of Package perl-Plack-Middleware-DebugLogging
# # spec file for package perl-Plack-Middleware-DebugLogging # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-Plack-Middleware-DebugLogging Version: 0.001005 Release: 0 %define cpan_name Plack-Middleware-DebugLogging Summary: Catalyst style console debugging for plack apps License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Plack-Middleware-DebugLogging/ Source0: http://www.cpan.org/authors/id/M/MA/MATTP/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Data::Dumper::Concise) BuildRequires: perl(Data::Serializer::Raw) BuildRequires: perl(HTTP::Message) BuildRequires: perl(Module::Runtime) BuildRequires: perl(Plack) BuildRequires: perl(Term::Size::Any) BuildRequires: perl(Test::LongString) BuildRequires: perl(Text::SimpleTable) BuildRequires: perl(Try::Tiny) Requires: perl(Data::Dumper::Concise) Requires: perl(Data::Serializer::Raw) Requires: perl(HTTP::Message) Requires: perl(Module::Runtime) Requires: perl(Plack) Requires: perl(Term::Size::Any) Requires: perl(Test::LongString) Requires: perl(Text::SimpleTable) Requires: perl(Try::Tiny) %{perl_requires} %description This is a refactoring/stealing of Catalyst's useful debugging output for use in any Plack application, sitting infront of a web framework or otherwise. This is ideal for development environments. You probably would not want to run this on your production application. One new feature that differentiates from Catalyst is that if serialized content is sent via body param, an attempt will be made to deserialize based on the Content-Type header with Data::Serializer. This middleware will use psgix.logger if available in the environment, otherwise it will fall back to printing to stderr. There are a large list of attrs which can be used to control which output you want to see: * debug * request * response * request_headers * request_parameters * response_headers * response_status_line * keywords * uploads * body_params * query_params * attempt_deserialize * serializer %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes LICENSE README.mkdn TODO %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor