Permalink
Commits on Feb 25, 2013
  1. use Role::Tiny

    Ryo Anazawa committed Feb 25, 2013
  2. update profile.pl

    Ryo Anazawa committed Feb 25, 2013
  3. Checking in changes prior to tagging of version 0.21.

    Ryo Anazawa committed Feb 25, 2013
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 8e39c40..16073a5 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,7 @@
     Revision history for Perl extension CGI::Header.
    
    +0.21  Feb 25th, 2013
    +
       [CGI::Header::PSGI]
    
         - psgi_header() is compatible with CGI::Simple's header() method.
  4. fix document

    Ryo Anazawa committed Feb 25, 2013
  5. psgi_redirect() invokes self_url(), not url()

    Ryo Anazawa committed Feb 25, 2013
Commits on Feb 24, 2013
  1. i dont understand why CGI::header() updates charset()

    Ryo Anazawa committed Feb 24, 2013
  2. psgi_header() updates charset() as "side effect"

    Ryo Anazawa committed Feb 24, 2013
  3. Checking in changes prior to tagging of version 0.20.

    Ryo Anazawa committed Feb 24, 2013
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 711b176..8e764f3 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,7 @@
     Revision history for Perl extension CGI::Header.
    
    +0.20  Feb 24th, 2013
    +
       - Add "REQUIRED METHODS" to CGI::Header::PSGI's POD
    
     0.19  Feb 11th, 2013
  4. add REQUIED METHODS

    Ryo Anazawa committed Feb 24, 2013
Commits on Feb 10, 2013
  1. Checking in changes prior to tagging of version 0.19.

    Ryo Anazawa committed Feb 10, 2013
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 20a00ea..3fadd02 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,12 +1,14 @@
     Revision history for Perl extension CGI::Header.
    
    -  - Add CGI::Header::PSGI which exports two methods on demand: psgi_header()
    -    and psgi_redirect().
    +0.19  Feb 11th, 2013
    
    -      use parent 'CGI';
    -      use CGI::Header::PSGI qw(psgi_header psgi_redirect);
    +  Add CGI::Header::PSGI which exports two methods on demand: psgi_header()
    +  and psgi_redirect().
    
    -    CGI::Header::PSGI helps you create your own CGI::PSGI-compatible class.
    +    use parent 'CGI';
    +    use CGI::Header::PSGI qw(psgi_header psgi_redirect);
    +
    +  CGI::Header::PSGI helps you create your own CGI::PSGI-compatible class.
    
       [INCOMPATIBLE CHANGES]
  2. update Changes

    Ryo Anazawa committed Feb 10, 2013
  3. _status_with_entity_body()をインライン化

    Ryo Anazawa committed Feb 10, 2013
  4. flatten() stringifies the Set-Cookie header by default

    Ryo Anazawa committed Feb 10, 2013
  5. add _status_with_no_entity_body()

    Ryo Anazawa committed Feb 10, 2013
  6. add CGI::Header::PSGI

    Ryo Anazawa committed Feb 10, 2013
Commits on Feb 9, 2013
  1. update VERSION in POD

    Ryo Anazawa committed Feb 9, 2013
  2. Checking in changes prior to tagging of version 0.18.

    Ryo Anazawa committed Feb 9, 2013
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 3b79486..d2fd4e6 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,7 @@
     Revision history for Perl extension CGI::Header.
    
    +0.18  Feb 9th, 2013
    +
       - You can pass a media type to new() in the following situation:
    
           my $h = CGI::Header->new('text/plain');
  3. use autovivification

    Ryo Anazawa committed Feb 9, 2013
  4. the -env property will not be removed

    Ryo Anazawa committed Feb 9, 2013
Commits on Feb 7, 2013
  1. new() receives a media type

    Ryo Anazawa committed Feb 7, 2013
Commits on Jan 18, 2013
  1. Checking in changes prior to tagging of version 0.17.

    Ryo Anazawa committed Jan 18, 2013
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 11dea7a..2bd381c 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,15 @@
     Revision history for Perl extension CGI::Header.
    
    +0.17  Jan 18th, 2013
    +
    +  [DOCUMENTATION]
    +
    +    - Add "EXAMPLES" and "DEPENDENCIES"
    +
    +  [INTERNALS]
    +
    +    - Fix META.yml ("version" was broken)
    +
     0.16  Jan 14th, 2013
    
       [INCOMPATIBLE CHANGES]
Commits on Jan 14, 2013
  1. Checking in changes prior to tagging of version 0.16.

    Ryo Anazawa committed Jan 14, 2013
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 9b08de2..11dea7a 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,7 @@
     Revision history for Perl extension CGI::Header.
    
    +0.16  Jan 14th, 2013
    +
       [INCOMPATIBLE CHANGES]
    
         - rehash() throws an exception when a property name is duplicated:
    @@ -21,7 +23,7 @@ Revision history for Perl extension CGI::Header.
         - In addition to CGI.pm-compatible HTTP header properties,
           new() accepts '-env' property which represents your current environment:
    
    -        my $h => CGI::Header->new(
    +        my $h = CGI::Header->new(
                 -type => 'text/plain',
                 -env  => \%ENV,
             );
  2. new() accepts -env in addition to CGI.pm-compatible HTTP header prope…

    Ryo Anazawa committed Jan 14, 2013
    …rties
Commits on Jan 13, 2013
Commits on Jan 11, 2013
  1. Checking in changes prior to tagging of version 0.15.

    Ryo Anazawa committed Jan 11, 2013
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 47ba48e..4665633 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,17 @@
     Revision history for Perl extension CGI::Header.
    
    +0.15  Jan 11th, 2013
    +
    +  Add env() which defaults to \%ENV. new() receives an additional
    +  argument which determines the value of the attribute.
    +     my $header = CGI::Header->new({ -type => 'text/plain' }, \%ENV);
    +     $header->env; # => \%ENV
    +
    +  [INTERNALS]
    +
    +    - Add psgi_headers.t which requires CGI::PSGI
    +    - new() returns an object based on a blessed hash.
    +
     0.14  Jan 9th, 2013
    
       - set() and delete() throw exceptions when the specified header field
Commits on Jan 10, 2013
  1. Checking in changes prior to tagging of version 0.14.

    Ryo Anazawa committed Jan 10, 2013
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index a7f2a39..47ba48e 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,6 +1,22 @@
     Revision history for Perl extension CGI::Header.
    
    -0.13  Jan 8th, 2012
    +0.14  Jan 9th, 2013
    +
    +  - set() and delete() throw exceptions when the specified header field
    +    is read-only.
    +  - get() returns undef in the following situations:
    +
    +      $header->header; # => { -expires => q{}, ... }
    +      $header->get( 'Expires' ); # => undef
    +
    +      $header->header; # => { -p3p => q{}, ... }
    +      $header->get( 'P3P' ); # => undef
    +
    +  [INTERNALS]
    +
    +    id() is aliased to Scalar::Util::refaddr()
    +
    +0.13  Jan 8th, 2013
    
       - clear() and each() return the current object itself
       - set() returns the given value:
    @@ -17,7 +33,7 @@ Revision history for Perl extension CGI::Header.
    
         Add "Server" and "Date" to "LIMITATIONS"
    
    -0.12  Jan 7th, 2012
    +0.12  Jan 7th, 2013
    
       [INTERNALS]
         - Rename _normalize() to _lc()
Commits on Jan 8, 2013
  1. Checking in changes prior to tagging of version 0.13.

    Ryo Anazawa committed Jan 8, 2013
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 1e7d8da..a7f2a39 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,7 @@
     Revision history for Perl extension CGI::Header.
    
    +0.13  Jan 8th, 2012
    +
       - clear() and each() return the current object itself
       - set() returns the given value:
           $header->set( 'Foo' => 'bar' ); # => "bar"
  2. clear() and each() returns current object itself

    Ryo Anazawa committed Jan 8, 2013
Commits on Jan 7, 2013
  1. Checking in changes prior to tagging of version 0.12.

    Ryo Anazawa committed Jan 7, 2013
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 5554595..1e1361e 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,6 +1,13 @@
     Revision history for Perl extension CGI::Header.
    
    -  - [DOCUMENTATION] Add HTTP::Headers to "SEE ALSO"
    +0.12  Jan 7th, 2012
    +
    +  [INTERNALS]
    +    - Rename _normalize() to _lc()
    +    - Add a benchmark against HTTP::Response->parse
    +
    +  [DOCUMENTATION]
    +    - Add HTTP::Headers to "SEE ALSO"
    
     0.11  Dec 16th, 2012
       - Add FIRSTKEY() and NEXTKEY(). These methods were implemented to
  2. update POD

    Ryo Anazawa committed Jan 7, 2013
Commits on Dec 17, 2012
  1. update POD

    Ryo Anazawa committed Dec 17, 2012
Commits on Dec 16, 2012
  1. Checking in changes prior to tagging of version 0.11.

    Ryo Anazawa committed Dec 16, 2012
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 83cc551..ef43fc9 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,7 +1,13 @@
     Revision history for Perl extension CGI::Header.
    
    +0.11  Dec 16th, 2012
       - Add FIRSTKEY() and NEXTKEY(). These methods were implemented to
         test this module itself.
    +  - flatten() receives optional $is_recursive argument
    +    which determines whether to flatten the Set-Cookie headers recursively.
    +    $is_recursive defaults to true.
    +  - flatten() and each() don't stringify CGI::Cookie objects.
    +  - field_names() returns a list of field names in a random order
    
     0.10  Dec 14th, 2012
       - p3p_tags() returns the number of P3P tags
Commits on Dec 15, 2012
  1. flatten() receives optional $is_recursive argument

    Ryo Anazawa committed Dec 15, 2012