Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit aa52d4e

Browse files
author
Patrick Chamelo
committed
Merge pull request #129 from facebook/nscoding/headers
Expose FBSnapshotTestController
2 parents c3aece3 + 5a42ca8 commit aa52d4e

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## 2.0.7
6+
7+
- Change FBSnapshotTestController from private to public (#129)
8+
59
## 2.0.6
610

711
- Added modulemap and podspec fixes to build with Xcode 7.1 (#127)

FBSnapshotTestCase.modulemap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ framework module FBSnapshotTestCase {
44
export *
55
module * { export * }
66

7-
header "FBSnapshotTestCasePlatform.h"
87
header "FBSnapshotTestCase.h"
8+
header "FBSnapshotTestCasePlatform.h"
9+
header "FBSnapshotTestController.h"
910

1011
private header "UIImage+Compare.h"
1112
private header "UIImage+Diff.h"
1213
private header "UIImage+Snapshot.h"
13-
private header "FBSnapshotTestController.h"
1414
}
1515

FBSnapshotTestCase.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "FBSnapshotTestCase"
3-
s.version = "2.0.6"
3+
s.version = "2.0.7"
44
s.summary = "Snapshot view unit tests for iOS"
55
s.description = <<-DESC
66
A "snapshot test case" takes a configured UIView or CALayer
@@ -22,8 +22,8 @@ Pod::Spec.new do |s|
2222
s.module_map = 'FBSnapshotTestCase.modulemap'
2323
s.subspec 'Core' do |cs|
2424
cs.source_files = 'FBSnapshotTestCase/**/*.{h,m}', 'FBSnapshotTestCase/*.{h,m}'
25-
cs.public_header_files = 'FBSnapshotTestCase/FBSnapshotTestCase.h','FBSnapshotTestCase/FBSnapshotTestCasePlatform.h'
26-
cs.private_header_files = 'FBSnapshotTestCase/FBSnapshotTestController.h','FBSnapshotTestCase/Categories/UIImage+Compare.h','FBSnapshotTestCase/Categories/UIImage+Diff.h','FBSnapshotTestCase/Categories/UIImage+Snapshot.h'
25+
cs.public_header_files = 'FBSnapshotTestCase/FBSnapshotTestCase.h','FBSnapshotTestCase/FBSnapshotTestCasePlatform.h','FBSnapshotTestCase/FBSnapshotTestController.h'
26+
cs.private_header_files = 'FBSnapshotTestCase/Categories/UIImage+Compare.h','FBSnapshotTestCase/Categories/UIImage+Diff.h','FBSnapshotTestCase/Categories/UIImage+Snapshot.h'
2727
end
2828
s.subspec 'SwiftSupport' do |cs|
2929
cs.dependency 'FBSnapshotTestCase/Core'

0 commit comments

Comments
 (0)