File tree Expand file tree Collapse file tree
KFData.xcworkspace/xcshareddata Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11language : objective-c
22before_install :
33 - gem install cocoapods --no-rdoc --no-ri --no-document --quiet
4- - gem install xcpretty --no-rdoc --no-ri --no-document --quiet
54 - cd Tests && pod install && cd $TRAVIS_BUILD_DIR
65script : make test
76
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ Pod::Spec.new do |s|
3333 corespec . ios . source_files = 'KFData/KFData.h' , 'KFData/Core/*.{h,m}'
3434
3535 corespec . osx . frameworks = 'CoreData'
36- corespec . osx . source_files = 'KFData/Core/*.{h,m}'
36+ corespec . osx . source_files = 'KFData/KFData.h' , 'KFData/ Core/*.{h,m}'
3737 end
3838
3939 s . subspec 'Store' do |storespec |
@@ -51,7 +51,7 @@ Pod::Spec.new do |s|
5151 s . subspec 'UI' do |uispec |
5252 uispec . dependency 'KFData/Manager'
5353 uispec . platform = :ios
54- uispec . ios . frameworks = 'UIKit'
54+ uispec . ios . frameworks = 'UIKit' , 'CoreData'
5555 uispec . ios . source_files = 'KFData/UI/*.{h,m}'
5656 end
5757
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1616
1717 This notification will be fired on the main thread.
1818 */
19- NSString * const KFDataManagedObjectContextWillReset;
20- NSString * const KFDataManagedObjectContextDidReset;
19+ extern NSString * const KFDataManagedObjectContextWillReset;
20+ extern NSString * const KFDataManagedObjectContextDidReset;
2121
2222
2323typedef NS_ENUM (NSUInteger , KFDataStoreConfigurationType) {
Original file line number Diff line number Diff line change @@ -29,15 +29,15 @@ clean:
2929
3030test-osx :
3131 @printf " \e[34m=> Running OS X Tests\033[0m\n"
32- @$(XCODEBUILD ) -scheme ' OS X Tests' test | xcpretty -c | sed " s/^/ / " ; exit ${PIPESTATUS[0]}
32+ @$(XCODEBUILD ) -scheme ' OS X Tests' test
3333
3434test-ios :
3535 @printf " \e[34m=> Running iOS Tests\033[0m\n"
36- @$(XCODEBUILD ) -scheme ' iOS Tests' -sdk iphonesimulator -destination ' name=iPhone Retina (4-inch)' test 2> /dev/null | xcpretty -c | sed " s/^/ / " ; exit ${PIPESTATUS[0]}
36+ @$(XCODEBUILD ) -scheme ' iOS Tests' -sdk iphonesimulator -destination ' name=iPhone Retina (4-inch)' test
3737
3838test-podspec :
3939 @printf " \e[34m=> Linting podspec\033[0m\n"
40- @pod lib lint KFData.podspec | sed " s/^/ / " ; exit ${PIPESTATUS[0]}
40+ @pod lib lint KFData.podspec
4141
4242test : test-osx test-ios test-podspec
4343
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 2828 buildForAnalyzing = " YES" >
2929 <BuildableReference
3030 BuildableIdentifier = " primary"
31- BlueprintIdentifier = " 63E5637DA82B4F9E894AC822 "
32- BuildableName = " libPods-osx.a "
31+ BlueprintIdentifier = " 1A1946A05BE79DB5FB9A4891 "
32+ BuildableName = " Pods_osx.framework "
3333 BlueprintName = " Pods-osx"
3434 ReferencedContainer = " container:Pods/Pods.xcodeproj" >
3535 </BuildableReference >
6363 ignoresPersistentStateOnLaunch = " NO"
6464 debugDocumentVersioning = " YES"
6565 allowLocationSimulation = " YES" >
66+ <MacroExpansion >
67+ <BuildableReference
68+ BuildableIdentifier = " primary"
69+ BlueprintIdentifier = " 778FBFA0176107B600DE0FFF"
70+ BuildableName = " OS X Tests.xctest"
71+ BlueprintName = " OS X Tests"
72+ ReferencedContainer = " container:KFDataTests.xcodeproj" >
73+ </BuildableReference >
74+ </MacroExpansion >
6675 <AdditionalOptions >
6776 </AdditionalOptions >
6877 </LaunchAction >
Original file line number Diff line number Diff line change 2828 buildForAnalyzing = " YES" >
2929 <BuildableReference
3030 BuildableIdentifier = " primary"
31- BlueprintIdentifier = " 50F70C15A59F4B898CEBD4D4 "
32- BuildableName = " libPods-ios.a "
31+ BlueprintIdentifier = " E46A35F6DD99B52C2939E879 "
32+ BuildableName = " Pods_ios.framework "
3333 BlueprintName = " Pods-ios"
3434 ReferencedContainer = " container:Pods/Pods.xcodeproj" >
3535 </BuildableReference >
6363 ignoresPersistentStateOnLaunch = " NO"
6464 debugDocumentVersioning = " YES"
6565 allowLocationSimulation = " YES" >
66+ <MacroExpansion >
67+ <BuildableReference
68+ BuildableIdentifier = " primary"
69+ BlueprintIdentifier = " 778FBF751761077800DE0FFF"
70+ BuildableName = " iOS Tests.xctest"
71+ BlueprintName = " iOS Tests"
72+ ReferencedContainer = " container:KFDataTests.xcodeproj" >
73+ </BuildableReference >
74+ </MacroExpansion >
6675 <AdditionalOptions >
6776 </AdditionalOptions >
6877 </LaunchAction >
Original file line number Diff line number Diff line change 1- xcodeproj 'KFDataTests'
1+ project 'KFDataTests'
22workspace '../KFData'
33inhibit_all_warnings!
4+ use_frameworks!
45
5- def import_pods
6- pod 'QueryKit'
7- pod 'KFData' , :path => '../'
8- pod 'KFData/Compatibility' , :path => '../'
9- pod 'Expecta'
10- end
6+ abstract_target 'KFData' do
7+ pod 'QueryKit'
8+ pod 'KFData' , :path => '../'
9+ pod 'KFData/Compatibility' , :path => '../'
10+ pod 'Expecta'
1111
12- target :ios do
13- platform :ios , '5.0'
14- link_with 'iOS Tests'
15- import_pods
16- end
12+ target 'iOS Tests' do
13+ platform :ios , '8.0'
14+ end
1715
18- target :osx do
16+ target 'OS X Tests' do
1917 platform :osx , '10.7'
20- link_with 'OS X Tests'
21- import_pods
18+ end
2219end
23-
You can’t perform that action at this time.
0 commit comments