Skip to content

Commit cac8228

Browse files
Merge branch 'master' into working
2 parents 89ff44c + c4b8b93 commit cac8228

File tree

16 files changed

+43
-109
lines changed

16 files changed

+43
-109
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ branches:
1010
- working
1111

1212
before_script:
13-
- composer install
13+
- composer install --no-dev
1414

1515
notifications:
1616
email:

CONTRIBUTORS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ Contributors
22
============
33

44
- Glen Campbell <[email protected]>
5-
- Jamie Hannaford <jamie@limetree.org>
6-
- Stephen Sugden <[email protected]>
5+
- Jamie Hannaford <jamie[email protected]>
6+
- Stephen Sugden <[email protected]>

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
=============
33
PHP SDK for OpenStack/Rackspace APIs
44

5-
[![Travis CI](https://secure.travis-ci.org/rackspace/php-opencloud.png)](https://travis-ci.org/rackspace/php-opencloud) [![Total Downloads](https://poser.pugx.org/rackspace/php-opencloud/downloads.png)](https://packagist.org/packages/rackspace/php-opencloud)
5+
[![Latest Stable Version](https://poser.pugx.org/rackspace/php-opencloud/v/stable.png)](https://packagist.org/packages/rackspace/php-opencloud) [![Travis CI](https://secure.travis-ci.org/rackspace/php-opencloud.png)](https://travis-ci.org/rackspace/php-opencloud) [![Total Downloads](https://poser.pugx.org/rackspace/php-opencloud/downloads.png)](https://packagist.org/packages/rackspace/php-opencloud)
66

77
> **IMPORTANT NOTE**: With release 1.3, all of the file extensions have been
88
changed from `.inc` to `.php`. This means that any existing code must be
Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
<?php
22
/**
33
* PHP OpenCloud library.
4-
*
4+
*
55
* @copyright 2013 Rackspace Hosting, Inc. See LICENSE for information.
66
* @license https://www.apache.org/licenses/LICENSE-2.0
7-
* @author Glen Campbell <[email protected]>
87
* @author Jamie Hannaford <[email protected]>
8+
* @author Glen Campbell <[email protected]>
99
*/
1010

11-
/**
12-
* Description of Role
13-
*
14-
* @link
15-
*
16-
* @codeCoverageIgnore
17-
*/
11+
namespace OpenCloud\Common\Identity;
12+
1813
class Role
1914
{
2015
}
Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
11
<?php
22
/**
33
* PHP OpenCloud library.
4-
*
4+
*
55
* @copyright 2013 Rackspace Hosting, Inc. See LICENSE for information.
66
* @license https://www.apache.org/licenses/LICENSE-2.0
7-
* @author Glen Campbell <[email protected]>
87
* @author Jamie Hannaford <[email protected]>
8+
* @author Glen Campbell <[email protected]>
99
*/
1010

11-
/**
12-
* Description of Tenant
13-
*
14-
* @link
15-
*
16-
* @codeCoverageIgnore
17-
*/
11+
namespace OpenCloud\Common\Identity;
12+
1813
class Tenant
1914
{
20-
2115
}
Lines changed: 5 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,15 @@
11
<?php
22
/**
33
* PHP OpenCloud library.
4-
*
4+
*
55
* @copyright 2013 Rackspace Hosting, Inc. See LICENSE for information.
66
* @license https://www.apache.org/licenses/LICENSE-2.0
7-
* @author Glen Campbell <[email protected]>
87
* @author Jamie Hannaford <[email protected]>
8+
* @author Glen Campbell <[email protected]>
99
*/
1010

11-
/**
12-
* Represents a sub-user in Keystone.
13-
*
14-
* @link http://docs.rackspace.com/auth/api/v2.0/auth-client-devguide/content/User_Calls.html
15-
*
16-
* @codeCoverageIgnore
17-
*/
18-
class User extends PersistentObject
11+
namespace OpenCloud\Common\Identity;
12+
13+
class User
1914
{
20-
21-
public static function factory($info)
22-
{
23-
$user = new self;
24-
}
25-
26-
/**
27-
* Return detailed information about a specific user, by either user name or user ID.
28-
* @param int|string $info
29-
*/
30-
public function get($info)
31-
{
32-
if (is_integer($info)) {
33-
34-
} elseif (is_string($info)) {
35-
36-
} else {
37-
throw new Exception\IdentityException(sprintf(
38-
'A string-based username or an integer-based user ID is valid'
39-
));
40-
}
41-
}
42-
43-
public function create()
44-
{
45-
46-
}
47-
48-
public function update()
49-
{
50-
51-
}
52-
53-
public function delete()
54-
{
55-
56-
}
57-
58-
public function listAllCredentials()
59-
{
60-
61-
}
62-
63-
public function getCredentials()
64-
{
65-
66-
}
67-
68-
public function resetApiKey()
69-
{
70-
71-
}
72-
7315
}

lib/OpenCloud/ObjectStore/Constants/Header.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
<?php
22
/**
33
* PHP OpenCloud library.
4-
*
4+
*
55
* @copyright 2013 Rackspace Hosting, Inc. See LICENSE for information.
66
* @license https://www.apache.org/licenses/LICENSE-2.0
77
* @author Jamie Hannaford <[email protected]>
8-
* @author Glen Campbell <[email protected]>
98
*/
109

1110
namespace OpenCloud\ObjectStore\Constants;

lib/OpenCloud/ObjectStore/Resource/AbstractContainer.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
<?php
2-
32
/**
43
* PHP OpenCloud library.
5-
*
4+
*
65
* @copyright 2013 Rackspace Hosting, Inc. See LICENSE for information.
76
* @license https://www.apache.org/licenses/LICENSE-2.0
87
* @author Jamie Hannaford <[email protected]>
9-
* @author Glen Campbell <[email protected]>
108
*/
119

1210
namespace OpenCloud\ObjectStore\Resource;

lib/OpenCloud/ObjectStore/Resource/AbstractResource.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*
55
* @copyright 2013 Rackspace Hosting, Inc. See LICENSE for information.
66
* @license https://www.apache.org/licenses/LICENSE-2.0
7-
* @author Glen Campbell <[email protected]>
87
* @author Jamie Hannaford <[email protected]>
98
*/
109

lib/OpenCloud/ObjectStore/Resource/Account.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
<?php
2-
32
/**
43
* PHP OpenCloud library.
5-
*
4+
*
65
* @copyright 2013 Rackspace Hosting, Inc. See LICENSE for information.
76
* @license https://www.apache.org/licenses/LICENSE-2.0
87
* @author Jamie Hannaford <[email protected]>
9-
* @author Glen Campbell <[email protected]>
108
*/
9+
1110
namespace OpenCloud\ObjectStore\Resource;
1211

1312
/**

0 commit comments

Comments
 (0)