summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiko Miyagawa <miyagawa@bulknews.net>2018-04-25 02:42:27 -0700
committerTatsuhiko Miyagawa <miyagawa@bulknews.net>2018-04-25 02:42:27 -0700
commit96130081351d4696352b54dd3cf6e966a9525dc5 (patch)
tree2d8d597b599698a3a26eff2045db64b9bd30471b
parent7875452ae1e93337647e7e4a7713664be00512af (diff)
downloadcarton-96130081351d4696352b54dd3cf6e966a9525dc5.tar.gz
v1.0.30v1.0.30
-rw-r--r--Changes3
-rw-r--r--META.json11
-rw-r--r--Makefile.PL6
-rw-r--r--README.md18
-rw-r--r--lib/Carton.pm2
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 <walde.christian@googlemail.com>",
"David Golden <dagolden@cpan.org>",
@@ -93,6 +93,7 @@
"WATANABE Hiroaki <hwat@mac.com>",
"Yanick Champoux <yanick@babyl.dyndns.org>"
],
- "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__