Hello community,

here is the log from the commit of package perl-Carton for openSUSE:Factory 
checked in at 2015-04-22 01:19:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Carton (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Carton.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Carton"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Carton/perl-Carton.changes  2014-02-27 
11:06:46.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Carton.new/perl-Carton.changes     
2015-04-22 01:19:11.000000000 +0200
@@ -1,0 +2,25 @@
+Tue Apr 21 03:37:10 UTC 2015 - [email protected]
+
+- updated to 1.0.15
+   see /usr/share/doc/packages/perl-Carton/Changes
+
+  v1.0.15  2015-04-20 11:13:32 CEST
+          - downgrade some dependencies for fatpack-related tools to recommends
+            (probably ship it as a separate distribution in the future)
+
+-------------------------------------------------------------------
+Mon Apr 20 07:24:39 UTC 2015 - [email protected]
+
+- updated to 1.0.14
+   see /usr/share/doc/packages/perl-Carton/Changes
+
+  v1.0.14  2015-04-20 00:07:26 CEST
+          - same as v1.0.14
+  
+  v1.0.13  2015-04-19 19:38:42 CEST
+          - require cpanm 1.7030 for better cpanfile support
+          - switch to MakeMaker
+          - remove Exception::Class and Moo in favor of Class::Tiny
+          - add an ability to set generator in Carton::Index for Carmel use
+
+-------------------------------------------------------------------

Old:
----
  Carton-v1.0.12.tar.gz

New:
----
  Carton-v1.0.15.tar.gz
  cpanspec.yml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Carton.spec ++++++
--- /var/tmp/diff_new_pack.FcaK0p/_old  2015-04-22 01:19:12.000000000 +0200
+++ /var/tmp/diff_new_pack.FcaK0p/_new  2015-04-22 01:19:12.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Carton
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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
@@ -17,55 +17,51 @@
 
 
 Name:           perl-Carton
-Version:        1.0.12
+Version:        1.0.15
 Release:        0
 %define cpan_name Carton
 Summary:        Perl module dependency manager (aka Bundler for Perl)
 License:        Artistic-1.0 or GPL-1.0+
 Group:          Development/Libraries/Perl
 Url:            http://search.cpan.org/dist/Carton/
-Source:         
http://www.cpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-v%{version}.tar.gz
+Source0:        
http://www.cpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-v%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(App::FatPacker) >= 0.009018
-BuildRequires:  perl(App::cpanminus) >= 1.694
+BuildRequires:  perl(App::cpanminus) >= 1.703
 BuildRequires:  perl(CPAN::Meta) >= 2.120921
-BuildRequires:  perl(CPAN::Meta::Requirements) >= 2.121
-BuildRequires:  perl(Exception::Class) >= 1.32
+BuildRequires:  perl(CPAN::Meta::Requirements) >= 2.121000
+BuildRequires:  perl(Class::Tiny) >= 1.001
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.64
-BuildRequires:  perl(File::pushd)
 BuildRequires:  perl(Getopt::Long) >= 2.39
 BuildRequires:  perl(JSON) >= 2.53
-BuildRequires:  perl(Module::Build) >= 0.3601
+BuildRequires:  perl(Module::Build) >= 0.400400
 BuildRequires:  perl(Module::CPANfile) >= 0.9031
 BuildRequires:  perl(Module::CoreList)
 BuildRequires:  perl(Module::Metadata) >= 1.000003
-BuildRequires:  perl(Module::Reader) >= 0.002
-BuildRequires:  perl(Moo) >= 1.002
 BuildRequires:  perl(Path::Tiny) >= 0.033
 BuildRequires:  perl(Try::Tiny) >= 0.09
 BuildRequires:  perl(parent) >= 0.223
 BuildRequires:  perl(version) >= 0.77
-Requires:       perl(App::FatPacker) >= 0.009018
-Requires:       perl(App::cpanminus) >= 1.694
+Requires:       perl(App::cpanminus) >= 1.703
 Requires:       perl(CPAN::Meta) >= 2.120921
 Requires:       perl(CPAN::Meta::Requirements) >= 2.121
-Requires:       perl(Exception::Class) >= 1.32
+Requires:       perl(Class::Tiny) >= 1.001
 Requires:       perl(ExtUtils::MakeMaker) >= 6.64
-Requires:       perl(File::pushd)
 Requires:       perl(Getopt::Long) >= 2.39
 Requires:       perl(JSON) >= 2.53
 Requires:       perl(Module::Build) >= 0.4004
 Requires:       perl(Module::CPANfile) >= 0.9031
 Requires:       perl(Module::CoreList)
 Requires:       perl(Module::Metadata) >= 1.000003
-Requires:       perl(Module::Reader) >= 0.002
-Requires:       perl(Moo) >= 1.002
 Requires:       perl(Path::Tiny) >= 0.033
 Requires:       perl(Try::Tiny) >= 0.09
 Requires:       perl(parent) >= 0.223
+Recommends:     perl(App::FatPacker) >= 0.009018
+Recommends:     perl(File::pushd)
+Recommends:     perl(Module::Reader) >= 0.002
 %{perl_requires}
 
 %description
@@ -83,18 +79,19 @@
 find . -type f -print0 | xargs -0 chmod 644
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build build flags=%{?_smp_mflags}
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
 
 %check
-./Build test
+%{__make} test
 
 %install
-./Build install destdir=%{buildroot} create_packlist=0
+%perl_make_install
+%perl_process_packlist
 %perl_gen_filelist
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc Changes cpanfile LICENSE README
+%doc Changes LICENSE README
 
 %changelog

++++++ Carton-v1.0.12.tar.gz -> Carton-v1.0.15.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/Build.PL new/Carton-v1.0.15/Build.PL
--- old/Carton-v1.0.12/Build.PL 2013-09-24 13:03:51.000000000 +0200
+++ new/Carton-v1.0.15/Build.PL 1970-01-01 01:00:00.000000000 +0100
@@ -1,69 +0,0 @@
-
-use strict;
-use warnings;
-
-use Module::Build 0.3601;
-
-
-my %module_build_args = (
-  "build_requires" => {
-    "Module::Build" => "0.3601"
-  },
-  "configure_requires" => {
-    "Module::Build" => "0.3601",
-    "version" => "0.77"
-  },
-  "dist_abstract" => "Perl module dependency manager (aka Bundler for Perl)",
-  "dist_author" => [
-    "Tatsuhiko Miyagawa"
-  ],
-  "dist_name" => "Carton",
-  "dist_version" => "v1.0.12",
-  "license" => "perl",
-  "module_name" => "Carton",
-  "recommends" => {},
-  "recursive_test_files" => 1,
-  "requires" => {
-    "App::FatPacker" => "0.009018",
-    "App::cpanminus" => "1.694",
-    "CPAN::Meta" => "2.120921",
-    "CPAN::Meta::Requirements" => "2.121",
-    "Exception::Class" => "1.32",
-    "ExtUtils::MakeMaker" => "6.64",
-    "File::pushd" => 0,
-    "Getopt::Long" => "2.39",
-    "JSON" => "2.53",
-    "Module::Build" => "0.4004",
-    "Module::CPANfile" => "0.9031",
-    "Module::CoreList" => 0,
-    "Module::Metadata" => "1.000003",
-    "Module::Reader" => "0.002",
-    "Moo" => "1.002",
-    "Path::Tiny" => "0.033",
-    "Try::Tiny" => "0.09",
-    "parent" => "0.223",
-    "perl" => "v5.8.5"
-  },
-  "script_files" => [
-    "script/carton"
-  ],
-  "test_requires" => {}
-);
-
-
-unless ( eval { Module::Build->VERSION(0.4004) } ) {
-  my $tr = delete $module_build_args{test_requires};
-  my $br = $module_build_args{build_requires};
-  for my $mod ( keys %$tr ) {
-    if ( exists $br->{$mod} ) {
-      $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
-    }
-    else {
-      $br->{$mod} = $tr->{$mod};
-    }
-  }
-}
-
-my $build = Module::Build->new(%module_build_args);
-
-$build->create_build_script;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/Changes new/Carton-v1.0.15/Changes
--- old/Carton-v1.0.12/Changes  2013-09-24 13:03:51.000000000 +0200
+++ new/Carton-v1.0.15/Changes  2015-04-20 11:13:35.000000000 +0200
@@ -1,5 +1,18 @@
 Revision history for carton
 
+v1.0.15  2015-04-20 11:13:32 CEST
+        - downgrade some dependencies for fatpack-related tools to recommends
+          (probably ship it as a separate distribution in the future)
+
+v1.0.14  2015-04-20 00:07:26 CEST
+        - same as v1.0.14
+
+v1.0.13  2015-04-19 19:38:42 CEST
+        - require cpanm 1.7030 for better cpanfile support
+        - switch to MakeMaker
+        - remove Exception::Class and Moo in favor of Class::Tiny
+        - add an ability to set generator in Carton::Index for Carmel use
+
 v1.0.12  2013-09-24 20:03:47 JST
         - up Path::Tiny
         - Add --no-fatpack to carton bundle #140
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/LICENSE new/Carton-v1.0.15/LICENSE
--- old/Carton-v1.0.12/LICENSE  2013-09-24 13:03:51.000000000 +0200
+++ new/Carton-v1.0.15/LICENSE  2015-04-20 11:13:35.000000000 +0200
@@ -22,7 +22,7 @@
                      Version 1, February 1989
 
  Copyright (C) 1989 Free Software Foundation, Inc.
- 51 Franklin St, Suite 500, Boston, MA  02110-1335  USA
+ 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
  Everyone is permitted to copy and distribute verbatim copies
  of this license document, but changing it is not allowed.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/MANIFEST new/Carton-v1.0.15/MANIFEST
--- old/Carton-v1.0.12/MANIFEST 2013-09-24 13:03:51.000000000 +0200
+++ new/Carton-v1.0.15/MANIFEST 2015-04-20 11:13:35.000000000 +0200
@@ -1,9 +1,10 @@
-Build.PL
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v5.035.
 Changes
 LICENSE
 MANIFEST
 META.json
 META.yml
+Makefile.PL
 README
 cpanfile
 dist.ini
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/META.json new/Carton-v1.0.15/META.json
--- old/Carton-v1.0.12/META.json        2013-09-24 13:03:51.000000000 +0200
+++ new/Carton-v1.0.15/META.json        2015-04-20 11:13:35.000000000 +0200
@@ -4,13 +4,13 @@
       "Tatsuhiko Miyagawa"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Milla version v1.0.4, Dist::Zilla version 4.300039, 
CPAN::Meta::Converter version 2.132660",
+   "generated_by" : "Dist::Zilla version 5.035, Dist::Milla version v1.0.15, 
CPAN::Meta::Converter version 2.150001",
    "license" : [
       "perl_5"
    ],
    "meta-spec" : {
       "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
-      "version" : "2"
+      "version" : 2
    },
    "name" : "Carton",
    "no_index" : {
@@ -24,42 +24,39 @@
       ]
    },
    "prereqs" : {
-      "build" : {
-         "requires" : {
-            "Module::Build" : "0.3601"
-         }
-      },
       "configure" : {
          "requires" : {
-            "Module::Build" : "0.3601",
+            "ExtUtils::MakeMaker" : "0",
             "version" : "0.77"
          }
       },
       "develop" : {
          "requires" : {
             "Capture::Tiny" : "0",
+            "Dist::Milla" : "v1.0.15",
             "Test::More" : "0.9",
             "Test::Pod" : "1.41",
             "Test::Requires" : "0"
          }
       },
       "runtime" : {
-         "requires" : {
+         "recommends" : {
             "App::FatPacker" : "0.009018",
-            "App::cpanminus" : "1.694",
+            "File::pushd" : "0",
+            "Module::Reader" : "0.002"
+         },
+         "requires" : {
+            "App::cpanminus" : "1.703",
             "CPAN::Meta" : "2.120921",
             "CPAN::Meta::Requirements" : "2.121",
-            "Exception::Class" : "1.32",
+            "Class::Tiny" : "1.001",
             "ExtUtils::MakeMaker" : "6.64",
-            "File::pushd" : "0",
             "Getopt::Long" : "2.39",
             "JSON" : "2.53",
             "Module::Build" : "0.4004",
             "Module::CPANfile" : "0.9031",
             "Module::CoreList" : "0",
             "Module::Metadata" : "1.000003",
-            "Module::Reader" : "0.002",
-            "Moo" : "1.002",
             "Path::Tiny" : "0.033",
             "Try::Tiny" : "0.09",
             "parent" : "0.223",
@@ -70,29 +67,30 @@
    "release_status" : "stable",
    "resources" : {
       "bugtracker" : {
-         "web" : "https://github.com/miyagawa/carton/issues";
+         "web" : "https://github.com/perl-carton/carton/issues";
       },
-      "homepage" : "https://github.com/miyagawa/carton";,
+      "homepage" : "https://github.com/perl-carton/carton";,
       "repository" : {
          "type" : "git",
-         "url" : "https://github.com/miyagawa/carton.git";,
-         "web" : "https://github.com/miyagawa/carton";
+         "url" : "https://github.com/perl-carton/carton.git";,
+         "web" : "https://github.com/perl-carton/carton";
       }
    },
-   "version" : "v1.0.12",
+   "version" : "v1.0.15",
    "x_contributors" : [
       "Christian Walde <[email protected]>",
       "David Golden <[email protected]>",
       "David Steinbrunner <[email protected]>",
+      "ikasam_a <[email protected]>",
       "Kan Fushihara <[email protected]>",
       "Masahiro Chiba <[email protected]>",
       "NAKAGAWA Masaki <[email protected]>",
       "Olaf Alders <[email protected]>",
       "Pedro Figueiredo <[email protected]>",
+      "shiba_yu36 <[email protected]>",
+      "Tatsuhiko Miyagawa <[email protected]>",
       "Tatsuhiko Miyagawa <[email protected]>",
-      "Yanick Champoux <[email protected]>",
-      "ikasam_a <[email protected]>",
-      "shiba_yu36 <[email protected]>"
+      "Yanick Champoux <[email protected]>"
    ]
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/META.yml new/Carton-v1.0.15/META.yml
--- old/Carton-v1.0.12/META.yml 2013-09-24 13:03:51.000000000 +0200
+++ new/Carton-v1.0.15/META.yml 2015-04-20 11:13:35.000000000 +0200
@@ -2,17 +2,16 @@
 abstract: 'Perl module dependency manager (aka Bundler for Perl)'
 author:
   - 'Tatsuhiko Miyagawa'
-build_requires:
-  Module::Build: 0.3601
+build_requires: {}
 configure_requires:
-  Module::Build: 0.3601
-  version: 0.77
+  ExtUtils::MakeMaker: '0'
+  version: '0.77'
 dynamic_config: 0
-generated_by: 'Dist::Milla version v1.0.4, Dist::Zilla version 4.300039, 
CPAN::Meta::Converter version 2.132660'
+generated_by: 'Dist::Zilla version 5.035, Dist::Milla version v1.0.15, 
CPAN::Meta::Converter version 2.150001'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
+  version: '1.4'
 name: Carton
 no_index:
   directory:
@@ -22,41 +21,42 @@
     - share
     - eg
     - examples
+recommends:
+  App::FatPacker: '0.009018'
+  File::pushd: '0'
+  Module::Reader: '0.002'
 requires:
-  App::FatPacker: 0.009018
-  App::cpanminus: 1.694
-  CPAN::Meta: 2.120921
-  CPAN::Meta::Requirements: 2.121
-  Exception::Class: 1.32
-  ExtUtils::MakeMaker: 6.64
-  File::pushd: 0
-  Getopt::Long: 2.39
-  JSON: 2.53
-  Module::Build: 0.4004
-  Module::CPANfile: 0.9031
-  Module::CoreList: 0
-  Module::Metadata: 1.000003
-  Module::Reader: 0.002
-  Moo: 1.002
-  Path::Tiny: 0.033
-  Try::Tiny: 0.09
-  parent: 0.223
+  App::cpanminus: '1.703'
+  CPAN::Meta: '2.120921'
+  CPAN::Meta::Requirements: '2.121'
+  Class::Tiny: '1.001'
+  ExtUtils::MakeMaker: '6.64'
+  Getopt::Long: '2.39'
+  JSON: '2.53'
+  Module::Build: '0.4004'
+  Module::CPANfile: '0.9031'
+  Module::CoreList: '0'
+  Module::Metadata: '1.000003'
+  Path::Tiny: '0.033'
+  Try::Tiny: '0.09'
+  parent: '0.223'
   perl: v5.8.5
 resources:
-  bugtracker: https://github.com/miyagawa/carton/issues
-  homepage: https://github.com/miyagawa/carton
-  repository: https://github.com/miyagawa/carton.git
-version: v1.0.12
+  bugtracker: https://github.com/perl-carton/carton/issues
+  homepage: https://github.com/perl-carton/carton
+  repository: https://github.com/perl-carton/carton.git
+version: v1.0.15
 x_contributors:
   - 'Christian Walde <[email protected]>'
   - 'David Golden <[email protected]>'
   - 'David Steinbrunner <[email protected]>'
+  - 'ikasam_a <[email protected]>'
   - 'Kan Fushihara <[email protected]>'
   - 'Masahiro Chiba <[email protected]>'
   - 'NAKAGAWA Masaki <[email protected]>'
   - 'Olaf Alders <[email protected]>'
   - 'Pedro Figueiredo <[email protected]>'
+  - 'shiba_yu36 <[email protected]>'
+  - 'Tatsuhiko Miyagawa <[email protected]>'
   - 'Tatsuhiko Miyagawa <[email protected]>'
   - 'Yanick Champoux <[email protected]>'
-  - 'ikasam_a <[email protected]>'
-  - 'shiba_yu36 <[email protected]>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/Makefile.PL 
new/Carton-v1.0.15/Makefile.PL
--- old/Carton-v1.0.12/Makefile.PL      1970-01-01 01:00:00.000000000 +0100
+++ new/Carton-v1.0.15/Makefile.PL      2015-04-20 11:13:35.000000000 +0200
@@ -0,0 +1,74 @@
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v5.035.
+use strict;
+use warnings;
+
+use 5.008005;
+
+use ExtUtils::MakeMaker;
+
+my %WriteMakefileArgs = (
+  "ABSTRACT" => "Perl module dependency manager (aka Bundler for Perl)",
+  "AUTHOR" => "Tatsuhiko Miyagawa",
+  "CONFIGURE_REQUIRES" => {
+    "ExtUtils::MakeMaker" => 0,
+    "version" => "0.77"
+  },
+  "DISTNAME" => "Carton",
+  "EXE_FILES" => [
+    "script/carton"
+  ],
+  "LICENSE" => "perl",
+  "MIN_PERL_VERSION" => "5.008005",
+  "NAME" => "Carton",
+  "PREREQ_PM" => {
+    "App::cpanminus" => "1.703",
+    "CPAN::Meta" => "2.120921",
+    "CPAN::Meta::Requirements" => "2.121",
+    "Class::Tiny" => "1.001",
+    "ExtUtils::MakeMaker" => "6.64",
+    "Getopt::Long" => "2.39",
+    "JSON" => "2.53",
+    "Module::Build" => "0.4004",
+    "Module::CPANfile" => "0.9031",
+    "Module::CoreList" => 0,
+    "Module::Metadata" => "1.000003",
+    "Path::Tiny" => "0.033",
+    "Try::Tiny" => "0.09",
+    "parent" => "0.223"
+  },
+  "VERSION" => "v1.0.15",
+  "test" => {
+    "TESTS" => "t/*.t"
+  }
+);
+
+
+my %FallbackPrereqs = (
+  "App::cpanminus" => "1.703",
+  "CPAN::Meta" => "2.120921",
+  "CPAN::Meta::Requirements" => "2.121",
+  "Class::Tiny" => "1.001",
+  "ExtUtils::MakeMaker" => "6.64",
+  "Getopt::Long" => "2.39",
+  "JSON" => "2.53",
+  "Module::Build" => "0.4004",
+  "Module::CPANfile" => "0.9031",
+  "Module::CoreList" => 0,
+  "Module::Metadata" => "1.000003",
+  "Path::Tiny" => "0.033",
+  "Try::Tiny" => "0.09",
+  "parent" => "0.223",
+  "version" => "0.77"
+);
+
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+  delete $WriteMakefileArgs{TEST_REQUIRES};
+  delete $WriteMakefileArgs{BUILD_REQUIRES};
+  $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
+}
+
+delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
+  unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
+
+WriteMakefile(%WriteMakefileArgs);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/README new/Carton-v1.0.15/README
--- old/Carton-v1.0.12/README   2013-09-24 13:03:51.000000000 +0200
+++ new/Carton-v1.0.15/README   2015-04-20 11:13:35.000000000 +0200
@@ -1,42 +1,48 @@
 NAME
+
     Carton - Perl module dependency manager (aka Bundler for Perl)
 
 SYNOPSIS
+
       # On your development environment
       > cat cpanfile
       requires 'Plack', '0.9980';
       requires 'Starman', '0.2000';
-
+    
       > carton install
       > git add cpanfile cpanfile.snapshot
       > git commit -m "add Plack and Starman"
-
+    
       # Other developer's machine, or on a deployment box
       > carton install
       > carton exec starman -p 8080 myapp.psgi
 
 AVAILABILITY
+
     Carton only works with perl installation with the complete set of core
     modules. If you use perl installed by a vendor package with modules
     stripped from core, Carton is not expected to work correctly.
 
-    Also, Carton requires you to run your command/application with "carton
-    exec" command, which means it's difficult or impossible to run in an
+    Also, Carton requires you to run your command/application with carton
+    exec command, which means it's difficult or impossible to run in an
     embedded perl use case such as mod_perl.
 
 DESCRIPTION
+
     carton is a command line tool to track the Perl module dependencies for
     your Perl application. Dependencies are declared using cpanfile format,
-    and the managed dependencies are tracked in a *cpanfile.snapshot* file,
+    and the managed dependencies are tracked in a cpanfile.snapshot file,
     which is meant to be version controlled, and the snapshot file allows
     other developers of your application will have the exact same versions
     of the modules.
 
-    For "cpanfile" syntax, see cpanfile documentation.
+    For cpanfile syntax, see cpanfile documentation.
 
 TUTORIAL
-  Initializing the environment
-    carton will use the *local* directory to install modules into. You're
+
+ Initializing the environment
+
+    carton will use the local directory to install modules into. You're
     recommended to exclude these directories from the version control
     system.
 
@@ -44,8 +50,9 @@
       > git add cpanfile cpanfile.snapshot
       > git commit -m "Start using carton"
 
-  Tracking the dependencies
-    You can manage the dependencies of your application via "cpanfile".
+ Tracking the dependencies
+
+    You can manage the dependencies of your application via cpanfile.
 
       # cpanfile
       requires 'Plack', '0.9980';
@@ -55,60 +62,63 @@
 
       > carton install
 
-    The modules are installed into your *local* directory, and the
+    The modules are installed into your local directory, and the
     dependencies tree and version information are analyzed and saved into
-    *cpanfile.snapshot* in your directory.
+    cpanfile.snapshot in your directory.
 
-    Make sure you add *cpanfile* and *cpanfile.snapshot* to your version
+    Make sure you add cpanfile and cpanfile.snapshot to your version
     controlled repository and commit changes as you update dependencies.
     This will ensure that other developers on your app, as well as your
-    deployment environment, use exactly the same versions of the modules you
-    just installed.
+    deployment environment, use exactly the same versions of the modules
+    you just installed.
 
       > git add cpanfile cpanfile.snapshot
       > git commit -m "Added Plack and Starman"
 
-  Deploying your application
+ Deploying your application
+
     Once you've done installing all the dependencies, you can push your
-    application directory to a remote machine (excluding *local* and
-    *.carton*) and run the following command:
+    application directory to a remote machine (excluding local and .carton)
+    and run the following command:
 
       > carton install --deployment
 
-    This will look at the *cpanfile.snapshot* and install the exact same
-    versions of the dependencies into *local*, and now your application is
+    This will look at the cpanfile.snapshot and install the exact same
+    versions of the dependencies into local, and now your application is
     ready to run.
 
-    The "--deployment" flag makes sure that carton will only install modules
-    and versions available in your snapshot, and won't fallback to query for
-    CPAN Meta DB for missing modules.
+    The --deployment flag makes sure that carton will only install modules
+    and versions available in your snapshot, and won't fallback to query
+    for CPAN Meta DB for missing modules.
+
+ Bundling modules
 
-  Bundling modules
     carton can bundle all the tarballs for your dependencies into a
     directory so that you can even install dependencies that are not
     available on CPAN, such as internal distribution aka DarkPAN.
 
       > carton bundle
 
-    will bundle these tarballs into *vendor/cache* directory, and
+    will bundle these tarballs into vendor/cache directory, and
 
       > carton install --cached
 
-    will install modules using this local cache. Combined with
-    "--deployment" option, you can avoid querying for a database like CPAN
-    Meta DB or downloading files from CPAN mirrors upon deployment time.
+    will install modules using this local cache. Combined with --deployment
+    option, you can avoid querying for a database like CPAN Meta DB or
+    downloading files from CPAN mirrors upon deployment time.
 
 PERL VERSIONS
+
     When you take a snapshot in one perl version and deploy on another
     (different) version, you might have troubles with core modules.
 
-    The simplest solution, which might not work for everybody, is to use the
-    same version of perl in the development and deployment.
+    The simplest solution, which might not work for everybody, is to use
+    the same version of perl in the development and deployment.
 
-    To enforce that, you're recommended to use plenv and ".perl-version" to
+    To enforce that, you're recommended to use plenv and .perl-version to
     lock perl versions in development.
 
-    You can also specify the minimum perl required in "cpanfile":
+    You can also specify the minimum perl required in cpanfile:
 
       requires 'perl', '5.16.3';
 
@@ -116,22 +126,29 @@
     perl lower than the specified version.
 
 COMMUNITY
-    <https://github.com/miyagawa/carton>
-        Code repository, Wiki and Issue Tracker
 
-    <irc://irc.perl.org/#carton>
-        IRC chat room
+    https://github.com/miyagawa/carton
+
+      Code repository, Wiki and Issue Tracker
+
+    irc://irc.perl.org/#carton
+
+      IRC chat room
 
 AUTHOR
+
     Tatsuhiko Miyagawa
 
 COPYRIGHT
+
     Tatsuhiko Miyagawa 2011-
 
 LICENSE
+
     This software is licensed under the same terms as Perl itself.
 
 SEE ALSO
+
     cpanm
 
     cpanfile
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/cpanfile new/Carton-v1.0.15/cpanfile
--- old/Carton-v1.0.12/cpanfile 2013-09-24 13:03:51.000000000 +0200
+++ new/Carton-v1.0.15/cpanfile 2015-04-20 11:13:35.000000000 +0200
@@ -10,13 +10,12 @@
 
 requires 'Try::Tiny', 0.09;
 requires 'parent', 0.223;
-requires 'Exception::Class', 1.32;
 requires 'Getopt::Long', 2.39;
-requires 'Moo', 1.002;
+requires 'Class::Tiny', 1.001;
 requires 'Path::Tiny', 0.033;
 
 # MYMETA support
-requires 'App::cpanminus', 1.6940;
+requires 'App::cpanminus', 1.7030;
 requires 'ExtUtils::MakeMaker', 6.64;
 requires 'Module::Build', 0.4004;
 
@@ -24,9 +23,10 @@
 requires 'CPAN::Meta::Requirements', 2.121;
 requires 'Module::CoreList';
 
-requires 'App::FatPacker', 0.009018;
-requires 'File::pushd';
-requires 'Module::Reader', 0.002;
+# for fatpack
+recommends 'Module::Reader', 0.002;
+recommends 'File::pushd';
+recommends 'App::FatPacker', 0.009018;
 
 on develop => sub {
     requires 'Test::More', 0.90;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/dist.ini new/Carton-v1.0.15/dist.ini
--- old/Carton-v1.0.12/dist.ini 2013-09-24 13:03:51.000000000 +0200
+++ new/Carton-v1.0.15/dist.ini 2015-04-20 11:13:35.000000000 +0200
@@ -1,3 +1,3 @@
 name = Carton
 [@Milla]
-installer = ModuleBuild
+installer = MakeMaker
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/lib/Carton/Builder.pm 
new/Carton-v1.0.15/lib/Carton/Builder.pm
--- old/Carton-v1.0.12/lib/Carton/Builder.pm    2013-09-24 13:03:51.000000000 
+0200
+++ new/Carton-v1.0.15/lib/Carton/Builder.pm    2015-04-20 11:13:35.000000000 
+0200
@@ -1,14 +1,13 @@
 package Carton::Builder;
-use Moo;
-use warnings NONFATAL => 'all';
-no warnings 'once';
-
-has mirror  => (is => 'rw');
-has index   => (is => 'rw');
-has cascade => (is => 'rw', default => sub { 1 });
-has without => (is => 'rw', default => sub { [] });
-has cpanfile => (is => 'rw');
-has fatscript => (is => 'lazy');
+use strict;
+use Class::Tiny {
+    mirror => undef,
+    index  => undef,
+    cascade => sub { 1 },
+    without => sub { [] },
+    cpanfile => undef,
+    fatscript => sub { $_[0]->_build_fatscript },
+};
 
 sub effective_mirrors {
     my $self = shift;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/lib/Carton/CLI.pm 
new/Carton-v1.0.15/lib/Carton/CLI.pm
--- old/Carton-v1.0.12/lib/Carton/CLI.pm        2013-09-24 13:03:51.000000000 
+0200
+++ new/Carton-v1.0.15/lib/Carton/CLI.pm        2015-04-20 11:13:35.000000000 
+0200
@@ -1,7 +1,5 @@
 package Carton::CLI;
-use Moo;
-use warnings NONFATAL => 'all';
-
+use strict;
 use Config;
 use Getopt::Long;
 use Path::Tiny;
@@ -21,14 +19,15 @@
 
 our $UseSystem = 0; # 1 for unit testing
 
-has verbose => (is => 'rw');
-has carton  => (is => 'lazy');
-has mirror  => (is => 'rw', builder => 1,
-                coerce => sub { Carton::Mirror->new($_[0]) });
+use Class::Tiny {
+    verbose => undef,
+    carton => sub { $_[0]->_build_carton },
+    mirror => sub { $_[0]->_build_mirror },
+};
 
 sub _build_mirror {
     my $self = shift;
-    $ENV{PERL_CARTON_MIRROR} || $Carton::Mirror::DefaultMirror;
+    Carton::Mirror->new($ENV{PERL_CARTON_MIRROR} || 
$Carton::Mirror::DefaultMirror);
 }
 
 sub run {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/lib/Carton/CPANfile.pm 
new/Carton-v1.0.15/lib/Carton/CPANfile.pm
--- old/Carton-v1.0.12/lib/Carton/CPANfile.pm   2013-09-24 13:03:51.000000000 
+0200
+++ new/Carton-v1.0.15/lib/Carton/CPANfile.pm   2015-04-20 11:13:35.000000000 
+0200
@@ -1,14 +1,31 @@
 package Carton::CPANfile;
-use Moo;
-use warnings NONFATAL => 'all';
 use Path::Tiny ();
 use Module::CPANfile;
 
 use overload q{""} => sub { $_[0]->stringify }, fallback => 1;
 
-has path => (is => 'rw', coerce => sub { Path::Tiny->new($_[0]) }, handles => 
[ qw(stringify dirname) ]);
-has _cpanfile => (is => 'rw', handles => [ qw(prereqs) ]);
-has requirements => (is => 'rw', lazy => 1, builder => 1, handles => [ 
qw(required_modules requirements_for_module) ]);
+use subs 'path';
+
+use Class::Tiny {
+    path => undef,
+    _cpanfile => undef,
+    requirements => sub { $_[0]->_build_requirements },
+};
+
+sub stringify { shift->path->stringify(@_) }
+sub dirname   { shift->path->dirname(@_) }
+sub prereqs   { shift->_cpanfile->prereqs(@_) }
+sub required_modules { shift->requirements->required_modules(@_) }
+sub requirements_for_module { shift->requirements->requirements_for_module(@_) 
}
+
+sub path {
+    my $self = shift;
+    if (@_) {
+        $self->{path} = Path::Tiny->new($_[0]);
+    } else {
+        $self->{path};
+    }
+}
 
 sub load {
     my $self = shift;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/lib/Carton/Dependency.pm 
new/Carton-v1.0.15/lib/Carton/Dependency.pm
--- old/Carton-v1.0.12/lib/Carton/Dependency.pm 2013-09-24 13:03:51.000000000 
+0200
+++ new/Carton-v1.0.15/lib/Carton/Dependency.pm 2015-04-20 11:13:35.000000000 
+0200
@@ -1,10 +1,12 @@
 package Carton::Dependency;
-use Moo;
-use warnings NONFATAL => 'all';
+use strict;
+use Class::Tiny {
+    module => undef,
+    requirement => undef,
+    dist => undef,
+};
 
-has module => (is => 'rw');
-has requirement => (is => 'rw');
-has dist => (is => 'rw', handles => [ qw(requirements) ]);
+sub requirements { shift->dist->requirements(@_) }
 
 sub distname {
     my $self = shift;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/lib/Carton/Dist/Core.pm 
new/Carton-v1.0.15/lib/Carton/Dist/Core.pm
--- old/Carton-v1.0.12/lib/Carton/Dist/Core.pm  2013-09-24 13:03:51.000000000 
+0200
+++ new/Carton-v1.0.15/lib/Carton/Dist/Core.pm  2015-04-20 11:13:35.000000000 
+0200
@@ -1,9 +1,8 @@
 package Carton::Dist::Core;
-use Moo;
-use warnings NONFATAL => 'all';
-extends 'Carton::Dist';
+use strict;
+use parent 'Carton::Dist';
 
-has module_version => (is => 'ro');
+use Class::Tiny qw( module_version );
 
 sub BUILDARGS {
     my($class, %args) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/lib/Carton/Dist.pm 
new/Carton-v1.0.15/lib/Carton/Dist.pm
--- old/Carton-v1.0.12/lib/Carton/Dist.pm       2013-09-24 13:03:51.000000000 
+0200
+++ new/Carton-v1.0.15/lib/Carton/Dist.pm       2015-04-20 11:13:35.000000000 
+0200
@@ -1,13 +1,17 @@
 package Carton::Dist;
-use Moo;
-use warnings NONFATAL => 'all';
+use strict;
+use Class::Tiny {
+    name => undef,
+    pathname => undef,
+    provides => sub { +{} },
+    requirements => sub { $_[0]->_build_requirements },
+};
+
 use CPAN::Meta;
 
-has name     => (is => 'ro');
-has pathname => (is => 'rw');
-has provides => (is => 'rw', default => sub { +{} });
-has requirements => (is => 'rw', lazy => 1, builder => 1,
-                     handles => [ qw(add_string_requirement required_modules 
requirements_for_module) ]);
+sub add_string_requirement  { shift->requirements->add_string_requirement(@_) }
+sub required_modules        { shift->requirements->required_modules(@_) }
+sub requirements_for_module { shift->requirements->requirements_for_module(@_) 
}
 
 sub is_core { 0 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/lib/Carton/Environment.pm 
new/Carton-v1.0.15/lib/Carton/Environment.pm
--- old/Carton-v1.0.12/lib/Carton/Environment.pm        2013-09-24 
13:03:51.000000000 +0200
+++ new/Carton-v1.0.15/lib/Carton/Environment.pm        2015-04-20 
11:13:35.000000000 +0200
@@ -1,30 +1,30 @@
 package Carton::Environment;
-use Moo;
-use warnings NONFATAL => 'all';
-
+use strict;
 use Carton::CPANfile;
 use Carton::Snapshot;
 use Carton::Error;
 use Carton::Tree;
 use Path::Tiny;
 
-has cpanfile => (is => 'rw');
-has snapshot => (is => 'lazy');
-has install_path => (is => 'rw', lazy => 1, builder => 1, coerce => sub { 
Path::Tiny->new($_[0])->absolute });
-has vendor_cache  => (is => 'lazy');
-has tree => (is => 'rw', lazy => 1, builder => 1);
+use Class::Tiny {
+    cpanfile => undef,
+    snapshot => sub { $_[0]->_build_snapshot },
+    install_path => sub { $_[0]->_build_install_path },
+    vendor_cache => sub { $_[0]->_build_vendor_cache },
+    tree => sub { $_[0]->_build_tree },
+};
 
 sub _build_snapshot {
     my $self = shift;
-    Carton::Snapshot->new(path => $self->cpanfile->stringify . ".snapshot");
+    Carton::Snapshot->new(path => $self->cpanfile . ".snapshot");
 }
 
 sub _build_install_path {
     my $self = shift;
     if ($ENV{PERL_CARTON_PATH}) {
-        return $ENV{PERL_CARTON_PATH};
+        return Path::Tiny->new($ENV{PERL_CARTON_PATH});
     } else {
-        return $self->cpanfile->dirname . "/local";
+        return $self->cpanfile->path->parent->child("local");
     }
 }
 
@@ -68,7 +68,7 @@
         Carton::Error::CPANfileNotFound->throw(error => "Can't locate 
cpanfile: (@{[ $cpanfile_path || 'cpanfile' ]})");
     }
 
-    $self->install_path($install_path) if $install_path;
+    $self->install_path( Path::Tiny->new($install_path)->absolute ) if 
$install_path;
 
     $self;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/lib/Carton/Error.pm 
new/Carton-v1.0.15/lib/Carton/Error.pm
--- old/Carton-v1.0.12/lib/Carton/Error.pm      2013-09-24 13:03:51.000000000 
+0200
+++ new/Carton-v1.0.15/lib/Carton/Error.pm      2015-04-20 11:13:35.000000000 
+0200
@@ -1,12 +1,42 @@
 package Carton::Error;
 use strict;
-use Exception::Class (
-    'Carton::Error',
-    'Carton::Error::CommandNotFound' => { isa => 'Carton::Error' },
-    'Carton::Error::CommandExit' => { isa => 'Carton::Error', fields => [ 
'code' ] },
-    'Carton::Error::CPANfileNotFound' => { isa => 'Carton::Error' },
-    'Carton::Error::SnapshotParseError' => { isa => 'Carton::Error', fields => 
[ 'path' ] },
-    'Carton::Error::SnapshotNotFound' => { isa => 'Carton::Error', fields => [ 
'path' ] },
-);
+use overload '""' => sub { $_[0]->error };
+use Carp;
+
+sub throw {
+    my($class, @args) = @_;
+    die $class->new(@args);
+}
+
+sub rethrow {
+    die $_[0];
+}
+
+sub new {
+    my($class, %args) = @_;
+    bless \%args, $class;
+}
+
+sub error {
+    $_[0]->{error} || ref $_[0];
+}
+
+package Carton::Error::CommandNotFound;
+use parent 'Carton::Error';
+
+package Carton::Error::CommandExit;
+use parent 'Carton::Error';
+sub code { $_[0]->{code} }
+
+package Carton::Error::CPANfileNotFound;
+use parent 'Carton::Error';
+
+package Carton::Error::SnapshotParseError;
+use parent 'Carton::Error';
+sub path { $_[0]->{path} }
+
+package Carton::Error::SnapshotNotFound;
+use parent 'Carton::Error';
+sub path { $_[0]->{path} }
 
 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/lib/Carton/Index.pm 
new/Carton-v1.0.15/lib/Carton/Index.pm
--- old/Carton-v1.0.12/lib/Carton/Index.pm      2013-09-24 13:03:51.000000000 
+0200
+++ new/Carton-v1.0.15/lib/Carton/Index.pm      2015-04-20 11:13:35.000000000 
+0200
@@ -1,8 +1,9 @@
 package Carton::Index;
-use Moo;
-use warnings NONFATAL => 'all';
-
-has _packages => (is => 'rw', default => sub { +{} });
+use strict;
+use Class::Tiny {
+    _packages => sub { +{} },
+    generator => sub { require Carton; "Carton $Carton::VERSION" },
+};
 
 sub add_package {
     my($self, $package) = @_;
@@ -28,7 +29,7 @@
 Description:  Package names found in cpanfile.snapshot
 Columns:      package name, version, path
 Intended-For: Automated fetch routines, namespace documentation.
-Written-By:   Carton $Carton::VERSION
+Written-By:   @{[ $self->generator ]}
 Line-Count:   @{[ $self->count ]}
 Last-Updated: @{[ scalar localtime ]}
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/lib/Carton/Mirror.pm 
new/Carton-v1.0.15/lib/Carton/Mirror.pm
--- old/Carton-v1.0.12/lib/Carton/Mirror.pm     2013-09-24 13:03:51.000000000 
+0200
+++ new/Carton-v1.0.15/lib/Carton/Mirror.pm     2015-04-20 11:13:35.000000000 
+0200
@@ -1,11 +1,9 @@
 package Carton::Mirror;
-use Moo;
-use warnings NONFATAL => 'all';
+use strict;
+use Class::Tiny qw( url );
 
 our $DefaultMirror = 'http://cpan.metacpan.org/';
 
-has url => (is => 'ro');
-
 sub BUILDARGS {
     my($class, $url) = @_;
     return { url => $url };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/lib/Carton/Package.pm 
new/Carton-v1.0.15/lib/Carton/Package.pm
--- old/Carton-v1.0.12/lib/Carton/Package.pm    2013-09-24 13:03:51.000000000 
+0200
+++ new/Carton-v1.0.15/lib/Carton/Package.pm    2015-04-20 11:13:35.000000000 
+0200
@@ -1,10 +1,6 @@
 package Carton::Package;
-use Moo;
-use warnings NONFATAL => 'all';
-
-has name     => (is => 'ro');
-has version  => (is => 'ro');
-has pathname => (is => 'ro');
+use strict;
+use Class::Tiny qw( name version pathname );
 
 sub BUILDARGS {
     my($class, @args) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/lib/Carton/Packer.pm 
new/Carton-v1.0.15/lib/Carton/Packer.pm
--- old/Carton-v1.0.12/lib/Carton/Packer.pm     2013-09-24 13:03:51.000000000 
+0200
+++ new/Carton-v1.0.15/lib/Carton/Packer.pm     2015-04-20 11:13:35.000000000 
+0200
@@ -1,5 +1,5 @@
 package Carton::Packer;
-use Moo;
+use Class::Tiny;
 use warnings NONFATAL => 'all';
 use App::FatPacker;
 use File::pushd ();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/lib/Carton/Snapshot/Emitter.pm 
new/Carton-v1.0.15/lib/Carton/Snapshot/Emitter.pm
--- old/Carton-v1.0.12/lib/Carton/Snapshot/Emitter.pm   2013-09-24 
13:03:51.000000000 +0200
+++ new/Carton-v1.0.15/lib/Carton/Snapshot/Emitter.pm   2015-04-20 
11:13:35.000000000 +0200
@@ -1,5 +1,5 @@
 package Carton::Snapshot::Emitter;
-use Moo;
+use Class::Tiny;
 use warnings NONFATAL => 'all';
 
 sub emit {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/lib/Carton/Snapshot/Parser.pm 
new/Carton-v1.0.15/lib/Carton/Snapshot/Parser.pm
--- old/Carton-v1.0.12/lib/Carton/Snapshot/Parser.pm    2013-09-24 
13:03:51.000000000 +0200
+++ new/Carton-v1.0.15/lib/Carton/Snapshot/Parser.pm    2015-04-20 
11:13:35.000000000 +0200
@@ -1,5 +1,5 @@
 package Carton::Snapshot::Parser;
-use Moo;
+use Class::Tiny;
 use warnings NONFATAL => 'all';
 use Carton::Dist;
 use Carton::Error;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/lib/Carton/Snapshot.pm 
new/Carton-v1.0.15/lib/Carton/Snapshot.pm
--- old/Carton-v1.0.12/lib/Carton/Snapshot.pm   2013-09-24 13:03:51.000000000 
+0200
+++ new/Carton-v1.0.15/lib/Carton/Snapshot.pm   2015-04-20 11:13:35.000000000 
+0200
@@ -1,6 +1,5 @@
 package Carton::Snapshot;
-use Moo;
-use warnings NONFATAL => 'all';
+use strict;
 use Config;
 use Carton::Dist;
 use Carton::Dist::Core;
@@ -19,10 +18,27 @@
 
 use constant CARTON_SNAPSHOT_VERSION => '1.0';
 
-has path    => (is => 'rw', coerce => sub { Path::Tiny->new($_[0]) });
-has version => (is => 'rw', default => sub { CARTON_SNAPSHOT_VERSION });
-has loaded  => (is => 'rw');
-has _distributions => (is => 'rw', default => sub { +[] });
+use subs 'path';
+use Class::Tiny {
+    path => undef,
+    version => sub { CARTON_SNAPSHOT_VERSION },
+    loaded => undef,
+    _distributions => sub { +[] },
+};
+
+sub BUILD {
+    my $self = shift;
+    $self->path( $self->{path} );
+}    
+
+sub path {
+    my $self = shift;
+    if (@_) {
+        $self->{path} = Path::Tiny->new($_[0]);
+    } else {
+        $self->{path};
+    }
+}
 
 sub load_if_exists {
     my $self = shift;
@@ -137,8 +153,8 @@
         return 0 unless $reqs->accepts_module($module->{name}, 
$module->{provides}{$module->{name}}{version});
 
         if (my $exist = $installs{$module->{name}}) {
-            my $old_ver = 
version->new($exist->{provides}{$module->{name}}{version});
-            my $new_ver = 
version->new($module->{provides}{$module->{name}}{version});
+            my $old_ver = 
version::->new($exist->{provides}{$module->{name}}{version});
+            my $new_ver = 
version::->new($module->{provides}{$module->{name}}{version});
             return $new_ver >= $old_ver;
         } else {
             return 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/lib/Carton/Tree.pm 
new/Carton-v1.0.15/lib/Carton/Tree.pm
--- old/Carton-v1.0.12/lib/Carton/Tree.pm       2013-09-24 13:03:51.000000000 
+0200
+++ new/Carton-v1.0.15/lib/Carton/Tree.pm       2015-04-20 11:13:35.000000000 
+0200
@@ -1,10 +1,8 @@
 package Carton::Tree;
-use Moo;
-use warnings NONFATAL => 'all';
+use strict;
 use Carton::Dependency;
 
-has cpanfile => (is => 'ro');
-has snapshot => (is => 'ro');
+use Class::Tiny qw( cpanfile snapshot );
 
 use constant STOP => -1;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/lib/Carton.pm 
new/Carton-v1.0.15/lib/Carton.pm
--- old/Carton-v1.0.12/lib/Carton.pm    2013-09-24 13:03:51.000000000 +0200
+++ new/Carton-v1.0.15/lib/Carton.pm    2015-04-20 11:13:35.000000000 +0200
@@ -1,7 +1,7 @@
 package Carton;
 use strict;
 use 5.008_005;
-use version; our $VERSION = version->declare("v1.0.12");
+use version; our $VERSION = version->declare("v1.0.15");
 
 1;
 __END__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/t/release-pod-syntax.t 
new/Carton-v1.0.15/t/release-pod-syntax.t
--- old/Carton-v1.0.12/t/release-pod-syntax.t   2013-09-24 13:03:51.000000000 
+0200
+++ new/Carton-v1.0.15/t/release-pod-syntax.t   2015-04-20 11:13:35.000000000 
+0200
@@ -7,9 +7,8 @@
   }
 }
 
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
 use Test::More;
-
-eval "use Test::Pod 1.41";
-plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
+use Test::Pod 1.41;
 
 all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/xt/CLI.pm new/Carton-v1.0.15/xt/CLI.pm
--- old/Carton-v1.0.12/xt/CLI.pm        2013-09-24 13:03:51.000000000 +0200
+++ new/Carton-v1.0.15/xt/CLI.pm        2015-04-20 11:13:35.000000000 +0200
@@ -17,14 +17,10 @@
 use Capture::Tiny qw(capture);
 use File::pushd ();
 use Path::Tiny;
-use Moo;
 
 $Carton::CLI::UseSystem = 1;
 
-has dir => (is => 'rw');
-has stdout => (is => 'rw');
-has stderr => (is => 'rw');
-has exit_code => (is => 'rw');
+use Class::Tiny qw( dir stdout stderr exit_code );
 
 sub write_file {
     my($self, $file, @args) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/xt/cli/check.t 
new/Carton-v1.0.15/xt/cli/check.t
--- old/Carton-v1.0.12/xt/cli/check.t   2013-09-24 13:03:51.000000000 +0200
+++ new/Carton-v1.0.15/xt/cli/check.t   2015-04-20 11:13:35.000000000 +0200
@@ -45,7 +45,7 @@
     like $app->stdout, qr/are satisfied/;
 
     $app->run("list");
-    like $app->stdout, qr/Try-Tiny-0\.18/;
+    like $app->stdout, qr/Try-Tiny-0\.\d\d/;
 
     $app->write_cpanfile(<<EOF);
 requires 'Try::Tiny', '10.00';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/xt/cli/mirror.t 
new/Carton-v1.0.15/xt/cli/mirror.t
--- old/Carton-v1.0.12/xt/cli/mirror.t  2013-09-24 13:03:51.000000000 +0200
+++ new/Carton-v1.0.15/xt/cli/mirror.t  2015-04-20 11:13:35.000000000 +0200
@@ -15,7 +15,7 @@
     $app->run("install");
 
     $app->run("list");
-    is $app->stdout, "Hash-MultiValue-0.08\n";
+    like $app->stdout, qr/^Hash-MultiValue-0.08/m;
 }
 
 {
@@ -29,7 +29,7 @@
     $app->run("install");
 
     $app->run("list");
-    like $app->stdout, qr/^PSGI-/;
+    like $app->stdout, qr/^PSGI-/m;
 }
 
 done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/xt/cli/mismatch.t 
new/Carton-v1.0.15/xt/cli/mismatch.t
--- old/Carton-v1.0.12/xt/cli/mismatch.t        2013-09-24 13:03:51.000000000 
+0200
+++ new/Carton-v1.0.15/xt/cli/mismatch.t        2015-04-20 11:13:35.000000000 
+0200
@@ -13,14 +13,11 @@
     $app->run("install");
     $app->run("list");
 
- TODO: {
-        local $TODO = "depends which module it tries to install first";
-        like $app->stdout, qr/Data-Dumper-2\.139/;
-        like $app->stdout, qr/Test-Differences-0\.61/;
+    like $app->stdout, qr/Data-Dumper-2\.139/;
+    like $app->stdout, qr/Test-Differences-0\.61/;
 
-        $app->run("check");
-        like $app->stdout, qr/are satisfied/;
-    }
+    $app->run("check");
+    like $app->stdout, qr/are satisfied/;
 }
 
 done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Carton-v1.0.12/xt/cli/update.t 
new/Carton-v1.0.15/xt/cli/update.t
--- old/Carton-v1.0.12/xt/cli/update.t  2013-09-24 13:03:51.000000000 +0200
+++ new/Carton-v1.0.15/xt/cli/update.t  2015-04-20 11:13:35.000000000 +0200
@@ -54,7 +54,7 @@
 EOF
     $app->run("install");
     $app->run("list");
-    like $app->stdout, qr/Try-Tiny-0\.18/;
+    like $app->stdout, qr/Try-Tiny-0\.\d\d/;
 
     $app->write_cpanfile(<<EOF);
 requires 'Try::Tiny', '== 0.09';

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
#patches:
#  foo.patch: -p1
#  bar.patch:
#preamble: |-
# BuildRequires:  gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag
#ignore_requires: Bizarre::Module

Reply via email to