@@ -42,21 +42,24 @@ sub coverage {
42
42
43
43
sub get {
44
44
my ( $self , $author , $release ) = @_ ;
45
- $self -> request(" /release/$author /$release " )-> then( \&_with_distnameinfo )
45
+ $self -> request(" /release/$author /$release " )
46
+ -> then( \&_with_distnameinfo )
46
47
-> then( \&_fix_dependency );
47
48
}
48
49
49
50
sub latest_by_author {
50
51
my ( $self , $pauseid ) = @_ ;
51
52
$self -> request(" /release/latest_by_author/$pauseid " )
52
- -> then( \&_with_distnameinfo )-> then( $self -> add_river );
53
+ -> then( \&_with_distnameinfo )
54
+ -> then( $self -> add_river );
53
55
}
54
56
55
57
sub all_by_author {
56
58
my ( $self , $pauseid , $page , $page_size ) = @_ ;
57
59
$self -> request( " /release/all_by_author/$pauseid " ,
58
60
undef , { page => $page , page_size => $page_size } )
59
- -> then( \&_with_distnameinfo )-> then( $self -> add_river );
61
+ -> then( \&_with_distnameinfo )
62
+ -> then( $self -> add_river );
60
63
}
61
64
62
65
sub recent {
@@ -86,7 +89,8 @@ sub modules {
86
89
sub find {
87
90
my ( $self , $distribution ) = @_ ;
88
91
$self -> request(" /release/latest_by_distribution/$distribution " )
89
- -> then( \&_with_distnameinfo )-> then( \&_fix_dependency );
92
+ -> then( \&_with_distnameinfo )
93
+ -> then( \&_fix_dependency );
90
94
}
91
95
92
96
# stolen from Module/requires
@@ -123,7 +127,8 @@ sub interesting_files {
123
127
124
128
sub versions {
125
129
my ( $self , $dist ) = @_ ;
126
- $self -> request(" /release/versions/$dist " )-> then( \&_with_distnameinfo )
130
+ $self -> request(" /release/versions/$dist " )
131
+ -> then( \&_with_distnameinfo )
127
132
-> then( sub {
128
133
my ($data ) = @_ ;
129
134
$data -> {versions } = delete $data -> {releases };
0 commit comments