From 96130081351d4696352b54dd3cf6e966a9525dc5 Mon Sep 17 00:00:00 2001 From: Tatsuhiko Miyagawa Date: Wed, 25 Apr 2018 02:42:27 -0700 Subject: v1.0.30 --- Changes | 3 +++ META.json | 11 ++++++----- Makefile.PL | 6 +++--- README.md | 18 ++++++++++++++++++ lib/Carton.pm | 2 +- 5 files changed, 31 insertions(+), 9 deletions(-) diff --git a/Changes b/Changes index af74fcf..2bdbc28 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,9 @@ Revision history for carton {{$NEXT}} +v1.0.30 2018-04-25 02:42:18 PDT + - depend on Menlo::CLI::Compat for Menlo-Legacy + v1.0.29 2018-04-21 19:27:13 CEST - switched from JSON to JSON::PP - use Menlo to instlal modules rather than App::cpanminus::fatscript diff --git a/META.json b/META.json index ade60f1..5f6ea02 100644 --- a/META.json +++ b/META.json @@ -4,7 +4,7 @@ "Tatsuhiko Miyagawa" ], "dynamic_config" : 0, - "generated_by" : "Dist::Milla version v1.0.18, Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Milla version v1.0.20, Dist::Zilla version 6.009, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -33,7 +33,7 @@ "develop" : { "requires" : { "Capture::Tiny" : "0", - "Dist::Milla" : "v1.0.18", + "Dist::Milla" : "v1.0.20", "Test::More" : "0.9", "Test::Pod" : "1.41", "Test::Requires" : "0" @@ -50,7 +50,7 @@ "Class::Tiny" : "1.001", "Getopt::Long" : "2.39", "JSON::PP" : "2.27300", - "Menlo" : "1.9016", + "Menlo::CLI::Compat" : "1.9018", "Module::CPANfile" : "0.9031", "Module::CoreList" : "0", "Path::Tiny" : "0.033", @@ -72,7 +72,7 @@ "web" : "https://github.com/perl-carton/carton" } }, - "version" : "v1.0.29", + "version" : "v1.0.30", "x_contributors" : [ "Christian Walde ", "David Golden ", @@ -93,6 +93,7 @@ "WATANABE Hiroaki ", "Yanick Champoux " ], - "x_serialization_backend" : "Cpanel::JSON::XS version 3.0233" + "x_serialization_backend" : "Cpanel::JSON::XS version 3.0233", + "x_static_install" : 0 } diff --git a/Makefile.PL b/Makefile.PL index a93be8c..bc0f293 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -26,14 +26,14 @@ my %WriteMakefileArgs = ( "Class::Tiny" => "1.001", "Getopt::Long" => "2.39", "JSON::PP" => "2.27300", - "Menlo" => "1.9016", + "Menlo::CLI::Compat" => "1.9018", "Module::CPANfile" => "0.9031", "Module::CoreList" => 0, "Path::Tiny" => "0.033", "Try::Tiny" => "0.09", "parent" => "0.223" }, - "VERSION" => "v1.0.29", + "VERSION" => "v1.0.30", "test" => { "TESTS" => "t/*.t" } @@ -46,7 +46,7 @@ my %FallbackPrereqs = ( "Class::Tiny" => "1.001", "Getopt::Long" => "2.39", "JSON::PP" => "2.27300", - "Menlo" => "1.9016", + "Menlo::CLI::Compat" => "1.9018", "Module::CPANfile" => "0.9031", "Module::CoreList" => 0, "Path::Tiny" => "0.033", diff --git a/README.md b/README.md index b48220e..91ceea1 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,24 @@ the modules you just installed. > git add cpanfile cpanfile.snapshot > git commit -m "Added Plack and Starman" +## Specifying a CPAN distribution + +You can pin a module resolution to a specific distribution using a +combination of `dist`, `mirror` and `url` options in `cpanfile`. + + # specific distribution on PAUSE + requires 'Plack', '== 0.9980', + dist => 'MIYAGAWA/Plack-0.9980.tar.gz'; + + # local mirror (darkpan) + requires 'Plack', '== 0.9981', + dist => 'MYCOMPANY/Plack-0.9981-p1.tar.gz', + mirror => 'https://pause.local/'; + + # URL + requires 'Plack', '== 1.1000', + url => 'https://pause.local/authors/id/M/MY/MYCOMPANY/Plack-1.1000.tar.gz'; + ## Deploying your application Once you've done installing all the dependencies, you can push your diff --git a/lib/Carton.pm b/lib/Carton.pm index 6c240c3..96cef93 100644 --- a/lib/Carton.pm +++ b/lib/Carton.pm @@ -1,7 +1,7 @@ package Carton; use strict; use 5.008_005; -use version; our $VERSION = version->declare("v1.0.29"); +use version; our $VERSION = version->declare("v1.0.30"); 1; __END__ -- cgit v1.2.1