diff --git a/META.info b/META.info index 092f613..477d512 100644 --- a/META.info +++ b/META.info @@ -1,5 +1,5 @@ { - "name" : "PP::MIME::Base64", + "name" : "Enc::MIME::Base64", "version" : "0.01", "description" : "MIME Base64 encoding for Perl6 that understands Base64 is an encoding for binary data.", "depends" : [ ], diff --git a/README.md b/README.md index 33d492c..3de3a8e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -perl6-MIME-Base64 +perl6-Enc-MIME-Base64 ================= MIME Base64 encoding for Perl6 that understands Base64 is an encoding for binary data. @@ -6,7 +6,7 @@ MIME Base64 encoding for Perl6 that understands Base64 is an encoding for binary # Synopsis ```perl -use PP::MIME::Base64; +use PP::Enc::MIME::Base64; my $http_auth_send = encode_base64_str('Aladdin:open sesame'); my $http_auth_recv = decode_base64_str('QWxhZGRpbjpvcGVuIHNlc2FtZQ=='); diff --git a/lib/PP/MIME/Base64.pm6 b/lib/PP/Enc/MIME/Base64.pm6 similarity index 98% rename from lib/PP/MIME/Base64.pm6 rename to lib/PP/Enc/MIME/Base64.pm6 index 3c95539..361ba2e 100644 --- a/lib/PP/MIME/Base64.pm6 +++ b/lib/PP/Enc/MIME/Base64.pm6 @@ -1,4 +1,4 @@ -module PP::MIME::Base64:auth:ver<0.01> { +module PP::Enc::MIME::Base64:auth:ver<0.01> { our Str constant @mapping = flat 'A' .. 'Z', 'a' .. 'z', '0' .. '9', '+', '/'; diff --git a/t/binary.t b/t/binary.t index 14a075a..8af8649 100644 --- a/t/binary.t +++ b/t/binary.t @@ -1,7 +1,7 @@ use v6; use Test; -use PP::MIME::Base64; +use PP::Enc::MIME::Base64; plan 8; diff --git a/t/from_snarkyboojum.t b/t/from_snarkyboojum.t index df4a1d9..c7f5501 100644 --- a/t/from_snarkyboojum.t +++ b/t/from_snarkyboojum.t @@ -1,7 +1,7 @@ use v6; use Test; -use PP::MIME::Base64; +use PP::Enc::MIME::Base64; plan 18; diff --git a/t/long_line_and_encoding_cases.t b/t/long_line_and_encoding_cases.t index 4fb9eb5..67a4a20 100644 --- a/t/long_line_and_encoding_cases.t +++ b/t/long_line_and_encoding_cases.t @@ -1,7 +1,7 @@ use v6; use Test; -use PP::MIME::Base64; +use PP::Enc::MIME::Base64; plan 7; diff --git a/t/rfc4648_test_vector.t b/t/rfc4648_test_vector.t index 09371b6..d4e368e 100644 --- a/t/rfc4648_test_vector.t +++ b/t/rfc4648_test_vector.t @@ -3,7 +3,7 @@ use v6; # from http://tools.ietf.org/html/rfc4648#section-10 use Test; -use PP::MIME::Base64; +use PP::Enc::MIME::Base64; plan 16;