Skip to content

Commit 343fce1

Browse files
committed
Updated CHANGELOG for 0.2.1 release
1 parent c240f39 commit 343fce1

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog
22
All notable changes to Shoot will be documented in this file.
33

4-
## [Unreleased]
4+
## [0.2.1] - 2018-01-16
55
- Shoot handles embedded templates by passing through all variables from the parent template.
66

77
## [0.2.0] - 2017-12-13

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Please see the [changelog][link-changelog] for more information on what has chan
158158

159159
## Testing
160160
``` bash
161-
$ composer test
161+
$ composer run-script test
162162
```
163163

164164
## License

src/Middleware/LoggingMiddleware.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function process(View $view, Context $context, callable $next): View
4343
$fields = [
4444
'presentation_model' => $presentationModel->getName(),
4545
'time_taken' => sprintf("%f seconds", $endTime - $startTime),
46-
'variables' => $presentationModel->getVariables()
46+
'variables' => $presentationModel->getVariables(),
4747
];
4848

4949
$this->logger->debug($view->getName(), $fields);

src/Pipeline.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function getFilters(): array
118118
return [
119119
new TwigFilter('variables', function (PresentationModel $presentationModel): array {
120120
return $presentationModel->getVariables();
121-
})
121+
}),
122122
];
123123
}
124124

@@ -162,7 +162,7 @@ public function getTests(): array
162162
return [
163163
new TwigTest('model', function ($value): bool {
164164
return $value instanceof PresentationModel;
165-
})
165+
}),
166166
];
167167
}
168168

0 commit comments

Comments
 (0)