Skip to content

Commit 20ca0df

Browse files
various fixes
1 parent d60e743 commit 20ca0df

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
#### 2.0 Alpha 2
1616

1717
* Add getter and setter for `Index::indexName` property
18-
* Fix Traviss
18+
* Fix Travis
19+
* Introduce ClientConfiguration
20+
* Introduce Client singleton with `Client::get()`
1921

2022

2123
### UNRELEASED

autoload.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
// with .php
2727
$file = $base_dir . str_replace('\\', '/', $relative_class) . '.php';
2828

29-
dump($file);
30-
3129
// if the file exists, require it
3230
if (file_exists($file)) {
3331
require $file;

src/Index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ public function freshObjects($objects, $requestOptions = array())
161161
{
162162
$tmpName = $this->indexName.'_tmp_'.uniqid();
163163

164+
// TODO: Replica!
164165
$this->api->write(
165166
'POST',
166167
api_path('/1/indexes/%s/operation', $this->indexName),

tests/Integration/AlgoliaIntegrationTestCase.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,10 @@ protected static function newClient($config = array())
4747
$config += array(
4848
'app-id' => getenv('ALGOLIA_APP_ID'),
4949
'key' => getenv('ALGOLIA_API_KEY'),
50-
'hosts' => array(),
5150
);
5251

5352
return new SyncClient(
54-
Client::create($config['app-id'], $config['key'], $config['hosts'])
53+
Client::create($config['app-id'], $config['key'])
5554
);
5655
}
5756

0 commit comments

Comments
 (0)