Skip to content

Commit

Permalink
remove fetching of ratings from API
Browse files Browse the repository at this point in the history
CPANRatings is long dead, and we don't display the old data anywhere.

Removing the API calls fetching the data.
  • Loading branch information
haarg committed May 12, 2024
1 parent 2be9dab commit a672367
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 43 deletions.
41 changes: 0 additions & 41 deletions lib/MetaCPAN/Web/Model/API/Rating.pm

This file was deleted.

2 changes: 0 additions & 2 deletions lib/MetaCPAN/Web/Model/ReleaseInfo.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ my %models = (
_author => 'API::Author',
_contributors => 'API::Contributors',
_changes => 'API::Changes',
_rating => 'API::Rating',
_favorite => 'API::Favorite',
_permission => 'API::Permission',
);
Expand Down Expand Up @@ -78,7 +77,6 @@ sub _fetch {
return (
[ favorites => $self->_favorite->by_dist($dist) ],
[ plussers => $self->_favorite->find_plussers($dist) ],
[ rating => $self->_rating->get($dist) ],
[ versions => $self->_release->versions($dist) ],
[ distribution => $self->_distribution->get($dist) ],
);
Expand Down

0 comments on commit a672367

Please sign in to comment.