Skip to content

Commit

Permalink
Updated CHANGELOG for 0.2.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
victorwelling committed Jan 16, 2018
1 parent c240f39 commit 343fce1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changelog
All notable changes to Shoot will be documented in this file.

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

## [0.2.0] - 2017-12-13
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Please see the [changelog][link-changelog] for more information on what has chan

## Testing
``` bash
$ composer test
$ composer run-script test
```

## License
Expand Down
2 changes: 1 addition & 1 deletion src/Middleware/LoggingMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function process(View $view, Context $context, callable $next): View
$fields = [
'presentation_model' => $presentationModel->getName(),
'time_taken' => sprintf("%f seconds", $endTime - $startTime),
'variables' => $presentationModel->getVariables()
'variables' => $presentationModel->getVariables(),
];

$this->logger->debug($view->getName(), $fields);
Expand Down
4 changes: 2 additions & 2 deletions src/Pipeline.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function getFilters(): array
return [
new TwigFilter('variables', function (PresentationModel $presentationModel): array {
return $presentationModel->getVariables();
})
}),
];
}

Expand Down Expand Up @@ -162,7 +162,7 @@ public function getTests(): array
return [
new TwigTest('model', function ($value): bool {
return $value instanceof PresentationModel;
})
}),
];
}

Expand Down

0 comments on commit 343fce1

Please sign in to comment.