aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-02 07:50:50 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-02 07:50:50 +1300
commit0009c975c4d0c55750dbb2fceeef16576a460825 (patch)
tree8e793bca0e146da731adb8b72a3f14d0fcae9602
parentMerge feature branches into develop: (diff)
parentUpdated README.markdown from POD (diff)
downloadMusic-Lyrics-LRC-0009c975c4d0c55750dbb2fceeef16576a460825.tar.gz
Music-Lyrics-LRC-0009c975c4d0c55750dbb2fceeef16576a460825.zip
Merge branch 'release/v0.05' into develop
-rw-r--r--Changes5
-rw-r--r--Makefile.PL2
-rw-r--r--README.markdown7
-rw-r--r--lib/Music/Lyrics/LRC.pm4
-rw-r--r--t/basic.t2
5 files changed, 13 insertions, 7 deletions
diff --git a/Changes b/Changes
index db4d3d5..a3e893e 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,10 @@
Revision history for Music-Lyrics-LRC
+0.05 2017-11-02
+
+ - Documentation corrections
+ - LICENSE file
+
0.04 2017-11-02
- Documentation corrections and fixed parameter validation.
diff --git a/Makefile.PL b/Makefile.PL
index 31aef35..172e64c 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -25,7 +25,7 @@ WriteMakefile(
'meta-spec' => { version => 2 },
provides => {
'Music::Lyrics::LRC' => {
- version => '0.04',
+ version => '0.05',
file => 'lib/Music/Lyrics/LRC.pm',
},
},
diff --git a/README.markdown b/README.markdown
index 7417110..91432c9 100644
--- a/README.markdown
+++ b/README.markdown
@@ -4,7 +4,7 @@ Music::Lyrics::LRC - Manipulate LRC karaoke timed lyrics files
# VERSION
-Version 0.04
+Version 0.05
# DESCRIPTION
@@ -27,7 +27,8 @@ For details on the LRC file format, please see Wikipedia:
my $tags = $lrc->tags(); # hashref, name => value
...
$lrc->add_lyric(5500, q(Now I'm singin' at exactly 5.5 seconds...));
- $lrc->add_tag('author', 'Justin A. Perlhacker');
+ $lrc->set_tag('author', 'Justin A. Perlhacker');
+ $lrc->unset_tag('author');
...
open my $wfh, '>', 'savelyrics.lrc';
$lrc->save($wfh);
@@ -67,7 +68,7 @@ Retrieve a hashref of tag names to tag values for this lyrics file.
## `add_lyric($time, $text)`
-Add a lyric at the given non-negative time in millseconds and with the given
+Add a lyric at the given non-negative time in milliseconds and with the given
text. The text must not include newlines or carriage returns.
## `set_tag($name, $value)`
diff --git a/lib/Music/Lyrics/LRC.pm b/lib/Music/Lyrics/LRC.pm
index 760ee03..5035187 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.04';
+our $VERSION = '0.05';
# Patterns to match elements of the LRC file; these are somewhat tolerant
our %RE = (
@@ -264,7 +264,7 @@ Music::Lyrics::LRC - Manipulate LRC karaoke timed lyrics files
=head1 VERSION
-Version 0.04
+Version 0.05
=head1 DESCRIPTION
diff --git a/t/basic.t b/t/basic.t
index b78c665..5d7f871 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.04';
+our $VERSION = '0.05';
my $lrc = Music::Lyrics::LRC->new();
ok( defined $lrc, 'constructed' );