Skip to content

Commit 7d3f023

Browse files
committed
chore(release) : update readme for release
1 parent 90eed83 commit 7d3f023

File tree

6 files changed

+24
-12
lines changed

6 files changed

+24
-12
lines changed

CHANGELOG.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,18 @@ This project follows [Semantic Versioning](CONTRIBUTING.md).
44

55
---
66

7+
### v1.0.2 - 09/23/2017
8+
- Remove php7 specific code to make 1.0 compatible with php 5.6 and above
9+
10+
### v2.0.1 - 09/11/2017
11+
- Use resolving callback to resolve schedule class
12+
- Use play icon instead of cog icon for execute action in task list
13+
14+
### v1.0.1 - 09/11/2017
15+
- Use play icon instead of cog icon for execute action in task list
16+
717
### v2.0.0 - 09/03/2017
8-
Initial stable release for Laravel 5.5
18+
- Initial stable release for Laravel 5.5
919

1020
### v1.0.0 - 09/03/2017
11-
Initial stable release for Laravel 5.4
21+
- Initial stable release for Laravel 5.4

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,6 @@ php artisan schedule:list
128128

129129
Important versions listed below. Refer to the [Changelog](CHANGELOG.md) for a full history of the project.
130130

131-
- [1.0](CHANGELOG.md) - TBD
132-
133131
## Credits
134132

135133
- [Roshan Gautam](https://twitter.com/@roshangautam)

src/Console/Commands/ListSchedule.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ public function handle()
5151
if (count($this->schedule->events()) > 0) {
5252
$events = collect($this->schedule->events())->map(function ($event) {
5353
return [
54-
'description' => $event->description ?: 'N/A',
55-
'command' => ltrim(strtok(str_after($event->command, "'artisan'"), ' ')),
56-
'schedule' => $event->expression,
57-
'upcoming' => $this->upcoming($event),
58-
'timezone' => $event->timezone ?: config('app.timezone'),
59-
'overlaps' => $event->withoutOverlapping ? 'No' : 'Yes',
60-
'maintenance' => $event->evenInMaintenanceMode ? 'Yes' : 'No',
54+
'description' => $event->description ?: 'N/A',
55+
'command' => ltrim(strtok(str_after($event->command, "'artisan'"), ' ')),
56+
'schedule' => $event->expression,
57+
'upcoming' => $this->upcoming($event),
58+
'timezone' => $event->timezone ?: config('app.timezone'),
59+
'overlaps' => $event->withoutOverlapping ? 'No' : 'Yes',
60+
'maintenance' => $event->evenInMaintenanceMode ? 'Yes' : 'No',
6161
];
6262
});
6363

@@ -83,6 +83,7 @@ protected function upcoming($event)
8383
$date->setTimezone($event->timezone);
8484
}
8585
$expression = CronExpression::factory($event->expression)->getNextRunDate($date->toDateTimeString());
86+
8687
return $expression->format('Y-m-d H:i:s');
8788
}
8889
}

src/Totem.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public static function check($request)
2424
$callback = static::$authUsing ?: function () {
2525
return app()->environment('local');
2626
};
27+
2728
return $callback($request);
2829
}
2930

tests/Feature/AuthTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Studio\Totem\Tests\Feature;
44

5-
use Illuminate\Http\Request;
65
use Studio\Totem\Totem;
6+
use Illuminate\Http\Request;
77
use Studio\Totem\Tests\TestCase;
88
use Studio\Totem\Http\Middleware\Authenticate;
99

tests/TestCase.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,12 @@ class PassThroughHandler extends Handler
7777
public function __construct()
7878
{
7979
}
80+
8081
public function report(Exception $e)
8182
{
8283
// no-op
8384
}
85+
8486
public function render($request, Exception $e)
8587
{
8688
throw $e;

0 commit comments

Comments
 (0)