Skip to content

Commit

Permalink
Prepare v0.9.0 (#163)
Browse files Browse the repository at this point in the history
* Prepare v0.9.0

* Fix trailing newline and release generator
  • Loading branch information
jdpedrie authored Sep 26, 2016
1 parent fe84b8b commit a972770
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dev/src/Release/Command/Release.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private function addToManifest($version)

array_unshift($manifest['versions'], 'v'. $version);

$result = file_put_contents($path, json_encode($manifest, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES));
$result = file_put_contents($path, json_encode($manifest, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) ."\n");

if (!$result) {
throw new RuntimeException('File write failed');
Expand Down
1 change: 1 addition & 0 deletions docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"defaultService": "servicebuilder",
"markdown": "php",
"versions": [
"v0.9.0",
"v0.8.0",
"v0.7.1",
"v0.7.0",
Expand Down
2 changes: 1 addition & 1 deletion src/ServiceBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
*/
class ServiceBuilder
{
const VERSION = '0.8.0';
const VERSION = '0.9.0';

/**
* @var array Configuration options to be used between clients.
Expand Down
3 changes: 2 additions & 1 deletion tests/Datastore/OperationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,8 @@ public function testCommitWithMutation()
public function testRollback()
{
$this->connection->rollback(Argument::exact(['projectId' => 'foo', 'transaction' => 'bar']))
->shouldBeCalled()->willReturn(null);
->shouldBeCalled()
->willReturn(null);

$this->operation->setConnection($this->connection->reveal());

Expand Down

0 comments on commit a972770

Please sign in to comment.