cocoapods-deintegrate 0.1.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +16 -19
- data/cocoapods_deintegrate.gemspec +1 -1
- data/lib/cocoapods_deintegrate.rb +1 -1
- data/lib/pod/command/deintegrate.rb +27 -15
- data/spec/command/deintegrate_spec.rb +47 -1
- data/spec/fixtures/Project/Frameworks/Podfile +12 -0
- data/spec/fixtures/Project/Frameworks/Podfile.lock +42 -0
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/QueryKit/QKAttribute.h +210 -0
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/QueryKit/QKQuerySet.h +155 -0
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/QueryKit/QueryKit.h +19 -0
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/NSString+QCKSelectorName.h +17 -0
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/QCKDSL.h +211 -0
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/Quick.h +13 -0
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/QuickConfiguration.h +30 -0
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/QuickSpec.h +48 -0
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/QueryKit/QKAttribute.h +210 -0
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/QueryKit/QKQuerySet.h +155 -0
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/QueryKit/QueryKit.h +19 -0
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/NSString+QCKSelectorName.h +17 -0
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/QCKDSL.h +211 -0
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/Quick.h +13 -0
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/QuickConfiguration.h +30 -0
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/QuickSpec.h +48 -0
- data/spec/fixtures/Project/Frameworks/Pods/Manifest.lock +42 -0
- data/spec/fixtures/Project/Frameworks/Pods/Pods.xcodeproj/project.pbxproj +995 -0
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/LICENSE +23 -0
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/Attribute.swift +124 -0
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/Expression.swift +41 -0
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKAttribute.h +210 -0
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKAttribute.m +315 -0
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKAttribute.swift +13 -0
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKQuerySet.h +155 -0
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKQuerySet.m +314 -0
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKQuerySet.swift +28 -0
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/Predicate.swift +21 -0
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/QueryKit.h +19 -0
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/QuerySet.swift +237 -0
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/README.md +151 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/LICENSE +201 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Callsite.swift +28 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Configuration/Configuration.swift +147 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Configuration/QuickConfiguration.h +30 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Configuration/QuickConfiguration.m +83 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/DSL/DSL.swift +227 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/DSL/QCKDSL.h +211 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/DSL/QCKDSL.m +70 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/DSL/World+DSL.swift +100 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Example.swift +103 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/ExampleGroup.swift +97 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/ExampleMetadata.swift +22 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Failure.swift +16 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Filter.swift +29 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Hooks/Closures.swift +35 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Hooks/ExampleHooks.swift +36 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Hooks/SuiteHooks.swift +34 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/NSString+QCKSelectorName.h +17 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/NSString+QCKSelectorName.m +33 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Quick.h +13 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/QuickSpec.h +48 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/QuickSpec.m +142 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/World.swift +197 -0
- data/spec/fixtures/Project/Frameworks/Pods/Quick/README.md +979 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Info.plist +26 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit-Private.xcconfig +9 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit-dummy.m +5 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit-prefix.pch +5 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit-umbrella.h +9 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit.modulemap +6 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit.xcconfig b/data/spec/fixtures/Project/Frameworks/Pods/Target Support → Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit.xcconfig +0 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Info.plist +26 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-acknowledgements.markdown +30 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-acknowledgements.plist +60 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-dummy.m +5 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-environment.h +74 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-frameworks.sh +55 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-resources.sh +74 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-umbrella.h +6 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.debug.xcconfig +9 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.modulemap +6 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.release.xcconfig +9 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Info.plist +26 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick-Private.xcconfig +9 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick-dummy.m +5 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick-prefix.pch +5 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick-umbrella.h +11 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick.modulemap +6 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick.xcconfig +2 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Info.plist +26 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-acknowledgements.markdown +208 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-acknowledgements.plist +238 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-dummy.m +5 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-environment.h +14 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-frameworks.sh +55 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-resources.sh +74 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-umbrella.h +6 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.debug.xcconfig +9 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.modulemap +6 -0
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.release.xcconfig +9 -0
- data/spec/fixtures/Project/Frameworks/TestProject.xcodeproj/project.pbxproj +557 -0
- data/spec/fixtures/Project/Frameworks/TestProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/spec/fixtures/Project/Frameworks/TestProject.xcworkspace/contents.xcworkspacedata +10 -0
- data/spec/fixtures/Project/Frameworks/TestProject/AppDelegate.swift +46 -0
- data/spec/fixtures/Project/Frameworks/TestProject/Base.lproj/LaunchScreen.xib +41 -0
- data/spec/fixtures/Project/Frameworks/TestProject/Base.lproj/Main.storyboard +25 -0
- data/spec/fixtures/Project/Frameworks/TestProject/Images.xcassets/AppIcon.appiconset/Contents.json +38 -0
- data/spec/fixtures/Project/Frameworks/TestProject/Info.plist +40 -0
- data/spec/fixtures/Project/Frameworks/TestProject/ViewController.swift +25 -0
- data/spec/fixtures/Project/Frameworks/TestProjectTests/Info.plist +24 -0
- data/spec/fixtures/Project/Frameworks/TestProjectTests/TestProjectTests.swift +36 -0
- data/spec/fixtures/Project/None/TestProject.xcodeproj/project.pbxproj +420 -0
- data/spec/fixtures/Project/None/TestProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/spec/fixtures/Project/None/TestProject/AppDelegate.swift +46 -0
- data/spec/fixtures/Project/None/TestProject/Base.lproj/LaunchScreen.xib +41 -0
- data/spec/fixtures/Project/None/TestProject/Base.lproj/Main.storyboard +25 -0
- data/spec/fixtures/Project/None/TestProject/Images.xcassets/AppIcon.appiconset/Contents.json +38 -0
- data/spec/fixtures/Project/None/TestProject/Info.plist +40 -0
- data/spec/fixtures/Project/None/TestProject/ViewController.swift +25 -0
- data/spec/fixtures/Project/None/TestProjectTests/Info.plist +24 -0
- data/spec/fixtures/Project/None/TestProjectTests/TestProjectTests.swift +36 -0
- data/spec/fixtures/Project/StaticLibraries/Podfile +12 -0
- data/spec/fixtures/Project/StaticLibraries/Podfile.lock +13 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/LICENSE +19 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/README.md +308 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPBackwardCompatibility.h +42 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPBackwardCompatibility.m +17 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPBlockDefinedMatcher.h +25 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPBlockDefinedMatcher.m +60 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPDefines.h +17 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPDoubleTuple.h +13 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPDoubleTuple.m +42 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPExpect.h +45 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPExpect.m +214 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPFloatTuple.h +13 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPFloatTuple.m +42 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPMatcher.h +20 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPUnsupportedObject.h +11 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPUnsupportedObject.m +20 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/Expecta.h +27 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/Expecta.m +15 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/ExpectaSupport.h +64 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/ExpectaSupport.m +187 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/NSObject+Expecta.h +14 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/NSValue+Expecta.h +8 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/NSValue+Expecta.m +21 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatcherHelpers.h +4 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatcherHelpers.m +9 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beCloseTo.h +7 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beCloseTo.m +49 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beFalsy.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beFalsy.m +24 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThan.h +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThan.m +20 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThanOrEqualTo.h +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThanOrEqualTo.m +20 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beIdenticalTo.h +10 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beIdenticalTo.m +24 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beInTheRangeOf.h +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beInTheRangeOf.m +30 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beInstanceOf.h +7 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beInstanceOf.m +27 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beKindOf.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beKindOf.m +27 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beLessThan.h +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beLessThan.m +20 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beLessThanOrEqualTo.h +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beLessThanOrEqualTo.m +20 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beNil.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beNil.m +16 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beSubclassOf.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beSubclassOf.m +27 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beSupersetOf.h +4 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beSupersetOf.m +57 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beTruthy.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beTruthy.m +24 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beginWith.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beginWith.m +49 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+conformTo.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+conformTo.m +33 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+contain.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+contain.m +38 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+endWith.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+endWith.m +49 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+equal.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+equal.m +24 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+haveCountOf.h +10 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+haveCountOf.m +36 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+notify.h +4 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+notify.m +63 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+raise.h +4 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+raise.m +30 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+raiseWithReason.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+raiseWithReason.m +35 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+respondTo.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+respondTo.m +28 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers.h +24 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPBackwardCompatibility.h +42 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPBlockDefinedMatcher.h +25 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPDefines.h +17 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPDoubleTuple.h +13 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPExpect.h +45 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPFloatTuple.h +13 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatcher.h +20 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatcherHelpers.h +4 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beCloseTo.h +7 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beFalsy.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beGreaterThan.h +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beGreaterThanOrEqualTo.h +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beIdenticalTo.h +10 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beInTheRangeOf.h +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beInstanceOf.h +7 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beKindOf.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beLessThan.h +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beLessThanOrEqualTo.h +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beNil.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beSubclassOf.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beSupersetOf.h +4 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beTruthy.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beginWith.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+conformTo.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+contain.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+endWith.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+equal.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+haveCountOf.h +10 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+notify.h +4 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+raise.h +4 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+raiseWithReason.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+respondTo.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers.h +24 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPUnsupportedObject.h +11 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/Expecta.h +27 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/ExpectaSupport.h +64 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/NSObject+Expecta.h +14 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/NSValue+Expecta.h +8 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/NSAttributedString+CCLFormat/NSAttributedString+CCLFormat.h +21 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPBackwardCompatibility.h +42 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPBlockDefinedMatcher.h +25 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPDefines.h +17 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPDoubleTuple.h +13 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPExpect.h +45 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPFloatTuple.h +13 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatcher.h +20 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatcherHelpers.h +4 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beCloseTo.h +7 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beFalsy.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beGreaterThan.h +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beGreaterThanOrEqualTo.h +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beIdenticalTo.h +10 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beInTheRangeOf.h +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beInstanceOf.h +7 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beKindOf.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beLessThan.h +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beLessThanOrEqualTo.h +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beNil.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beSubclassOf.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beSupersetOf.h +4 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beTruthy.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beginWith.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+conformTo.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+contain.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+endWith.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+equal.h +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+haveCountOf.h +10 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+notify.h +4 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+raise.h +4 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+raiseWithReason.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+respondTo.h +3 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers.h +24 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPUnsupportedObject.h +11 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/Expecta.h +27 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/ExpectaSupport.h +64 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/NSObject+Expecta.h +14 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/NSValue+Expecta.h +8 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/NSAttributedString+CCLFormat/NSAttributedString+CCLFormat.h +21 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Manifest.lock +13 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/NSAttributedString+CCLFormat/LICENSE +23 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/NSAttributedString+CCLFormat/NSAttributedString+CCLFormat.h +21 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/NSAttributedString+CCLFormat/NSAttributedString+CCLFormat.m +51 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/NSAttributedString+CCLFormat/README.md +57 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Pods.xcodeproj/project.pbxproj +943 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat-Private.xcconfig +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat-dummy.m +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat-prefix.pch +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat.xcconfig b/data/spec/fixtures/Project/StaticLibraries/Pods/Target Support → Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat.xcconfig +0 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-acknowledgements.markdown +30 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-acknowledgements.plist +60 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-dummy.m +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-environment.h +14 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-resources.sh +74 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.debug.xcconfig +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.release.xcconfig +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests-Expecta/Pods-TestProjectTests-Expecta-Private.xcconfig +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests-Expecta/Pods-TestProjectTests-Expecta-dummy.m +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests-Expecta/Pods-TestProjectTests-Expecta-prefix.pch +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests-Expecta/Pods-TestProjectTests-Expecta.xcconfig +1 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-acknowledgements.markdown +26 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-acknowledgements.plist +56 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-dummy.m +5 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-environment.h +14 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-resources.sh +74 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.debug.xcconfig +6 -0
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.release.xcconfig +6 -0
- data/spec/fixtures/Project/StaticLibraries/TestProject.xcodeproj/project.pbxproj +525 -0
- data/spec/fixtures/Project/StaticLibraries/TestProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- data/spec/fixtures/Project/StaticLibraries/TestProject.xcworkspace/contents.xcworkspacedata +10 -0
- data/spec/fixtures/Project/StaticLibraries/TestProject/AppDelegate.swift +46 -0
- data/spec/fixtures/Project/StaticLibraries/TestProject/Base.lproj/LaunchScreen.xib +41 -0
- data/spec/fixtures/Project/StaticLibraries/TestProject/Base.lproj/Main.storyboard +25 -0
- data/spec/fixtures/Project/StaticLibraries/TestProject/Images.xcassets/AppIcon.appiconset/Contents.json +38 -0
- data/spec/fixtures/Project/StaticLibraries/TestProject/Info.plist +40 -0
- data/spec/fixtures/Project/StaticLibraries/TestProject/ViewController.swift +25 -0
- data/spec/fixtures/Project/StaticLibraries/TestProjectTests/Info.plist +24 -0
- data/spec/fixtures/Project/StaticLibraries/TestProjectTests/TestProjectTests.swift +36 -0
- metadata +620 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7113f2f12c2b623ba3d86cfec1abbbfe1bab4dc1
|
4
|
+
data.tar.gz: aeed50beacc14d4683ba2a94ef7a6a35822b74c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 294ee6637d1b09376ffd5c41ea3ff33dabb68b52066685d859b9dddf4cf5488a7aabb94d1bd4ce50b26813a627d5da00d7046d4f0ff627e4d9daaaf29379f790
|
7
|
+
data.tar.gz: f9627ceb0f90bdbaf76a91fe14a5bad565fc9a26f38305f9763cfcca421c4aad9f6c4f4eb9f2f46dfd01f19d9143597b10547332988ce7665073ba1934fffff9
|
data/Gemfile.lock
CHANGED
@@ -1,45 +1,43 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cocoapods-deintegrate (0.1.
|
5
|
-
cocoapods
|
4
|
+
cocoapods-deintegrate (0.1.1)
|
5
|
+
cocoapods (~> 0.34)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
|
11
|
-
activesupport (3.2.19)
|
10
|
+
activesupport (3.2.20)
|
12
11
|
i18n (~> 0.6, >= 0.6.4)
|
13
12
|
multi_json (~> 1.0)
|
14
13
|
bacon (1.2.0)
|
15
14
|
claide (0.7.0)
|
16
|
-
cocoapods (0.34.
|
15
|
+
cocoapods (0.34.4)
|
17
16
|
activesupport (>= 3.2.15, < 4)
|
18
17
|
claide (~> 0.7.0)
|
19
|
-
cocoapods-core (= 0.34.
|
20
|
-
cocoapods-downloader (~> 0.7.
|
18
|
+
cocoapods-core (= 0.34.4)
|
19
|
+
cocoapods-downloader (~> 0.7.2)
|
21
20
|
cocoapods-plugins (~> 0.3.1)
|
22
|
-
cocoapods-trunk (~> 0.
|
21
|
+
cocoapods-trunk (~> 0.3.1)
|
23
22
|
cocoapods-try (~> 0.4.1)
|
24
23
|
colored (~> 1.2)
|
25
24
|
escape (~> 0.0.4)
|
26
25
|
json_pure (~> 1.8)
|
27
26
|
nap (~> 0.8)
|
28
27
|
open4 (~> 1.3)
|
29
|
-
xcodeproj (~> 0.19.
|
30
|
-
cocoapods-core (0.34.
|
28
|
+
xcodeproj (~> 0.19.4)
|
29
|
+
cocoapods-core (0.34.4)
|
31
30
|
activesupport (>= 3.2.15)
|
32
31
|
fuzzy_match (~> 2.0.4)
|
33
|
-
json_pure (~> 1.8)
|
34
32
|
nap (~> 0.8.0)
|
35
|
-
cocoapods-downloader (0.7.
|
36
|
-
cocoapods-plugins (0.3.
|
33
|
+
cocoapods-downloader (0.7.2)
|
34
|
+
cocoapods-plugins (0.3.2)
|
37
35
|
nap
|
38
|
-
cocoapods-trunk (0.
|
36
|
+
cocoapods-trunk (0.3.1)
|
39
37
|
json_pure (~> 1.8)
|
40
38
|
nap (>= 0.8)
|
41
|
-
netrc
|
42
|
-
cocoapods-try (0.4.
|
39
|
+
netrc (= 0.7.8)
|
40
|
+
cocoapods-try (0.4.2)
|
43
41
|
colored (1.2)
|
44
42
|
escape (0.0.4)
|
45
43
|
fuzzy_match (2.0.4)
|
@@ -52,11 +50,10 @@ GEM
|
|
52
50
|
mocha (>= 0.13.0)
|
53
51
|
multi_json (1.10.1)
|
54
52
|
nap (0.8.0)
|
55
|
-
netrc (0.7.
|
53
|
+
netrc (0.7.8)
|
56
54
|
open4 (1.3.4)
|
57
55
|
rake (10.3.2)
|
58
|
-
xcodeproj (0.19.
|
59
|
-
CFPropertyList (~> 2.2)
|
56
|
+
xcodeproj (0.19.4)
|
60
57
|
activesupport (~> 3.0)
|
61
58
|
colored (~> 1.2)
|
62
59
|
|
@@ -43,9 +43,9 @@ module Pod
|
|
43
43
|
deintegrate_project(project)
|
44
44
|
project.save()
|
45
45
|
|
46
|
-
pods_directory =
|
46
|
+
pods_directory = config.sandbox.root
|
47
47
|
if pods_directory.exist?
|
48
|
-
UI.puts(
|
48
|
+
UI.puts("Removing `#{pods_directory.relative_path_from(Pathname.new(Dir.pwd))}` directory.")
|
49
49
|
pods_directory.rmtree()
|
50
50
|
end
|
51
51
|
|
@@ -55,9 +55,15 @@ module Pod
|
|
55
55
|
end
|
56
56
|
|
57
57
|
private
|
58
|
+
|
59
|
+
def native_targets(project)
|
60
|
+
project.targets.reject do |target|
|
61
|
+
target.is_a? Xcodeproj::Project::Object::PBXAggregateTarget
|
62
|
+
end
|
63
|
+
end
|
58
64
|
|
59
65
|
def deintegrate_project(project)
|
60
|
-
project.
|
66
|
+
native_targets(project).each do |target|
|
61
67
|
UI.section("Deintegrating target #{target.name}") do
|
62
68
|
deintegrate_target(target)
|
63
69
|
end
|
@@ -75,7 +81,8 @@ module Pod
|
|
75
81
|
|
76
82
|
pod_files = groups.map do |group|
|
77
83
|
group.files.select do |obj|
|
78
|
-
obj.name =~ /^Pods.*\.xcconfig$/i or
|
84
|
+
obj.name =~ /^Pods.*\.xcconfig$/i or
|
85
|
+
obj.path =~ /^(libPods.*\.a)|(Pods_.*\.framework)$/i
|
79
86
|
end
|
80
87
|
end.flatten
|
81
88
|
|
@@ -88,20 +95,15 @@ module Pod
|
|
88
95
|
end
|
89
96
|
end
|
90
97
|
|
91
|
-
# Delete empty `Pods`
|
92
|
-
|
93
|
-
|
94
|
-
end
|
95
|
-
|
96
|
-
unless pod_groups.empty?
|
97
|
-
pod_groups.each(&:remove_from_project)
|
98
|
-
UI.puts "Deleted #{pod_groups.count} `Pod` groups from project."
|
99
|
-
end
|
98
|
+
# Delete empty `Pods` group if exists
|
99
|
+
delete_empty_group(project, 'Pods')
|
100
|
+
delete_empty_group(project, 'Frameworks')
|
100
101
|
end
|
101
102
|
|
102
103
|
def deintegrate_target(target)
|
103
104
|
deintegrate_shell_script_phase(target, 'Copy Pods Resources')
|
104
105
|
deintegrate_shell_script_phase(target, 'Check Pods Manifest.lock')
|
106
|
+
deintegrate_shell_script_phase(target, 'Embed Pods Frameworks')
|
105
107
|
deintegrate_pods_libraries(target)
|
106
108
|
end
|
107
109
|
|
@@ -109,7 +111,7 @@ module Pod
|
|
109
111
|
frameworks_build_phase = target.frameworks_build_phase
|
110
112
|
|
111
113
|
pods_build_files = frameworks_build_phase.files.select do |build_file|
|
112
|
-
build_file.display_name =~ /^libPods.*\.a$/i
|
114
|
+
build_file.display_name =~ /^(libPods.*\.a)|(Pods_.*\.framework)$/i
|
113
115
|
end
|
114
116
|
|
115
117
|
unless pods_build_files.empty?
|
@@ -135,7 +137,17 @@ module Pod
|
|
135
137
|
UI.puts("Deleted #{phases.count} '#{phase_name}' build phases.")
|
136
138
|
end
|
137
139
|
end
|
140
|
+
|
141
|
+
def delete_empty_group(project, group_name)
|
142
|
+
groups = project.main_group.recursive_children_groups.select do |group|
|
143
|
+
group.name == group_name && group.children.empty?
|
144
|
+
end
|
145
|
+
|
146
|
+
unless groups.empty?
|
147
|
+
groups.each(&:remove_from_project)
|
148
|
+
UI.puts "Deleted #{groups.count} empty `#{group_name}` groups from project."
|
149
|
+
end
|
150
|
+
end
|
138
151
|
end
|
139
152
|
end
|
140
153
|
end
|
141
|
-
|
@@ -1,5 +1,38 @@
|
|
1
1
|
require File.expand_path('../../spec_helper', __FILE__)
|
2
2
|
|
3
|
+
def fixture_project(named)
|
4
|
+
ROOT + "spec/fixtures/Project/#{named}"
|
5
|
+
end
|
6
|
+
|
7
|
+
def temporary_directory
|
8
|
+
ROOT + 'tmp'
|
9
|
+
end
|
10
|
+
|
11
|
+
def deintegrate(directory)
|
12
|
+
Dir.chdir(directory) do
|
13
|
+
command = Pod::Command.parse(['deintegrate'])
|
14
|
+
command.config.sandbox.stubs(:root).returns(directory + 'Pods')
|
15
|
+
command.validate!
|
16
|
+
command.run
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
def deintegrate_project(named)
|
21
|
+
path = fixture_project(named)
|
22
|
+
`rsync -r #{path}/ #{temporary_directory}`
|
23
|
+
|
24
|
+
deintegrate(temporary_directory)
|
25
|
+
|
26
|
+
(temporary_directory + 'TestProject.xcworkspace').rmtree
|
27
|
+
(temporary_directory + 'Podfile').delete
|
28
|
+
(temporary_directory + 'Podfile.lock').delete
|
29
|
+
|
30
|
+
output = `diff -r #{fixture_project('None')} #{temporary_directory}`
|
31
|
+
puts(output) unless $?.success?
|
32
|
+
|
33
|
+
$?.success?.should == true
|
34
|
+
end
|
35
|
+
|
3
36
|
module Pod
|
4
37
|
describe Command::Deintegrate do
|
5
38
|
describe 'CLAide' do
|
@@ -9,7 +42,20 @@ module Pod
|
|
9
42
|
end
|
10
43
|
|
11
44
|
before do
|
12
|
-
|
45
|
+
temporary_directory.rmtree if temporary_directory.exist?
|
46
|
+
temporary_directory.mkdir
|
47
|
+
end
|
48
|
+
|
49
|
+
after do
|
50
|
+
temporary_directory.rmtree
|
51
|
+
end
|
52
|
+
|
53
|
+
it 'deintegrates a static library integrated project' do
|
54
|
+
deintegrate_project('StaticLibraries')
|
55
|
+
end
|
56
|
+
|
57
|
+
it 'deintegrates a framework integrated project' do
|
58
|
+
deintegrate_project('Frameworks')
|
13
59
|
end
|
14
60
|
end
|
15
61
|
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
PODS:
|
2
|
+
- QueryKit (0.9.1):
|
3
|
+
- QueryKit/Attribute (= 0.9.1)
|
4
|
+
- QueryKit/ObjectiveC (= 0.9.1)
|
5
|
+
- QueryKit/QuerySet (= 0.9.1)
|
6
|
+
- QueryKit/Swift (= 0.9.1)
|
7
|
+
- QueryKit/Attribute (0.9.1):
|
8
|
+
- QueryKit/Attribute/Bridge (= 0.9.1)
|
9
|
+
- QueryKit/Attribute/ObjectiveC (= 0.9.1)
|
10
|
+
- QueryKit/Attribute/Swift (= 0.9.1)
|
11
|
+
- QueryKit/Attribute/Bridge (0.9.1):
|
12
|
+
- QueryKit/Attribute/ObjectiveC
|
13
|
+
- QueryKit/Attribute/Swift
|
14
|
+
- QueryKit/Attribute/ObjectiveC (0.9.1)
|
15
|
+
- QueryKit/Attribute/Swift (0.9.1):
|
16
|
+
- QueryKit/QuerySet/Swift
|
17
|
+
- QueryKit/ObjectiveC (0.9.1):
|
18
|
+
- QueryKit/Attribute/ObjectiveC
|
19
|
+
- QueryKit/QuerySet/ObjectiveC
|
20
|
+
- QueryKit/QuerySet (0.9.1):
|
21
|
+
- QueryKit/QuerySet/Bridge (= 0.9.1)
|
22
|
+
- QueryKit/QuerySet/ObjectiveC (= 0.9.1)
|
23
|
+
- QueryKit/QuerySet/Swift (= 0.9.1)
|
24
|
+
- QueryKit/QuerySet/Bridge (0.9.1):
|
25
|
+
- QueryKit/QuerySet/ObjectiveC
|
26
|
+
- QueryKit/QuerySet/Swift
|
27
|
+
- QueryKit/QuerySet/ObjectiveC (0.9.1)
|
28
|
+
- QueryKit/QuerySet/Swift (0.9.1)
|
29
|
+
- QueryKit/Swift (0.9.1):
|
30
|
+
- QueryKit/Attribute/Swift
|
31
|
+
- QueryKit/QuerySet/Swift
|
32
|
+
- Quick (0.2.2)
|
33
|
+
|
34
|
+
DEPENDENCIES:
|
35
|
+
- QueryKit
|
36
|
+
- Quick
|
37
|
+
|
38
|
+
SPEC CHECKSUMS:
|
39
|
+
QueryKit: c2ded7784aa57d182a1998e06381633da178443d
|
40
|
+
Quick: 7b89ff625e72ef931c2a9ef2f25ac3a9d2457763
|
41
|
+
|
42
|
+
COCOAPODS: 0.36.0.beta.2
|
@@ -0,0 +1,210 @@
|
|
1
|
+
//
|
2
|
+
// QKAttribute.h
|
3
|
+
// QueryKit
|
4
|
+
//
|
5
|
+
// Created by Kyle Fuller on 30/04/2013.
|
6
|
+
//
|
7
|
+
//
|
8
|
+
|
9
|
+
#import <Foundation/Foundation.h>
|
10
|
+
|
11
|
+
/** A helper class to generate predicates and sort descriptors for attributes
|
12
|
+
on a managed object.
|
13
|
+
*/
|
14
|
+
@interface QKAttribute : NSObject <NSSecureCoding, NSCopying>
|
15
|
+
|
16
|
+
@property (nonatomic, strong, readonly) NSString *name;
|
17
|
+
|
18
|
+
/// Initialized the attribute from multiple other attributes
|
19
|
+
- (instancetype)initWithAttributes:(QKAttribute *)attribute, ... NS_REQUIRES_NIL_TERMINATION;
|
20
|
+
|
21
|
+
/// Initialized the attribute with the given name
|
22
|
+
- (instancetype)initWithName:(NSString *)name __attribute((nonnull));
|
23
|
+
|
24
|
+
/** Returns a Boolean value that indicates whether a given attribute is equal to the receiver
|
25
|
+
@param attribute The attribute to compare against the receiver
|
26
|
+
@return YES if attribute is equivalent to the receiver
|
27
|
+
*/
|
28
|
+
- (BOOL)isEqualToAttribute:(QKAttribute *)attribute;
|
29
|
+
|
30
|
+
/** Returns an expression for the attributes key-value path */
|
31
|
+
- (NSExpression *)expression;
|
32
|
+
|
33
|
+
@end
|
34
|
+
|
35
|
+
@interface QKAttribute (Predicate)
|
36
|
+
|
37
|
+
/** Returns a predicate for an equality comparison against the supplied value
|
38
|
+
@param value To compare against the attribute
|
39
|
+
@param options NSComparisonPredicateOptions to apply to the comparison
|
40
|
+
@return The predicate for this comparison
|
41
|
+
@see equal:
|
42
|
+
*/
|
43
|
+
- (NSPredicate *)equal:(id)value options:(NSComparisonPredicateOptions)options;
|
44
|
+
|
45
|
+
/** Returns a predicate for an equality comparison against the supplied value
|
46
|
+
@param value To compare against the attribute
|
47
|
+
@return The predicate for this comparison
|
48
|
+
@see equal:options:
|
49
|
+
*/
|
50
|
+
- (NSPredicate *)equal:(id)value;
|
51
|
+
|
52
|
+
/** Returns a predicate for an unequal comparison against the supplied value
|
53
|
+
@param value To compare against the attribute
|
54
|
+
@param options NSComparisonPredicateOptions to apply to the comparison
|
55
|
+
@return The predicate for this comparison
|
56
|
+
@see notEqual:
|
57
|
+
*/
|
58
|
+
- (NSPredicate *)notEqual:(id)value options:(NSComparisonPredicateOptions)options;
|
59
|
+
|
60
|
+
/** Returns a predicate for an unequal comparison against the supplied value
|
61
|
+
@param value To compare against the attribute
|
62
|
+
@return The predicate for this comparison
|
63
|
+
@see notEqual:options:
|
64
|
+
*/
|
65
|
+
- (NSPredicate *)notEqual:(id)value;
|
66
|
+
|
67
|
+
/** Returns a predicate for a like comparison against the supplied value
|
68
|
+
@param value To compare against the attribute
|
69
|
+
@param options NSComparisonPredicateOptions to apply to the comparison
|
70
|
+
@return The predicate for this comparison
|
71
|
+
@see like:
|
72
|
+
*/
|
73
|
+
- (NSPredicate *)like:(id)value options:(NSComparisonPredicateOptions)options;
|
74
|
+
|
75
|
+
/** Returns a predicate for a like comparison against the supplied value
|
76
|
+
@param value To compare against the attribute
|
77
|
+
@return The predicate for this comparison
|
78
|
+
@see like:options:
|
79
|
+
*/
|
80
|
+
- (NSPredicate *)like:(id)value;
|
81
|
+
|
82
|
+
/** Returns a predicate for a matches comparison against the supplied value
|
83
|
+
@param value To compare against the attribute
|
84
|
+
@param options NSComparisonPredicateOptions to apply to the comparison
|
85
|
+
@return The predicate for this comparison
|
86
|
+
@see like:
|
87
|
+
*/
|
88
|
+
- (NSPredicate *)matches:(id)value options:(NSComparisonPredicateOptions)options;
|
89
|
+
|
90
|
+
/** Returns a predicate for a matches comparison against the supplied value
|
91
|
+
@param value To compare against the attribute
|
92
|
+
@return The predicate for this comparison
|
93
|
+
@see like:options:
|
94
|
+
*/
|
95
|
+
- (NSPredicate *)matches:(id)value;
|
96
|
+
|
97
|
+
/** Returns a predicate for a begins with comparison against the supplied value
|
98
|
+
@param value To compare against the attribute
|
99
|
+
@param options NSComparisonPredicateOptions to apply to the comparison
|
100
|
+
@return The predicate for this comparison
|
101
|
+
@see like:
|
102
|
+
*/
|
103
|
+
- (NSPredicate *)beginsWith:(id)value options:(NSComparisonPredicateOptions)options;
|
104
|
+
|
105
|
+
/** Returns a predicate for a begins with comparison against the supplied value
|
106
|
+
@param value To compare against the attribute
|
107
|
+
@return The predicate for this comparison
|
108
|
+
@see like:options:
|
109
|
+
*/
|
110
|
+
- (NSPredicate *)beginsWith:(id)value;
|
111
|
+
|
112
|
+
/** Returns a predicate for a ends with comparison against the supplied value
|
113
|
+
@param value To compare against the attribute
|
114
|
+
@param options NSComparisonPredicateOptions to apply to the comparison
|
115
|
+
@return The predicate for this comparison
|
116
|
+
@see like:
|
117
|
+
*/
|
118
|
+
- (NSPredicate *)endsWith:(id)value options:(NSComparisonPredicateOptions)options;
|
119
|
+
|
120
|
+
/** Returns a predicate for a ends with comparison against the supplied value
|
121
|
+
@param value To compare against the attribute
|
122
|
+
@return The predicate for this comparison
|
123
|
+
@see like:options:
|
124
|
+
*/
|
125
|
+
- (NSPredicate *)endsWith:(id)value;
|
126
|
+
|
127
|
+
/** Returns a predicate for greater than the supplied value
|
128
|
+
@param value To compare against the attribute
|
129
|
+
@return The predicate for this comparison
|
130
|
+
@see greaterThanOrEqualTo:
|
131
|
+
*/
|
132
|
+
- (NSPredicate *)greaterThan:(id)value;
|
133
|
+
|
134
|
+
/** Returns a predicate for greater than or equal to the supplied value
|
135
|
+
@param value To compare against the attribute
|
136
|
+
@return The predicate for this comparison
|
137
|
+
@see greaterThan:
|
138
|
+
*/
|
139
|
+
- (NSPredicate *)greaterThanOrEqualTo:(id)value;
|
140
|
+
|
141
|
+
/** Returns a predicate for less than the supplied value
|
142
|
+
@param value To compare against the attribute
|
143
|
+
@return The predicate for this comparison
|
144
|
+
@see lessThanOrEqualTo:
|
145
|
+
*/
|
146
|
+
- (NSPredicate *)lessThan:(id)value;
|
147
|
+
|
148
|
+
/** Returns a predicate for less than or equal to the supplied value
|
149
|
+
@param value To compare against the attribute
|
150
|
+
@return The predicate for this comparison
|
151
|
+
@see lessThan:
|
152
|
+
*/
|
153
|
+
- (NSPredicate *)lessThanOrEqualTo:(id)value;
|
154
|
+
|
155
|
+
/** Returns a predicate for attribute being between two values
|
156
|
+
@param minimumValue
|
157
|
+
@param maximumValue
|
158
|
+
@return The predicate for this comparison
|
159
|
+
*/
|
160
|
+
- (NSPredicate *)between:(id)minimumValue and:(id)maxiumValue;
|
161
|
+
|
162
|
+
/** Returns an IN predicate for attribute
|
163
|
+
@param set An enumerable object containing a set ob objects
|
164
|
+
@return The predicate for this comparison
|
165
|
+
*/
|
166
|
+
- (NSPredicate *)in:(id<NSFastEnumeration>)set;
|
167
|
+
|
168
|
+
/** Returns a predicate for a contains with comparison against the supplied value
|
169
|
+
@param value To compare against the attribute
|
170
|
+
@param options NSComparisonPredicateOptions to apply to the comparison
|
171
|
+
@return The predicate for this comparison
|
172
|
+
@see contains:
|
173
|
+
*/
|
174
|
+
- (NSPredicate *)contains:(id)value options:(NSComparisonPredicateOptions)options;
|
175
|
+
|
176
|
+
/** Returns a predicate for a contains with comparison against the supplied value
|
177
|
+
@param value To compare against the attribute
|
178
|
+
@return The predicate for this comparison
|
179
|
+
@see contains:options:
|
180
|
+
*/
|
181
|
+
- (NSPredicate *)contains:(id)value;
|
182
|
+
|
183
|
+
/** Returns a predicate for if the attribute being equal to nil
|
184
|
+
@return The predicate for the attribute being nil.
|
185
|
+
*/
|
186
|
+
- (NSPredicate *)isNil;
|
187
|
+
|
188
|
+
/** Returns a predicate for if the attribute being equal to YES
|
189
|
+
@return The predicate for the attribute being YES.
|
190
|
+
@see isNO
|
191
|
+
*/
|
192
|
+
- (NSPredicate *)isYes;
|
193
|
+
|
194
|
+
/** Returns a predicate for if the attribute being equal to NO
|
195
|
+
@return The predicate for the attribute being NO.
|
196
|
+
@see isYes
|
197
|
+
*/
|
198
|
+
- (NSPredicate *)isNo;
|
199
|
+
|
200
|
+
@end
|
201
|
+
|
202
|
+
@interface QKAttribute (Sorting)
|
203
|
+
|
204
|
+
/** Returns an ascending sort descriptor for this attribute */
|
205
|
+
- (NSSortDescriptor *)ascending;
|
206
|
+
|
207
|
+
/** Returns a descending sort descriptor for this attribute */
|
208
|
+
- (NSSortDescriptor *)descending;
|
209
|
+
|
210
|
+
@end
|