File tree 3 files changed +12
-0
lines changed
3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,12 @@ has updated => (
92
92
isa => ' DateTime' ,
93
93
);
94
94
95
+ has is_pause_custodial_account => (
96
+ is => ' ro' ,
97
+ isa => Bool,
98
+ default => 0,
99
+ );
100
+
95
101
sub _build_gravatar_url {
96
102
my $self = shift ;
97
103
Original file line number Diff line number Diff line change @@ -96,6 +96,9 @@ sub index_authors {
96
96
grep {$_ } @{ $put -> {website } }
97
97
];
98
98
99
+ $put -> {is_pause_custodial_account } = 1
100
+ if $name and $name =~ / \( PAUSE Custodial Account\) / ;
101
+
99
102
# Now check the format we have is actually correct
100
103
my @errors = MetaCPAN::Document::Author-> validate($put );
101
104
next if scalar @errors ;
Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ sub mapping {
47
47
"index" : "not_analyzed",
48
48
"type" : "string"
49
49
},
50
+ "is_pause_custodial_account" : {
51
+ "type" : "boolean"
52
+ },
50
53
"donation" : {
51
54
"dynamic" : true,
52
55
"properties" : {
You can’t perform that action at this time.
0 commit comments