From 541dcb68d710d5b527a3c8d65fff237707b404a6 Mon Sep 17 00:00:00 2001 From: shalvah Date: Mon, 12 Jul 2021 11:21:34 +0100 Subject: [PATCH] 3.5.2 --- .travis.yml | 6 ++---- CHANGELOG.md | 4 ++++ src/Tools/Globals.php | 2 +- tests/GenerateDocumentationTest.php | 4 ++-- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index fe71f85a..51baeee7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,12 +25,10 @@ cache: directories: - $HOME/.composer/cache -before_install: - - travis_retry composer self-update - install: - - if [[ $SETUP = 'stable' ]]; then travis_retry composer update --prefer-dist --prefer-stable; fi + - if [[ $SETUP = 'stable' ]]; then travis_retry composer update; fi - if [[ $SETUP = 'lowest' ]]; then travis_retry composer require laravel/framework:^$LOWEST; composer require laravel/lumen-framework:^$LOWEST; fi + - if [[ $SETUP = 'lint' ]]; then composer lint; fi script: - if [[ $SETUP = 'lint' ]]; then exit 0; fi; composer test-parallel-ci; diff --git a/CHANGELOG.md b/CHANGELOG.md index 95948063..2997d48e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Removals +## 3.5.2 (Monday, 12 July 2021) +### Modified +- Internal change: refactor RouteDocBlocker (https://github.com/knuckleswtf/scribe/pull/272) + ## 3.5.1 (Tuesday, 6 July 2021) ### Fixed - Try It Out: Turn off autocomplete; make sure it works for array body; improve UI spacing ([579f672b57ad0417a5563aee1621b84c3b4ff1f2](https://github.com/knuckleswtf/scribe/commit/579f672b57ad0417a5563aee1621b84c3b4ff1f2), [2af8d8eacd661e0601b2d6f4dbc1766bf75e702a](https://github.com/knuckleswtf/scribe/commit/2af8d8eacd661e0601b2d6f4dbc1766bf75e702a)) diff --git a/src/Tools/Globals.php b/src/Tools/Globals.php index c2c46bc3..cda2ac07 100644 --- a/src/Tools/Globals.php +++ b/src/Tools/Globals.php @@ -4,7 +4,7 @@ class Globals { - public const SCRIBE_VERSION = '3.5.1'; + public const SCRIBE_VERSION = '3.5.2'; public static bool $shouldBeVerbose = false; } diff --git a/tests/GenerateDocumentationTest.php b/tests/GenerateDocumentationTest.php index 4779252a..18220aed 100644 --- a/tests/GenerateDocumentationTest.php +++ b/tests/GenerateDocumentationTest.php @@ -130,7 +130,7 @@ public function can_skip_methods_and_classes_with_hidefromapidocumentation_tag() } /** @test */ - public function can_skip_nonexistent_response_files() + public function warns_of_nonexistent_response_files() { RouteFacade::get('/api/non-existent', [TestController::class, 'withNonExistentResponseFile']); @@ -383,7 +383,7 @@ public function generates_correct_url_params_from_resource_routes_and_field_bind } /** @test */ - public function will_not_extract_if_noExtraction_flag_is_set() + public function will_generate_without_extracting_if_noExtraction_flag_is_set() { config(['scribe.routes.0.exclude' => ['*']]); Utils::copyDirectory(__DIR__.'/Fixtures/.scribe', '.scribe');