Merge branch 'release/0.3.2'

This commit is contained in:
Walter Dal Mut
2015-04-08 19:25:14 +02:00
10 changed files with 51 additions and 18 deletions
+15
View File
@@ -0,0 +1,15 @@
# Contributing to InfluxDB PHP SDK
## Pull requests are always welcome
Not sure if that typo is worth a pull request? Found a bug and know how to fix
it? Do it! We will appreciate it. Any significant improvement should be
documented as a GitHub issue before anybody starts working on it.
We are always thrilled to receive pull requests. We do our best to process them
quickly. If your pull request is not accepted on the first try, don't get
discouraged!
We follows the *vincent driessen's branching model*
[http://nvie.com/posts/a-successful-git-branching-model/](http://nvie.com/posts/a-successful-git-branching-model/)
+1 -1
View File
@@ -1 +1 @@
0.3.1
0.3.2
+12
View File
@@ -12,6 +12,18 @@
<directory>tests</directory>
</testsuite>
</testsuites>
<php>
<env name="UDP_PORT" value="5551"/>
<env name="UDP_DB" value="udp.test"/>
<env name="TCP_PORT" value="8086"/>
<env name="TCP_DB" value="tcp.test"/>
<env name="TCP_PROTOCOL" value="http"/>
<env name="HOST" value="localhost"/>
<env name="USERNAME" value="root"/>
<env name="PASSWORD" value="root"/>
</php>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
+1
View File
@@ -196,3 +196,4 @@ class HttpAdapter implements AdapterInterface, QueryableInterface
return $this->parseResponse($response);
}
}
@@ -6,3 +6,4 @@ class InfluxAuthorizationException extends InfluxGeneralException
{
}
@@ -6,3 +6,4 @@ class InfluxBadResponseException extends InfluxGeneralException
{
}
@@ -6,3 +6,4 @@ class InfluxGeneralException extends \RuntimeException
{
}
@@ -6,3 +6,4 @@ class InfluxNoSeriesException extends InfluxGeneralException
{
}
@@ -6,3 +6,4 @@ class InfluxUnexpectedResponseException extends InfluxGeneralException
{
}
+11 -11
View File
@@ -1,18 +1,18 @@
<?php
return [
"tcp" => [
"host" => "localhost",
"port" => 8086,
"protocol" => "http",
"database" => "tcp.test",
"username" => "root",
"password" => "root",
"host" => getenv('HOST'),
"port" => getenv('TCP_PORT'),
"protocol" => getenv('TCP_PROTOCOL'),
"database" => getenv('TCP_DB'),
"username" => getenv('USERNAME'),
"password" => getenv('PASSWORD'),
],
"udp" => [
"host" => "localhost",
"port" => 5551,
"database" => "udp.test",
"username" => "root",
"password" => "root"
"host" => getenv('HOST'),
"port" => getenv('UDP_PORT'),
"database" => getenv('UDP_DB'),
"username" => getenv('USERNAME'),
"password" => getenv('PASSWORD'),
],
];