mirror of
https://github.com/ambieco/scribe.git
synced 2026-03-27 05:04:08 +08:00
3.5.2
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace Knuckles\Scribe\Tools;
|
||||
|
||||
class Globals
|
||||
{
|
||||
public const SCRIBE_VERSION = '3.5.1';
|
||||
public const SCRIBE_VERSION = '3.5.2';
|
||||
|
||||
public static bool $shouldBeVerbose = false;
|
||||
}
|
||||
|
||||
@@ -130,7 +130,7 @@ class GenerateDocumentationTest extends BaseLaravelTest
|
||||
}
|
||||
|
||||
/** @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 @@ class GenerateDocumentationTest extends BaseLaravelTest
|
||||
}
|
||||
|
||||
/** @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');
|
||||
|
||||
Reference in New Issue
Block a user