From c94c9a18c81ae623c9745c54655fa3444c160fb7 Mon Sep 17 00:00:00 2001 From: "Tomasz K." Date: Mon, 4 Nov 2024 13:55:25 +0100 Subject: [PATCH] Patch 3.0.2 fix: - Fixed a problem with tests that cannot be performed (#152) --- .github/workflows/run-tests.yml | 4 +--- MijickPopups.podspec | 4 ++-- Sources/Internal/View Models/ViewModel+VerticalStack.swift | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 1acb12c0e5..71d23bd88c 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,7 +10,5 @@ jobs: runs-on: macos-15 steps: - uses: actions/checkout@v4 - - name: Build - run: swift build -v - name: Run tests - run: swift test -v + run: xcodebuild test -scheme MijickPopups -destination 'platform=iOS Simulator,OS=18.0,name=iPhone 16 Pro' diff --git a/MijickPopups.podspec b/MijickPopups.podspec index b5f3103bba..5cced8735a 100644 --- a/MijickPopups.podspec +++ b/MijickPopups.podspec @@ -2,10 +2,10 @@ Pod::Spec.new do |s| s.name = 'MijickPopups' s.summary = 'Popups, popovers, sheets, alerts, toasts, banners, (...) presentation made simple. Written with and for SwiftUI.' s.description = <<-DESC - MijickPopups is a free and open-source library dedicated for SwiftUI that makes the process of presenting popups easier and much cleaner. + MijickPopups solves two seemingly contradictory problems - to allow developers to create fully customizable popup, and to make the process as simple as possible. DESC - s.version = '3.0.1' + s.version = '3.0.2' s.ios.deployment_target = '14.0' s.osx.deployment_target = '12.0' s.tvos.deployment_target = '15.0' diff --git a/Sources/Internal/View Models/ViewModel+VerticalStack.swift b/Sources/Internal/View Models/ViewModel+VerticalStack.swift index 568189cf8c..74f336732a 100644 --- a/Sources/Internal/View Models/ViewModel+VerticalStack.swift +++ b/Sources/Internal/View Models/ViewModel+VerticalStack.swift @@ -314,7 +314,7 @@ private extension VM.VerticalStack { } // MARK: Attributes -private extension VM.VerticalStack { +extension VM.VerticalStack { var stackScaleFactor: CGFloat { 0.025 } var stackOverlayFactor: CGFloat { 0.1 } var maxStackOverlayFactor: CGFloat { 0.48 }