Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions Build.PL
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,8 @@ use builder::custom;
use File::Basename;
use File::Spec;

my $tap_harness_args = {
"verbosity" => 1,
"merge" => 1,
"formatter_class" => "TAP::Formatter::GitHubActions",

};
die "OS unsupported\n" if $^O eq "MSWin32";
die "OS unsupported\n" if $^O eq "cygwin";

my %args = (
license => 'perl_5',
Expand All @@ -46,6 +42,7 @@ my %args = (
test_requires => {
'Test::Exception' => '0',
'Test::More' => '0',
'Test::Pod' => '0',
},

name => 'Mojo-IOLoop-ReadWriteProcess',
Expand All @@ -57,9 +54,10 @@ my %args = (

test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/',
recursive_test_files => 1,
tap_harness_args => $tap_harness_args,
);

tap_harness_args => {"merge" => 1},

);
if (-d 'share') {
$args{share_dir} = 'share';
}
Expand Down
6 changes: 6 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
Revision history for Perl extension Mojo-IOLoop-ReadWriteProcess

{{$NEXT}}
- README: Update POD using minilla
- Try to prevent warnings about Formatter
- Update Build.PL and META.json with minilla 3.1.25
- Remove obsolete dependency on TAP::Formatter::Color
- Fix changelog

1.0.0 2025-03-17 12:20:20Z
- Various test fixes
- Fix race condition in `is_running` when `kill_whole_group` is set
Expand Down
34 changes: 25 additions & 9 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"Ettore Di Giacinto <edigiacinto@suse.com>"
],
"dynamic_config" : 0,
"generated_by" : "Minilla/v3.1.22, CPAN::Meta::Converter version 2.150010",
"generated_by" : "Minilla/v3.1.25, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : 2
"version" : "2"
},
"name" : "Mojo-IOLoop-ReadWriteProcess",
"no_index" : {
Expand All @@ -25,6 +25,22 @@
"builder"
]
},
"optional_features" : {
"ci" : {
"description" : "ci",
"prereqs" : {
"runtime" : {
"requires" : {
"Devel::Cover" : "0",
"Devel::Cover::Report::Codecovbash" : "0",
"Minilla" : "0",
"TAP::Formatter::GitHubActions" : "0",
"Test::Pod::Coverage" : "0"
}
}
}
}
},
"prereqs" : {
"configure" : {
"requires" : {
Expand All @@ -34,13 +50,10 @@
},
"develop" : {
"requires" : {
"Devel::Cover" : "0",
"Devel::Cover::Report::Codecovbash" : "0",
"Test::CPAN::Meta" : "0",
"Test::MinimumVersion::Fast" : "0.04",
"Test::PAUSE::Permissions" : "0.07",
"Test::Pod" : "1.41",
"Test::Pod::Coverage" : "0",
"Test::Spellunker" : "v0.2.7"
}
},
Expand All @@ -53,7 +66,8 @@
"test" : {
"requires" : {
"Test::Exception" : "0",
"Test::More" : "0"
"Test::More" : "0",
"Test::Pod" : "0"
}
}
},
Expand All @@ -69,26 +83,28 @@
"web" : "https://github.com/openSUSE/Mojo-IOLoop-ReadWriteProcess"
}
},
"version" : "1.0.0",
"version" : "1.0.1",
"x_contributors" : [
"Adam Williamson <awilliam@redhat.com>",
"Clemens Famulla-Conrad <cfamullaconrad@suse.de>",
"Ettore Di Giacinto <mudler@gentoo.org>",
"Ettore Di Giacinto <mudler@users.noreply.github.com>",
"Marius Kittler <mkittler@suse.de>",
"Martchus <martchus@gmx.net>",
"Martchus <mkittler@suse.de>",
"Mohammad S Anwar <mohammad.anwar@yahoo.com>",
"Nick Morrott <knowledgejunkie@gmail.com>",
"Oliver Kurz <okurz@suse.de>",
"Santiago Zarate <229240+foursixnine@users.noreply.github.com>",
"Santiago Zarate <santiago+github@zarate.co>",
"Santiago Zarate <santiago.zarate@suse.com>",
"Santiago Zarate <santiago@zarate.co>",
"Sebastian Riedel <s@kraih.com>",
"Sebastian Riedel <sri@cpan.org>",
"Tina Müller <cpan2@tinita.de>",
"Wabri <12409541+Wabri@users.noreply.github.com>",
"cfconrad <40127946+cfconrad@users.noreply.github.com>",
"gregor herrmann <gregoa@debian.org>"
],
"x_serialization_backend" : "JSON::PP version 4.16",
"x_serialization_backend" : "JSON::PP version 2.27400_02",
"x_static_install" : 0
}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Mojo::IOLoop::ReadWriteProcess - Execute external programs or internal code bloc
$process->stop();
my @errors = $process->error;

# To help when debugging Mojo::Collections
use Mojo::Util qw(dumper);
my $errors = dumper $process->error->to_array;

# Get process return value
$process = process( sub { return "256"; } )->start()->wait_stop;
# We need to stop it to retrieve the exit status
Expand Down
1 change: 0 additions & 1 deletion cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on configure => sub {
on test => sub {
requires 'Test::More';
requires 'Test::Exception';
requires 'TAP::Formatter::Color';
requires 'Test::Pod';
};

Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/IOLoop/ReadWriteProcess.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Mojo::IOLoop::ReadWriteProcess;

our $VERSION = '1.0.0';
our $VERSION = '1.0.1';

use Mojo::Base 'Mojo::EventEmitter';
use Mojo::File 'path';
Expand Down
1 change: 0 additions & 1 deletion minil.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ os = [

[tap_harness_args]
merge = 1
formatter = "TAP::Formatter::GitHubActions"
Loading