Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
Ensure the perms test can run on any platform. (Thanks Aristotle)
Clean up the handle.t test.
Remove META.yml
Hold onto META.json instead
Update the MANIFEST accordingly
Fix some prereqs in the Makefile.PL
  • Loading branch information
genio committed Oct 16, 2018
1 parent d69d1ff commit 3e93bf7
Show file tree
Hide file tree
Showing 6 changed files with 270 additions and 245 deletions.
2 changes: 1 addition & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ lib/File/Slurp.pm
Makefile.PL
MANIFEST
MANIFEST.SKIP
META.yml Module meta-data (added by MakeMaker)
META.json Module meta-data (added by MakeMaker)
README.md
t/00-report-prereqs.t
t/01-error_edit_file.t
Expand Down
82 changes: 82 additions & 0 deletions META.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"abstract" : "Simple and Efficient Reading/Writing/Modifying of Complete Files",
"author" : [
"Uri Guttman <[email protected]>"
],
"dynamic_config" : 0,
"generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : 2
},
"name" : "File-Slurp",
"no_index" : {
"directory" : [
"t",
"inc",
"xt"
]
},
"prereqs" : {
"build" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
},
"configure" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
},
"runtime" : {
"requires" : {
"B" : "0",
"Carp" : "0",
"Errno" : "0",
"Exporter" : "5.57",
"Fcntl" : "0",
"POSIX" : "0",
"strict" : "0",
"warnings" : "0"
}
},
"test" : {
"requires" : {
"Carp" : "0",
"Exporter" : "5.57",
"Fcntl" : "0",
"File::Basename" : "0",
"File::Spec" : "0",
"File::Temp" : "0",
"IO::Handle" : "0",
"POSIX" : "0",
"Scalar::Util" : "1.00",
"Socket" : "0",
"Symbol" : "0",
"Test::More" : "0",
"overload" : "0",
"strict" : "0",
"warnings" : "0"
}
}
},
"release_status" : "unstable",
"resources" : {
"repository" : {
"type" : "git",
"url" : "https://github.com/perhunter/slurp.git",
"web" : "https://github.com/perhunter/slurp"
}
},
"version" : "9999.22_01",
"x_contributors" : [
"Chase Whitener <[email protected]>",
"Dan Book <[email protected]>",
"Graham Knop <[email protected]>",
"James E Keenan <[email protected]>"
],
"x_serialization_backend" : "JSON::PP version 2.97001"
}
52 changes: 0 additions & 52 deletions META.yml

This file was deleted.

3 changes: 2 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ my %TestReqs = (
"strict" => 0,
"warnings" => 0,
"Carp" => 0,
'Exporter' => 0,
'Exporter' => '5.57',
'Fcntl' => 0,
"File::Basename" => 0,
"File::Spec" => 0,
"File::Temp" => 0,
Expand Down
Loading

0 comments on commit 3e93bf7

Please sign in to comment.