Skip to content

Instantly share code, notes, and snippets.

package Plack::Builder;
sub new { ... }
sub enable {
my $self = shift;
...
}
sub enable_if {

Requires FASTLY_KEY environment variables set (in heroku config).

Keybase proof

I hereby claim:

  • I am miyagawa on github.
  • I am miyagawa (https://keybase.io/miyagawa) on keybase.
  • I have a public key whose fingerprint is 49F6 E4E2 5C88 422B 1E44 5F59 4F04 E662 D267 B231

To claim this, I am signing this object:

➜ semantic git:(master) ✗ gulp build
module.js:338
throw err;
^
Error: Cannot find module '/usr/local/share/npm/lib/node_modules/gulp/node_modules/v8flags/cache/3.28.71.19.flags.json'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/usr/local/share/npm/lib/node_modules/gulp/bin/gulp.js:25:22)
cpanm (App::cpanminus) 1.7039 on perl 5.020001 built for darwin-2level
Work directory is /Users/miyagawa/.cpanm/work/1436920995.31540
You have make /usr/bin/make
You have LWP 6.13
You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3
You have /usr/bin/unzip
Searching LWP::Protocol::https () on cpanmetadb ...
--> Working on LWP::Protocol::https
Fetching http://www.cpan.org/authors/id/M/MS/MSCHILLI/LWP-Protocol-https-6.06.tar.gz
-> OK
cpanm (Menlo) 1.9000 on perl 5.020001 built for darwin-2level
Work directory is /Users/miyagawa/.cpanm/work/1435680264.61342
You have make /usr/bin/make
You have LWP: 6.13
You have LWP::Protocol::https: 6.06
You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3
You have /usr/bin/unzip
--> Working on LEONT/Dist-Zilla-Plugin-ModuleBuildTiny-0.011.tar.gz
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/Dist-Zilla-Plugin-ModuleBuildTiny-0.011.tar.gz
-> OK
➜ cpanminus git:(devel) cpanm Dist::Zilla::Plugin::Git::NextRelease --info -v
cpanm (App::cpanminus) 1.7039 on perl 5.020001 built for darwin-2level
Work directory is /Users/miyagawa/.cpanm/work/1435589994.32896
You have make /usr/bin/make
You have LWP 6.13
You have /usr/bin/tar: bsdtar 2.8.3 - libarchive 2.8.3
You have /usr/bin/unzip
Searching Dist::Zilla::Plugin::Git::NextRelease () on cpanmetadb ...
KENTNL/Dist-Zilla-Plugin-Git-NextRelease-0.004000.tar.gz
➜ cpanminus git:(devel) curl http://cpanmetadb.plackperl.org/v1.0/package/Dist::Zilla::Plugin::Git::NextRelease
diff --git a/lib/App/cpanminus/script.pm b/lib/App/cpanminus/script.pm
index 51f26fe..5eb0991 100644
--- a/lib/App/cpanminus/script.pm
+++ b/lib/App/cpanminus/script.pm
@@ -2704,7 +2704,9 @@ sub extract_prereqs {
sub soften_makemaker_prereqs {
my($self, $prereqs) = @_;
- for my $phase (qw( build test )) {
+ return $prereqs unless -e "inc/Module/Install.pm";
@miyagawa
miyagawa / gist:21b1e02784df7acb8aa2
Created June 27, 2015 00:40
dists with XS files, with META.yml (1.4) and dynamic_config = 0 (probably by accident due to dzil default)
AFLOTT/Hobocamp-0.600.tar.gz
./Dialog.xs
./ppport.h
APOCAL/POE-Component-Fuse-0.05.tar.gz
./lib/POE/Component/Fuse/myFuse.xs
./ppport.h
ARODLAND/Unicode-CaseFold-1.00.tar.gz
./c/ppport.h
@miyagawa
miyagawa / gist:14db2ca19dc9c1a53a47
Last active August 29, 2015 14:23
Distributions with META 1.x and dynamic_config = 0
AANARI/Business-YQL-0.0004.tar.gz Dist::Zilla version 5.009, CPAN::Meta::Converter version 2.133380, CPAN::Meta::Converter version 2.150005
AANARI/WebService-NationBuilder-0.0107.tar.gz Dist::Zilla version 5.009, CPAN::Meta::Converter version 2.133380, CPAN::Meta::Converter version 2.150005
AANOAA/Acme-eng2kor-v0.0.2.tar.gz Dist::Zilla version 4.200003, CPAN::Meta::Converter version 2.110390, CPAN::Meta::Converter version 2.150005
AANOAA/AnyEvent-Campfire-Client-0.0.2.tar.gz Dist::Zilla version 4.300025, CPAN::Meta::Converter version 2.120921, CPAN::Meta::Converter version 2.150005
AANOAA/AnyEvent-Campfire-Stream-0.0.3.tar.gz Dist::Zilla version 4.300025, CPAN::Meta::Converter version 2.120921, CPAN::Meta::Converter version 2.150005
AANOAA/AnyEvent-HTTP-ScopedClient-0.0.5.tar.gz