Permalink
Browse files

composer.lock

  • Loading branch information...
ma-nakamura
ma-nakamura committed May 5, 2015
1 parent 53ac7ca commit 92f786ee86f02756eaeedc7add9a5080ee3cc21f
Showing with 12,000 additions and 0 deletions.
  1. +7 −0 vendor/autoload.php
  2. +383 −0 vendor/composer/ClassLoader.php
  3. +9 −0 vendor/composer/autoload_classmap.php
  4. +12 −0 vendor/composer/autoload_namespaces.php
  5. +10 −0 vendor/composer/autoload_psr4.php
  6. +50 −0 vendor/composer/autoload_real.php
  7. +202 −0 vendor/composer/installed.json
  8. +7 −0 vendor/facebook/php-sdk-v4/.gitignore
  9. +13 −0 vendor/facebook/php-sdk-v4/CONTRIBUTING.md
  10. +19 −0 vendor/facebook/php-sdk-v4/LICENSE
  11. +88 −0 vendor/facebook/php-sdk-v4/README.md
  12. +70 −0 vendor/facebook/php-sdk-v4/autoload.php
  13. +30 −0 vendor/facebook/php-sdk-v4/composer.json
  14. +37 −0 vendor/facebook/php-sdk-v4/docs/FacebookCanvasLoginHelper.fbmd
  15. +39 −0 vendor/facebook/php-sdk-v4/docs/FacebookJavaScriptLoginHelper.fbmd
  16. +54 −0 vendor/facebook/php-sdk-v4/docs/FacebookRedirectLoginHelper.fbmd
  17. +59 −0 vendor/facebook/php-sdk-v4/docs/FacebookRequest.fbmd
  18. +43 −0 vendor/facebook/php-sdk-v4/docs/FacebookRequestException.fbmd
  19. +57 −0 vendor/facebook/php-sdk-v4/docs/FacebookResponse.fbmd
  20. +71 −0 vendor/facebook/php-sdk-v4/docs/FacebookSession.fbmd
  21. +155 −0 vendor/facebook/php-sdk-v4/docs/GraphObject.fbmd
  22. +44 −0 vendor/facebook/php-sdk-v4/docs/post_links.fbmd
  23. +38 −0 vendor/facebook/php-sdk-v4/docs/retrieve_user_profile.fbmd
  24. +136 −0 vendor/facebook/php-sdk-v4/docs/sdk_getting_started.fbmd
  25. +45 −0 vendor/facebook/php-sdk-v4/docs/sdk_landing_page.fbmd
  26. +49 −0 vendor/facebook/php-sdk-v4/docs/upload_photo.fbmd
  27. +19 −0 vendor/facebook/php-sdk-v4/phpunit.xml.dist
  28. +379 −0 vendor/facebook/php-sdk-v4/src/Facebook/Entities/AccessToken.php
  29. +397 −0 vendor/facebook/php-sdk-v4/src/Facebook/Entities/SignedRequest.php
  30. +33 −0 vendor/facebook/php-sdk-v4/src/Facebook/FacebookAuthorizationException.php
  31. +60 −0 vendor/facebook/php-sdk-v4/src/Facebook/FacebookCanvasLoginHelper.php
  32. +33 −0 vendor/facebook/php-sdk-v4/src/Facebook/FacebookClientException.php
  33. +45 −0 vendor/facebook/php-sdk-v4/src/Facebook/FacebookJavaScriptLoginHelper.php
  34. +33 −0 vendor/facebook/php-sdk-v4/src/Facebook/FacebookOtherException.php
  35. +102 −0 vendor/facebook/php-sdk-v4/src/Facebook/FacebookPageTabHelper.php
  36. +33 −0 vendor/facebook/php-sdk-v4/src/Facebook/FacebookPermissionException.php
  37. +74 −0 vendor/facebook/php-sdk-v4/src/Facebook/FacebookPermissions.php
  38. +344 −0 vendor/facebook/php-sdk-v4/src/Facebook/FacebookRedirectLoginHelper.php
  39. +325 −0 vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequest.php
  40. +222 −0 vendor/facebook/php-sdk-v4/src/Facebook/FacebookRequestException.php
  41. +206 −0 vendor/facebook/php-sdk-v4/src/Facebook/FacebookResponse.php
  42. +33 −0 vendor/facebook/php-sdk-v4/src/Facebook/FacebookSDKException.php
  43. +33 −0 vendor/facebook/php-sdk-v4/src/Facebook/FacebookServerException.php
  44. +367 −0 vendor/facebook/php-sdk-v4/src/Facebook/FacebookSession.php
  45. +167 −0 vendor/facebook/php-sdk-v4/src/Facebook/FacebookSignedRequestFromInputHelper.php
  46. +33 −0 vendor/facebook/php-sdk-v4/src/Facebook/FacebookThrottleException.php
  47. +173 −0 vendor/facebook/php-sdk-v4/src/Facebook/GraphAlbum.php
  48. +105 −0 vendor/facebook/php-sdk-v4/src/Facebook/GraphLocation.php
  49. +171 −0 vendor/facebook/php-sdk-v4/src/Facebook/GraphObject.php
  50. +64 −0 vendor/facebook/php-sdk-v4/src/Facebook/GraphPage.php
  51. +115 −0 vendor/facebook/php-sdk-v4/src/Facebook/GraphSessionInfo.php
  52. +144 −0 vendor/facebook/php-sdk-v4/src/Facebook/GraphUser.php
  53. +84 −0 vendor/facebook/php-sdk-v4/src/Facebook/GraphUserPage.php
  54. +134 −0 vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurl.php
  55. +347 −0 vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookCurlHttpClient.php
  56. +134 −0 vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookGuzzleHttpClient.php
  57. +68 −0 vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookHttpable.php
  58. +79 −0 vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookStream.php
  59. +190 −0 vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/FacebookStreamHttpClient.php
  60. +23 −0 vendor/facebook/php-sdk-v4/src/Facebook/HttpClients/certs/DigiCertHighAssuranceEVRootCA.pem
  61. +247 −0 vendor/facebook/php-sdk-v4/tests/Entities/AccessTokenTest.php
  62. +163 −0 vendor/facebook/php-sdk-v4/tests/Entities/SignedRequestTest.php
  63. +25 −0 vendor/facebook/php-sdk-v4/tests/FacebookCanvasLoginHelperTest.php
  64. +23 −0 vendor/facebook/php-sdk-v4/tests/FacebookJavaScriptLoginHelperTest.php
  65. +22 −0 vendor/facebook/php-sdk-v4/tests/FacebookPageTabHelperTest.php
  66. +102 −0 vendor/facebook/php-sdk-v4/tests/FacebookRedirectLoginHelperTest.php
  67. +266 −0 vendor/facebook/php-sdk-v4/tests/FacebookRequestExceptionTest.php
  68. +140 −0 vendor/facebook/php-sdk-v4/tests/FacebookRequestTest.php
  69. +84 −0 vendor/facebook/php-sdk-v4/tests/FacebookSessionTest.php
  70. +67 −0 vendor/facebook/php-sdk-v4/tests/FacebookSignedRequestFromInputHelperTest.php
  71. +13 −0 vendor/facebook/php-sdk-v4/tests/FacebookTestCredentials.php.dist
  72. +74 −0 vendor/facebook/php-sdk-v4/tests/FacebookTestHelper.php
  73. +53 −0 vendor/facebook/php-sdk-v4/tests/GraphAlbumTest.php
  74. +25 −0 vendor/facebook/php-sdk-v4/tests/GraphLocationTest.php
  75. +97 −0 vendor/facebook/php-sdk-v4/tests/GraphObjectTest.php
  76. +26 −0 vendor/facebook/php-sdk-v4/tests/GraphSessionInfoTest.php
  77. +27 −0 vendor/facebook/php-sdk-v4/tests/GraphUserTest.php
  78. +40 −0 vendor/facebook/php-sdk-v4/tests/HttpClients/AbstractTestHttpClient.php
  79. +467 −0 vendor/facebook/php-sdk-v4/tests/HttpClients/FacebookCurlHttpClientTest.php
  80. +109 −0 vendor/facebook/php-sdk-v4/tests/HttpClients/FacebookGuzzleHttpClientTest.php
  81. +123 −0 vendor/facebook/php-sdk-v4/tests/HttpClients/FacebookStreamHttpClientTest.php
  82. +37 −0 vendor/facebook/php-sdk-v4/tests/bootstrap.php
  83. +4 −0 vendor/mashape/unirest-php/.gitignore
  84. +11 −0 vendor/mashape/unirest-php/.travis.yml
  85. +22 −0 vendor/mashape/unirest-php/LICENSE
  86. +158 −0 vendor/mashape/unirest-php/README.md
  87. +31 −0 vendor/mashape/unirest-php/composer.json
  88. +7 −0 vendor/mashape/unirest-php/lib/Unirest.php
  89. +14 −0 vendor/mashape/unirest-php/lib/Unirest/HttpMethod.php
  90. +77 −0 vendor/mashape/unirest-php/lib/Unirest/HttpResponse.php
  91. +319 −0 vendor/mashape/unirest-php/lib/Unirest/Unirest.php
  92. +1 −0 vendor/mashape/unirest-php/test/.gitignore
  93. +27 −0 vendor/mashape/unirest-php/test/Unirest.php
  94. +374 −0 vendor/mashape/unirest-php/test/Unirest/UnirestTest.php
  95. +1 −0 vendor/mashape/unirest-php/test/Unirest/test_upload.txt
  96. +7 −0 vendor/sendgrid/sendgrid/.gitignore
  97. +33 −0 vendor/sendgrid/sendgrid/.travis.yml
  98. +15 −0 vendor/sendgrid/sendgrid/MIT.LICENSE
  99. +397 −0 vendor/sendgrid/sendgrid/README.md
  100. +24 −0 vendor/sendgrid/sendgrid/composer.json
  101. +64 −0 vendor/sendgrid/sendgrid/lib/SendGrid.php
  102. +377 −0 vendor/sendgrid/sendgrid/lib/SendGrid/Email.php
  103. +62 −0 vendor/sendgrid/sendgrid/scripts/generate_upload_policy.php
  104. +11 −0 vendor/sendgrid/sendgrid/scripts/s3policy.json
  105. +37 −0 vendor/sendgrid/sendgrid/scripts/s3upload.sh
  106. +85 −0 vendor/sendgrid/sendgrid/test/SendGrid.php
  107. +473 −0 vendor/sendgrid/sendgrid/test/SendGrid/Email.php
  108. +73 −0 vendor/sendgrid/sendgrid/test/SendGrid/Web.php
  109. +19 −0 vendor/sendgrid/sendgrid/test/bootstrap.php
  110. BIN vendor/sendgrid/sendgrid/test/gif.gif
  111. +9 −0 vendor/sendgrid/sendgrid/test/phpunit.xml.dist
  112. +1 −0 vendor/sendgrid/sendgrid/test/text
  113. +3 −0 vendor/sendgrid/smtpapi/.gitignore
  114. +15 −0 vendor/sendgrid/smtpapi/.travis.yml
  115. +197 −0 vendor/sendgrid/smtpapi/README.md
  116. +22 −0 vendor/sendgrid/smtpapi/composer.json
  117. +20 −0 vendor/sendgrid/smtpapi/lib/Smtpapi.php
  118. +110 −0 vendor/sendgrid/smtpapi/lib/Smtpapi/Header.php
  119. +8 −0 vendor/sendgrid/smtpapi/test/Smtpapi.php
  120. +123 −0 vendor/sendgrid/smtpapi/test/Smtpapi/Header.php
  121. +19 −0 vendor/sendgrid/smtpapi/test/bootstrap.php
  122. +9 −0 vendor/sendgrid/smtpapi/test/phpunit.xml.dist
  123. +15 −0 vendor/sendgrid/smtpapi/test/smtpapi_test_strings.json
View
@@ -0,0 +1,7 @@
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInitfa0c66d4d637e476a6f9eac4006c84fb::getLoader();
@@ -0,0 +1,383 @@
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer\Autoload;
/**
* ClassLoader implements a PSR-0 class loader
*
* See https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
*
* $loader = new \Composer\Autoload\ClassLoader();
*
* // register classes with namespaces
* $loader->add('Symfony\Component', __DIR__.'/component');
* $loader->add('Symfony', __DIR__.'/framework');
*
* // activate the autoloader
* $loader->register();
*
* // to enable searching the include path (eg. for PEAR packages)
* $loader->setUseIncludePath(true);
*
* In this example, if you try to use a class in the Symfony\Component
* namespace or one of its children (Symfony\Component\Console for instance),
* the autoloader will first look for the class under the component/
* directory, and it will then fallback to the framework/ directory if not
* found before giving up.
*
* This class is loosely based on the Symfony UniversalClassLoader.
*
* @author Fabien Potencier <fabien@symfony.com>
* @author Jordi Boggiano <j.boggiano@seld.be>
*/
class ClassLoader
{
// PSR-4
private $prefixLengthsPsr4 = array();
private $prefixDirsPsr4 = array();
private $fallbackDirsPsr4 = array();
// PSR-0
private $prefixesPsr0 = array();
private $fallbackDirsPsr0 = array();
private $useIncludePath = false;
private $classMap = array();
public function getPrefixes()
{
return call_user_func_array('array_merge', $this->prefixesPsr0);
}
public function getPrefixesPsr4()
{
return $this->prefixDirsPsr4;
}
public function getFallbackDirs()
{
return $this->fallbackDirsPsr0;
}
public function getFallbackDirsPsr4()
{
return $this->fallbackDirsPsr4;
}
public function getClassMap()
{
return $this->classMap;
}
/**
* @param array $classMap Class to filename map
*/
public function addClassMap(array $classMap)
{
if ($this->classMap) {
$this->classMap = array_merge($this->classMap, $classMap);
} else {
$this->classMap = $classMap;
}
}
/**
* Registers a set of PSR-0 directories for a given prefix, either
* appending or prepending to the ones previously set for this prefix.
*
* @param string $prefix The prefix
* @param array|string $paths The PSR-0 root directories
* @param bool $prepend Whether to prepend the directories
*/
public function add($prefix, $paths, $prepend = false)
{
if (!$prefix) {
if ($prepend) {
$this->fallbackDirsPsr0 = array_merge(
(array) $paths,
$this->fallbackDirsPsr0
);
} else {
$this->fallbackDirsPsr0 = array_merge(
$this->fallbackDirsPsr0,
(array) $paths
);
}
return;
}
$first = $prefix[0];
if (!isset($this->prefixesPsr0[$first][$prefix])) {
$this->prefixesPsr0[$first][$prefix] = (array) $paths;
return;
}
if ($prepend) {
$this->prefixesPsr0[$first][$prefix] = array_merge(
(array) $paths,
$this->prefixesPsr0[$first][$prefix]
);
} else {
$this->prefixesPsr0[$first][$prefix] = array_merge(
$this->prefixesPsr0[$first][$prefix],
(array) $paths
);
}
}
/**
* Registers a set of PSR-4 directories for a given namespace, either
* appending or prepending to the ones previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param array|string $paths The PSR-0 base directories
* @param bool $prepend Whether to prepend the directories
*
* @throws \InvalidArgumentException
*/
public function addPsr4($prefix, $paths, $prepend = false)
{
if (!$prefix) {
// Register directories for the root namespace.
if ($prepend) {
$this->fallbackDirsPsr4 = array_merge(
(array) $paths,
$this->fallbackDirsPsr4
);
} else {
$this->fallbackDirsPsr4 = array_merge(
$this->fallbackDirsPsr4,
(array) $paths
);
}
} elseif (!isset($this->prefixDirsPsr4[$prefix])) {
// Register directories for a new namespace.
$length = strlen($prefix);
if ('\\' !== $prefix[$length - 1]) {
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
}
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
$this->prefixDirsPsr4[$prefix] = (array) $paths;
} elseif ($prepend) {
// Prepend directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
(array) $paths,
$this->prefixDirsPsr4[$prefix]
);
} else {
// Append directories for an already registered namespace.
$this->prefixDirsPsr4[$prefix] = array_merge(
$this->prefixDirsPsr4[$prefix],
(array) $paths
);
}
}
/**
* Registers a set of PSR-0 directories for a given prefix,
* replacing any others previously set for this prefix.
*
* @param string $prefix The prefix
* @param array|string $paths The PSR-0 base directories
*/
public function set($prefix, $paths)
{
if (!$prefix) {
$this->fallbackDirsPsr0 = (array) $paths;
} else {
$this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
}
}
/**
* Registers a set of PSR-4 directories for a given namespace,
* replacing any others previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param array|string $paths The PSR-4 base directories
*
* @throws \InvalidArgumentException
*/
public function setPsr4($prefix, $paths)
{
if (!$prefix) {
$this->fallbackDirsPsr4 = (array) $paths;
} else {
$length = strlen($prefix);
if ('\\' !== $prefix[$length - 1]) {
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
}
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
$this->prefixDirsPsr4[$prefix] = (array) $paths;
}
}
/**
* Turns on searching the include path for class files.
*
* @param bool $useIncludePath
*/
public function setUseIncludePath($useIncludePath)
{
$this->useIncludePath = $useIncludePath;
}
/**
* Can be used to check if the autoloader uses the include path to check
* for classes.
*
* @return bool
*/
public function getUseIncludePath()
{
return $this->useIncludePath;
}
/**
* Registers this instance as an autoloader.
*
* @param bool $prepend Whether to prepend the autoloader or not
*/
public function register($prepend = false)
{
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
}
/**
* Unregisters this instance as an autoloader.
*/
public function unregister()
{
spl_autoload_unregister(array($this, 'loadClass'));
}
/**
* Loads the given class or interface.
*
* @param string $class The name of the class
* @return bool|null True if loaded, null otherwise
*/
public function loadClass($class)
{
if ($file = $this->findFile($class)) {
includeFile($file);
return true;
}
}
/**
* Finds the path to the file where the class is defined.
*
* @param string $class The name of the class
*
* @return string|false The path if found, false otherwise
*/
public function findFile($class)
{
// work around for PHP 5.3.0 - 5.3.2 https://bugs.php.net/50731
if ('\\' == $class[0]) {
$class = substr($class, 1);
}
// class map lookup
if (isset($this->classMap[$class])) {
return $this->classMap[$class];
}
$file = $this->findFileWithExtension($class, '.php');
// Search for Hack files if we are running on HHVM
if ($file === null && defined('HHVM_VERSION')) {
$file = $this->findFileWithExtension($class, '.hh');
}
if ($file === null) {
// Remember that this class does not exist.
return $this->classMap[$class] = false;
}
return $file;
}
private function findFileWithExtension($class, $ext)
{
// PSR-4 lookup
$logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
$first = $class[0];
if (isset($this->prefixLengthsPsr4[$first])) {
foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
if (0 === strpos($class, $prefix)) {
foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
return $file;
}
}
}
}
}
// PSR-4 fallback dirs
foreach ($this->fallbackDirsPsr4 as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
return $file;
}
}
// PSR-0 lookup
if (false !== $pos = strrpos($class, '\\')) {
// namespaced class name
$logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
. strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
} else {
// PEAR-like class name
$logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
}
if (isset($this->prefixesPsr0[$first])) {
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
if (0 === strpos($class, $prefix)) {
foreach ($dirs as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
return $file;
}
}
}
}
}
// PSR-0 fallback dirs
foreach ($this->fallbackDirsPsr0 as $dir) {
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
return $file;
}
}
// PSR-0 include paths.
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
return $file;
}
}
}
/**
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*/
function includeFile($file)
{
include $file;
}
Oops, something went wrong.

0 comments on commit 92f786e

Please sign in to comment.