Skip to content

Commit 098dbb5

Browse files
committed
s/Config::JFDK/Config::ZOMG/
1 parent 773d3fa commit 098dbb5

File tree

4 files changed

+25
-13
lines changed

4 files changed

+25
-13
lines changed

cpanfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ requires 'CatalystX::InjectComponent';
2929
requires 'CatalystX::RoleApplicator';
3030
requires 'CatalystX::Fastly::Role::Response', '0.06';
3131
requires 'CPAN::Repository::Perms';
32-
requires 'Config::JFDI';
32+
requires 'Config::ZOMG', '>=', '1.000000';
3333
requires 'Cpanel::JSON::XS', '3.0115';
3434
requires 'Cwd';
3535
requires 'Data::Printer', '0.38';

cpanfile.snapshot

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1267,6 +1267,18 @@ DISTRIBUTIONS
12671267
perl v5.8.1
12681268
strict 0
12691269
utf8 0
1270+
Config-ZOMG-1.000000
1271+
pathname: F/FR/FREW/Config-ZOMG-1.000000.tar.gz
1272+
provides:
1273+
Config::ZOMG 1.000000
1274+
Config::ZOMG::Source::Loader 1.000000
1275+
requirements:
1276+
Clone 0
1277+
Config::Any 0
1278+
ExtUtils::MakeMaker 6.30
1279+
Hash::Merge::Simple 0
1280+
List::Util 0
1281+
Moo 0
12701282
Context-Preserve-0.01
12711283
pathname: J/JR/JROCKWAY/Context-Preserve-0.01.tar.gz
12721284
provides:

lib/MetaCPAN/Role/HasConfig.pm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ package MetaCPAN::Role::HasConfig;
22

33
use Moose::Role;
44

5-
use MetaCPAN::Types qw(HashRef);
6-
75
use FindBin;
6+
use Config::ZOMG ();
7+
use MetaCPAN::Types qw(HashRef);
88

99
# Done like this so can be required by a roles
1010
sub config {
@@ -20,10 +20,10 @@ has _config => (
2020

2121
sub _build_config {
2222
my $self = shift;
23-
return Config::JFDI->new(
23+
return Config::ZOMG->new(
2424
name => 'metacpan_server',
2525
path => "$FindBin::RealBin/..",
26-
)->get;
26+
)->load;
2727
}
2828

2929
1;

lib/MetaCPAN/Script/Runner.pm

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package MetaCPAN::Script::Runner;
33
use strict;
44
use warnings;
55

6-
use Config::JFDI;
7-
use File::Path ();
6+
use Config::ZOMG ();
7+
use File::Path ();
88
use Hash::Merge::Simple qw(merge);
99
use IO::Interactive qw(is_interactive);
1010
use Module::Pluggable search_path => ['MetaCPAN::Script'];
@@ -32,22 +32,22 @@ sub run {
3232
}
3333

3434
sub build_config {
35-
my $config = Config::JFDI->new(
35+
my $config = Config::ZOMG->new(
3636
name => 'metacpan',
3737
path => 'etc'
38-
)->get;
38+
)->load;
3939
if ( $ENV{HARNESS_ACTIVE} ) {
40-
my $tconf = Config::JFDI->new(
40+
my $tconf = Config::ZOMG->new(
4141
name => 'metacpan',
4242
file => 'etc/metacpan_testing.pl'
43-
)->get;
43+
)->load;
4444
$config = merge $config, $tconf;
4545
}
4646
elsif ( is_interactive() ) {
47-
my $iconf = Config::JFDI->new(
47+
my $iconf = Config::ZOMG->new(
4848
name => 'metacpan',
4949
file => 'etc/metacpan_interactive.pl'
50-
)->get;
50+
)->load;
5151
$config = merge $config, $iconf;
5252
}
5353
return $config;

0 commit comments

Comments
 (0)