Permalink
Browse files

Checking in changes prior to tagging of version 0.01.

Changelog diff is:
  • Loading branch information...
1 parent 68802f9 commit da2d4e8e621bf5a119ef7d29f0e9b16c3aa69450 Ryo Anazawa committed Oct 3, 2012
View
@@ -0,0 +1,7 @@
+# auto-generated shipit config file.
+steps = FindVersion, ChangeVersion, CheckChangeLog, DistTest, Commit, Tag, MakeDist, UploadCPAN
+
+# svn.tagpattern = MyProj-%v
+# svn.tagpattern = http://code.example.com/svn/tags/MyProj-%v
+
+# CheckChangeLog.files = ChangeLog, MyProj.CHANGES
View
@@ -0,0 +1,28 @@
+.shipit
+Changes
+inc/Module/Install.pm
+inc/Module/Install/Base.pm
+inc/Module/Install/Can.pm
+inc/Module/Install/Fetch.pm
+inc/Module/Install/Makefile.pm
+inc/Module/Install/Metadata.pm
+inc/Module/Install/Win32.pm
+inc/Module/Install/WriteAll.pm
+lib/CGI/Header.pm
+Makefile.PL
+MANIFEST This list of files
+META.yml
+README
+t/00_compile.t
+t/10_normalization.t
+t/11_basic.t
+t/12_tie.t
+t/20_content_type.t
+t/21_date.t
+t/22_p3p.t
+t/23_set_cookie.t
+t/24_content_disposition.t
+t/25_window_target.t
+t/30_as_string.t
+tools/benchmark.pl
+xt/pod.t
View
@@ -9,14 +9,15 @@ requires 'Carp' => '1.10';
requires 'CGI::Util' => '1.5';
requires 'List::Util' => '1.19';
requires 'Scalar::Util' => '1.19';
-requires 'Storable' => '2.18';
test_requires 'Test::Base' => '0.60';
test_requires 'Test::Exception' => '0.31';
test_requires 'Test::More' => '0.98';
test_requires 'Test::Pod' => '1.45';
test_requires 'Test::Warn' => '0.24';
-test_requires 'CGI' => '3.49';
+test_requires 'Test::MockTime';
+test_requires 'CGI' => '3.49';
+test_requires 'CGI::Cookie';
tests 't/*.t xt/*.t';
View
@@ -443,18 +443,9 @@ CGI::Header - Adapter for CGI::header()
=head1 DESCRIPTION
-Utility class to manipulate a hash reference which C<CGI::header()>
+Utility class to manipulate a hash reference which L<CGI>'s C<header()>
function receives.
-L<CGI> module provides C<header()> method which generates CGI response headers.
-The method immediately returns the result with given arguments.
-In this context, C<header()> should be considered as just a function
-rather than an instance method.
-
-In some cases, C<header()> is expected to return a list consisting of
-pairs of fields and values, instead of a single string.
-This class implements C<flatten()> method.
-
=head2 METHODS
=over 4
@@ -611,13 +602,9 @@ expiration interval. The following forms are all valid for this field:
=back
-=head1 HISTORY
-
-This module was forked from L<Blosxom::Header>.
-
=head1 SEE ALSO
-L<Plack::Util>
+L<CGI>, L<Plack::Util>
=head1 BUGS AND LIMITATIONS
@@ -185,7 +185,6 @@ subtest 'field_names()' => sub {
-expires => 1,
-attachment => 1,
-foo_bar => 1,
- -foo => q{},
-bar => undef,
);
View
@@ -1,35 +0,0 @@
-use strict;
-use CGI::Header;
-use Test::Base skip_all => 'obsolete';
-
-plan tests => 1 * blocks();
-
-my $denormalize = CGI::Header->can( '_denormalize' );
-
-run {
- my $block = shift;
- is $denormalize->( $block->input ), $block->expected;
-};
-
-__DATA__
-===
---- input: -foo
---- expected: Foo
-===
---- input: -foo_bar
---- expected: Foo-bar
-===
---- input: -cookie
---- expected: Set-Cookie
-===
---- input: -target
---- expected: Window-Target
-===
---- input: -p3p
---- expected: P3P
-===
---- input: -attachment
---- expected: Content-Disposition
-===
---- input: -type
---- expected: Content-Type
File renamed without changes.
View
@@ -1,7 +1,7 @@
use strict;
use warnings;
use CGI::Header;
-use Test::More tests => 26;
+use Test::More tests => 27;
use Test::Warn;
my %adaptee;
File renamed without changes.

0 comments on commit da2d4e8

Please sign in to comment.