Alien-Build-Plugin-Download-GitHub
view release on metacpan or search on metacpan
t/alien_build_plugin_download_github.t view on Meta::CPAN
'called fetch'
;
};
subtest 'temp file' => sub {
@mock_calls = ();
my $file = path( tempdir( CLEANUP => 1 ) )->child('release');
local $mock_response{path} = "$file";
$file->spew_utf8(encode_json([
{
tag_name => 'v1.01',
tarball_url => 'https://api.github.com/repos/PerlAlien/dontpanic/tarball/v1.01',
},
{
tag_name => '1.00',
tarball_url => 'https://api.github.com/repos/PerlAlien/dontpanic/tarball/1.00',
},
]));
( run in 1.111 second using v1.01-cache-2.11-cpan-49f99fa48dc )