From 8a4e829c53ca2abb51ef2e514f696938a9bdbd0c Mon Sep 17 00:00:00 2001 From: Thomas Welton Date: Sun, 2 Mar 2014 18:29:18 +0000 Subject: [PATCH] Updated to use thomaswelton as the namespace --- Gravatar.php | 14 +++++++------- composer.json | 14 +++++++++----- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/Gravatar.php b/Gravatar.php index 1c11304..2dce95c 100644 --- a/Gravatar.php +++ b/Gravatar.php @@ -19,7 +19,7 @@ * */ -namespace emberlabs\GravatarLib; +namespace thomaswelton\GravatarLib; use \InvalidArgumentException; /** @@ -79,7 +79,7 @@ public function getAvatarSize() /** * Set the avatar size to use. * @param integer $size - The avatar size to use, must be less than 512 and greater than 0. - * @return \emberlabs\GravatarLib\Gravatar - Provides a fluent interface. + * @return \thomaswelton\GravatarLib\Gravatar - Provides a fluent interface. * * @throws \InvalidArgumentException */ @@ -115,7 +115,7 @@ public function getDefaultImage() /** * Set the default image to use for avatars. * @param mixed $image - The default image to use. Use boolean false for the gravatar default, a string containing a valid image URL, or a string specifying a recognized gravatar "default". - * @return \emberlabs\GravatarLib\Gravatar - Provides a fluent interface. + * @return \thomaswelton\GravatarLib\Gravatar - Provides a fluent interface. * * @throws \InvalidArgumentException */ @@ -166,7 +166,7 @@ public function getMaxRating() /** * Set the maximum allowed rating for avatars. * @param string $rating - The maximum rating to use for avatars ('g', 'pg', 'r', 'x'). - * @return \emberlabs\GravatarLib\Gravatar - Provides a fluent interface. + * @return \thomaswelton\GravatarLib\Gravatar - Provides a fluent interface. * * @throws \InvalidArgumentException */ @@ -198,7 +198,7 @@ public function usingSecureImages() /** * Enable the use of the secure protocol for image URLs. - * @return \emberlabs\GravatarLib\Gravatar - Provides a fluent interface. + * @return \thomaswelton\GravatarLib\Gravatar - Provides a fluent interface. */ public function enableSecureImages() { @@ -209,7 +209,7 @@ public function enableSecureImages() /** * Disable the use of the secure protocol for image URLs. - * @return \emberlabs\GravatarLib\Gravatar - Provides a fluent interface. + * @return \thomaswelton\GravatarLib\Gravatar - Provides a fluent interface. */ public function disableSecureImages() { @@ -290,7 +290,7 @@ public function getEmailHash($email) /** * ...Yeah, it's just an alias of buildGravatarURL. This is just to make it easier to use as a twig asset. - * @see \emberlabs\GravatarLib\Gravatar::buildGravatarURL() + * @see \thomaswelton\GravatarLib\Gravatar::buildGravatarURL() */ public function get($email, $hash_email = true) { diff --git a/composer.json b/composer.json index 2e4c741..8581725 100644 --- a/composer.json +++ b/composer.json @@ -1,9 +1,8 @@ { - "name": "emberlabs/gravatarlib", + "name": "thomaswelton/gravatarlib", "description": "A lightweight PHP 5.3 OOP library providing easy gravatar integration.", "keywords": ["gravatar", "templating", "twig"], "type": "library", - "homepage": "http://emberlabs.org/", "license": "MIT", "authors": [{ "name" : "Sam Thompson", @@ -12,7 +11,12 @@ { "name" : "Damian Bushong", "email" : "damian@emberlabs.org" - }], + }, + { + "name" : "Thomas Welton", + "email" : "thomaswelton@me.com" + } + ], "require": { "php": ">=5.3.0" }, @@ -21,8 +25,8 @@ }, "autoload": { "psr-0": { - "emberlabs\\GravatarLib\\": "" + "thomaswelton\\GravatarLib\\": "" } }, - "target-dir" : "emberlabs/GravatarLib" + "target-dir" : "thomaswelton/GravatarLib" } \ No newline at end of file