@@ -1,4 +1,4 @@
-This software is copyright (c) 2011 by Cold Hard Code, LLC.
+This software is copyright (c) 2014 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@ b) the "Artistic License"
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2011 by Cold Hard Code, LLC.
+This software is Copyright (c) 2014 by Cold Hard Code, LLC.
This is free software, licensed under:
@@ -22,7 +22,7 @@ This is free software, licensed under:
Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@@ -272,7 +272,7 @@ That's all there is to it!
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2011 by Cold Hard Code, LLC.
+This software is Copyright (c) 2014 by Cold Hard Code, LLC.
This is free software, licensed under:
@@ -1,3 +1,4 @@
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.012.
Changes
LICENSE
MANIFEST
@@ -4,7 +4,7 @@
"Cory G Watson <gphat@cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.200007, CPAN::Meta::Converter version 2.110440",
+ "generated_by" : "Dist::Zilla version 5.012, CPAN::Meta::Converter version 2.133380",
"license" : [
"perl_5"
],
@@ -19,35 +19,45 @@
"ExtUtils::MakeMaker" : "6.30"
}
},
+ "develop" : {
+ "requires" : {
+ "Test::Pod" : "1.41"
+ }
+ },
"runtime" : {
"requires" : {
- "Color::Library" : 0,
- "Moose" : 0,
- "Moose::Role" : 0,
- "Moose::Util::TypeConstraints" : 0,
+ "Color::Library" : "0",
+ "Moose" : "0",
+ "Moose::Role" : "0",
+ "Moose::Util::TypeConstraints" : "0",
"MooseX::Aliases" : "0.10",
- "MooseX::Clone" : 0,
- "MooseX::Storage::Deferred" : 0,
- "MooseX::Types" : 0,
- "MooseX::Types::Moose" : 0
+ "MooseX::Clone" : "0",
+ "MooseX::Storage::Deferred" : "0",
+ "MooseX::Types" : "0",
+ "MooseX::Types::Moose" : "0"
}
},
"test" : {
"requires" : {
- "Test::More" : 0,
- "Test::Number::Delta" : 0
+ "Test::More" : "0",
+ "Test::Number::Delta" : "0",
+ "strict" : "0",
+ "warnings" : "0"
}
}
},
"release_status" : "stable",
"resources" : {
- "homepage" : "http://github.com/gphat/graphics-color",
+ "bugtracker" : {
+ "web" : "https://github.com/gphat/graphics-color/issues"
+ },
+ "homepage" : "https://github.com/gphat/graphics-color",
"repository" : {
"type" : "git",
- "url" : "http://github.com/gphat/graphics-color",
- "web" : "http://github.com/gphat/graphics-color"
+ "url" : "https://github.com/gphat/graphics-color.git",
+ "web" : "https://github.com/gphat/graphics-color"
}
},
- "version" : "0.29"
+ "version" : "0.31"
}
@@ -5,10 +5,12 @@ author:
build_requires:
Test::More: 0
Test::Number::Delta: 0
+ strict: 0
+ warnings: 0
configure_requires:
ExtUtils::MakeMaker: 6.30
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.200007, CPAN::Meta::Converter version 2.110440'
+generated_by: 'Dist::Zilla version 5.012, CPAN::Meta::Converter version 2.133380'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,6 +27,7 @@ requires:
MooseX::Types: 0
MooseX::Types::Moose: 0
resources:
- homepage: http://github.com/gphat/graphics-color
- repository: http://github.com/gphat/graphics-color
-version: 0.29
+ bugtracker: https://github.com/gphat/graphics-color/issues
+ homepage: https://github.com/gphat/graphics-color
+ repository: https://github.com/gphat/graphics-color.git
+version: 0.31
@@ -1,4 +1,5 @@
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.012.
use strict;
use warnings;
@@ -9,48 +10,61 @@ use ExtUtils::MakeMaker 6.30;
my %WriteMakefileArgs = (
- 'ABSTRACT' => 'Device and library agnostic color spaces.',
- 'AUTHOR' => 'Cory G Watson <gphat@cpan.org>',
- 'BUILD_REQUIRES' => {
- 'Test::More' => '0',
- 'Test::Number::Delta' => '0'
+ "ABSTRACT" => "Device and library agnostic color spaces.",
+ "AUTHOR" => "Cory G Watson <gphat\@cpan.org>",
+ "BUILD_REQUIRES" => {},
+ "CONFIGURE_REQUIRES" => {
+ "ExtUtils::MakeMaker" => "6.30"
},
- 'CONFIGURE_REQUIRES' => {
- 'ExtUtils::MakeMaker' => '6.30'
+ "DISTNAME" => "Graphics-Color",
+ "EXE_FILES" => [],
+ "LICENSE" => "perl",
+ "NAME" => "Graphics::Color",
+ "PREREQ_PM" => {
+ "Color::Library" => 0,
+ "Moose" => 0,
+ "Moose::Role" => 0,
+ "Moose::Util::TypeConstraints" => 0,
+ "MooseX::Aliases" => "0.10",
+ "MooseX::Clone" => 0,
+ "MooseX::Storage::Deferred" => 0,
+ "MooseX::Types" => 0,
+ "MooseX::Types::Moose" => 0
},
- 'DISTNAME' => 'Graphics-Color',
- 'EXE_FILES' => [],
- 'LICENSE' => 'perl',
- 'NAME' => 'Graphics::Color',
- 'PREREQ_PM' => {
- 'Color::Library' => '0',
- 'Moose' => '0',
- 'Moose::Role' => '0',
- 'Moose::Util::TypeConstraints' => '0',
- 'MooseX::Aliases' => '0.10',
- 'MooseX::Clone' => '0',
- 'MooseX::Storage::Deferred' => '0',
- 'MooseX::Types' => '0',
- 'MooseX::Types::Moose' => '0'
+ "TEST_REQUIRES" => {
+ "Test::More" => 0,
+ "Test::Number::Delta" => 0,
+ "strict" => 0,
+ "warnings" => 0
},
- 'VERSION' => '0.29',
- 'test' => {
- 'TESTS' => 't/*.t t/author/*.t'
+ "VERSION" => "0.31",
+ "test" => {
+ "TESTS" => "t/*.t t/author/*.t"
}
);
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
- my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
- my $pp = $WriteMakefileArgs{PREREQ_PM};
- for my $mod ( keys %$br ) {
- if ( exists $pp->{$mod} ) {
- $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
- }
- else {
- $pp->{$mod} = $br->{$mod};
- }
- }
+my %FallbackPrereqs = (
+ "Color::Library" => 0,
+ "Moose" => 0,
+ "Moose::Role" => 0,
+ "Moose::Util::TypeConstraints" => 0,
+ "MooseX::Aliases" => "0.10",
+ "MooseX::Clone" => 0,
+ "MooseX::Storage::Deferred" => 0,
+ "MooseX::Types" => 0,
+ "MooseX::Types::Moose" => 0,
+ "Test::More" => 0,
+ "Test::Number::Delta" => 0,
+ "strict" => 0,
+ "warnings" => 0
+);
+
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+ delete $WriteMakefileArgs{TEST_REQUIRES};
+ delete $WriteMakefileArgs{BUILD_REQUIRES};
+ $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
@@ -1,13 +1,15 @@
This archive contains the distribution Graphics-Color,
-version 0.29:
+version 0.31:
Device and library agnostic color spaces.
-This software is copyright (c) 2011 by Cold Hard Code, LLC.
+This software is copyright (c) 2014 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
+This README file was generated by Dist::Zilla::Plugin::Readme v5.012.
+
@@ -4,14 +4,14 @@ Graphics::Color - Device and library agnostic color spaces.
# VERSION
-version 0.29
+version 0.31
# SYNOPSIS
- my $color = Graphics::Color::RGB->new(
- red => .5, green => .5, blue => .5, alpha => .5
- );
- say $color->as_string;
+ my $color = Graphics::Color::RGB->new(
+ red => .5, green => .5, blue => .5, alpha => .5
+ );
+ say $color->as_string;
# DESCRIPTION
@@ -29,17 +29,17 @@ more color spaces as well as conversion routines (where applicable).
The following color types are supported.
-[CMYK](http://search.cpan.org/perldoc?Graphics::Color::CMYK)
+[CMYK](https://metacpan.org/pod/Graphics::Color::CMYK)
-[HSL](http://search.cpan.org/perldoc?Graphics::Color::HSL)
+[HSL](https://metacpan.org/pod/Graphics::Color::HSL)
-[HSV](http://search.cpan.org/perldoc?Graphics::Color::HSV)
+[HSV](https://metacpan.org/pod/Graphics::Color::HSV)
-[RGB](http://search.cpan.org/perldoc?Graphics::Color::RGB)
+[RGB](https://metacpan.org/pod/Graphics::Color::RGB)
-[YIQ](http://search.cpan.org/perldoc?Graphics::Color::YIQ)
+[YIQ](https://metacpan.org/pod/Graphics::Color::YIQ)
-[YUV](http://search.cpan.org/perldoc?Graphics::Color::YUV)
+[YUV](https://metacpan.org/pod/Graphics::Color::YUV)
# METHODS
@@ -48,18 +48,18 @@ The following color types are supported.
Clone this color but allow one of more of it's attributes to change by passing
in a hashref of options:
- my $new = $color->derive({ attr => $newvalue });
+ my $new = $color->derive({ attr => $newvalue });
The returned color will be identical to the cloned one, save the attributes
specified.
-## equal_to
+## equal\_to
Compares this color to the provided one. Returns 1 if true, else 0;
-## not_equal_to
+## not\_equal\_to
-The opposite of equal_to.
+The opposite of equal\_to.
# AUTHOR
@@ -67,7 +67,7 @@ Cory G Watson <gphat@cpan.org>
# COPYRIGHT AND LICENSE
-This software is copyright (c) 2011 by Cold Hard Code, LLC.
+This software is copyright (c) 2014 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under
-the same terms as the Perl 5 programming language system itself.
\ No newline at end of file
+the same terms as the Perl 5 programming language system itself.
@@ -1,7 +1,5 @@
package Graphics::Color::CMYK;
-BEGIN {
- $Graphics::Color::CMYK::VERSION = '0.29';
-}
+$Graphics::Color::CMYK::VERSION = '0.31';
use Moose;
use MooseX::Aliases;
@@ -99,7 +97,9 @@ __PACKAGE__->meta->make_immutable;
no Moose;
1;
+
__END__
+
=pod
=head1 NAME
@@ -108,7 +108,7 @@ Graphics::Color::CMYK - CMYK color model
=head1 VERSION
-version 0.29
+version 0.31
=head1 SYNOPSIS
@@ -186,10 +186,9 @@ Cory G Watson <gphat@cpan.org>
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2011 by Cold Hard Code, LLC.
+This software is copyright (c) 2014 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
@@ -1,7 +1,5 @@
package Graphics::Color::Equal;
-BEGIN {
- $Graphics::Color::Equal::VERSION = '0.29';
-}
+$Graphics::Color::Equal::VERSION = '0.31';
use Moose::Role;
# ABSTRACT: Moose equality role
@@ -16,7 +14,9 @@ sub not_equal_to {
no Moose;
1;
+
__END__
+
=pod
=head1 NAME
@@ -25,7 +25,7 @@ Graphics::Color::Equal - Moose equality role
=head1 VERSION
-version 0.29
+version 0.31
=head1 SYNOPSIS
@@ -60,10 +60,9 @@ Cory G Watson <gphat@cpan.org>
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2011 by Cold Hard Code, LLC.
+This software is copyright (c) 2014 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
@@ -1,7 +1,5 @@
package Graphics::Color::HSL;
-BEGIN {
- $Graphics::Color::HSL::VERSION = '0.29';
-}
+$Graphics::Color::HSL::VERSION = '0.31';
use Moose;
use MooseX::Aliases;
@@ -107,7 +105,9 @@ __PACKAGE__->meta->make_immutable;
no Moose;
1;
+
__END__
+
=pod
=head1 NAME
@@ -116,7 +116,7 @@ Graphics::Color::HSL - HSL color space
=head1 VERSION
-version 0.29
+version 0.31
=head1 SYNOPSIS
@@ -195,10 +195,9 @@ Cory G Watson <gphat@cpan.org>
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2011 by Cold Hard Code, LLC.
+This software is copyright (c) 2014 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
@@ -1,7 +1,5 @@
package Graphics::Color::HSV;
-BEGIN {
- $Graphics::Color::HSV::VERSION = '0.29';
-}
+$Graphics::Color::HSV::VERSION = '0.31';
use Moose;
use MooseX::Aliases;
@@ -169,7 +167,9 @@ __PACKAGE__->meta->make_immutable;
no Moose;
1;
+
__END__
+
=pod
=head1 NAME
@@ -178,7 +178,7 @@ Graphics::Color::HSV
=head1 VERSION
-version 0.29
+version 0.31
=head1 SYNOPSIS
@@ -261,10 +261,9 @@ Cory G Watson <gphat@cpan.org>
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2011 by Cold Hard Code, LLC.
+This software is copyright (c) 2014 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
@@ -1,7 +1,5 @@
package Graphics::Color::RGB;
-BEGIN {
- $Graphics::Color::RGB::VERSION = '0.29';
-}
+$Graphics::Color::RGB::VERSION = '0.31';
use Moose;
use MooseX::Aliases;
@@ -286,7 +284,9 @@ __PACKAGE__->meta->make_immutable;
no Moose;
1;
+
__END__
+
=pod
=head1 NAME
@@ -295,7 +295,7 @@ Graphics::Color::RGB - RGB color model
=head1 VERSION
-version 0.29
+version 0.31
=head1 SYNOPSIS
@@ -415,10 +415,9 @@ Cory G Watson <gphat@cpan.org>
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2011 by Cold Hard Code, LLC.
+This software is copyright (c) 2014 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
@@ -1,7 +1,5 @@
package Graphics::Color::Types;
-BEGIN {
- $Graphics::Color::Types::VERSION = '0.29';
-}
+$Graphics::Color::Types::VERSION = '0.31';
use MooseX::Types -declare => [qw(
Number360OrLess NumberOneOrLess
)];
@@ -19,7 +17,9 @@ subtype NumberOneOrLess,
message { "This number ($_) is not less or equal to one!" };
1;
+
__END__
+
=pod
=head1 NAME
@@ -28,7 +28,7 @@ Graphics::Color::Types
=head1 VERSION
-version 0.29
+version 0.31
=head1 AUTHOR
@@ -36,10 +36,9 @@ Cory G Watson <gphat@cpan.org>
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2011 by Cold Hard Code, LLC.
+This software is copyright (c) 2014 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
@@ -1,7 +1,5 @@
package Graphics::Color::YIQ;
-BEGIN {
- $Graphics::Color::YIQ::VERSION = '0.29';
-}
+$Graphics::Color::YIQ::VERSION = '0.31';
use Moose;
use MooseX::Aliases;
@@ -75,7 +73,9 @@ sub equal_to {
__PACKAGE__->meta->make_immutable;
no Moose;
1;
+
__END__
+
=pod
=head1 NAME
@@ -84,7 +84,7 @@ Graphics::Color::YIQ - YIQ color space
=head1 VERSION
-version 0.29
+version 0.31
=head1 SYNOPSIS
@@ -154,10 +154,9 @@ Cory G Watson <gphat@cpan.org>
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2011 by Cold Hard Code, LLC.
+This software is copyright (c) 2014 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
@@ -1,7 +1,5 @@
package Graphics::Color::YUV;
-BEGIN {
- $Graphics::Color::YUV::VERSION = '0.29';
-}
+$Graphics::Color::YUV::VERSION = '0.31';
use Moose;
use MooseX::Aliases;
@@ -86,7 +84,9 @@ __PACKAGE__->meta->make_immutable;
no Moose;
1;
+
__END__
+
=pod
=head1 NAME
@@ -95,7 +95,7 @@ Graphics::Color::YUV - YUV color space
=head1 VERSION
-version 0.29
+version 0.31
=head1 SYNOPSIS
@@ -160,10 +160,9 @@ Cory G Watson <gphat@cpan.org>
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2011 by Cold Hard Code, LLC.
+This software is copyright (c) 2014 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
@@ -1,7 +1,5 @@
package Graphics::Color;
-BEGIN {
- $Graphics::Color::VERSION = '0.29';
-}
+$Graphics::Color::VERSION = '0.31';
use Moose;
use Moose::Util::TypeConstraints;
@@ -32,6 +30,7 @@ no Moose;
1;
__END__
+
=pod
=head1 NAME
@@ -40,7 +39,7 @@ Graphics::Color - Device and library agnostic color spaces.
=head1 VERSION
-version 0.29
+version 0.31
=head1 SYNOPSIS
@@ -103,10 +102,9 @@ Cory G Watson <gphat@cpan.org>
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2011 by Cold Hard Code, LLC.
+This software is copyright (c) 2014 by Cold Hard Code, LLC.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
-
@@ -33,8 +33,8 @@ cmp_ok($color->as_string, 'eq', '1.00,0.40,0.50,0.00', 'as_string');
cmp_ok($color->as_integer_string, 'eq', '255, 102, 127, 0.00', 'integer string');
cmp_ok($color->as_hex_string, 'eq', 'ff667f', 'hex string');
-cmp_ok($color->as_hex_string('#'), '#ff667f', 'hex string with prepend');
-cmp_ok($color->as_css_hex, '#ff667f', 'hex string with prepend');
+cmp_ok($color->as_hex_string('YAY'), 'eq', 'YAYff667f', 'hex string with prepend');
+cmp_ok($color->as_css_hex, 'eq', '#ff667f', 'hex string with prepend');
cmp_ok($color->as_percent_string, 'eq', '100%, 40%, 50%, 0.00', 'percent string');
{
my $color_z = Graphics::Color::RGB->new(
@@ -93,4 +93,4 @@ cmp_ok($h_white->b, '==', 1, 'from_hex_string blue');
my $h_wtf = Graphics::Color::RGB->from_hex_string('#f0aacd');
delta_ok($h_wtf->r, 0.941, 'from_hex_string red');
delta_ok($h_wtf->g, 0.666, 'from_hex_string green');
-delta_ok($h_wtf->b, 0.803, 'from_hex_string blue');
\ No newline at end of file
+delta_ok($h_wtf->b, 0.803, 'from_hex_string blue');
@@ -7,6 +7,7 @@ BEGIN {
}
}
+# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
use Test::More;
eval "use Test::Pod 1.41";
@@ -13,4 +13,4 @@ use Test::More;
eval "use Test::Synopsis";
plan skip_all => "Test::Synopsis required for testing synopses"
if $@;
-all_synopsis_ok('lib');
+all_synopsis_ok();