Skip to content

Commit b9dd8f7

Browse files
authored
Merge pull request #24 from ably/release/1.0.6
Release 1.0.6
2 parents c91929b + 12f6d46 commit b9dd8f7

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## [1.0.6](https://github.com/ably/ably-php-laravel/tree/1.0.6)
4+
[Full Changelog](https://github.com/ably/ably-php-laravel/compare/1.0.5...1.0.6)
5+
6+
- Updates the underlying ably-php version to 1.1.7
7+
- Updates outdated URLs in README [/#21](https://github.com/ably/ably-php-laravel/pull/21)
8+
39
## [1.0.5](https://github.com/ably/ably-php-laravel/tree/1.0.5)
410

511
[Full Changelog](https://github.com/ably/ably-php-laravel/compare/1.0.4...1.0.5)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ This library uses [semantic versioning](http://semver.org/). For each release, t
110110

111111
## License
112112

113-
Copyright (c) 2017 Ably Real-time Ltd, Licensed under the Apache License, Version 2.0. Refer to [LICENSE](LICENSE) for the license terms.
113+
Copyright (c) 2022 Ably Real-time Ltd, Licensed under the Apache License, Version 2.0. Refer to [LICENSE](LICENSE) for the license terms.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"require": {
1414
"php": "^7.2 || ^8.0",
15-
"ably/ably-php": "~1.1.6",
15+
"ably/ably-php": "~1.1.7",
1616
"laravel/framework": ">=6.0.0"
1717
},
1818
"require-dev": {

tests/AblyLaravelTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function testServiceProvider()
6666
*/
6767
public function testFacade()
6868
{
69-
$this->assertGreaterThan(0, Ably::systemTime()); // verify that function calls work
69+
$this->assertGreaterThan(0, Miscellaneous::systemTime()); // verify that function calls work
7070

7171
$this->assertInstanceOf(\Ably\Auth::class, Ably::auth()); // verify that accessing members as function calls works
7272

@@ -96,7 +96,7 @@ public function testService()
9696
$ably = App::make('\Ably\Laravel\AblyService');
9797
$this->assertInstanceOf(\Ably\Laravel\AblyService::class, $ably);
9898

99-
$this->assertGreaterThan(0, $ably->systemTime()); // verify that function calls work
99+
$this->assertGreaterThan(0, Miscellaneous::systemTime()); // verify that function calls work
100100

101101
$this->assertInstanceOf(\Ably\Auth::class, $ably->auth); // verify that accessing members works
102102

@@ -143,7 +143,7 @@ public function testLaravelAblyAgentHeader()
143143
]);
144144

145145
$ably->time();
146-
$expectedLaravelHeader = 'ably-php/'.AblyRest::LIB_VERSION.' '.'php/'.Miscellaneous::getNumeric(phpversion()).' laravel/'.app()->version();
146+
$expectedLaravelHeader = 'ably-php/'.\Ably\Defaults::LIB_VERSION.' '.'php/'.Miscellaneous::getNumeric(phpversion()).' laravel/'.app()->version();
147147
$this->assertcontains( 'Ably-Agent: '.$expectedLaravelHeader, $ably->http->lastHeaders, 'Expected PHP laravel header in HTTP request' );
148148
}
149149
}

0 commit comments

Comments
 (0)