Skip to content

Commit

Permalink
Revert breaking change and add OnRequestHandler (#135)
Browse files Browse the repository at this point in the history
* Revert breaking change

* Remove empty handler

* Add a new on request handler

* Remove CocoaPods and clean up folder structure

* Update CI

* Update fastlane for latest CI

* Add testing schemes

* Revert Swift version update since it was not required

* Fix getter properly

* Fix tests for Linux
  • Loading branch information
AvdLee authored Nov 4, 2022
1 parent 6242c5c commit 295b436
Show file tree
Hide file tree
Showing 27 changed files with 232 additions and 779 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ DerivedData
*.xccheckout
# AppCode
.idea/
.swiftpm

Carthage

Expand All @@ -31,3 +30,4 @@ Demo/Pods
.build
Packages
Package.pins
.spm-build

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1320"
LastUpgradeVersion = "1410"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -14,10 +14,38 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "501E26931F3DAE370048F39E"
BuildableName = "Mocker.framework"
BlueprintIdentifier = "Mocker_MockerTests"
BuildableName = "Mocker_MockerTests"
BlueprintName = "Mocker_MockerTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "Mocker"
BuildableName = "Mocker"
BlueprintName = "Mocker"
ReferencedContainer = "container:Mocker.xcodeproj">
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "MockerTests"
BuildableName = "MockerTests"
BlueprintName = "MockerTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -26,27 +54,16 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "501E26931F3DAE370048F39E"
BuildableName = "Mocker.framework"
BlueprintName = "Mocker"
ReferencedContainer = "container:Mocker.xcodeproj">
</BuildableReference>
</MacroExpansion>
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO"
testExecutionOrdering = "random">
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "501E269C1F3DAE370048F39E"
BuildableName = "MockerTests.xctest"
BlueprintIdentifier = "MockerTests"
BuildableName = "MockerTests"
BlueprintName = "MockerTests"
ReferencedContainer = "container:Mocker.xcodeproj">
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
Expand All @@ -61,15 +78,6 @@
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "501E26931F3DAE370048F39E"
BuildableName = "Mocker.framework"
BlueprintName = "Mocker"
ReferencedContainer = "container:Mocker.xcodeproj">
</BuildableReference>
</MacroExpansion>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand All @@ -80,10 +88,10 @@
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "501E26931F3DAE370048F39E"
BuildableName = "Mocker.framework"
BlueprintName = "Mocker"
ReferencedContainer = "container:Mocker.xcodeproj">
BlueprintIdentifier = "Mocker_MockerTests"
BuildableName = "Mocker_MockerTests"
BlueprintName = "Mocker_MockerTests"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
Expand Down
53 changes: 53 additions & 0 deletions .swiftpm/xcode/xcshareddata/xcschemes/MockerTests.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1410"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "MockerTests"
BuildableName = "MockerTests"
BlueprintName = "MockerTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
4 changes: 0 additions & 4 deletions Dangerfile.swift

This file was deleted.

20 changes: 0 additions & 20 deletions Mocker.podspec

This file was deleted.

Loading

0 comments on commit 295b436

Please sign in to comment.