The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
Build.PL 2013
Changes 04
META.json 79
META.yml 1212
README.md 1210
lib/Cookie/Baker.pm 1111
6 files changed (This is a version diff) 6259
@@ -12,8 +12,6 @@ use utf8;
 use Module::Build;
 use File::Basename;
 use File::Spec;
-use CPAN::Meta;
-use CPAN::Meta::Prereqs;
 
 my %args = (
     license              => 'perl',
@@ -34,7 +32,7 @@ my %args = (
     test_files           => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/',
     recursive_test_files => 1,
 
-    
+
 );
 if (-d 'share') {
     $args{share_dir} = 'share';
@@ -53,20 +51,15 @@ my $builder = Module::Build->subclass(
 )->new(%args);
 $builder->create_build_script();
 
-my $mbmeta = CPAN::Meta->load_file('MYMETA.json');
-my $meta = CPAN::Meta->load_file('META.json');
-my $prereqs_hash = CPAN::Meta::Prereqs->new(
-    $meta->prereqs
-)->with_merged_prereqs(
-    CPAN::Meta::Prereqs->new($mbmeta->prereqs)
-)->as_string_hash;
-my $mymeta = CPAN::Meta->new(
-    {
-        %{$meta->as_struct},
-        prereqs => $prereqs_hash
-    }
-);
-print "Merging cpanfile prereqs to MYMETA.yml\n";
-$mymeta->save('MYMETA.yml', { version => 1.4 });
-print "Merging cpanfile prereqs to MYMETA.json\n";
-$mymeta->save('MYMETA.json', { version => 2 });
+use File::Copy;
+
+print "cp META.json MYMETA.json\n";
+copy("META.json","MYMETA.json") or die "Copy failed(META.json): $!";
+
+if (-f 'META.yml') {
+    print "cp META.yml MYMETA.yml\n";
+    copy("META.yml","MYMETA.yml") or die "Copy failed(META.yml): $!";
+} else {
+    print "There is no META.yml... You may install this module from the repository...\n";
+}
+
@@ -1,5 +1,9 @@
 Revision history for Perl extension Cookie-Baker
 
+0.04 2014-11-25T02:36:43Z
+
+    - requires perl-5.8.1
+
 0.03 2014-02-26T14:04:28Z
 
     - use Cookie::Baker::XS if available
@@ -4,7 +4,7 @@
       "Masahiro Nagano <kazeburo@gmail.com>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Minilla/v0.11.0",
+   "generated_by" : "Minilla/v2.2.1",
    "license" : [
       "perl_5"
    ],
@@ -28,15 +28,14 @@
    "prereqs" : {
       "configure" : {
          "requires" : {
-            "CPAN::Meta" : "0",
-            "CPAN::Meta::Prereqs" : "0",
             "Module::Build" : "0.38"
          }
       },
       "develop" : {
          "requires" : {
             "Test::CPAN::Meta" : "0",
-            "Test::MinimumVersion" : "0.10108",
+            "Test::MinimumVersion::Fast" : "0.04",
+            "Test::PAUSE::Permissions" : "0.04",
             "Test::Pod" : "1.41",
             "Test::Spellunker" : "v0.2.7"
          }
@@ -45,7 +44,7 @@
          "requires" : {
             "Exporter" : "0",
             "URI::Escape" : "0",
-            "perl" : "5.008005"
+            "perl" : "5.008001"
          },
          "suggests" : {
             "Cookie::Baker::XS" : "0"
@@ -61,7 +60,7 @@
    "provides" : {
       "Cookie::Baker" : {
          "file" : "lib/Cookie/Baker.pm",
-         "version" : "0.03"
+         "version" : "0.04"
       }
    },
    "release_status" : "stable",
@@ -75,5 +74,8 @@
          "web" : "https://github.com/kazeburo/Cookie-Baker"
       }
    },
-   "version" : "0.03"
+   "version" : "0.04",
+   "x_contributors" : [
+      "Olaf Alders <olaf@wundersolutions.com>"
+   ]
 }
@@ -3,18 +3,16 @@ abstract: 'Cookie string generator / parser'
 author:
   - 'Masahiro Nagano <kazeburo@gmail.com>'
 build_requires:
-  Test::More: 0.98
-  Test::Time: 0
+  Test::More: '0.98'
+  Test::Time: '0'
 configure_requires:
-  CPAN::Meta: 0
-  CPAN::Meta::Prereqs: 0
-  Module::Build: 0.38
+  Module::Build: '0.38'
 dynamic_config: 0
-generated_by: 'Minilla/v0.11.0, CPAN::Meta::Converter version 2.132830'
+generated_by: 'Minilla/v2.2.1, CPAN::Meta::Converter version 2.141170'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
+  version: '1.4'
 name: Cookie-Baker
 no_index:
   directory:
@@ -29,13 +27,15 @@ no_index:
 provides:
   Cookie::Baker:
     file: lib/Cookie/Baker.pm
-    version: 0.03
+    version: '0.04'
 requires:
-  Exporter: 0
-  URI::Escape: 0
-  perl: 5.008005
+  Exporter: '0'
+  URI::Escape: '0'
+  perl: '5.008001'
 resources:
   bugtracker: https://github.com/kazeburo/Cookie-Baker/issues
   homepage: https://github.com/kazeburo/Cookie-Baker
   repository: git://github.com/kazeburo/Cookie-Baker.git
-version: 0.03
+version: '0.04'
+x_contributors:
+  - 'Olaf Alders <olaf@wundersolutions.com>'
@@ -16,8 +16,8 @@ Cookie::Baker provides simple cookie string generator and parser.
 
 # XS IMPLEMENTATION
 
-This module try to use [Cookie::Baker::XS](http://search.cpan.org/perldoc?Cookie::Baker::XS)'s crush\_cookie by default
-and fail to it, use Cookie::Baker's pure-perl crush\_cookie.
+This module tries to use [Cookie::Baker::XS](https://metacpan.org/pod/Cookie::Baker::XS)'s crush\_cookie by default.
+If this fails, it will use Cookie::Baker's pure Perl crush\_cookie.
 
 There is no XS implementation of bake\_cookie yet.
 
@@ -33,13 +33,11 @@ There is no XS implementation of bake\_cookie yet.
             expires => '+24h'
         } );
 
-    Generates cookie string for HTTP response header.
-    First argument is cookies' name and seconds argument is plain string or hash reference that
+    Generates a cookie string for an HTTP response header.
+    The first argument is the cookie's name and the second argument is a plain string or hash reference that
     can contain keys such as `value`, `domain`, `expires`, `path`, `httponly`, `secure`,
     `max-age`.
 
-
-
     - value
 
         Cookie's value
@@ -50,7 +48,7 @@ There is no XS implementation of bake\_cookie yet.
 
     - expires
 
-        Cookie's expires date time. several formats are supported
+        Cookie's expires date time. Several formats are supported
 
             expires => time + 24 * 60 * 60 # epoch time
             expires => 'Wed, 03-Nov-2010 20:54:16 GMT' 
@@ -68,24 +66,24 @@ There is no XS implementation of bake\_cookie yet.
 
     - httponly
 
-        If true, give HttpOnly flag. false by default.
+        If true, sets HttpOnly flag. false by default.
 
     - secure
 
-        If true, give secure flag. false by default.
+        If true, sets secure flag. false by default.
 
 - crush\_cookie
 
-    Parses cookie string and returns hashref. 
+    Parses cookie string and returns a hashref. 
 
         my $cookies_hashref = crush_cookie($headers->header('Cookie'));
         my $cookie_value = $cookies_hashref->{cookie_name}  
 
 # SEE ALSO
 
-CPAN already has many cookie related modules. But there is not simple cookie string generator and parser modules.
+CPAN already has many cookie related modules. But there is no simple cookie string generator and parser module.
 
-[CGI](http://search.cpan.org/perldoc?CGI), [CGI::Simple](http://search.cpan.org/perldoc?CGI::Simple), [Plack](http://search.cpan.org/perldoc?Plack), [Dancer::Cookie](http://search.cpan.org/perldoc?Dancer::Cookie)
+[CGI](https://metacpan.org/pod/CGI), [CGI::Simple](https://metacpan.org/pod/CGI::Simple), [Plack](https://metacpan.org/pod/Plack), [Dancer::Cookie](https://metacpan.org/pod/Dancer::Cookie)
 
 # LICENSE
 
@@ -1,13 +1,13 @@
 package Cookie::Baker;
 
-use 5.008005;
+use 5.008001;
 use strict;
 use warnings;
 use base qw/Exporter/;
 use URI::Escape;
 
 BEGIN {
-    our $VERSION = "0.03";
+    our $VERSION = "0.04";
     our @EXPORT = qw/bake_cookie crush_cookie/;
     my $use_pp = $ENV{COOKIE_BAKER_PP};
     if (!$use_pp) {
@@ -119,8 +119,8 @@ Cookie::Baker provides simple cookie string generator and parser.
 
 =head1 XS IMPLEMENTATION
 
-This module try to use L<Cookie::Baker::XS>'s crush_cookie by default
-and fail to it, use Cookie::Baker's pure-perl crush_cookie.
+This module tries to use L<Cookie::Baker::XS>'s crush_cookie by default.
+If this fails, it will use Cookie::Baker's pure Perl crush_cookie.
 
 There is no XS implementation of bake_cookie yet.
 
@@ -138,8 +138,8 @@ There is no XS implementation of bake_cookie yet.
       expires => '+24h'
   } );
 
-Generates cookie string for HTTP response header.
-First argument is cookies' name and seconds argument is plain string or hash reference that
+Generates a cookie string for an HTTP response header.
+The first argument is the cookie's name and the second argument is a plain string or hash reference that
 can contain keys such as C<value>, C<domain>, C<expires>, C<path>, C<httponly>, C<secure>,
 C<max-age>.
 
@@ -156,7 +156,7 @@ Cookie's domain.
 
 =item expires
 
-Cookie's expires date time. several formats are supported
+Cookie's expires date time. Several formats are supported
 
   expires => time + 24 * 60 * 60 # epoch time
   expires => 'Wed, 03-Nov-2010 20:54:16 GMT' 
@@ -174,17 +174,17 @@ Cookie's path.
 
 =item httponly
 
-If true, give HttpOnly flag. false by default.
+If true, sets HttpOnly flag. false by default.
 
 =item secure
 
-If true, give secure flag. false by default.
+If true, sets secure flag. false by default.
 
 =back
 
 =item crush_cookie
 
-Parses cookie string and returns hashref. 
+Parses cookie string and returns a hashref. 
 
     my $cookies_hashref = crush_cookie($headers->header('Cookie'));
     my $cookie_value = $cookies_hashref->{cookie_name}  
@@ -193,7 +193,7 @@ Parses cookie string and returns hashref.
 
 =head1 SEE ALSO
 
-CPAN already has many cookie related modules. But there is not simple cookie string generator and parser modules.
+CPAN already has many cookie related modules. But there is no simple cookie string generator and parser module.
 
 L<CGI>, L<CGI::Simple>, L<Plack>, L<Dancer::Cookie>