diff --git a/CHANGELOG.md b/CHANGELOG.md index 51494f6..e3d1321 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [1.2.0](https://github.com/appercept/Delphi-WebMocks/tree/1.2.0) (2020-07-24) + +[Full Changelog](https://github.com/appercept/Delphi-WebMocks/compare/1.1.0...1.2.0) + +**Implemented enhancements:** + +- Add Delphinus support [\#26](https://github.com/appercept/Delphi-WebMocks/pull/26) ([rhatherall](https://github.com/rhatherall)) + +**Fixed bugs:** + +- Project is not showing in Delphinus [\#27](https://github.com/appercept/Delphi-WebMocks/issues/27) + +**Closed issues:** + +- Delphinus support would be good [\#25](https://github.com/appercept/Delphi-WebMocks/issues/25) +- Delphi 10.4 Sydney has been released [\#24](https://github.com/appercept/Delphi-WebMocks/issues/24) + ## [1.1.0](https://github.com/appercept/Delphi-WebMocks/tree/1.1.0) (2020-02-16) [Full Changelog](https://github.com/appercept/Delphi-WebMocks/compare/1.0.1...1.1.0) diff --git a/Delphinus.Info.json b/Delphinus.Info.json new file mode 100644 index 0000000..d14a17d --- /dev/null +++ b/Delphinus.Info.json @@ -0,0 +1,11 @@ +{ + "id": "{DFCA358E-5EF2-44CF-BE16-72B3634DC147}", + "name": "WebMocks", + "licenses": [{ "type": "Apache 2.0", "file": "LICENSE" }], + "platforms": "Win32;Win64", + "package_compiler_min": 29, + "package_compiler_max": 34, + "compiler_min": 29, + "compiler_max": 34, + "dependencies": [] +} diff --git a/Delphinus.Install.json b/Delphinus.Install.json new file mode 100644 index 0000000..a8addca --- /dev/null +++ b/Delphinus.Install.json @@ -0,0 +1,8 @@ +{ + "search_pathes": [ + { "pathes": ".", "platforms": "Win32;Win64" } + ], + "source_folders": [ + { "folder": ".", "recursive": false, "filter": "*.pas" } + ] +} diff --git a/README.md b/README.md index 0be0e1f..04c72c3 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,10 @@ Library for stubbing and setting expectations on HTTP requests in Delphi with * [DUnitX](https://github.com/VSoftTechnologies/DUnitX) * [Indy](https://www.indyproject.org) -\* Delphi-WebMocks was developed in Delphi 10.3 (Rio) and has been reported -working on 10.1 (Berlin). I'd be interested to hear from anyone working on other -versions. As Delphi-WebMocks makes use of the `System.Net` library introduced -with XE8 it will not be compatible with earlier versions. +\* Delphi-WebMocks was developed in Delphi 10.3 (Rio) and 10.4 (Sydney) and has +been reported working on 10.1 (Berlin). I'd be interested to hear from anyone +working on other versions. As Delphi-WebMocks makes use of the `System.Net +library introduced with XE8 it will not be compatible with earlier versions. ## Optional Dependencies * [TestInsight](https://bitbucket.org/sglienke/testinsight/wiki/Home) is @@ -18,6 +18,18 @@ with XE8 it will not be compatible with earlier versions. contributing and need to run the test suite, install it. If you do TDD in Delphi I would recommend installing and using it in your own projects. +## Installation: Delphinus-Support +WebMocks should now be listed in +[Delphinus](https://github.com/Memnarch/Delphinus) package manager. + +## Installation: Manual +WebMocks is a source only library. You do not need to compile any packages. +Steps: +1. Download and extract the latest version + [1.2.0](https://github.com/appercept/Delphi-WebMocks/archive/1.2.0.zip). +2. Add the extracted folder to Delphi's "Library path" under "Tools > + Options... > Language > Delphi > Library". + ## Setup In your test unit file a couple of simple steps are required. 1. Add `Delphi.WebMock` to your interface `uses`. diff --git a/Tests/Delphi.WebMocks.Tests.dproj b/Tests/Delphi.WebMocks.Tests.dproj index 32b1b40..77dc9ba 100644 --- a/Tests/Delphi.WebMocks.Tests.dproj +++ b/Tests/Delphi.WebMocks.Tests.dproj @@ -1,7 +1,7 @@  {04081825-8AE9-4D09-A947-7FE0B62D328A} - 18.8 + 19.0 None Delphi.WebMocks.Tests.dpr True @@ -13,11 +13,6 @@ true - - true - Base - true - true Base @@ -69,9 +64,6 @@ Delphi_WebMocks_Tests TESTINSIGHT;$(DCC_Define) - - DBXSqliteDriver;RESTComponents;fmxase;DBXInterBaseDriver;emsclientfiredac;tethering;DataSnapFireDAC;bindcompfmx;fmx;FireDACIBDriver;FireDACDBXDriver;dbexpress;IndyCore;dsnap;emsclient;DataSnapCommon;FireDACCommon;RESTBackendComponents;soapserver;bindengine;CloudService;FireDACCommonDriver;DataSnapClient;inet;IndyIPCommon;bindcompdbx;IndyIPServer;IndySystem;fmxFireDAC;FireDAC;FireDACSqliteDriver;soaprtl;DbxCommonDriver;xmlrtl;soapmidas;DataSnapNativeClient;FireDACDSDriver;rtl;DbxClientDriver;CustomIPTransport;bindcomp;IndyIPClient;dbxcds;dsnapxml;DataSnapProviderClient;dbrtl;IndyProtocols;$(DCC_UsePackage) - DBXSqliteDriver;RESTComponents;fmxase;DBXInterBaseDriver;emsclientfiredac;tethering;DataSnapFireDAC;bindcompfmx;fmx;FireDACIBDriver;FireDACDBXDriver;dbexpress;IndyCore;dsnap;emsclient;DataSnapCommon;FireDACCommon;RESTBackendComponents;soapserver;bindengine;CloudService;FireDACCommonDriver;DataSnapClient;inet;IndyIPCommon;bindcompdbx;IndyIPServer;IndySystem;fmxFireDAC;FireDAC;FireDACSqliteDriver;soaprtl;DbxCommonDriver;xmlrtl;soapmidas;DataSnapNativeClient;FireDACDSDriver;rtl;DbxClientDriver;CustomIPTransport;bindcomp;IndyIPClient;dbxcds;dsnapxml;DataSnapProviderClient;dbrtl;IndyProtocols;$(DCC_UsePackage) @@ -700,6 +692,16 @@ 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + 1 @@ -722,6 +724,16 @@ 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + 1 @@ -821,6 +833,16 @@ 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + 1 @@ -832,6 +854,16 @@ 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + 1 @@ -876,6 +908,26 @@ 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + + ..\$(PROJECTNAME).launchscreen\Assets\LaunchScreenImage.imageset + 1 + + 1 @@ -897,6 +949,7 @@ + 1 @@ -998,7 +1051,6 @@ - False False False True diff --git a/Tests/Delphi.WebMocks.Tests.res b/Tests/Delphi.WebMocks.Tests.res index 6876088..48f203c 100644 Binary files a/Tests/Delphi.WebMocks.Tests.res and b/Tests/Delphi.WebMocks.Tests.res differ