From 5a42ca8af5378b6aaafb6a3f0694f5b8f405c5a7 Mon Sep 17 00:00:00 2001 From: Patrik Tomas Chamelo Date: Wed, 28 Oct 2015 19:34:12 -0700 Subject: [PATCH] Expose FBSnapshotTestController --- CHANGELOG.md | 4 ++++ FBSnapshotTestCase.modulemap | 4 ++-- FBSnapshotTestCase.podspec | 6 +++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cf90984..8d3bbf7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## 2.0.7 + + - Change FBSnapshotTestController from private to public (#129) + ## 2.0.6 - Added modulemap and podspec fixes to build with Xcode 7.1 (#127) diff --git a/FBSnapshotTestCase.modulemap b/FBSnapshotTestCase.modulemap index fdf55d3..733e78b 100644 --- a/FBSnapshotTestCase.modulemap +++ b/FBSnapshotTestCase.modulemap @@ -4,12 +4,12 @@ framework module FBSnapshotTestCase { export * module * { export * } - header "FBSnapshotTestCasePlatform.h" header "FBSnapshotTestCase.h" + header "FBSnapshotTestCasePlatform.h" + header "FBSnapshotTestController.h" private header "UIImage+Compare.h" private header "UIImage+Diff.h" private header "UIImage+Snapshot.h" - private header "FBSnapshotTestController.h" } diff --git a/FBSnapshotTestCase.podspec b/FBSnapshotTestCase.podspec index 49cab31..bb65054 100644 --- a/FBSnapshotTestCase.podspec +++ b/FBSnapshotTestCase.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "FBSnapshotTestCase" - s.version = "2.0.6" + s.version = "2.0.7" s.summary = "Snapshot view unit tests for iOS" s.description = <<-DESC A "snapshot test case" takes a configured UIView or CALayer @@ -22,8 +22,8 @@ Pod::Spec.new do |s| s.module_map = 'FBSnapshotTestCase.modulemap' s.subspec 'Core' do |cs| cs.source_files = 'FBSnapshotTestCase/**/*.{h,m}', 'FBSnapshotTestCase/*.{h,m}' - cs.public_header_files = 'FBSnapshotTestCase/FBSnapshotTestCase.h','FBSnapshotTestCase/FBSnapshotTestCasePlatform.h' - cs.private_header_files = 'FBSnapshotTestCase/FBSnapshotTestController.h','FBSnapshotTestCase/Categories/UIImage+Compare.h','FBSnapshotTestCase/Categories/UIImage+Diff.h','FBSnapshotTestCase/Categories/UIImage+Snapshot.h' + cs.public_header_files = 'FBSnapshotTestCase/FBSnapshotTestCase.h','FBSnapshotTestCase/FBSnapshotTestCasePlatform.h','FBSnapshotTestCase/FBSnapshotTestController.h' + cs.private_header_files = 'FBSnapshotTestCase/Categories/UIImage+Compare.h','FBSnapshotTestCase/Categories/UIImage+Diff.h','FBSnapshotTestCase/Categories/UIImage+Snapshot.h' end s.subspec 'SwiftSupport' do |cs| cs.dependency 'FBSnapshotTestCase/Core'