summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>2011-11-25 15:33:44 +0000
committerGianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>2011-11-25 15:33:44 +0000
commit15d8ff45fecd86558a00e1979a9800282793139c (patch)
treef3a12bb1eb1c39ee25f7f07f92d402eabc116def
parentBuild results of 44cf53d (on master) (diff)
parentminor fixes after seeing it on CPAN (diff)
downloaddata-multivalued-15d8ff45fecd86558a00e1979a9800282793139c.tar.gz
data-multivalued-15d8ff45fecd86558a00e1979a9800282793139c.tar.bz2
data-multivalued-15d8ff45fecd86558a00e1979a9800282793139c.zip
Build results of 75f2023 (on master)
-rw-r--r--Changes2
-rw-r--r--dist.ini7
-rw-r--r--lib/Data/MultiValued/AttributeTrait.pm7
-rw-r--r--lib/Data/MultiValued/Exceptions.pm4
-rw-r--r--lib/Data/MultiValued/RangeContainer.pm13
-rw-r--r--lib/Data/MultiValued/Ranges.pm12
-rw-r--r--lib/Data/MultiValued/TagContainer.pm4
-rw-r--r--lib/Data/MultiValued/Tags.pm4
-rw-r--r--lib/Data/MultiValued/TagsAndRanges.pm9
9 files changed, 37 insertions, 25 deletions
diff --git a/Changes b/Changes
index db7d5bb..f0195cc 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,6 @@
Revision history for Data::MultiValued
-0.0.1_2 2011-11-25 15:15:18 Europe/London
+0.0.1_2 2011-11-25 15:33:39 Europe/London
0.0.1_1 2011-11-24 17:59:57 Europe/London
- first working version
diff --git a/dist.ini b/dist.ini
index db3d702..5461bf6 100644
--- a/dist.ini
+++ b/dist.ini
@@ -27,7 +27,12 @@ first_version = 0.0.1
[Git::CommitBuild]
-[Git::Tag]
+[Git::Tag / master]
+tag_format = v%v-dzilla
+
+[Git::Tag / build]
+branch = build/master
+tag_format = v%v
[CheckChangeLog]
diff --git a/lib/Data/MultiValued/AttributeTrait.pm b/lib/Data/MultiValued/AttributeTrait.pm
index 988144b..e6a02ce 100644
--- a/lib/Data/MultiValued/AttributeTrait.pm
+++ b/lib/Data/MultiValued/AttributeTrait.pm
@@ -412,9 +412,10 @@ Retrieves a value from the multi-value object, and stores it in the
regular slot in the instance. If the value is not found, clears the
slot.
-This traps the L<Data::MultiValued::Exceptions::NotFound> exception
-that may be thrown by the multi-value object, but re-throws any other
-exception.
+This traps the
+L<Data::MultiValued::Exceptions::NotFound|Data::MultiValued::Exceptions/Data::MultiValued::Exceptions::NotFound>
+exception that may be thrown by the multi-value object, but re-throws
+any other exception.
=head2 C<raw_clear_value>
diff --git a/lib/Data/MultiValued/Exceptions.pm b/lib/Data/MultiValued/Exceptions.pm
index 4d6a1b6..27f6dbf 100644
--- a/lib/Data/MultiValued/Exceptions.pm
+++ b/lib/Data/MultiValued/Exceptions.pm
@@ -120,7 +120,7 @@ containing the value that was not found.
=head2 C<Data::MultiValued::Exceptions::TagNotFound>
-Subclass of L<Data::MultiValued::Exceptions::NotFound>, for
+Subclass of L</Data::MultiValued::Exceptions::NotFound>, for
tags. Stringifies to:
tag not found: $value
@@ -129,7 +129,7 @@ tags. Stringifies to:
=head2 C<Data::MultiValued::Exceptions::RangeNotFound>
-Subclass of L<Data::MultiValued::Exceptions::NotFound>, for
+Subclass of L</Data::MultiValued::Exceptions::NotFound>, for
ranges. Stringifies to:
no range found for value: $value
diff --git a/lib/Data/MultiValued/RangeContainer.pm b/lib/Data/MultiValued/RangeContainer.pm
index 0b8835b..18672bc 100644
--- a/lib/Data/MultiValued/RangeContainer.pm
+++ b/lib/Data/MultiValued/RangeContainer.pm
@@ -267,8 +267,8 @@ C<from> C<to> C<value>.
my $value = $obj->get({ at => $point });
Retrieves the range that includes the given point. Throws a
-L<Data::MultiValued::Exceptions::RangeNotFound> exception if no range
-includes the point.
+L<Data::MultiValued::Exceptions::RangeNotFound|Data::MultiValued::Exceptions/Data::MultiValued::Exceptions::RangeNotFound>
+exception if no range includes the point.
=head2 C<get_or_create>
@@ -276,8 +276,9 @@ includes the point.
Retrieves the range that has the given extremes. If no such range
exists, creates a new range, splicing any existing overlapping range,
-and returns it. Throws L<Data::MultiValued::Exceptions::BadRange> if
-C<< $min > $max >>.
+and returns it. Throws
+L<Data::MultiValued::Exceptions::BadRange|Data::MultiValued::Exceptions/Data::MultiValued::Exceptions::BadRange>
+if C<< $min > $max >>.
=head2 C<clear>
@@ -288,7 +289,9 @@ exists, splices any existing overlapping range so that C<<
$obj->get({at => $point }) >> for any C<< $min <= $point < $max >>
will die.
-Throws L<Data::MultiValued::Exceptions::BadRange> if C<< $min > $max >>.
+Throws
+L<Data::MultiValued::Exceptions::BadRange|Data::MultiValued::Exceptions/Data::MultiValued::Exceptions::BadRange>
+if C<< $min > $max >>.
=head2 C<all_ranges>
diff --git a/lib/Data/MultiValued/Ranges.pm b/lib/Data/MultiValued/Ranges.pm
index f4a2a2d..ff62a43 100644
--- a/lib/Data/MultiValued/Ranges.pm
+++ b/lib/Data/MultiValued/Ranges.pm
@@ -111,7 +111,8 @@ version 0.0.1_2
$obj->set({ from => $min, to => $max, value => $the_value });
Stores the given value for the given range. Throws
-L<Data::MultiValued::Exceptions::BadRange> if C<< $min > $max >>.
+L<Data::MultiValued::Exceptions::BadRange|Data::MultiValued::Exceptions/Data::MultiValued::Exceptions::BadRange>
+if C<< $min > $max >>.
The range is defined as C<< Num $x : $min <= $x < $max >>. A C<< from
=> undef >> means "from -Inf", and a C<< to => undef >> means "to
@@ -143,9 +144,9 @@ just stored.
my $value = $obj->get({ at => $point });
Retrieves the value for the given point. Throws a
-L<Data::MultiValued::Exceptions::RangeNotFound> exception if no ranges
-exist in this object that include the point (remember that a range
-does not include its C<to> point).
+L<Data::MultiValued::Exceptions::RangeNotFound|Data::MultiValued::Exceptions/Data::MultiValued::Exceptions::RangeNotFound>
+exception if no ranges exist in this object that include the point
+(remember that a range does not include its C<to> point).
A C<< at => undef >> means "at -Inf". Not passing in C<at> is
equivalent to passing C<undef>.
@@ -158,7 +159,8 @@ untouched.
$obj->clear({ from => $min, to => $max });
Deletes all values for the given range. Throws
-L<Data::MultiValued::Exceptions::BadRange> if C<< $min > $max >>.
+L<Data::MultiValued::Exceptions::BadRange|Data::MultiValued::Exceptions/Data::MultiValued::Exceptions::BadRange>
+if C<< $min > $max >>.
A C<< from => undef >> means "from -Inf", and a C<< to => undef >>
means "to +Inf". Not passing in C<from> or C<to> is equivalent to
diff --git a/lib/Data/MultiValued/TagContainer.pm b/lib/Data/MultiValued/TagContainer.pm
index 143b6f4..4a8d8b2 100644
--- a/lib/Data/MultiValued/TagContainer.pm
+++ b/lib/Data/MultiValued/TagContainer.pm
@@ -144,8 +144,8 @@ L</_create_new_inferior> (by default, a hashref).
my $value = $obj->get({ tag => $the_tag });
Retrieves the "storage cell" for the given tag. Throws a
-L<Data::MultiValued::Exceptions::TagNotFound> exception if the tag
-does not exists in this object.
+L<Data::MultiValued::Exceptions::TagNotFound|Data::MultiValued::Exceptions/Data::MultiValued::Exceptions::TagNotFound>
+exception if the tag does not exists in this object.
Not passing in a C<tag> is equivalent to passing in C<< tag => undef
>>.
diff --git a/lib/Data/MultiValued/Tags.pm b/lib/Data/MultiValued/Tags.pm
index 1d93310..e3548cc 100644
--- a/lib/Data/MultiValued/Tags.pm
+++ b/lib/Data/MultiValued/Tags.pm
@@ -120,8 +120,8 @@ just stored.
my $value = $obj->get({ tag => $the_tag });
Retrieves the value for the given tag. Throws a
-L<Data::MultiValued::Exceptions::TagNotFound> exception if the tag
-does not exists in this object.
+L<Data::MultiValued::Exceptions::TagNotFound|Data::MultiValued::Exceptions/Data::MultiValued::Exceptions::TagNotFound>
+exception if the tag does not exists in this object.
Not passing in a C<tag> is equivalent to passing in C<< tag => undef
>>.
diff --git a/lib/Data/MultiValued/TagsAndRanges.pm b/lib/Data/MultiValued/TagsAndRanges.pm
index 506d7e9..c1731eb 100644
--- a/lib/Data/MultiValued/TagsAndRanges.pm
+++ b/lib/Data/MultiValued/TagsAndRanges.pm
@@ -133,10 +133,11 @@ L<Data::MultiValued::Ranges/set> for more details.
my $value = $obj->get({ tag => $the_tag, at => $point });
Retrieves the value for the given tag and point. Throws a
-L<Data::MultiValued::Exceptions::RangeNotFound> exception if no ranges
-exist in this object that include the point, and
-L<Data::MultiValued::Exceptions::TagNotFound> exception if the tag
-does not exists in this object.
+L<Data::MultiValued::Exceptions::RangeNotFound|Data::MultiValued::Exceptions/Data::MultiValued::Exceptions::RangeNotFound>
+exception if no ranges exist in this object that include the point,
+and
+L<Data::MultiValued::Exceptions::TagNotFound|Data::MultiValued::Exceptions/Data::MultiValued::Exceptions::TagNotFound>
+exception if the tag does not exists in this object.
See L<Data::MultiValued::Tags/get> and
L<Data::MultiValued::Ranges/get> for more details.