Skip to content

Commit 8d670f2

Browse files
committed
Merge branch 'release/0.1.0'
2 parents 90878df + 0a441b3 commit 8d670f2

File tree

131 files changed

+9844
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+9844
-0
lines changed

.coveralls.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
service_name: travis-ci
2+
3+
src_dir: lib
4+
coverage_clover: build/logs/clover.xml
5+
json_path: build/logs/coveralls-upload.json

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
vendor/
2+
report/
3+
.idea/
4+
.dev/
5+
build

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
language: php
2+
php:
3+
- 5.3
4+
- 5.4
5+
- 5.5
6+
7+
matrix:
8+
allow_failures:
9+
- php: 5.5
10+
11+
before_script:
12+
- curl -s http://getcomposer.org/installer | php
13+
- php composer.phar install --dev --no-interaction
14+
15+
script:
16+
- mkdir -p build/logs
17+
- php vendor/bin/phpunit -c phpunit.xml
18+
19+
after_script:
20+
- php vendor/bin/coveralls --env=test

LICENSE

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) Alexandru G.
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is furnished
8+
to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# PHP Bitbucket API [![Build Status](https://travis-ci.org/gentlero/bitbucket-api.png?branch=develop)](https://travis-ci.org/gentlero/bitbucket-api) [![Coverage Status](https://coveralls.io/repos/gentlero/bitbucket-api/badge.png?branch=develop)](https://coveralls.io/r/gentlero/bitbucket-api?branch=develop)
2+
3+
Simple Bitbucket API wrapper for PHP >= 5.3.2.
4+
5+
## Requirements
6+
7+
* PHP >= 5.3 with [cURL](http://php.net/manual/en/book.curl.php) extension.
8+
* [Buzz](https://github.com/kriswallsmith/Buzz) library,
9+
* PHPUnit to run tests. ( _optional_ )
10+
11+
## Getting started
12+
13+
1. Install dependencies with composer:
14+
15+
```
16+
$ php composer.phar install
17+
```
18+
19+
2. See `examples/` directory and tests.
20+
21+
## Documentation
22+
23+
See the `docs` directory for more detailed documentation.
24+
25+
## License
26+
27+
`bitbucket-api` is licensed under the MIT License - see the LICENSE file for details
28+
29+
## Contribute
30+
31+
Send pull requests on [Bitbucket](https://bitbucket.org/gentlero/bitbucket-api).
32+
33+
## Credits
34+
35+
- [Alexandru G.](https://bitbucket.org/vimishor)

composer.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "gentle/bitbucket-api",
3+
"type": "library",
4+
"description": "Bitbucket API wrapper for PHP >= 5.3",
5+
"homepage": "https://bitbucket.org/gentlero/bitbucket-api",
6+
"keywords": ["bitbucket", "api"],
7+
"license": "MIT",
8+
"authors": [
9+
{
10+
"name": "Alexandru G.",
11+
"email": "alex@gentle.ro",
12+
"homepage": "http://vim.gentle.ro",
13+
"role": "Developer"
14+
}
15+
],
16+
"require": {
17+
"php": ">=5.3",
18+
"ext-curl": "*",
19+
"ext-spl": "*",
20+
"kriswallsmith/buzz": "0.10"
21+
},
22+
"require-dev": {
23+
"phpunit/phpunit": "3.7.*",
24+
"satooshi/php-coveralls": "dev-master"
25+
},
26+
"autoload": {
27+
"psr-0": { "Bitbucket\\": "lib/" }
28+
}
29+
}

0 commit comments

Comments
 (0)