cocoapods-deintegrate 0.2.1 → 1.0.0.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/lib/cocoapods/command/deintegrate.rb +51 -0
- data/lib/cocoapods/deintegrate/gem_version.rb +3 -0
- data/lib/cocoapods/deintegrator.rb +123 -0
- data/lib/cocoapods_deintegrate.rb +2 -4
- data/lib/cocoapods_plugin.rb +4 -2
- metadata +14 -649
- data/.gitignore +0 -3
- data/Gemfile +0 -11
- data/Gemfile.lock +0 -74
- data/Rakefile +0 -19
- data/cocoapods_deintegrate.gemspec +0 -21
- data/lib/pod/command/deintegrate.rb +0 -153
- data/spec/command/deintegrate_spec.rb +0 -62
- data/spec/fixtures/Project/Frameworks/Podfile +0 -12
- data/spec/fixtures/Project/Frameworks/Podfile.lock +0 -42
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/QueryKit/QKAttribute.h +0 -210
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/QueryKit/QKQuerySet.h +0 -155
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/QueryKit/QueryKit.h +0 -19
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/NSString+QCKSelectorName.h +0 -17
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/QCKDSL.h +0 -211
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/Quick.h +0 -13
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/QuickConfiguration.h +0 -30
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Private/Quick/QuickSpec.h +0 -48
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/QueryKit/QKAttribute.h +0 -210
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/QueryKit/QKQuerySet.h +0 -155
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/QueryKit/QueryKit.h +0 -19
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/NSString+QCKSelectorName.h +0 -17
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/QCKDSL.h +0 -211
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/Quick.h +0 -13
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/QuickConfiguration.h +0 -30
- data/spec/fixtures/Project/Frameworks/Pods/Headers/Public/Quick/QuickSpec.h +0 -48
- data/spec/fixtures/Project/Frameworks/Pods/Manifest.lock +0 -42
- data/spec/fixtures/Project/Frameworks/Pods/Pods.xcodeproj/project.pbxproj +0 -995
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/LICENSE +0 -23
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/Attribute.swift +0 -124
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/Expression.swift +0 -41
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKAttribute.h +0 -210
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKAttribute.m +0 -315
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKAttribute.swift +0 -13
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKQuerySet.h +0 -155
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKQuerySet.m +0 -314
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/ObjectiveC/QKQuerySet.swift +0 -28
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/Predicate.swift +0 -21
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/QueryKit.h +0 -19
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/QueryKit/QuerySet.swift +0 -237
- data/spec/fixtures/Project/Frameworks/Pods/QueryKit/README.md +0 -151
- data/spec/fixtures/Project/Frameworks/Pods/Quick/LICENSE +0 -201
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Callsite.swift +0 -28
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Configuration/Configuration.swift +0 -147
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Configuration/QuickConfiguration.h +0 -30
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Configuration/QuickConfiguration.m +0 -83
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/DSL/DSL.swift +0 -227
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/DSL/QCKDSL.h +0 -211
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/DSL/QCKDSL.m +0 -70
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/DSL/World+DSL.swift +0 -100
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Example.swift +0 -103
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/ExampleGroup.swift +0 -97
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/ExampleMetadata.swift +0 -22
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Failure.swift +0 -16
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Filter.swift +0 -29
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Hooks/Closures.swift +0 -35
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Hooks/ExampleHooks.swift +0 -36
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Hooks/SuiteHooks.swift +0 -34
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/NSString+QCKSelectorName.h +0 -17
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/NSString+QCKSelectorName.m +0 -33
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/Quick.h +0 -13
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/QuickSpec.h +0 -48
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/QuickSpec.m +0 -142
- data/spec/fixtures/Project/Frameworks/Pods/Quick/Quick/World.swift +0 -197
- data/spec/fixtures/Project/Frameworks/Pods/Quick/README.md +0 -979
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Info.plist +0 -26
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit-Private.xcconfig +0 -9
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit-dummy.m +0 -5
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit-prefix.pch +0 -5
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit-umbrella.h +0 -9
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject-QueryKit/Pods-TestProject-QueryKit.modulemap +0 -6
- 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 +0 -26
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-acknowledgements.markdown +0 -30
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-acknowledgements.plist +0 -60
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-dummy.m +0 -5
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-environment.h +0 -74
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-frameworks.sh +0 -55
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-resources.sh +0 -74
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-umbrella.h +0 -6
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.debug.xcconfig +0 -9
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.modulemap +0 -6
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.release.xcconfig +0 -9
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Info.plist +0 -26
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick-Private.xcconfig +0 -9
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick-dummy.m +0 -5
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick-prefix.pch +0 -5
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick-umbrella.h +0 -11
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick.modulemap +0 -6
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests-Quick/Pods-TestProjectTests-Quick.xcconfig +0 -2
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Info.plist +0 -26
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-acknowledgements.markdown +0 -208
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-acknowledgements.plist +0 -238
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-dummy.m +0 -5
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-environment.h +0 -14
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-frameworks.sh +0 -55
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-resources.sh +0 -74
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-umbrella.h +0 -6
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.debug.xcconfig +0 -9
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.modulemap +0 -6
- data/spec/fixtures/Project/Frameworks/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.release.xcconfig +0 -9
- data/spec/fixtures/Project/Frameworks/TestProject.xcodeproj/project.pbxproj +0 -557
- data/spec/fixtures/Project/Frameworks/TestProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
- data/spec/fixtures/Project/Frameworks/TestProject.xcworkspace/contents.xcworkspacedata +0 -10
- data/spec/fixtures/Project/Frameworks/TestProject/AppDelegate.swift +0 -46
- data/spec/fixtures/Project/Frameworks/TestProject/Base.lproj/LaunchScreen.xib +0 -41
- data/spec/fixtures/Project/Frameworks/TestProject/Base.lproj/Main.storyboard +0 -25
- data/spec/fixtures/Project/Frameworks/TestProject/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
- data/spec/fixtures/Project/Frameworks/TestProject/Info.plist +0 -40
- data/spec/fixtures/Project/Frameworks/TestProject/ViewController.swift +0 -25
- data/spec/fixtures/Project/Frameworks/TestProjectTests/Info.plist +0 -24
- data/spec/fixtures/Project/Frameworks/TestProjectTests/TestProjectTests.swift +0 -36
- data/spec/fixtures/Project/None/TestProject.xcodeproj/project.pbxproj +0 -420
- data/spec/fixtures/Project/None/TestProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
- data/spec/fixtures/Project/None/TestProject/AppDelegate.swift +0 -46
- data/spec/fixtures/Project/None/TestProject/Base.lproj/LaunchScreen.xib +0 -41
- data/spec/fixtures/Project/None/TestProject/Base.lproj/Main.storyboard +0 -25
- data/spec/fixtures/Project/None/TestProject/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
- data/spec/fixtures/Project/None/TestProject/Info.plist +0 -40
- data/spec/fixtures/Project/None/TestProject/ViewController.swift +0 -25
- data/spec/fixtures/Project/None/TestProjectTests/Info.plist +0 -24
- data/spec/fixtures/Project/None/TestProjectTests/TestProjectTests.swift +0 -36
- data/spec/fixtures/Project/StaticLibraries/Podfile +0 -12
- data/spec/fixtures/Project/StaticLibraries/Podfile.lock +0 -13
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/LICENSE +0 -19
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/README.md +0 -308
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPBackwardCompatibility.h +0 -42
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPBackwardCompatibility.m +0 -17
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPBlockDefinedMatcher.h +0 -25
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPBlockDefinedMatcher.m +0 -60
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPDefines.h +0 -17
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPDoubleTuple.h +0 -13
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPDoubleTuple.m +0 -42
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPExpect.h +0 -45
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPExpect.m +0 -214
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPFloatTuple.h +0 -13
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPFloatTuple.m +0 -42
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPMatcher.h +0 -20
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPUnsupportedObject.h +0 -11
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/EXPUnsupportedObject.m +0 -20
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/Expecta.h +0 -27
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/Expecta.m +0 -15
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/ExpectaSupport.h +0 -64
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/ExpectaSupport.m +0 -187
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/NSObject+Expecta.h +0 -14
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/NSValue+Expecta.h +0 -8
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/NSValue+Expecta.m +0 -21
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatcherHelpers.h +0 -4
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatcherHelpers.m +0 -9
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beCloseTo.h +0 -7
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beCloseTo.m +0 -49
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beFalsy.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beFalsy.m +0 -24
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThan.h +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThan.m +0 -20
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThanOrEqualTo.h +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beGreaterThanOrEqualTo.m +0 -20
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beIdenticalTo.h +0 -10
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beIdenticalTo.m +0 -24
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beInTheRangeOf.h +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beInTheRangeOf.m +0 -30
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beInstanceOf.h +0 -7
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beInstanceOf.m +0 -27
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beKindOf.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beKindOf.m +0 -27
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beLessThan.h +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beLessThan.m +0 -20
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beLessThanOrEqualTo.h +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beLessThanOrEqualTo.m +0 -20
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beNil.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beNil.m +0 -16
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beSubclassOf.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beSubclassOf.m +0 -27
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beSupersetOf.h +0 -4
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beSupersetOf.m +0 -57
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beTruthy.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beTruthy.m +0 -24
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beginWith.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+beginWith.m +0 -49
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+conformTo.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+conformTo.m +0 -33
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+contain.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+contain.m +0 -38
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+endWith.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+endWith.m +0 -49
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+equal.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+equal.m +0 -24
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+haveCountOf.h +0 -10
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+haveCountOf.m +0 -36
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+notify.h +0 -4
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+notify.m +0 -63
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+raise.h +0 -4
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+raise.m +0 -30
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+raiseWithReason.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+raiseWithReason.m +0 -35
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+respondTo.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers+respondTo.m +0 -28
- data/spec/fixtures/Project/StaticLibraries/Pods/Expecta/src/matchers/EXPMatchers.h +0 -24
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPBackwardCompatibility.h +0 -42
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPBlockDefinedMatcher.h +0 -25
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPDefines.h +0 -17
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPDoubleTuple.h +0 -13
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPExpect.h +0 -45
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPFloatTuple.h +0 -13
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatcher.h +0 -20
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatcherHelpers.h +0 -4
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beCloseTo.h +0 -7
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beFalsy.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beGreaterThan.h +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beGreaterThanOrEqualTo.h +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beIdenticalTo.h +0 -10
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beInTheRangeOf.h +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beInstanceOf.h +0 -7
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beKindOf.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beLessThan.h +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beLessThanOrEqualTo.h +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beNil.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beSubclassOf.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beSupersetOf.h +0 -4
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beTruthy.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+beginWith.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+conformTo.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+contain.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+endWith.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+equal.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+haveCountOf.h +0 -10
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+notify.h +0 -4
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+raise.h +0 -4
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+raiseWithReason.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers+respondTo.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPMatchers.h +0 -24
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/EXPUnsupportedObject.h +0 -11
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/Expecta.h +0 -27
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/ExpectaSupport.h +0 -64
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/NSObject+Expecta.h +0 -14
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/Expecta/NSValue+Expecta.h +0 -8
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Private/NSAttributedString+CCLFormat/NSAttributedString+CCLFormat.h +0 -21
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPBackwardCompatibility.h +0 -42
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPBlockDefinedMatcher.h +0 -25
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPDefines.h +0 -17
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPDoubleTuple.h +0 -13
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPExpect.h +0 -45
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPFloatTuple.h +0 -13
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatcher.h +0 -20
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatcherHelpers.h +0 -4
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beCloseTo.h +0 -7
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beFalsy.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beGreaterThan.h +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beGreaterThanOrEqualTo.h +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beIdenticalTo.h +0 -10
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beInTheRangeOf.h +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beInstanceOf.h +0 -7
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beKindOf.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beLessThan.h +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beLessThanOrEqualTo.h +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beNil.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beSubclassOf.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beSupersetOf.h +0 -4
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beTruthy.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+beginWith.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+conformTo.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+contain.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+endWith.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+equal.h +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+haveCountOf.h +0 -10
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+notify.h +0 -4
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+raise.h +0 -4
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+raiseWithReason.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers+respondTo.h +0 -3
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPMatchers.h +0 -24
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/EXPUnsupportedObject.h +0 -11
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/Expecta.h +0 -27
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/ExpectaSupport.h +0 -64
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/NSObject+Expecta.h +0 -14
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/Expecta/NSValue+Expecta.h +0 -8
- data/spec/fixtures/Project/StaticLibraries/Pods/Headers/Public/NSAttributedString+CCLFormat/NSAttributedString+CCLFormat.h +0 -21
- data/spec/fixtures/Project/StaticLibraries/Pods/Manifest.lock +0 -13
- data/spec/fixtures/Project/StaticLibraries/Pods/NSAttributedString+CCLFormat/LICENSE +0 -23
- data/spec/fixtures/Project/StaticLibraries/Pods/NSAttributedString+CCLFormat/NSAttributedString+CCLFormat.h +0 -21
- data/spec/fixtures/Project/StaticLibraries/Pods/NSAttributedString+CCLFormat/NSAttributedString+CCLFormat.m +0 -51
- data/spec/fixtures/Project/StaticLibraries/Pods/NSAttributedString+CCLFormat/README.md +0 -57
- data/spec/fixtures/Project/StaticLibraries/Pods/Pods.xcodeproj/project.pbxproj +0 -943
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat-Private.xcconfig +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat-dummy.m +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject-NSAttributedString+CCLFormat/Pods-TestProject-NSAttributedString+CCLFormat-prefix.pch +0 -5
- 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 +0 -30
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-acknowledgements.plist +0 -60
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-dummy.m +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-environment.h +0 -14
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject-resources.sh +0 -74
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.debug.xcconfig +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProject/Pods-TestProject.release.xcconfig +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests-Expecta/Pods-TestProjectTests-Expecta-Private.xcconfig +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests-Expecta/Pods-TestProjectTests-Expecta-dummy.m +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests-Expecta/Pods-TestProjectTests-Expecta-prefix.pch +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests-Expecta/Pods-TestProjectTests-Expecta.xcconfig +0 -1
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-acknowledgements.markdown +0 -26
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-acknowledgements.plist +0 -56
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-dummy.m +0 -5
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-environment.h +0 -14
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests-resources.sh +0 -74
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.debug.xcconfig +0 -6
- data/spec/fixtures/Project/StaticLibraries/Pods/Target Support Files/Pods-TestProjectTests/Pods-TestProjectTests.release.xcconfig +0 -6
- data/spec/fixtures/Project/StaticLibraries/TestProject.xcodeproj/project.pbxproj +0 -525
- data/spec/fixtures/Project/StaticLibraries/TestProject.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
- data/spec/fixtures/Project/StaticLibraries/TestProject.xcworkspace/contents.xcworkspacedata +0 -10
- data/spec/fixtures/Project/StaticLibraries/TestProject/AppDelegate.swift +0 -46
- data/spec/fixtures/Project/StaticLibraries/TestProject/Base.lproj/LaunchScreen.xib +0 -41
- data/spec/fixtures/Project/StaticLibraries/TestProject/Base.lproj/Main.storyboard +0 -25
- data/spec/fixtures/Project/StaticLibraries/TestProject/Images.xcassets/AppIcon.appiconset/Contents.json +0 -38
- data/spec/fixtures/Project/StaticLibraries/TestProject/Info.plist +0 -40
- data/spec/fixtures/Project/StaticLibraries/TestProject/ViewController.swift +0 -25
- data/spec/fixtures/Project/StaticLibraries/TestProjectTests/Info.plist +0 -24
- data/spec/fixtures/Project/StaticLibraries/TestProjectTests/TestProjectTests.swift +0 -36
- data/spec/spec_helper.rb +0 -29
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// QKQuerySet.h
|
|
3
|
-
// QueryKit
|
|
4
|
-
//
|
|
5
|
-
// Created by Kyle Fuller on 30/04/2013.
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
#import <CoreData/CoreData.h>
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
Represents a lazy Core Data lookup for a set of objects.
|
|
14
|
-
|
|
15
|
-
This object is immutable, any changes will normally be done to a copy. Such
|
|
16
|
-
as with the `-filter:`, `-exclude:`, `-orderBy:` and `-reverse` methods.
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
@interface QKQuerySet : NSObject <NSFastEnumeration, NSCopying>
|
|
20
|
-
|
|
21
|
-
/// The managed object context for the query set
|
|
22
|
-
@property (nonatomic, strong, readonly) NSManagedObjectContext *managedObjectContext;
|
|
23
|
-
|
|
24
|
-
/// The entity descriptor for the object
|
|
25
|
-
@property (nonatomic, strong, readonly) NSEntityDescription *entityDescription;
|
|
26
|
-
|
|
27
|
-
/** This is a read only property to hold any predicates set on this object. You can use the `filter:` and `exclude:` methods to effect this value on a child */
|
|
28
|
-
@property (nonatomic, copy, readonly) NSPredicate *predicate;
|
|
29
|
-
|
|
30
|
-
/** This is a read only property to hold any sort descriptors set on this object. You can use the `orderBy:` and `reverse` methods to effect this value on a child */
|
|
31
|
-
@property (nonatomic, copy, readonly) NSArray *sortDescriptors;
|
|
32
|
-
|
|
33
|
-
/** This is a read only property to hold a range set. */
|
|
34
|
-
@property (nonatomic, assign, readonly) NSRange range;
|
|
35
|
-
|
|
36
|
-
#pragma mark - Creation
|
|
37
|
-
|
|
38
|
-
- (instancetype)initWithManagedObjectContext:(NSManagedObjectContext *)managedObjectContext entityDescription:(NSEntityDescription *)entityDescription __attribute((nonnull));
|
|
39
|
-
- (instancetype)initWithManagedObjectContext:(NSManagedObjectContext *)managedObjectContext entityDescription:(NSEntityDescription *)entityDescription predicate:(NSPredicate *)predicate sortDescriptors:(NSArray *)sortDescriptors range:(NSRange)range __attribute((nonnull(1, 2)));
|
|
40
|
-
- (instancetype)initWithManagedObjectContext:(NSManagedObjectContext *)managedObjectContext fetchRequest:(NSFetchRequest *)fetchRequest __attribute((nonnull));
|
|
41
|
-
|
|
42
|
-
#pragma mark - Equality
|
|
43
|
-
|
|
44
|
-
/** Returns a Boolean value that indicates whether a given queryset is equal to the receiver
|
|
45
|
-
@param queryset The queryset to compare against the receiver
|
|
46
|
-
@return YES if queryset is equivalent to the receiver
|
|
47
|
-
*/
|
|
48
|
-
- (BOOL)isEqualToQuerySet:(QKQuerySet *)queryset;
|
|
49
|
-
|
|
50
|
-
#pragma mark -
|
|
51
|
-
|
|
52
|
-
/** Returns a fetch request for the queryset */
|
|
53
|
-
- (NSFetchRequest *)fetchRequest;
|
|
54
|
-
|
|
55
|
-
/** Returns the amount of objects matching the set predicate
|
|
56
|
-
@param error If there is a problem fetching the count, upon return contains an instance of NSError that describes the problem.
|
|
57
|
-
@return The number of objects matching the set predicate
|
|
58
|
-
*/
|
|
59
|
-
- (NSUInteger)count:(NSError **)error;
|
|
60
|
-
|
|
61
|
-
/** Returns all objects matching the set predicate ordered by any set sort descriptors as an array
|
|
62
|
-
@param error If there is a problem fetching the objects, upon return contains an instance of NSError that describes the problem.
|
|
63
|
-
@return An array containing all matched objects
|
|
64
|
-
*/
|
|
65
|
-
- (NSArray *)array:(NSError **)error;
|
|
66
|
-
|
|
67
|
-
/** Returns all objects matching the set predicate ordered by any set sort descriptors as an ordered set
|
|
68
|
-
@param error If there is a problem fetching the objects, upon return contains an instance of NSError that describes the problem.
|
|
69
|
-
@return An ordered set containing all matched objects
|
|
70
|
-
*/
|
|
71
|
-
- (NSSet *)set:(NSError **)error;
|
|
72
|
-
|
|
73
|
-
/** Returns all objects matching the set predicate ordered by any set sort descriptors as a set
|
|
74
|
-
@param error If there is a problem fetching the objects, upon return contains an instance of NSError that describes the problem.
|
|
75
|
-
@return A set containing all matched objects
|
|
76
|
-
*/
|
|
77
|
-
- (NSOrderedSet *)orderedSet:(NSError **)error;
|
|
78
|
-
|
|
79
|
-
#pragma mark - Enumeration
|
|
80
|
-
|
|
81
|
-
/** Enumerate all objects matching the set predicate ordered by any set sort descriptors
|
|
82
|
-
@param block The block to apply to elements in the array
|
|
83
|
-
@param error If there is a problem fetching the objects, upon return contains an instance of NSError that describes the problem.
|
|
84
|
-
@return YES if the operation succeeded.
|
|
85
|
-
*/
|
|
86
|
-
- (BOOL)enumerateObjects:(void (^)(NSManagedObject *object, NSUInteger index, BOOL *stop))block error:(NSError **)error;
|
|
87
|
-
|
|
88
|
-
/** Enumerate all objects matching the set predicate ordered by any set sort descriptors
|
|
89
|
-
@param block The block to apply to all objects
|
|
90
|
-
@param error If there is a problem fetching the objects, upon return contains an instance of NSError that describes the problem.
|
|
91
|
-
@return YES if the operation succeeded.
|
|
92
|
-
*/
|
|
93
|
-
- (BOOL)each:(void (^)(NSManagedObject *managedObject))block error:(NSError **)error;
|
|
94
|
-
|
|
95
|
-
#pragma mark - Deletion
|
|
96
|
-
|
|
97
|
-
/** Delete all objects matching the set predicate
|
|
98
|
-
@param error If there is a problem deleting the objects, upon return contains an instance of NSError that describes the problem.
|
|
99
|
-
@return Returns the amount of objects that were deleted
|
|
100
|
-
*/
|
|
101
|
-
- (NSUInteger)deleteObjects:(NSError **)error;
|
|
102
|
-
|
|
103
|
-
@end
|
|
104
|
-
|
|
105
|
-
/// Methods to sort an query set
|
|
106
|
-
@interface QKQuerySet (Sorting)
|
|
107
|
-
|
|
108
|
-
/** Returns a copy and the sort descriptors */
|
|
109
|
-
- (instancetype)orderBy:(NSArray *)sortDescriptors;
|
|
110
|
-
|
|
111
|
-
/** Returns a copy and reverses any sort descriptors */
|
|
112
|
-
- (instancetype)reverse;
|
|
113
|
-
|
|
114
|
-
@end
|
|
115
|
-
|
|
116
|
-
/// Filtering related methods of QKQuerySet
|
|
117
|
-
@interface QKQuerySet (Filtering)
|
|
118
|
-
|
|
119
|
-
/** Returns a copy filtered by a predicate */
|
|
120
|
-
- (instancetype)filter:(NSPredicate *)predicate;
|
|
121
|
-
|
|
122
|
-
/** Returns a copy excluding a predicate */
|
|
123
|
-
- (instancetype)exclude:(NSPredicate *)predicate;
|
|
124
|
-
|
|
125
|
-
@end
|
|
126
|
-
|
|
127
|
-
/// Fetching single objects in QKQuerySet
|
|
128
|
-
@interface QKQuerySet (SingleObject)
|
|
129
|
-
|
|
130
|
-
/** Returns a single object matching the filters, if there is more than one. An error will instead be returned.
|
|
131
|
-
@param error If there is a problem fetching the object or there is more than one object, upon return contains an instance of NSError that describes the problem.
|
|
132
|
-
@return Returns the object matching the set predicate, or nil.
|
|
133
|
-
*/
|
|
134
|
-
- (NSManagedObject *)object:(NSError **)error;
|
|
135
|
-
|
|
136
|
-
/** Returns the first object matching the filters ordered by the set sort descriptors.
|
|
137
|
-
@param error If there is a problem fetching the object, upon return contains an instance of NSError that describes the problem.
|
|
138
|
-
@return Returns the first object matching the set predicate, or nil.
|
|
139
|
-
*/
|
|
140
|
-
- (NSManagedObject *)firstObject:(NSError **)error;
|
|
141
|
-
|
|
142
|
-
/** Returns the last object matching the filters ordered by the set sort descriptors.
|
|
143
|
-
@param error If there is a problem fetching the object, upon return contains an instance of NSError that describes the problem.
|
|
144
|
-
@return Returns the last object matching the set predicate, or nil.
|
|
145
|
-
*/
|
|
146
|
-
- (NSManagedObject *)lastObject:(NSError **)error;
|
|
147
|
-
|
|
148
|
-
@end
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
@interface NSManagedObject (QKQuerySet)
|
|
152
|
-
|
|
153
|
-
+ (QKQuerySet *)querySetWithManagedObjectContext:(NSManagedObjectContext *)context;
|
|
154
|
-
|
|
155
|
-
@end
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// QueryKit.h
|
|
3
|
-
// QueryKit
|
|
4
|
-
//
|
|
5
|
-
// Created by Kyle Fuller on 19/06/2014.
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
|
|
11
|
-
//! Project version number for QueryKit.
|
|
12
|
-
FOUNDATION_EXPORT double QueryKitVersionNumber;
|
|
13
|
-
|
|
14
|
-
//! Project version string for QueryKit.
|
|
15
|
-
FOUNDATION_EXPORT const unsigned char QueryKitVersionString[];
|
|
16
|
-
|
|
17
|
-
// In this header, you should import all the public headers of your framework using statements like #import <QueryKit/PublicHeader.h>
|
|
18
|
-
#import <QueryKit/QKAttribute.h>
|
|
19
|
-
#import <QueryKit/QKQuerySet.h>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
#import <Foundation/Foundation.h>
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
QuickSpec converts example names into test methods.
|
|
5
|
-
Those test methods need valid selector names, which means no whitespace,
|
|
6
|
-
control characters, etc. This category gives NSString objects an easy way
|
|
7
|
-
to replace those illegal characters with underscores.
|
|
8
|
-
*/
|
|
9
|
-
@interface NSString (QCKSelectorName)
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
Returns a string with underscores in place of all characters that cannot
|
|
13
|
-
be included in a selector (SEL) name.
|
|
14
|
-
*/
|
|
15
|
-
@property (nonatomic, readonly) NSString *qck_selectorName;
|
|
16
|
-
|
|
17
|
-
@end
|
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
#import <Foundation/Foundation.h>
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
Provides a hook for Quick to be configured before any examples are run.
|
|
5
|
-
Within this scope, override the +[QuickConfiguration configure:] method
|
|
6
|
-
to set properties on a configuration object to customize Quick behavior.
|
|
7
|
-
For details, see the documentation for Configuraiton.swift.
|
|
8
|
-
|
|
9
|
-
@param name The name of the configuration class. Like any Objective-C
|
|
10
|
-
class name, this must be unique to the current runtime
|
|
11
|
-
environment.
|
|
12
|
-
*/
|
|
13
|
-
#define QuickConfigurationBegin(name) \
|
|
14
|
-
@interface name : QuickConfiguration; @end \
|
|
15
|
-
@implementation name \
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
Marks the end of a Quick configuration.
|
|
20
|
-
Make sure you put this after `QuickConfigurationBegin`.
|
|
21
|
-
*/
|
|
22
|
-
#define QuickConfigurationEnd \
|
|
23
|
-
@end \
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
Defines a new QuickSpec. Define examples and example groups within the space
|
|
28
|
-
between this and `QuickSpecEnd`.
|
|
29
|
-
|
|
30
|
-
@param name The name of the spec class. Like any Objective-C class name, this
|
|
31
|
-
must be unique to the current runtime environment.
|
|
32
|
-
*/
|
|
33
|
-
#define QuickSpecBegin(name) \
|
|
34
|
-
@interface name : QuickSpec; @end \
|
|
35
|
-
@implementation name \
|
|
36
|
-
- (void)spec { \
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
Marks the end of a QuickSpec. Make sure you put this after `QuickSpecBegin`.
|
|
41
|
-
*/
|
|
42
|
-
#define QuickSpecEnd \
|
|
43
|
-
} \
|
|
44
|
-
@end \
|
|
45
|
-
|
|
46
|
-
typedef NSDictionary *(^QCKDSLSharedExampleContext)(void);
|
|
47
|
-
typedef void (^QCKDSLSharedExampleBlock)(QCKDSLSharedExampleContext);
|
|
48
|
-
typedef void (^QCKDSLEmptyBlock)(void);
|
|
49
|
-
|
|
50
|
-
extern void qck_beforeSuite(QCKDSLEmptyBlock closure);
|
|
51
|
-
extern void qck_afterSuite(QCKDSLEmptyBlock closure);
|
|
52
|
-
extern void qck_sharedExamples(NSString *name, QCKDSLSharedExampleBlock closure);
|
|
53
|
-
extern void qck_describe(NSString *description, QCKDSLEmptyBlock closure);
|
|
54
|
-
extern void qck_context(NSString *description, QCKDSLEmptyBlock closure);
|
|
55
|
-
extern void qck_beforeEach(QCKDSLEmptyBlock closure);
|
|
56
|
-
extern void qck_afterEach(QCKDSLEmptyBlock closure);
|
|
57
|
-
extern void qck_pending(NSString *description, QCKDSLEmptyBlock closure);
|
|
58
|
-
extern void qck_xdescribe(NSString *description, QCKDSLEmptyBlock closure);
|
|
59
|
-
extern void qck_xcontext(NSString *description, QCKDSLEmptyBlock closure);
|
|
60
|
-
extern void qck_fdescribe(NSString *description, QCKDSLEmptyBlock closure);
|
|
61
|
-
extern void qck_fcontext(NSString *description, QCKDSLEmptyBlock closure);
|
|
62
|
-
|
|
63
|
-
#ifndef QUICK_DISABLE_SHORT_SYNTAX
|
|
64
|
-
/**
|
|
65
|
-
Defines a closure to be run prior to any examples in the test suite.
|
|
66
|
-
You may define an unlimited number of these closures, but there is no
|
|
67
|
-
guarantee as to the order in which they're run.
|
|
68
|
-
|
|
69
|
-
If the test suite crashes before the first example is run, this closure
|
|
70
|
-
will not be executed.
|
|
71
|
-
|
|
72
|
-
@param closure The closure to be run prior to any examples in the test suite.
|
|
73
|
-
*/
|
|
74
|
-
static inline void beforeSuite(QCKDSLEmptyBlock closure) {
|
|
75
|
-
qck_beforeSuite(closure);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
Defines a closure to be run after all of the examples in the test suite.
|
|
81
|
-
You may define an unlimited number of these closures, but there is no
|
|
82
|
-
guarantee as to the order in which they're run.
|
|
83
|
-
|
|
84
|
-
If the test suite crashes before all examples are run, this closure
|
|
85
|
-
will not be executed.
|
|
86
|
-
|
|
87
|
-
@param closure The closure to be run after all of the examples in the test suite.
|
|
88
|
-
*/
|
|
89
|
-
static inline void afterSuite(QCKDSLEmptyBlock closure) {
|
|
90
|
-
qck_afterSuite(closure);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
Defines a group of shared examples. These examples can be re-used in several locations
|
|
95
|
-
by using the `itBehavesLike` function.
|
|
96
|
-
|
|
97
|
-
@param name The name of the shared example group. This must be unique across all shared example
|
|
98
|
-
groups defined in a test suite.
|
|
99
|
-
@param closure A closure containing the examples. This behaves just like an example group defined
|
|
100
|
-
using `describe` or `context`--the closure may contain any number of `beforeEach`
|
|
101
|
-
and `afterEach` closures, as well as any number of examples (defined using `it`).
|
|
102
|
-
*/
|
|
103
|
-
static inline void sharedExamples(NSString *name, QCKDSLSharedExampleBlock closure) {
|
|
104
|
-
qck_sharedExamples(name, closure);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
Defines an example group. Example groups are logical groupings of examples.
|
|
109
|
-
Example groups can share setup and teardown code.
|
|
110
|
-
|
|
111
|
-
@param description An arbitrary string describing the example group.
|
|
112
|
-
@param closure A closure that can contain other examples.
|
|
113
|
-
*/
|
|
114
|
-
static inline void describe(NSString *description, QCKDSLEmptyBlock closure) {
|
|
115
|
-
qck_describe(description, closure);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
Defines an example group. Equivalent to `describe`.
|
|
120
|
-
*/
|
|
121
|
-
static inline void context(NSString *description, QCKDSLEmptyBlock closure) {
|
|
122
|
-
qck_context(description, closure);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
Defines a closure to be run prior to each example in the current example
|
|
127
|
-
group. This closure is not run for pending or otherwise disabled examples.
|
|
128
|
-
An example group may contain an unlimited number of beforeEach. They'll be
|
|
129
|
-
run in the order they're defined, but you shouldn't rely on that behavior.
|
|
130
|
-
|
|
131
|
-
@param closure The closure to be run prior to each example.
|
|
132
|
-
*/
|
|
133
|
-
static inline void beforeEach(QCKDSLEmptyBlock closure) {
|
|
134
|
-
qck_beforeEach(closure);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
Defines a closure to be run after each example in the current example
|
|
139
|
-
group. This closure is not run for pending or otherwise disabled examples.
|
|
140
|
-
An example group may contain an unlimited number of afterEach. They'll be
|
|
141
|
-
run in the order they're defined, but you shouldn't rely on that behavior.
|
|
142
|
-
|
|
143
|
-
@param closure The closure to be run after each example.
|
|
144
|
-
*/
|
|
145
|
-
static inline void afterEach(QCKDSLEmptyBlock closure) {
|
|
146
|
-
qck_afterEach(closure);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
Defines an example or example group that should not be executed. Use `pending` to temporarily disable
|
|
151
|
-
examples or groups that should not be run yet.
|
|
152
|
-
|
|
153
|
-
@param description An arbitrary string describing the example or example group.
|
|
154
|
-
@param closure A closure that will not be evaluated.
|
|
155
|
-
*/
|
|
156
|
-
static inline void pending(NSString *description, QCKDSLEmptyBlock closure) {
|
|
157
|
-
qck_pending(description, closure);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/**
|
|
161
|
-
Use this to quickly mark a `describe` block as pending.
|
|
162
|
-
This disables all examples within the block.
|
|
163
|
-
*/
|
|
164
|
-
static inline void xdescribe(NSString *description, QCKDSLEmptyBlock closure) {
|
|
165
|
-
qck_xdescribe(description, closure);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
Use this to quickly mark a `context` block as pending.
|
|
170
|
-
This disables all examples within the block.
|
|
171
|
-
*/
|
|
172
|
-
static inline void xcontext(NSString *description, QCKDSLEmptyBlock closure) {
|
|
173
|
-
qck_xcontext(description, closure);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
Use this to quickly focus a `describe` block, focusing the examples in the block.
|
|
178
|
-
If any examples in the test suite are focused, only those examples are executed.
|
|
179
|
-
This trumps any explicitly focused or unfocused examples within the block--they are all treated as focused.
|
|
180
|
-
*/
|
|
181
|
-
static inline void fdescribe(NSString *description, QCKDSLEmptyBlock closure) {
|
|
182
|
-
qck_fdescribe(description, closure);
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
Use this to quickly focus a `context` block. Equivalent to `fdescribe`.
|
|
187
|
-
*/
|
|
188
|
-
static inline void fcontext(NSString *description, QCKDSLEmptyBlock closure) {
|
|
189
|
-
qck_fcontext(description, closure);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
#define it qck_it
|
|
193
|
-
#define xit qck_xit
|
|
194
|
-
#define fit qck_fit
|
|
195
|
-
#define itBehavesLike qck_itBehavesLike
|
|
196
|
-
#define xitBehavesLike qck_xitBehavesLike
|
|
197
|
-
#define fitBehavesLike qck_fitBehavesLike
|
|
198
|
-
#endif
|
|
199
|
-
|
|
200
|
-
#define qck_it qck_it_builder(@{}, @(__FILE__), __LINE__)
|
|
201
|
-
#define qck_xit qck_it_builder(@{Filter.pending: @YES}, @(__FILE__), __LINE__)
|
|
202
|
-
#define qck_fit qck_it_builder(@{Filter.focused: @YES}, @(__FILE__), __LINE__)
|
|
203
|
-
#define qck_itBehavesLike qck_itBehavesLike_builder(@{}, @(__FILE__), __LINE__)
|
|
204
|
-
#define qck_xitBehavesLike qck_itBehavesLike_builder(@{Filter.pending: @YES}, @(__FILE__), __LINE__)
|
|
205
|
-
#define qck_fitBehavesLike qck_itBehavesLike_builder(@{Filter.focused: @YES}, @(__FILE__), __LINE__)
|
|
206
|
-
|
|
207
|
-
typedef void (^QCKItBlock)(NSString *description, QCKDSLEmptyBlock closure);
|
|
208
|
-
typedef void (^QCKItBehavesLikeBlock)(NSString *descritpion, QCKDSLSharedExampleContext context);
|
|
209
|
-
|
|
210
|
-
extern QCKItBlock qck_it_builder(NSDictionary *flags, NSString *file, NSUInteger line);
|
|
211
|
-
extern QCKItBehavesLikeBlock qck_itBehavesLike_builder(NSDictionary *flags, NSString *file, NSUInteger line);
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
#import <Foundation/Foundation.h>
|
|
2
|
-
|
|
3
|
-
//! Project version number for Quick.
|
|
4
|
-
FOUNDATION_EXPORT double QuickVersionNumber;
|
|
5
|
-
|
|
6
|
-
//! Project version string for Quick.
|
|
7
|
-
FOUNDATION_EXPORT const unsigned char QuickVersionString[];
|
|
8
|
-
|
|
9
|
-
// In this header, you should import all the public headers of your framework using statements like #import <Quick/PublicHeader.h>
|
|
10
|
-
|
|
11
|
-
#import <Quick/QuickSpec.h>
|
|
12
|
-
#import <Quick/QCKDSL.h>
|
|
13
|
-
#import <Quick/QuickConfiguration.h>
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
#import <Foundation/Foundation.h>
|
|
2
|
-
|
|
3
|
-
@class Configuration;
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
Subclass QuickConfiguration and override the +[QuickConfiguration configure:]
|
|
7
|
-
method in order to configure how Quick behaves when running specs, or to define
|
|
8
|
-
shared examples that are used across spec files.
|
|
9
|
-
*/
|
|
10
|
-
@interface QuickConfiguration : NSObject
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
This method is executed on each subclass of this class before Quick runs
|
|
14
|
-
any examples. You may override this method on as many subclasses as you like, but
|
|
15
|
-
there is no guarantee as to the order in which these methods are executed.
|
|
16
|
-
|
|
17
|
-
You can override this method in order to:
|
|
18
|
-
|
|
19
|
-
1. Configure how Quick behaves, by modifying properties on the Configuration object.
|
|
20
|
-
Setting the same properties in several methods has undefined behavior.
|
|
21
|
-
|
|
22
|
-
2. Define shared examples using `sharedExamples`.
|
|
23
|
-
|
|
24
|
-
@param configuration A mutable object that is used to configure how Quick behaves on
|
|
25
|
-
a framework level. For details on all the options, see the
|
|
26
|
-
documentation in Configuration.swift.
|
|
27
|
-
*/
|
|
28
|
-
+ (void)configure:(Configuration *)configuration;
|
|
29
|
-
|
|
30
|
-
@end
|