Skip to content

Commit

Permalink
Version 0.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Nov 18, 2024
1 parent 213bf31 commit 1cbabfc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.0.9] - 2024-11-18

### Added

- Produce JSON output in "pretty" format

## [0.0.8] - 2024-08-29

### Added

- 'package' statement to work around MetaCPAN not understand the 'class' keyword
- 'package' statement to work around MetaCPAN not understandinh the 'class' keyword

## [0.0.7] - 2024-08-18

Expand Down
4 changes: 2 additions & 2 deletions lib/App/LastStats.pm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class App::LastStats {
use Getopt::Long;
use JSON;

our $VERSION = '0.0.8';
our $VERSION = '0.0.9';

field $username :param = 'davorg';
field $period :param = '7day';
Expand Down Expand Up @@ -77,7 +77,7 @@ class App::LastStats {
name => $_->{name},
count => $_->{playcount},
} } @artists;
say JSON->new->canonical(1)->encode(\@data);
say JSON->new->canonical(1)->pretty(1)->encode(\@data);
}

method render_html {
Expand Down

0 comments on commit 1cbabfc

Please sign in to comment.