aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-02 17:11:50 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-02 17:11:50 +1300
commitce2b966fb11d0c3e5bcb75cbc82d08f7b282f556 (patch)
tree36583e1e06466c76e3f273f1b11052c5088446c7
parentMerge branch 'release/v0.08' (diff)
parentUpdate README.markdown (diff)
downloadMusic-Lyrics-LRC-ce2b966fb11d0c3e5bcb75cbc82d08f7b282f556.tar.gz
Music-Lyrics-LRC-ce2b966fb11d0c3e5bcb75cbc82d08f7b282f556.zip
Merge branch 'release/v0.09'v0.09
* release/v0.09: Update README.markdown Update Changes Bump version number to 0.09 Tolerate one-digit seconds in lyric lines
-rw-r--r--Changes4
-rw-r--r--Makefile.PL2
-rw-r--r--README.markdown4
-rw-r--r--lib/Music/Lyrics/LRC.pm6
-rw-r--r--t/basic.t2
5 files changed, 11 insertions, 7 deletions
diff --git a/Changes b/Changes
index 118c20e..58e46bc 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
Revision history for Music-Lyrics-LRC
+0.09 2017-11-02
+
+ - Tolerate single-digit seconds in lyric timestamps
+
0.08 2017-11-02
- Handle blank lyric lines correctly
diff --git a/Makefile.PL b/Makefile.PL
index abfeeab..d941f92 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -25,7 +25,7 @@ WriteMakefile(
'meta-spec' => { version => 2 },
provides => {
'Music::Lyrics::LRC' => {
- version => '0.08',
+ version => '0.09',
file => 'lib/Music/Lyrics/LRC.pm',
},
},
diff --git a/README.markdown b/README.markdown
index fcaecd7..1ba7a02 100644
--- a/README.markdown
+++ b/README.markdown
@@ -4,7 +4,7 @@ Music::Lyrics::LRC - Manipulate LRC karaoke timed lyrics files
# VERSION
-Version 0.07
+Version 0.09
# DESCRIPTION
@@ -184,7 +184,7 @@ This program is free software; you can redistribute it and/or modify it under
the terms of the Artistic License (2.0). You may obtain a copy of the full
license at:
-&lt;http://www.perlfoundation.org/artistic\_license\_2\_0>
+[http://www.perlfoundation.org/artistic\_license\_2\_0](http://www.perlfoundation.org/artistic_license_2_0)
Any use, modification, and distribution of the Standard or Modified Versions is
governed by this Artistic License. By using, modifying or distributing the
diff --git a/lib/Music/Lyrics/LRC.pm b/lib/Music/Lyrics/LRC.pm
index f7f6cdc..5a83cfc 100644
--- a/lib/Music/Lyrics/LRC.pm
+++ b/lib/Music/Lyrics/LRC.pm
@@ -13,7 +13,7 @@ use English '-no_match_vars';
use 5.006;
# Declare package version
-our $VERSION = '0.08';
+our $VERSION = '0.09';
# Patterns to match elements of the LRC file; these are somewhat tolerant
our %RE = (
@@ -46,7 +46,7 @@ our %RE = (
(\d+) # Minutes, capture
: # Colon
( # Seconds group, capture
- \d{2} # Whole seconds
+ \d{1,2} # Whole seconds
(?: # Group for fractional seconds
[.] # Period
\d+ # At least one digit
@@ -272,7 +272,7 @@ Music::Lyrics::LRC - Manipulate LRC karaoke timed lyrics files
=head1 VERSION
-Version 0.08
+Version 0.09
=head1 DESCRIPTION
diff --git a/t/basic.t b/t/basic.t
index 5600c75..054e269 100644
--- a/t/basic.t
+++ b/t/basic.t
@@ -8,7 +8,7 @@ use Test::More tests => 9;
use Music::Lyrics::LRC;
-our $VERSION = '0.08';
+our $VERSION = '0.09';
my $lrc = Music::Lyrics::LRC->new();
ok( defined $lrc, 'constructed' );