Skip to content

Commit 6a05891

Browse files
authored
Merge pull request #76 from okurz/feature/next
Fix minil build + version 1.1.0
2 parents 73447c9 + d942c46 commit 6a05891

7 files changed

Lines changed: 42 additions & 20 deletions

File tree

Build.PL

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,8 @@ use builder::custom;
1414
use File::Basename;
1515
use File::Spec;
1616

17-
my $tap_harness_args = {
18-
"verbosity" => 1,
19-
"merge" => 1,
20-
"formatter_class" => "TAP::Formatter::GitHubActions",
21-
22-
};
17+
die "OS unsupported\n" if $^O eq "MSWin32";
18+
die "OS unsupported\n" if $^O eq "cygwin";
2319

2420
my %args = (
2521
license => 'perl_5',
@@ -46,6 +42,7 @@ my %args = (
4642
test_requires => {
4743
'Test::Exception' => '0',
4844
'Test::More' => '0',
45+
'Test::Pod' => '0',
4946
},
5047

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

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

58+
tap_harness_args => {"merge" => 1},
59+
60+
);
6361
if (-d 'share') {
6462
$args{share_dir} = 'share';
6563
}

Changes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
Revision history for Perl extension Mojo-IOLoop-ReadWriteProcess
33

44
{{$NEXT}}
5+
- README: Update POD using minilla
6+
- Try to prevent warnings about Formatter
7+
- Update Build.PL and META.json with minilla 3.1.25
8+
- Remove obsolete dependency on TAP::Formatter::Color
9+
- Fix changelog
10+
511
1.0.0 2025-03-17 12:20:20Z
612
- Various test fixes
713
- Fix race condition in `is_running` when `kill_whole_group` is set

META.json

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"Ettore Di Giacinto <edigiacinto@suse.com>"
55
],
66
"dynamic_config" : 0,
7-
"generated_by" : "Minilla/v3.1.22, CPAN::Meta::Converter version 2.150010",
7+
"generated_by" : "Minilla/v3.1.25, CPAN::Meta::Converter version 2.150010",
88
"license" : [
99
"perl_5"
1010
],
1111
"meta-spec" : {
1212
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
13-
"version" : 2
13+
"version" : "2"
1414
},
1515
"name" : "Mojo-IOLoop-ReadWriteProcess",
1616
"no_index" : {
@@ -25,6 +25,22 @@
2525
"builder"
2626
]
2727
},
28+
"optional_features" : {
29+
"ci" : {
30+
"description" : "ci",
31+
"prereqs" : {
32+
"runtime" : {
33+
"requires" : {
34+
"Devel::Cover" : "0",
35+
"Devel::Cover::Report::Codecovbash" : "0",
36+
"Minilla" : "0",
37+
"TAP::Formatter::GitHubActions" : "0",
38+
"Test::Pod::Coverage" : "0"
39+
}
40+
}
41+
}
42+
}
43+
},
2844
"prereqs" : {
2945
"configure" : {
3046
"requires" : {
@@ -34,13 +50,10 @@
3450
},
3551
"develop" : {
3652
"requires" : {
37-
"Devel::Cover" : "0",
38-
"Devel::Cover::Report::Codecovbash" : "0",
3953
"Test::CPAN::Meta" : "0",
4054
"Test::MinimumVersion::Fast" : "0.04",
4155
"Test::PAUSE::Permissions" : "0.07",
4256
"Test::Pod" : "1.41",
43-
"Test::Pod::Coverage" : "0",
4457
"Test::Spellunker" : "v0.2.7"
4558
}
4659
},
@@ -53,7 +66,8 @@
5366
"test" : {
5467
"requires" : {
5568
"Test::Exception" : "0",
56-
"Test::More" : "0"
69+
"Test::More" : "0",
70+
"Test::Pod" : "0"
5771
}
5872
}
5973
},
@@ -69,26 +83,28 @@
6983
"web" : "https://github.com/openSUSE/Mojo-IOLoop-ReadWriteProcess"
7084
}
7185
},
72-
"version" : "1.0.0",
86+
"version" : "1.1.0",
7387
"x_contributors" : [
7488
"Adam Williamson <awilliam@redhat.com>",
7589
"Clemens Famulla-Conrad <cfamullaconrad@suse.de>",
7690
"Ettore Di Giacinto <mudler@gentoo.org>",
7791
"Ettore Di Giacinto <mudler@users.noreply.github.com>",
78-
"Marius Kittler <mkittler@suse.de>",
7992
"Martchus <martchus@gmx.net>",
93+
"Martchus <mkittler@suse.de>",
8094
"Mohammad S Anwar <mohammad.anwar@yahoo.com>",
8195
"Nick Morrott <knowledgejunkie@gmail.com>",
8296
"Oliver Kurz <okurz@suse.de>",
8397
"Santiago Zarate <229240+foursixnine@users.noreply.github.com>",
8498
"Santiago Zarate <santiago+github@zarate.co>",
99+
"Santiago Zarate <santiago.zarate@suse.com>",
85100
"Santiago Zarate <santiago@zarate.co>",
86101
"Sebastian Riedel <s@kraih.com>",
87102
"Sebastian Riedel <sri@cpan.org>",
88103
"Tina Müller <cpan2@tinita.de>",
104+
"Wabri <12409541+Wabri@users.noreply.github.com>",
89105
"cfconrad <40127946+cfconrad@users.noreply.github.com>",
90106
"gregor herrmann <gregoa@debian.org>"
91107
],
92-
"x_serialization_backend" : "JSON::PP version 4.16",
108+
"x_serialization_backend" : "JSON::PP version 2.27400_02",
93109
"x_static_install" : 0
94110
}

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ Mojo::IOLoop::ReadWriteProcess - Execute external programs or internal code bloc
2828
$process->stop();
2929
my @errors = $process->error;
3030

31+
# To help when debugging Mojo::Collections
32+
use Mojo::Util qw(dumper);
33+
my $errors = dumper $process->error->to_array;
34+
3135
# Get process return value
3236
$process = process( sub { return "256"; } )->start()->wait_stop;
3337
# We need to stop it to retrieve the exit status

cpanfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on configure => sub {
99
on test => sub {
1010
requires 'Test::More';
1111
requires 'Test::Exception';
12-
requires 'TAP::Formatter::Color';
1312
requires 'Test::Pod';
1413
};
1514

lib/Mojo/IOLoop/ReadWriteProcess.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package Mojo::IOLoop::ReadWriteProcess;
22

3-
our $VERSION = '1.0.0';
3+
our $VERSION = '1.1.0';
44

55
use Mojo::Base 'Mojo::EventEmitter';
66
use Mojo::File 'path';

minil.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,3 @@ os = [
1616

1717
[tap_harness_args]
1818
merge = 1
19-
formatter = "TAP::Formatter::GitHubActions"

0 commit comments

Comments
 (0)