From 4b78577520207a171ade3386214f61cafe765b92 Mon Sep 17 00:00:00 2001 From: Caleb Davenport Date: Tue, 7 Apr 2015 14:18:25 -0700 Subject: [PATCH] Make all provider headers private. --- SimpleAuth.podspec | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/SimpleAuth.podspec b/SimpleAuth.podspec index 492c679..f385832 100755 --- a/SimpleAuth.podspec +++ b/SimpleAuth.podspec @@ -25,90 +25,107 @@ Pod::Spec.new do |s| ss.dependency 'cocoa-oauth' ss.frameworks = 'Accounts', 'Social' ss.source_files = 'Pod/Providers/Twitter' + ss.private_header_files = 'Pod/Providers/Twitter/*.h' end s.subspec 'Facebook' do |ss| ss.dependency 'SimpleAuth/Core' ss.frameworks = 'Accounts', 'Social' ss.source_files = 'Pod/Providers/Facebook' + ss.private_header_files = 'Pod/Providers/Facebook/*.h' end s.subspec 'FacebookWeb' do |ss| ss.dependency 'SimpleAuth/Core' ss.source_files = 'Pod/Providers/FacebookWeb' + ss.private_header_files = 'Pod/Providers/FacebookWeb/*.h' end s.subspec 'Instagram' do |ss| ss.dependency 'SimpleAuth/Core' ss.source_files = 'Pod/Providers/Instagram' + ss.private_header_files = 'Pod/Providers/Instagram/*.h' end s.subspec 'TwitterWeb' do |ss| ss.dependency 'SimpleAuth/Core' ss.dependency 'cocoa-oauth' ss.source_files = 'Pod/Providers/TwitterWeb' + ss.private_header_files = 'Pod/Providers/TwitterWeb/*.h' end s.subspec 'Meetup' do |ss| ss.dependency 'SimpleAuth/Core' ss.source_files = 'Pod/Providers/Meetup' + ss.private_header_files = 'Pod/Providers/Meetup/*.h' end s.subspec 'Tumblr' do |ss| ss.dependency 'SimpleAuth/Core' ss.dependency 'cocoa-oauth' ss.source_files = 'Pod/Providers/Tumblr' + ss.private_header_files = 'Pod/Providers/Tumblr/*.h' end s.subspec 'FoursquareWeb' do |ss| ss.dependency 'SimpleAuth/Core' ss.source_files = 'Pod/Providers/FoursquareWeb' + ss.private_header_files = 'Pod/Providers/FoursquareWeb/*.h' end s.subspec 'DropboxWeb' do |ss| ss.dependency 'SimpleAuth/Core' ss.source_files = 'Pod/Providers/DropboxWeb' + ss.private_header_files = 'Pod/Providers/DropboxWeb/*.h' end s.subspec 'LinkedInWeb' do |ss| ss.dependency 'SimpleAuth/Core' ss.source_files = 'Pod/Providers/LinkedIn' + ss.private_header_files = 'Pod/Providers/LinkedIn/*.h' end s.subspec 'SinaWeiboWeb' do |ss| ss.dependency 'SimpleAuth/Core' ss.source_files = 'Pod/Providers/SinaWeiboWeb' + ss.private_header_files = 'Pod/Providers/SinaWeiboWeb/*.h' end s.subspec 'GoogleWeb' do |ss| ss.dependency 'SimpleAuth/Core' ss.source_files = 'Pod/Providers/GoogleWeb' + ss.private_header_files = 'Pod/Providers/GoogleWeb/*.h' end s.subspec 'TripIt' do |ss| ss.dependency 'SimpleAuth/Core' ss.dependency 'cocoa-oauth' ss.source_files = 'Pod/Providers/TripIt' + ss.private_header_files = 'Pod/Providers/TripIt/*.h' end s.subspec 'Trello' do |ss| ss.dependency 'SimpleAuth/Core' ss.source_files = 'Pod/Providers/Trello' + ss.private_header_files = 'Pod/Providers/Trello/*.h' end s.subspec 'Strava' do |ss| ss.dependency 'SimpleAuth/Core' ss.source_files = 'Pod/Providers/Strava' + ss.private_header_files = 'Pod/Providers/Strava/*.h' end s.subspec 'BoxWeb' do |ss| - ss.dependency 'SimpleAuth/Core' - ss.source_files = 'Pod/Providers/BoxWeb' + ss.dependency 'SimpleAuth/Core' + ss.source_files = 'Pod/Providers/BoxWeb' + ss.private_header_files = 'Pod/Providers/BoxWeb/*.h' end s.subspec 'OneDriveWeb' do |ss| ss.dependency 'SimpleAuth/Core' ss.source_files = 'Pod/Providers/OneDriveWeb' + ss.private_header_files = 'Pod/Providers/OneDriveWeb/*.h' end end