Skip to content

Commit 3b29767

Browse files
committed
Bump version to 5.0.0
1 parent 6bafb3a commit 3b29767

4 files changed

Lines changed: 17 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
NEXT RELEASE
2-
------------
1+
Version 5.0.0
2+
-------------
3+
_30 Jan 2020_
4+
5+
This release adds diagnostic test failures if verifiers clash.
36

47
- Fail test if code creates multiple instances of any single verifier. This inadvertently undid its
58
swizzling, leading to test failures that were tricky to diagnose. Now a failure message provides

Source/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>4.2.2</string>
18+
<string>$(MARKETING_VERSION)</string>
1919
<key>CFBundleVersion</key>
20-
<string>4.2.2</string>
20+
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSHumanReadableCopyright</key>
2222
<string>Copyright © 2020 Quality Coding, Inc.</string>
2323
<key>NSPrincipalClass</key>

Source/ViewControllerPresentationSpy.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@
265265
buildSettings = {
266266
CODE_SIGN_IDENTITY = "";
267267
CODE_SIGN_STYLE = Manual;
268+
CURRENT_PROJECT_VERSION = 5.0.0;
268269
DEVELOPMENT_TEAM = "";
269270
DYLIB_COMPATIBILITY_VERSION = 1;
270271
DYLIB_CURRENT_VERSION = 1;
@@ -280,6 +281,7 @@
280281
"@executable_path/Frameworks",
281282
"@loader_path/Frameworks",
282283
);
284+
MARKETING_VERSION = 5.0.0;
283285
OTHER_LDFLAGS = (
284286
"-weak_framework",
285287
XCTest,
@@ -297,6 +299,7 @@
297299
buildSettings = {
298300
CODE_SIGN_IDENTITY = "";
299301
CODE_SIGN_STYLE = Manual;
302+
CURRENT_PROJECT_VERSION = 5.0.0;
300303
DEVELOPMENT_TEAM = "";
301304
DYLIB_COMPATIBILITY_VERSION = 1;
302305
DYLIB_CURRENT_VERSION = 1;
@@ -312,6 +315,7 @@
312315
"@executable_path/Frameworks",
313316
"@loader_path/Frameworks",
314317
);
318+
MARKETING_VERSION = 5.0.0;
315319
OTHER_LDFLAGS = (
316320
"-weak_framework",
317321
XCTest,

ViewControllerPresentationSpy.podspec

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
Pod::Spec.new do |s|
22
s.name = 'ViewControllerPresentationSpy'
3-
s.version = '4.2.2'
3+
s.version = '5.0.0'
44
s.summary = 'Unit test presented view controllers, alerts, and action sheets for iOS'
55
s.description = <<-DESC
6-
ViewControllerPresentationSpy intercepts presented view controllers, including alerts and actions sheets.
6+
ViewControllerPresentationSpy has three verifiers:
7+
* AlertVerifier to capture alerts and action sheets
8+
* PresentationVerifier to capture presented view controllers
9+
* DismissalVerifier to capture dismissed view controllers
710
811
Segues can be captured. For alerts, no actual alerts are presented. This means:
912
@@ -17,7 +20,7 @@ Pod::Spec.new do |s|
1720
s.social_media_url = 'https://twitter.com/qcoding'
1821

1922
s.ios.deployment_target = '9.0'
20-
s.source = { :git => 'https://github.com/jonreid/ViewControllerPresentationSpy.git', :tag => 'v4.2.2' }
23+
s.source = { :git => 'https://github.com/jonreid/ViewControllerPresentationSpy.git', :tag => 'v5.0.0' }
2124
s.source_files = 'Source/ViewControllerPresentationSpy/*.{h,m,swift}'
2225
s.public_header_files = 'Source/ViewControllerPresentationSpy/QCOMockPopoverPresentationController.h', 'Source/ViewControllerPresentationSpy/UIAlertAction+QCOMock.h', 'Source/ViewControllerPresentationSpy/UIAlertController+QCOMock.h', 'Source/ViewControllerPresentationSpy/UIViewController+QCOMock.h'
2326
s.requires_arc = true

0 commit comments

Comments
 (0)