Skip to content

Commit

Permalink
Updated to use thomaswelton as the namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaswelton committed Mar 2, 2014
1 parent d80ee59 commit 8a4e829
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
14 changes: 7 additions & 7 deletions Gravatar.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
*/

namespace emberlabs\GravatarLib;
namespace thomaswelton\GravatarLib;
use \InvalidArgumentException;

/**
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -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
*/
Expand Down Expand Up @@ -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()
{
Expand All @@ -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()
{
Expand Down Expand Up @@ -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)
{
Expand Down
14 changes: 9 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -12,7 +11,12 @@
{
"name" : "Damian Bushong",
"email" : "[email protected]"
}],
},
{
"name" : "Thomas Welton",
"email" : "[email protected]"
}
],
"require": {
"php": ">=5.3.0"
},
Expand All @@ -21,8 +25,8 @@
},
"autoload": {
"psr-0": {
"emberlabs\\GravatarLib\\": ""
"thomaswelton\\GravatarLib\\": ""
}
},
"target-dir" : "emberlabs/GravatarLib"
"target-dir" : "thomaswelton/GravatarLib"
}

0 comments on commit 8a4e829

Please sign in to comment.