Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit a1fe316

Browse files
updated PREREQ_PM matrix; updated perltidy.sh and build files
1 parent b42a1eb commit a1fe316

File tree

5 files changed

+19
-22
lines changed

5 files changed

+19
-22
lines changed

MYMETA.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@
3131
}
3232
},
3333
"runtime" : {
34-
"requires" : {}
34+
"requires" : {
35+
"LWP::UserAgent" : "6.35"
36+
}
3537
}
3638
},
3739
"release_status" : "stable",

MYMETA.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ no_index:
1717
directory:
1818
- t
1919
- inc
20-
requires: {}
20+
requires:
21+
LWP::UserAgent: '6.35'
2122
version: '1.06'
2223
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'

Makefile

+7-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# CONFIGURE_REQUIRES => { }
1818
# LICENSE => q[mit]
1919
# NAME => q[WebService::Hexonet::Connector]
20-
# PREREQ_PM => { }
20+
# PREREQ_PM => { LWP::UserAgent=>q[6.35] }
2121
# TEST_REQUIRES => { }
2222
# VERSION_FROM => q[lib/WebService/Hexonet/Connector.pm]
2323

@@ -518,7 +518,8 @@ metafile : create_distdir
518518
$(NOECHO) $(ECHO) ' directory:' >> META_new.yml
519519
$(NOECHO) $(ECHO) ' - t' >> META_new.yml
520520
$(NOECHO) $(ECHO) ' - inc' >> META_new.yml
521-
$(NOECHO) $(ECHO) 'requires: {}' >> META_new.yml
521+
$(NOECHO) $(ECHO) 'requires:' >> META_new.yml
522+
$(NOECHO) $(ECHO) ' LWP::UserAgent: '\''6.35'\''' >> META_new.yml
522523
$(NOECHO) $(ECHO) 'version: '\''1.06'\''' >> META_new.yml
523524
$(NOECHO) $(ECHO) 'x_serialization_backend: '\''CPAN::Meta::YAML version 0.018'\''' >> META_new.yml
524525
-$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml
@@ -556,7 +557,9 @@ metafile : create_distdir
556557
$(NOECHO) $(ECHO) ' }' >> META_new.json
557558
$(NOECHO) $(ECHO) ' },' >> META_new.json
558559
$(NOECHO) $(ECHO) ' "runtime" : {' >> META_new.json
559-
$(NOECHO) $(ECHO) ' "requires" : {}' >> META_new.json
560+
$(NOECHO) $(ECHO) ' "requires" : {' >> META_new.json
561+
$(NOECHO) $(ECHO) ' "LWP::UserAgent" : "6.35"' >> META_new.json
562+
$(NOECHO) $(ECHO) ' }' >> META_new.json
560563
$(NOECHO) $(ECHO) ' }' >> META_new.json
561564
$(NOECHO) $(ECHO) ' },' >> META_new.json
562565
$(NOECHO) $(ECHO) ' "release_status" : "stable",' >> META_new.json
@@ -850,6 +853,7 @@ ppd :
850853
$(NOECHO) $(ECHO) ' <ABSTRACT>Connector library for the insanely fast L&lt;HEXONET Backend API|https://www.hexonet.net/&gt;.</ABSTRACT>' >> WebService-Hexonet-Connector.ppd
851854
$(NOECHO) $(ECHO) ' <AUTHOR>hexonet &lt;[email protected]&gt;</AUTHOR>' >> WebService-Hexonet-Connector.ppd
852855
$(NOECHO) $(ECHO) ' <IMPLEMENTATION>' >> WebService-Hexonet-Connector.ppd
856+
$(NOECHO) $(ECHO) ' <REQUIRE NAME="LWP::UserAgent" VERSION="6.35" />' >> WebService-Hexonet-Connector.ppd
853857
$(NOECHO) $(ECHO) ' <ARCHITECTURE NAME="x86_64-linux-gnu-thread-multi-5.26" />' >> WebService-Hexonet-Connector.ppd
854858
$(NOECHO) $(ECHO) ' <CODEBASE HREF="" />' >> WebService-Hexonet-Connector.ppd
855859
$(NOECHO) $(ECHO) ' </IMPLEMENTATION>' >> WebService-Hexonet-Connector.ppd

Makefile.PL

+6-16
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
11
use 5.026000;
22
use ExtUtils::MakeMaker;
33

4-
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
5-
# the contents of the Makefile that is written.
64
WriteMakefile(
7-
NAME => 'WebService::Hexonet::Connector',
8-
VERSION_FROM => 'lib/WebService/Hexonet/Connector.pm', # finds $VERSION, requires EU::MM from perl >= 5.5
9-
ABSTRACT_FROM => 'lib/WebService/Hexonet/Connector.pm',
10-
PREREQ_PM => {}, # e.g., Module::Name => 1.1
11-
(
12-
$] >= 5.005
13-
? ## Add these new keywords supported since 5.005
14-
(
15-
ABSTRACT_FROM => 'lib/WebService/Hexonet/Connector.pm', # retrieve abstract from module
16-
AUTHOR => 'hexonet <[email protected]>'
17-
)
18-
: ()
19-
),
20-
LICENSE => 'mit'
5+
NAME => 'WebService::Hexonet::Connector',
6+
VERSION_FROM => 'lib/WebService/Hexonet/Connector.pm',
7+
PREREQ_PM => { 'LWP::UserAgent' => 6.35 },
8+
ABSTRACT_FROM => 'lib/WebService/Hexonet/Connector.pm',
9+
AUTHOR => 'hexonet <[email protected]>',
10+
LICENSE => 'mit'
2111
);

scripts/perltidy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
perltidy -b -bext='/' lib/WebService/Hexonet/*.pm lib/WebService/Hexonet/Connector/*.pm t/*.t
2+
perltidy -b -bext='/' lib/WebService/Hexonet/*.pm lib/WebService/Hexonet/Connector/*.pm t/*.t Makefile.PL

0 commit comments

Comments
 (0)