├── .swift-version ├── Carthage └── Checkouts │ ├── Nimble │ ├── .swift-version │ ├── .hound.yml │ ├── Tests │ │ ├── .swiftlint.yml │ │ └── NimbleTests │ │ │ ├── Helpers │ │ │ └── ObjectWithLazyProperty.swift │ │ │ ├── LinuxSupport.swift │ │ │ ├── objc │ │ │ ├── ObjCSyncTest.m │ │ │ ├── ObjCBeNilTest.m │ │ │ ├── NimbleSpecHelper.h │ │ │ ├── ObjcStringersTest.m │ │ │ ├── ObjCMatchTest.m │ │ │ ├── ObjCBeginWithTest.m │ │ │ ├── ObjCBeKindOfTest.m │ │ │ └── ObjCEndWithTest.m │ │ │ ├── Matchers │ │ │ ├── BeNilTest.swift │ │ │ ├── BeVoidTest.swift │ │ │ └── ToSucceedTest.swift │ │ │ └── Info.plist │ ├── Dockerfile.test │ ├── Gemfile │ ├── Sources │ │ ├── NimbleObjectiveC │ │ │ ├── NMBStringify.m │ │ │ ├── CurrentTestCaseTracker.h │ │ │ ├── NMBExceptionCapture.h │ │ │ ├── NMBStringify.h │ │ │ └── NMBExceptionCapture.m │ │ └── Nimble │ │ │ ├── Nimble.h │ │ │ ├── Utils │ │ │ ├── Functional.swift │ │ │ └── SourceLocation.swift │ │ │ ├── Matchers │ │ │ ├── BeVoid.swift │ │ │ └── BeNil.swift │ │ │ ├── Adapters │ │ │ ├── AssertionDispatcher.swift │ │ │ ├── AdapterProtocols.swift │ │ │ └── NonObjectiveC │ │ │ │ └── ExceptionCapture.swift │ │ │ └── Info.plist │ ├── Nimble.xcodeproj │ │ └── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ ├── Package.swift │ ├── .swiftlint.yml │ ├── .gitignore │ ├── .github │ │ └── PULL_REQUEST_TEMPLATE │ └── .travis.yml │ ├── Quick │ ├── .swift-version │ ├── Externals │ │ └── Nimble │ │ │ ├── .swift-version │ │ │ ├── .hound.yml │ │ │ ├── Tests │ │ │ ├── .swiftlint.yml │ │ │ └── NimbleTests │ │ │ │ ├── Helpers │ │ │ │ └── ObjectWithLazyProperty.swift │ │ │ │ ├── LinuxSupport.swift │ │ │ │ ├── objc │ │ │ │ ├── ObjCSyncTest.m │ │ │ │ ├── ObjCBeNilTest.m │ │ │ │ ├── NimbleSpecHelper.h │ │ │ │ ├── ObjcStringersTest.m │ │ │ │ ├── ObjCMatchTest.m │ │ │ │ ├── ObjCBeKindOfTest.m │ │ │ │ └── ObjCBeginWithTest.m │ │ │ │ ├── Matchers │ │ │ │ ├── BeNilTest.swift │ │ │ │ ├── BeVoidTest.swift │ │ │ │ └── ToSucceedTest.swift │ │ │ │ └── Info.plist │ │ │ ├── Dockerfile.test │ │ │ ├── Gemfile │ │ │ ├── Sources │ │ │ ├── NimbleObjectiveC │ │ │ │ ├── NMBStringify.m │ │ │ │ ├── CurrentTestCaseTracker.h │ │ │ │ ├── NMBExceptionCapture.h │ │ │ │ ├── NMBStringify.h │ │ │ │ └── NMBExceptionCapture.m │ │ │ └── Nimble │ │ │ │ ├── Nimble.h │ │ │ │ ├── Utils │ │ │ │ ├── Functional.swift │ │ │ │ └── SourceLocation.swift │ │ │ │ ├── Matchers │ │ │ │ ├── BeVoid.swift │ │ │ │ └── BeNil.swift │ │ │ │ ├── Adapters │ │ │ │ ├── AssertionDispatcher.swift │ │ │ │ └── AdapterProtocols.swift │ │ │ │ └── Info.plist │ │ │ ├── Nimble.xcodeproj │ │ │ └── project.xcworkspace │ │ │ │ └── contents.xcworkspacedata │ │ │ ├── Package.swift │ │ │ ├── .swiftlint.yml │ │ │ ├── .gitignore │ │ │ ├── .github │ │ │ └── PULL_REQUEST_TEMPLATE │ │ │ └── .travis.yml │ ├── .hound.yml │ ├── script │ │ ├── travis-script-linux │ │ ├── travis-install-macos │ │ ├── travis-script-macos │ │ └── travis-install-linux │ ├── .gitmodules │ ├── Gemfile │ ├── Tests │ │ └── QuickTests │ │ │ ├── QuickTests │ │ │ ├── Helpers │ │ │ │ ├── QuickTestsBridgingHeader.h │ │ │ │ ├── QuickSpec+QuickSpec_MethodList.h │ │ │ │ ├── XCTestObservationCenter+QCKSuspendObservation.h │ │ │ │ ├── QCKSpecRunner.h │ │ │ │ ├── QuickSpec+QuickSpec_MethodList.m │ │ │ │ └── QCKSpecRunner.m │ │ │ ├── QuickConfigurationTests.m │ │ │ ├── FunctionalTests │ │ │ │ ├── Configuration │ │ │ │ │ ├── AfterEach │ │ │ │ │ │ └── Configuration+AfterEach.swift │ │ │ │ │ └── BeforeEach │ │ │ │ │ │ ├── Configuration+BeforeEach.swift │ │ │ │ │ │ └── Configuration+BeforeEachTests.swift │ │ │ │ ├── CrossReferencingSpecs.swift │ │ │ │ ├── ContextTests.swift │ │ │ │ ├── ObjC │ │ │ │ │ └── BeforeSuiteTests+ObjC.m │ │ │ │ └── BundleModuleNameTests.swift │ │ │ ├── Fixtures │ │ │ │ ├── FunctionalTests_BehaviorTests_Behaviors.swift │ │ │ │ └── FunctionalTests_SharedExamplesTests_SharedExamples.swift │ │ │ └── Info.plist │ │ │ ├── QuickTestHelpers │ │ │ ├── TestRun.swift │ │ │ └── SpecRunner.swift │ │ │ ├── QuickAfterSuiteTests │ │ │ ├── AfterSuiteTests+ObjC.m │ │ │ ├── AfterSuiteTests.swift │ │ │ └── Info.plist │ │ │ └── QuickFocusedTests │ │ │ └── Info.plist │ ├── Documentation │ │ ├── README.md │ │ ├── zh-cn │ │ │ ├── Troubleshooting.md │ │ │ ├── InstallingFileTemplates.md │ │ │ └── MoreResources.md │ │ ├── ja │ │ │ ├── Troubleshooting.md │ │ │ └── InstallingFileTemplates.md │ │ └── en-us │ │ │ ├── Troubleshooting.md │ │ │ └── InstallingFileTemplates.md │ ├── .swiftlint.yml │ ├── Quick Templates │ │ ├── Quick Spec Class.xctemplate │ │ │ ├── TemplateIcon.icns │ │ │ ├── Objective-C │ │ │ │ └── ___FILEBASENAME___.m │ │ │ └── Swift │ │ │ │ └── ___FILEBASENAME___.swift │ │ └── Quick Configuration Class.xctemplate │ │ │ ├── TemplateIcon.icns │ │ │ ├── Objective-C │ │ │ ├── ___FILEBASENAME___.h │ │ │ └── ___FILEBASENAME___.m │ │ │ └── Swift │ │ │ └── ___FILEBASENAME___.swift │ ├── Quick.xcodeproj │ │ └── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ ├── Sources │ │ ├── Quick │ │ │ ├── URL+FileName.swift │ │ │ ├── Hooks │ │ │ │ ├── HooksPhase.swift │ │ │ │ └── SuiteHooks.swift │ │ │ ├── ErrorUtility.swift │ │ │ ├── NSBundle+CurrentTestBundle.swift │ │ │ ├── Behavior.swift │ │ │ ├── Info.plist │ │ │ └── NSString+C99ExtendedIdentifier.swift │ │ ├── QuickObjectiveC │ │ │ ├── Quick.h │ │ │ └── World.h │ │ └── QuickSpecBase │ │ │ └── include │ │ │ └── QuickSpecBase.h │ ├── Quick.xcworkspace │ │ └── contents.xcworkspacedata │ └── .github │ │ └── PULL_REQUEST_TEMPLATE │ ├── Result │ ├── .swift-version │ ├── .gitignore │ ├── Tests │ │ ├── LinuxMain.swift │ │ └── ResultTests │ │ │ └── Info.plist │ ├── Package.swift │ ├── Result.xcodeproj │ │ └── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ ├── Result │ │ ├── Result.h │ │ └── Info.plist │ ├── Result.podspec │ ├── CONTRIBUTING.md │ └── LICENSE │ ├── Decodable │ ├── .swift-version │ ├── Tests │ │ ├── JSONExamples │ │ │ ├── NoJsonObject.json │ │ │ ├── MissingKey.json │ │ │ ├── TypeMismatch.json │ │ │ ├── Repository.json │ │ │ └── Vehicle.json │ │ ├── NSNullTests.swift │ │ └── Info.plist │ ├── Sources │ │ ├── Playground.playground │ │ │ ├── Contents.swift │ │ │ └── contents.xcplayground │ │ ├── Decodable.h │ │ ├── Info.plist │ │ └── RawRepresentableDecodable.swift │ ├── Package.swift │ ├── Decodable.xcodeproj │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ └── WorkspaceSettings.xcsettings │ │ └── xcshareddata │ │ │ └── xcbaselines │ │ │ ├── 8FE7B56B1B4C9FB900837609.xcbaseline │ │ │ ├── 73DA0DF5-ACA7-4948-824F-2F1739DC2034.plist │ │ │ └── 2B184EB9-20A6-44F1-BFA7-F9185332D574.plist │ │ │ └── 17FB80FF1B530FED0012F106.xcbaseline │ │ │ ├── 78C19493-4A8B-4FE0-88D6-957F92628060.plist │ │ │ └── Info.plist │ ├── Generator │ │ └── Templates │ │ │ ├── Header.swift │ │ │ └── Documentation.swift │ ├── .travis.yml │ ├── Decodable.podspec │ ├── .gitignore │ └── LICENSE │ └── OHHTTPStubs │ ├── OHHTTPStubs │ ├── UnitTests │ │ ├── Fixtures │ │ │ ├── emptyfile.json │ │ │ ├── empty.bundle │ │ │ │ └── nothingtoseehere.json │ │ │ ├── login.tail │ │ │ ├── login_content_type.tail │ │ │ ├── MocktailFolder │ │ │ │ ├── login.tail │ │ │ │ └── cards.tail │ │ │ ├── login_headers.tail │ │ │ └── login_content_type_and_headers.tail │ │ ├── UnitTests-Prefix.pch │ │ ├── Test Suites │ │ │ └── OHPathHelpersTests.m │ │ └── UnitTests-Info.plist │ ├── Pods │ │ ├── Headers │ │ │ ├── Private │ │ │ │ └── AFNetworking │ │ │ │ │ ├── AFNetworking.h │ │ │ │ │ ├── AFSecurityPolicy.h │ │ │ │ │ ├── AFHTTPSessionManager.h │ │ │ │ │ ├── AFImageDownloader.h │ │ │ │ │ ├── AFURLSessionManager.h │ │ │ │ │ ├── UIKit+AFNetworking.h │ │ │ │ │ ├── UIImage+AFNetworking.h │ │ │ │ │ ├── AFAutoPurgingImageCache.h │ │ │ │ │ ├── AFURLRequestSerialization.h │ │ │ │ │ ├── AFURLResponseSerialization.h │ │ │ │ │ ├── UIButton+AFNetworking.h │ │ │ │ │ ├── UIWebView+AFNetworking.h │ │ │ │ │ ├── AFNetworkReachabilityManager.h │ │ │ │ │ ├── UIImageView+AFNetworking.h │ │ │ │ │ ├── UIProgressView+AFNetworking.h │ │ │ │ │ ├── UIRefreshControl+AFNetworking.h │ │ │ │ │ ├── AFNetworkActivityIndicatorManager.h │ │ │ │ │ └── UIActivityIndicatorView+AFNetworking.h │ │ │ └── Public │ │ │ │ └── AFNetworking │ │ │ │ ├── AFNetworking.h │ │ │ │ ├── AFSecurityPolicy.h │ │ │ │ ├── AFURLSessionManager.h │ │ │ │ ├── AFHTTPSessionManager.h │ │ │ │ ├── AFImageDownloader.h │ │ │ │ ├── UIKit+AFNetworking.h │ │ │ │ ├── UIButton+AFNetworking.h │ │ │ │ ├── UIImage+AFNetworking.h │ │ │ │ ├── AFAutoPurgingImageCache.h │ │ │ │ ├── AFURLRequestSerialization.h │ │ │ │ ├── AFURLResponseSerialization.h │ │ │ │ ├── UIWebView+AFNetworking.h │ │ │ │ ├── AFNetworkReachabilityManager.h │ │ │ │ ├── UIImageView+AFNetworking.h │ │ │ │ ├── UIProgressView+AFNetworking.h │ │ │ │ ├── UIRefreshControl+AFNetworking.h │ │ │ │ ├── AFNetworkActivityIndicatorManager.h │ │ │ │ └── UIActivityIndicatorView+AFNetworking.h │ │ ├── Target Support Files │ │ │ ├── AFNetworking-iOS7.0 │ │ │ │ ├── AFNetworking-iOS7.0-dummy.m │ │ │ │ ├── AFNetworking-iOS7.0-prefix.pch │ │ │ │ └── AFNetworking-iOS7.0.xcconfig │ │ │ ├── AFNetworking-iOS8.0 │ │ │ │ ├── AFNetworking-iOS8.0-dummy.m │ │ │ │ ├── AFNetworking-iOS8.0-prefix.pch │ │ │ │ └── AFNetworking-iOS8.0.xcconfig │ │ │ ├── AFNetworking-tvOS9.0 │ │ │ │ ├── AFNetworking-tvOS9.0-dummy.m │ │ │ │ ├── AFNetworking-tvOS9.0-prefix.pch │ │ │ │ └── AFNetworking-tvOS9.0.xcconfig │ │ │ ├── Pods-TestingPods-OHHTTPStubs Mac Tests │ │ │ │ ├── Pods-TestingPods-OHHTTPStubs Mac Tests-dummy.m │ │ │ │ ├── Pods-TestingPods-OHHTTPStubs Mac Tests.debug.xcconfig │ │ │ │ └── Pods-TestingPods-OHHTTPStubs Mac Tests.release.xcconfig │ │ │ ├── Pods-TestingPods-OHHTTPStubs iOS Fmk Tests │ │ │ │ ├── Pods-TestingPods-OHHTTPStubs iOS Fmk Tests-dummy.m │ │ │ │ ├── Pods-TestingPods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig │ │ │ │ └── Pods-TestingPods-OHHTTPStubs iOS Fmk Tests.release.xcconfig │ │ │ ├── Pods-TestingPods-OHHTTPStubs iOS Lib Tests │ │ │ │ ├── Pods-TestingPods-OHHTTPStubs iOS Lib Tests-dummy.m │ │ │ │ ├── Pods-TestingPods-OHHTTPStubs iOS Lib Tests.debug.xcconfig │ │ │ │ └── Pods-TestingPods-OHHTTPStubs iOS Lib Tests.release.xcconfig │ │ │ ├── Pods-TestingPods-OHHTTPStubs tvOS Fmk Tests │ │ │ │ ├── Pods-TestingPods-OHHTTPStubs tvOS Fmk Tests-dummy.m │ │ │ │ ├── Pods-TestingPods-OHHTTPStubs tvOS Fmk Tests.debug.xcconfig │ │ │ │ └── Pods-TestingPods-OHHTTPStubs tvOS Fmk Tests.release.xcconfig │ │ │ └── AFNetworking.root-NSURLSession-Reachability-Security-Serialization │ │ │ │ ├── AFNetworking.root-NSURLSession-Reachability-Security-Serialization-dummy.m │ │ │ │ ├── AFNetworking.root-NSURLSession-Reachability-Security-Serialization-prefix.pch │ │ │ │ └── AFNetworking.root-NSURLSession-Reachability-Security-Serialization.xcconfig │ │ └── Manifest.lock │ ├── Supporting Files │ │ ├── module.modulemap │ │ ├── OHHTTPStubs Mac-Info.plist │ │ └── OHHTTPStubs iOS-Info.plist │ ├── OHHTTPStubs.xcodeproj │ │ └── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ ├── OHHTTPStubs.xcworkspace │ │ ├── xcshareddata │ │ │ └── WorkspaceSettings.xcsettings │ │ └── contents.xcworkspacedata │ ├── Podfile │ └── Podfile.lock │ ├── Examples │ ├── ObjC │ │ ├── Pods │ │ │ ├── Headers │ │ │ │ ├── Private │ │ │ │ │ └── OHHTTPStubs │ │ │ │ │ │ ├── OHHTTPStubs.h │ │ │ │ │ │ ├── Compatibility.h │ │ │ │ │ │ ├── OHHTTPStubsResponse.h │ │ │ │ │ │ ├── OHPathHelpers.h │ │ │ │ │ │ ├── OHHTTPStubsResponse+JSON.h │ │ │ │ │ │ ├── OHHTTPStubsMethodSwizzling.h │ │ │ │ │ │ └── NSURLRequest+HTTPBodyTesting.h │ │ │ │ └── Public │ │ │ │ │ └── OHHTTPStubs │ │ │ │ │ ├── OHHTTPStubs.h │ │ │ │ │ ├── Compatibility.h │ │ │ │ │ ├── OHHTTPStubsResponse.h │ │ │ │ │ ├── OHPathHelpers.h │ │ │ │ │ ├── OHHTTPStubsResponse+JSON.h │ │ │ │ │ └── NSURLRequest+HTTPBodyTesting.h │ │ │ ├── Target Support Files │ │ │ │ ├── OHHTTPStubs │ │ │ │ │ ├── OHHTTPStubs-dummy.m │ │ │ │ │ ├── OHHTTPStubs-prefix.pch │ │ │ │ │ └── OHHTTPStubs.xcconfig │ │ │ │ └── Pods-OHHTTPStubsDemo │ │ │ │ │ ├── Pods-OHHTTPStubsDemo-dummy.m │ │ │ │ │ ├── Pods-OHHTTPStubsDemo.debug.xcconfig │ │ │ │ │ └── Pods-OHHTTPStubsDemo.release.xcconfig │ │ │ └── Manifest.lock │ │ ├── Stubs │ │ │ ├── stub.jpg │ │ │ └── stub.txt │ │ ├── Supporting Files │ │ │ ├── Default-568h@2x.png │ │ │ ├── main.m │ │ │ └── OHHTTPStubsDemo-Prefix.pch │ │ ├── Podfile │ │ ├── OHHTTPStubsDemo.xcodeproj │ │ │ └── project.xcworkspace │ │ │ │ └── contents.xcworkspacedata │ │ ├── MainViewController.h │ │ ├── OHHTTPStubsDemo.xcworkspace │ │ │ └── contents.xcworkspacedata │ │ └── Podfile.lock │ └── Swift │ │ ├── Stubs │ │ ├── stub.jpg │ │ └── stub.txt │ │ ├── Supporting Files │ │ └── Default-568h@2x.png │ │ ├── Pods │ │ ├── Target Support Files │ │ │ ├── OHHTTPStubs │ │ │ │ ├── OHHTTPStubs.modulemap │ │ │ │ ├── OHHTTPStubs-dummy.m │ │ │ │ ├── OHHTTPStubs-prefix.pch │ │ │ │ ├── OHHTTPStubs-umbrella.h │ │ │ │ ├── OHHTTPStubs.xcconfig │ │ │ │ └── Info.plist │ │ │ └── Pods-OHHTTPStubsDemo │ │ │ │ ├── Pods-OHHTTPStubsDemo.modulemap │ │ │ │ ├── Pods-OHHTTPStubsDemo-dummy.m │ │ │ │ ├── Pods-OHHTTPStubsDemo-umbrella.h │ │ │ │ ├── Pods-OHHTTPStubsDemo.debug.xcconfig │ │ │ │ ├── Pods-OHHTTPStubsDemo.release.xcconfig │ │ │ │ └── Info.plist │ │ └── Manifest.lock │ │ ├── OHHTTPStubsDemo.xcodeproj │ │ └── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ │ ├── Podfile │ │ ├── OHHTTPStubsDemo.xcworkspace │ │ └── contents.xcworkspacedata │ │ ├── AppDelegate.swift │ │ └── Podfile.lock │ ├── .gitignore │ ├── .github │ └── PULL_REQUEST_TEMPLATE.md │ └── LICENSE ├── Cartfile ├── Assets └── gramophone.png ├── Cartfile.private ├── Tests ├── fixtures │ ├── relationships_requests.json │ ├── generic_success_response.json │ ├── relationships_followers.json │ ├── relationships_follows.json │ ├── relationship_incoming.json │ ├── tag.json │ ├── relationship_outgoing.json │ ├── relationship_both.json │ ├── location.json │ ├── users.json │ ├── user.json │ ├── likes.json │ └── comments.json └── Info.plist ├── Example └── GramophoneExample │ ├── GramophoneExample │ └── Assets.xcassets │ │ ├── Contents.json │ │ ├── Icon-App-20x20@1x.png │ │ ├── Icon-App-20x20@2x.png │ │ ├── Icon-App-20x20@3x.png │ │ ├── Icon-App-29x29@1x.png │ │ ├── Icon-App-29x29@2x.png │ │ ├── Icon-App-29x29@3x.png │ │ ├── Icon-App-40x40@1x.png │ │ ├── Icon-App-40x40@2x.png │ │ ├── Icon-App-40x40@3x.png │ │ ├── Icon-App-57x57@1x.png │ │ ├── Icon-App-57x57@2x.png │ │ ├── Icon-App-57x57@3x.png │ │ ├── Icon-App-60x60@1x.png │ │ ├── Icon-App-60x60@2x.png │ │ ├── Icon-App-60x60@3x.png │ │ ├── Icon-App-76x76@1x.png │ │ ├── Icon-App-76x76@2x.png │ │ ├── Icon-App-76x76@3x.png │ │ ├── Icon-App-83.5x83.5@2x.png │ │ └── AppIcon.appiconset │ │ ├── Icon-App-20x20@1x.png │ │ ├── Icon-App-20x20@2x.png │ │ ├── Icon-App-20x20@3x.png │ │ ├── Icon-App-29x29@1x.png │ │ ├── Icon-App-29x29@2x.png │ │ ├── Icon-App-29x29@3x.png │ │ ├── Icon-App-40x40@1x.png │ │ ├── Icon-App-40x40@2x.png │ │ ├── Icon-App-40x40@3x.png │ │ ├── Icon-App-57x57@1x.png │ │ ├── Icon-App-57x57@2x.png │ │ ├── Icon-App-60x60@2x.png │ │ ├── Icon-App-60x60@3x.png │ │ ├── Icon-App-76x76@1x.png │ │ ├── Icon-App-76x76@2x.png │ │ └── Icon-App-83.5x83.5@2x.png │ └── GramophoneExample.xcodeproj │ └── project.xcworkspace │ └── contents.xcworkspacedata ├── Cartfile.resolved ├── Gramophone.xcodeproj └── project.xcworkspace │ └── contents.xcworkspacedata ├── CHANGELOG.md ├── Gramophone.podspec ├── Source └── Info.plist └── LICENSE /.swift-version: -------------------------------------------------------------------------------- 1 | 4.0 2 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/.swift-version: -------------------------------------------------------------------------------- 1 | 3.0 2 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/.swift-version: -------------------------------------------------------------------------------- 1 | 3.1 2 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Result/.swift-version: -------------------------------------------------------------------------------- 1 | 3.0 2 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/.swift-version: -------------------------------------------------------------------------------- 1 | 4.0 2 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/.swift-version: -------------------------------------------------------------------------------- 1 | 3.0 2 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Tests/JSONExamples/NoJsonObject.json: -------------------------------------------------------------------------------- 1 | "id" -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/emptyfile.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/.hound.yml: -------------------------------------------------------------------------------- 1 | swift: 2 | config_file: .swiftlint.yml 3 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/.hound.yml: -------------------------------------------------------------------------------- 1 | swift: 2 | config_file: .swiftlint.yml 3 | -------------------------------------------------------------------------------- /Cartfile: -------------------------------------------------------------------------------- 1 | github "anviking/Decodable" == 0.6 2 | github "antitypical/Result" ~> 3.2 3 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Tests/.swiftlint.yml: -------------------------------------------------------------------------------- 1 | disabled_rules: 2 | - line_length 3 | -------------------------------------------------------------------------------- /Assets/gramophone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Assets/gramophone.png -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/empty.bundle/nothingtoseehere.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Dockerfile.test: -------------------------------------------------------------------------------- 1 | FROM swift:latest 2 | COPY . . 3 | CMD ./test swiftpm 4 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/.hound.yml: -------------------------------------------------------------------------------- 1 | swift: 2 | config_file: .swiftlint.yml 3 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Tests/.swiftlint.yml: -------------------------------------------------------------------------------- 1 | disabled_rules: 2 | - line_length 3 | -------------------------------------------------------------------------------- /Cartfile.private: -------------------------------------------------------------------------------- 1 | github "Quick/Quick" 2 | github "Quick/Nimble" 3 | github "AliSoftware/OHHTTPStubs" 4 | -------------------------------------------------------------------------------- /Tests/fixtures/relationships_requests.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": [], 3 | "meta": { 4 | "code": 200 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Dockerfile.test: -------------------------------------------------------------------------------- 1 | FROM swift:latest 2 | COPY . . 3 | CMD ./test swiftpm 4 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/script/travis-script-linux: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | . ~/.swiftenv/init 4 | rake test:swiftpm 5 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Gemfile: -------------------------------------------------------------------------------- 1 | # A sample Gemfile 2 | source "https://rubygems.org" 3 | 4 | gem 'cocoapods', '1.2.0' 5 | -------------------------------------------------------------------------------- /Tests/fixtures/generic_success_response.json: -------------------------------------------------------------------------------- 1 | { 2 | "meta": { 3 | "code": 200 4 | }, 5 | "data": null 6 | } 7 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/script/travis-install-macos: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | set -e 3 | 4 | git submodule update --init --recursive 5 | -------------------------------------------------------------------------------- /Tests/fixtures/relationships_followers.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": {}, 3 | "data": [], 4 | "meta": { 5 | "code": 200 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubs.h: -------------------------------------------------------------------------------- 1 | ../../../../../../OHHTTPStubs/Sources/OHHTTPStubs.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubs.h: -------------------------------------------------------------------------------- 1 | ../../../../../../OHHTTPStubs/Sources/OHHTTPStubs.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFNetworking.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFNetworking.h -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Gemfile: -------------------------------------------------------------------------------- 1 | # A sample Gemfile 2 | source "https://rubygems.org" 3 | 4 | gem 'cocoapods', '1.2.0' 5 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Sources/Playground.playground/Contents.swift: -------------------------------------------------------------------------------- 1 | //: Playground - noun: a place where people can play 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/Compatibility.h: -------------------------------------------------------------------------------- 1 | ../../../../../../OHHTTPStubs/Sources/Compatibility.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/Compatibility.h: -------------------------------------------------------------------------------- 1 | ../../../../../../OHHTTPStubs/Sources/Compatibility.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFSecurityPolicy.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFSecurityPolicy.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFSecurityPolicy.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFSecurityPolicy.h -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "Externals/Nimble"] 2 | path = Externals/Nimble 3 | url = https://github.com/Quick/Nimble.git 4 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLSessionManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLSessionManager.h -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Gemfile: -------------------------------------------------------------------------------- 1 | source "https://rubygems.org" 2 | 3 | gem 'cocoapods', '~> 1.1.0.rc.2' 4 | gem 'danger' 5 | gem 'danger-swiftlint' 6 | -------------------------------------------------------------------------------- /Tests/fixtures/relationships_follows.json: -------------------------------------------------------------------------------- 1 | { 2 | "pagination": {}, 3 | "data": [], 4 | "meta": { 5 | "code": 200 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse.h: -------------------------------------------------------------------------------- 1 | ../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse.h: -------------------------------------------------------------------------------- 1 | ../../../../../../OHHTTPStubs/Sources/OHHTTPStubsResponse.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFHTTPSessionManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFHTTPSessionManager.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFImageDownloader.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFImageDownloader.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLSessionManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLSessionManager.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIKit+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFHTTPSessionManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFHTTPSessionManager.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFImageDownloader.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFImageDownloader.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIKit+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIKit+AFNetworking.h -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Tests/fixtures/relationship_incoming.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": { 3 | "incoming_status": "followed_by" 4 | }, 5 | "meta": { 6 | "code": 200 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Package.swift: -------------------------------------------------------------------------------- 1 | import PackageDescription 2 | 3 | let package = Package( 4 | name: "Decodable", 5 | exclude: [ "Tests" ] 6 | ) 7 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHPathHelpers.h: -------------------------------------------------------------------------------- 1 | ../../../../../../OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHPathHelpers.h: -------------------------------------------------------------------------------- 1 | ../../../../../../OHHTTPStubs/Sources/OHPathHelpers/OHPathHelpers.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIImage+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIImage+AFNetworking.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIButton+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIImage+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIImage+AFNetworking.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFAutoPurgingImageCache.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFAutoPurgingImageCache.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLRequestSerialization.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLRequestSerialization.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFURLResponseSerialization.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLResponseSerialization.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIButton+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIButton+AFNetworking.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIWebView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFAutoPurgingImageCache.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFAutoPurgingImageCache.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLRequestSerialization.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLRequestSerialization.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFURLResponseSerialization.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFURLResponseSerialization.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIWebView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIWebView+AFNetworking.h -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTests/Helpers/QuickTestsBridgingHeader.h: -------------------------------------------------------------------------------- 1 | #import "QCKSpecRunner.h" 2 | #import "QuickSpec+QuickSpec_MethodList.h" 3 | -------------------------------------------------------------------------------- /Tests/fixtures/tag.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": { 3 | "name": "master_shots", 4 | "media_count": 2371905 5 | }, 6 | "meta": { 7 | "code": 200 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsResponse+JSON.h: -------------------------------------------------------------------------------- 1 | ../../../../../../OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/OHHTTPStubsResponse+JSON.h: -------------------------------------------------------------------------------- 1 | ../../../../../../OHHTTPStubs/Sources/JSON/OHHTTPStubsResponse+JSON.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Stubs/stub.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Stubs/stub.jpg -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Stubs/stub.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Stubs/stub.jpg -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkReachabilityManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFNetworkReachabilityManager.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIImageView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkReachabilityManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/AFNetworking/AFNetworkReachabilityManager.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIImageView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIImageView+AFNetworking.h -------------------------------------------------------------------------------- /Carthage/Checkouts/Result/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | xcuserdata 3 | *.xcuserdatad 4 | *.xccheckout 5 | *.mode* 6 | *.pbxuser 7 | 8 | Carthage/Build 9 | .build 10 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIProgressView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIProgressView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIProgressView+AFNetworking.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIRefreshControl+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIRefreshControl+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIRefreshControl+AFNetworking.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/OHHTTPStubsMethodSwizzling.h: -------------------------------------------------------------------------------- 1 | ../../../../../../OHHTTPStubs/Sources/NSURLSession/OHHTTPStubsMethodSwizzling.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Headers/Public/OHHTTPStubs/NSURLRequest+HTTPBodyTesting.h: -------------------------------------------------------------------------------- 1 | ../../../../../../OHHTTPStubs/Sources/NSURLSession/NSURLRequest+HTTPBodyTesting.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/AFNetworkActivityIndicatorManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/AFNetworkActivityIndicatorManager.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/AFNetworkActivityIndicatorManager.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Headers/Private/OHHTTPStubs/NSURLRequest+HTTPBodyTesting.h: -------------------------------------------------------------------------------- 1 | ../../../../../../OHHTTPStubs/Sources/NSURLSession/NSURLRequest+HTTPBodyTesting.h -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Public/AFNetworking/UIActivityIndicatorView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Documentation/README.md: -------------------------------------------------------------------------------- 1 | # Documentation 2 | 3 | - [English](en-us/README.md) 4 | - [日本語](ja/README.md) 5 | - [中文](zh-cn/README.md) 6 | - [pt-br](pt-br/README.md) 7 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Headers/Private/AFNetworking/UIActivityIndicatorView+AFNetworking.h: -------------------------------------------------------------------------------- 1 | ../../../AFNetworking/UIKit+AFNetworking/UIActivityIndicatorView+AFNetworking.h -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/.swiftlint.yml: -------------------------------------------------------------------------------- 1 | disabled_rules: 2 | - line_length 3 | - type_name 4 | - function_body_length 5 | - identifier_name 6 | included: 7 | - Sources 8 | - Tests 9 | -------------------------------------------------------------------------------- /Tests/fixtures/relationship_outgoing.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": { 3 | "outgoing_status": "none", 4 | "target_user_is_private": false 5 | }, 6 | "meta": { 7 | "code": 200 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Result/Tests/LinuxMain.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | 3 | @testable import ResultTests 4 | 5 | XCTMain([ 6 | testCase(ResultTests.allTests), 7 | testCase(NoErrorTests.allTests), 8 | ]) 9 | -------------------------------------------------------------------------------- /Cartfile.resolved: -------------------------------------------------------------------------------- 1 | github "AliSoftware/OHHTTPStubs" "6.0.0" 2 | github "Quick/Nimble" "v7.0.2" 3 | github "Quick/Quick" "v1.2.0" 4 | github "antitypical/Result" "3.2.4" 5 | github "anviking/Decodable" "0.6.0" 6 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Supporting Files/module.modulemap: -------------------------------------------------------------------------------- 1 | framework module OHHTTPStubs { 2 | umbrella header "OHHTTPStubsUmbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Supporting Files/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Supporting Files/Default-568h@2x.png -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Supporting Files/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Supporting Files/Default-568h@2x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-57x57@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-57x57@1x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-57x57@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-57x57@2x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-57x57@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-57x57@3x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-60x60@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-60x60@1x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-76x76@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-76x76@3x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Quick Templates/Quick Spec Class.xctemplate/TemplateIcon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Carthage/Checkouts/Quick/Quick Templates/Quick Spec Class.xctemplate/TemplateIcon.icns -------------------------------------------------------------------------------- /Tests/fixtures/relationship_both.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": { 3 | "outgoing_status": "follows", 4 | "incoming_status": "none", 5 | "target_user_is_private": false 6 | }, 7 | "meta": { 8 | "code": 200 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/login.tail: -------------------------------------------------------------------------------- 1 | GET|POST 2 | .*/users 3 | 200 4 | application/json 5 | 6 | { 7 | "user_id": "happyuser1", 8 | "user_token": "happytoken", 9 | "status": "SUCCESS" 10 | } -------------------------------------------------------------------------------- /Carthage/Checkouts/Result/Package.swift: -------------------------------------------------------------------------------- 1 | import PackageDescription 2 | 3 | let package = Package( 4 | name: "Result", 5 | targets: [ 6 | Target( 7 | name: "Result" 8 | ) 9 | ] 10 | ) 11 | -------------------------------------------------------------------------------- /Tests/fixtures/location.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": { 3 | "id": "44961364", 4 | "name": "San Francisco, California", 5 | "latitude": 37.775, 6 | "longitude": -122.418 7 | }, 8 | "meta": { 9 | "code": 200 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.modulemap: -------------------------------------------------------------------------------- 1 | framework module OHHTTPStubs { 2 | umbrella header "OHHTTPStubs-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Quick Templates/Quick Configuration Class.xctemplate/TemplateIcon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Carthage/Checkouts/Quick/Quick Templates/Quick Configuration Class.xctemplate/TemplateIcon.icns -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_OHHTTPStubs : NSObject 3 | @end 4 | @implementation PodsDummy_OHHTTPStubs 5 | @end 6 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/script/travis-script-macos: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | if [ "$PODSPEC" ]; then 4 | TASK="podspec:lint" 5 | else 6 | TASK="test:$PLATFORM" 7 | fi 8 | 9 | echo "Executing rake task: $TASK" 10 | rake "$TASK" 11 | -------------------------------------------------------------------------------- /Gramophone.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Sources/NimbleObjectiveC/NMBStringify.m: -------------------------------------------------------------------------------- 1 | #import "NMBStringify.h" 2 | #import 3 | 4 | NSString *_Nonnull NMBStringify(id _Nullable anyObject) { 5 | return [NMBStringer stringify:anyObject]; 6 | } 7 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_OHHTTPStubs : NSObject 3 | @end 4 | @implementation PodsDummy_OHHTTPStubs 5 | @end 6 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/login_content_type.tail: -------------------------------------------------------------------------------- 1 | GET|POST 2 | .*/users 3 | 200 4 | application/json 5 | 6 | { 7 | "user_id": "happyuser1", 8 | "user_token": "happytoken", 9 | "status": "SUCCESS" 10 | } -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Sources/Playground.playground/contents.xcplayground: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/MocktailFolder/login.tail: -------------------------------------------------------------------------------- 1 | GET|POST 2 | .*/users 3 | 200 4 | application/json 5 | 6 | 7 | { 8 | "user_id": "happyuser1", 9 | "user_token": "happytoken", 10 | "status": "SUCCESS" 11 | } -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Podfile: -------------------------------------------------------------------------------- 1 | source 'https://github.com/CocoaPods/Specs.git' 2 | 3 | project 'OHHTTPStubsDemo.xcodeproj' 4 | platform :ios, '6.0' 5 | 6 | target 'OHHTTPStubsDemo' do 7 | pod 'OHHTTPStubs', :path => '../..' 8 | end 9 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Quick.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jverdi/Gramophone/HEAD/Example/GramophoneExample/GramophoneExample/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Nimble.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Tests/NimbleTests/Helpers/ObjectWithLazyProperty.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | class ObjectWithLazyProperty { 4 | init() {} 5 | lazy var value: String = "hello" 6 | lazy var anotherValue: String = { return "world" }() 7 | } 8 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Result/Result.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Sources/NimbleObjectiveC/NMBStringify.m: -------------------------------------------------------------------------------- 1 | #import "NMBStringify.h" 2 | #import 3 | 4 | NSString *_Nonnull NMBStringify(id _Nullable anyObject) { 5 | return [NMBStringer stringify:anyObject]; 6 | } 7 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Decodable.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Tests/NimbleTests/LinuxSupport.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | #if os(Linux) 4 | extension NSNotification.Name { 5 | init(_ rawValue: String) { 6 | self.init(rawValue: rawValue) 7 | } 8 | } 9 | #endif 10 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubsDemo/Pods-OHHTTPStubsDemo.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_OHHTTPStubsDemo { 2 | umbrella header "Pods-OHHTTPStubsDemo-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/AFNetworking-iOS7.0/AFNetworking-iOS7.0-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AFNetworking_iOS7_0 : NSObject 3 | @end 4 | @implementation PodsDummy_AFNetworking_iOS7_0 5 | @end 6 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/AFNetworking-iOS8.0/AFNetworking-iOS8.0-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AFNetworking_iOS8_0 : NSObject 3 | @end 4 | @implementation PodsDummy_AFNetworking_iOS8_0 5 | @end 6 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/AFNetworking-tvOS9.0/AFNetworking-tvOS9.0-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AFNetworking_tvOS9_0 : NSObject 3 | @end 4 | @implementation PodsDummy_AFNetworking_tvOS9_0 5 | @end 6 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/login_headers.tail: -------------------------------------------------------------------------------- 1 | GET|POST 2 | .*/users 3 | 200 4 | Content-Type: application/json 5 | Connection: Close 6 | 7 | { 8 | "user_id": "happyuser1", 9 | "user_token": "happytoken", 10 | "status": "SUCCESS" 11 | } -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Nimble.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # CHANGELOG 2 | 3 | The changelog for `Gramophone`. See [releases](https://github.com/jverdi/Gramophone/releases) on GitHub. 4 | 5 | 1.1 6 | ----- 7 | 8 | ### Enhancements 9 | 10 | Updated for Swift 4 11 | 12 | 1.0 13 | ----- 14 | 15 | Initial release 16 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubsDemo/Pods-OHHTTPStubsDemo-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_OHHTTPStubsDemo : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_OHHTTPStubsDemo 5 | @end 6 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubsDemo/Pods-OHHTTPStubsDemo-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_OHHTTPStubsDemo : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_OHHTTPStubsDemo 5 | @end 6 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/login_content_type_and_headers.tail: -------------------------------------------------------------------------------- 1 | GET|POST 2 | .*/users 3 | 200 4 | application/json 5 | Connection: Close 6 | 7 | { 8 | "user_id": "happyuser1", 9 | "user_token": "happytoken", 10 | "status": "SUCCESS" 11 | } -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'OHHTTPStubs Unit Tests' target in the 'OHHTTPStubs Unit Tests' project 3 | // 4 | 5 | #ifdef __OBJC__ 6 | #import 7 | #endif 8 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Tests/NimbleTests/Helpers/ObjectWithLazyProperty.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | class ObjectWithLazyProperty { 4 | init() {} 5 | lazy var value: String = "hello" 6 | lazy var anotherValue: String = { return "world" }() 7 | } 8 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/script/travis-install-linux: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | # See: https://github.com/kylef/swiftenv/wiki/Travis-CI 5 | curl -sL https://gist.github.com/kylef/5c0475ff02b7c7671d2a/raw/621ef9b29bbb852fdfd2e10ed147b321d792c1e4/swiftenv-install.sh | bash 6 | -------------------------------------------------------------------------------- /Example/GramophoneExample/GramophoneExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Tests/NimbleTests/LinuxSupport.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | #if os(Linux) 4 | extension NSNotification.Name { 5 | init(_ rawValue: String) { 6 | self.init(rawValue: rawValue) 7 | } 8 | } 9 | #endif 10 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Result/Result/Result.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015 Rob Rix. All rights reserved. 2 | 3 | /// Project version number for Result. 4 | extern double ResultVersionNumber; 5 | 6 | /// Project version string for Result. 7 | extern const unsigned char ResultVersionString[]; 8 | 9 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Decodable.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTests/Helpers/QuickSpec+QuickSpec_MethodList.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | NS_ASSUME_NONNULL_BEGIN 4 | 5 | @interface QuickSpec (QuickSpec_MethodList) 6 | 7 | + (NSSet *)allSelectors; 8 | 9 | @end 10 | 11 | NS_ASSUME_NONNULL_END 12 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Package.swift: -------------------------------------------------------------------------------- 1 | // swift-tools-version:3.0 2 | 3 | import PackageDescription 4 | 5 | let package = Package( 6 | name: "Nimble", 7 | exclude: [ 8 | "Sources/Lib", 9 | "Sources/NimbleObjectiveC", 10 | "Tests/NimbleTests/objc", 11 | ] 12 | ) 13 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Sources/Quick/URL+FileName.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | extension URL { 4 | 5 | /** 6 | Returns the path file name without file extension. 7 | */ 8 | var fileName: String { 9 | return self.deletingPathExtension().lastPathComponent 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Package.swift: -------------------------------------------------------------------------------- 1 | // swift-tools-version:3.0 2 | 3 | import PackageDescription 4 | 5 | let package = Package( 6 | name: "Nimble", 7 | exclude: [ 8 | "Sources/Lib", 9 | "Sources/NimbleObjectiveC", 10 | "Tests/NimbleTests/objc", 11 | ] 12 | ) 13 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Generator/Templates/Header.swift: -------------------------------------------------------------------------------- 1 | // 2 | // {filename} 3 | // Decodable 4 | // 5 | // Generated automatically by {by} as a build phase. 6 | // Copyright © 2016 anviking. All rights reserved. 7 | // 8 | 9 | // {count} overloads were generated with the following return types: 10 | // {overloads} 11 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Podfile: -------------------------------------------------------------------------------- 1 | source 'https://github.com/CocoaPods/Specs.git' 2 | 3 | project 'OHHTTPStubsDemo.xcodeproj' 4 | platform :ios, '8.0' 5 | use_frameworks! 6 | 7 | target 'OHHTTPStubsDemo' do 8 | pod 'OHHTTPStubs', :path => '../..' 9 | pod 'OHHTTPStubs/Swift', :path => '../..' 10 | end 11 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Sources/Nimble/Nimble.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import "NMBExceptionCapture.h" 3 | #import "NMBStringify.h" 4 | #import "DSL.h" 5 | 6 | #import "CwlPreconditionTesting.h" 7 | 8 | FOUNDATION_EXPORT double NimbleVersionNumber; 9 | FOUNDATION_EXPORT const unsigned char NimbleVersionString[]; 10 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-TestingPods-OHHTTPStubs Mac Tests/Pods-TestingPods-OHHTTPStubs Mac Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_TestingPods_OHHTTPStubs_Mac_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_TestingPods_OHHTTPStubs_Mac_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Quick.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Generator/Templates/Documentation.swift: -------------------------------------------------------------------------------- 1 | /// Retrieves the object at `path` from `json` and decodes it according to the return type 2 | /// 3 | /// - parameter json: An object from NSJSONSerialization, preferably a `NSDictionary`. 4 | /// - parameter path: {path} 5 | /// - throws: {throws} 6 | /// - returns: {returns} 7 | /// 8 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Sources/Nimble/Nimble.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import "NMBExceptionCapture.h" 3 | #import "NMBStringify.h" 4 | #import "DSL.h" 5 | 6 | #import "CwlPreconditionTesting.h" 7 | 8 | FOUNDATION_EXPORT double NimbleVersionNumber; 9 | FOUNDATION_EXPORT const unsigned char NimbleVersionString[]; 10 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Sources/Nimble/Utils/Functional.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | extension Sequence { 4 | internal func all(_ fn: (Iterator.Element) -> Bool) -> Bool { 5 | for item in self { 6 | if !fn(item) { 7 | return false 8 | } 9 | } 10 | return true 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/MainViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // MainViewController.h 3 | // OHHTTPStubsDemo 4 | // 5 | // Created by Olivier Halligon on 11/08/12. 6 | // Copyright (c) 2012 AliSoftware. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface MainViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTestHelpers/TestRun.swift: -------------------------------------------------------------------------------- 1 | public struct TestRun { 2 | public var executionCount: UInt 3 | public var hasSucceeded: Bool 4 | 5 | public init(executionCount: UInt, hasSucceeded: Bool) { 6 | self.executionCount = executionCount 7 | self.hasSucceeded = hasSucceeded 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-TestingPods-OHHTTPStubs iOS Fmk Tests/Pods-TestingPods-OHHTTPStubs iOS Fmk Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_TestingPods_OHHTTPStubs_iOS_Fmk_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_TestingPods_OHHTTPStubs_iOS_Fmk_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-TestingPods-OHHTTPStubs iOS Lib Tests/Pods-TestingPods-OHHTTPStubs iOS Lib Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_TestingPods_OHHTTPStubs_iOS_Lib_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_TestingPods_OHHTTPStubs_iOS_Lib_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | build/ 3 | *.pbxuser 4 | !default.pbxuser 5 | *.mode1v3 6 | !default.mode1v3 7 | *.mode2v3 8 | !default.mode2v3 9 | *.perspectivev3 10 | !default.perspectivev3 11 | xcuserdata 12 | profile 13 | *.moved-aside 14 | .DS_Store 15 | *.xccheckout 16 | 17 | # Carthage 18 | Carthage/ 19 | OHHTTPStubs.framework.zip 20 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-TestingPods-OHHTTPStubs tvOS Fmk Tests/Pods-TestingPods-OHHTTPStubs tvOS Fmk Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_TestingPods_OHHTTPStubs_tvOS_Fmk_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_TestingPods_OHHTTPStubs_tvOS_Fmk_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/OHHTTPStubsDemo.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Sources/Nimble/Utils/Functional.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | extension Sequence { 4 | internal func all(_ fn: (Iterator.Element) -> Bool) -> Bool { 5 | for item in self { 6 | if !fn(item) { 7 | return false 8 | } 9 | } 10 | return true 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Quick Templates/Quick Configuration Class.xctemplate/Objective-C/___FILEBASENAME___.h: -------------------------------------------------------------------------------- 1 | // 2 | // ___FILENAME___ 3 | // ___PROJECTNAME___ 4 | // 5 | // Created by ___FULLUSERNAME___ on ___DATE___. 6 | //___COPYRIGHT___ 7 | // 8 | 9 | @import Quick; 10 | 11 | @interface ___FILEBASENAMEASIDENTIFIER___ : QuickConfiguration 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/.swiftlint.yml: -------------------------------------------------------------------------------- 1 | disabled_rules: 2 | - todo 3 | - variable_name 4 | - force_try 5 | - force_cast 6 | 7 | included: 8 | - Sources 9 | - Tests 10 | 11 | excluded: 12 | - Sources/Lib 13 | 14 | trailing_comma: 15 | mandatory_comma: true 16 | 17 | line_length: 18 | ignores_comments: true 19 | ignores_function_declarations: true 20 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Sources/Quick/Hooks/HooksPhase.swift: -------------------------------------------------------------------------------- 1 | /** 2 | A description of the execution cycle of the current example with 3 | respect to the hooks of that example. 4 | */ 5 | internal enum HooksPhase { 6 | case nothingExecuted 7 | case beforesExecuting 8 | case beforesFinished 9 | case aftersExecuting 10 | case aftersFinished 11 | } 12 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Tests/JSONExamples/MissingKey.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Decodable", 3 | "description": "Decodable", 4 | "html_url": "https://github.com/Anviking/Decodable", 5 | "owner": { 6 | "id": 23, 7 | "login": "fjbelchi" 8 | }, 9 | "coverage": 90.9, 10 | "files": ["file1", "file2", "file3"], 11 | "optional": null 12 | } -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Sources/NimbleObjectiveC/CurrentTestCaseTracker.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | SWIFT_CLASS("_TtC6Nimble22CurrentTestCaseTracker") 5 | @interface CurrentTestCaseTracker : NSObject 6 | + (CurrentTestCaseTracker *)sharedInstance; 7 | @end 8 | 9 | @interface CurrentTestCaseTracker (Register) @end 10 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/.swiftlint.yml: -------------------------------------------------------------------------------- 1 | disabled_rules: 2 | - todo 3 | - variable_name 4 | - force_try 5 | - force_cast 6 | 7 | included: 8 | - Sources 9 | - Tests 10 | 11 | excluded: 12 | - Sources/Lib 13 | 14 | trailing_comma: 15 | mandatory_comma: true 16 | 17 | line_length: 18 | ignores_comments: true 19 | ignores_function_declarations: true 20 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Quick Templates/Quick Spec Class.xctemplate/Objective-C/___FILEBASENAME___.m: -------------------------------------------------------------------------------- 1 | // 2 | // ___FILENAME___ 3 | // ___PROJECTNAME___ 4 | // 5 | // Created by ___FULLUSERNAME___ on ___DATE___. 6 | //___COPYRIGHT___ 7 | // 8 | 9 | #import 10 | #import 11 | 12 | QuickSpecBegin(___FILEBASENAMEASIDENTIFIER___) 13 | 14 | QuickSpecEnd 15 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Sources/QuickObjectiveC/Quick.h: -------------------------------------------------------------------------------- 1 | #import 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 | #import "QuickSpec.h" 10 | #import "QCKDSL.h" 11 | #import "QuickConfiguration.h" 12 | -------------------------------------------------------------------------------- /Tests/fixtures/users.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": [{ 3 | "id": "989545", 4 | "username": "jverdi", 5 | "profile_picture": "https://scontent.cdninstagram.com/t51.2885-19/11249876_446198148894593_1426023307_a.jpg", 6 | "full_name": "Jared Verdi", 7 | "bio": "behance mobile @ adobe \ud83d\udcf7 sony a7r ii", 8 | "website": "" 9 | }], 10 | "meta": { 11 | "code": 200 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Tests/JSONExamples/TypeMismatch.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "23", 3 | "name": "Decodable", 4 | "description": "Decodable", 5 | "html_url": "https://github.com/Anviking/Decodable", 6 | "owner": { 7 | "id": 23, 8 | "login": "fjbelchi" 9 | }, 10 | "coverage": 90.9, 11 | "files": ["file1", "file2", "file3"], 12 | "optional": null 13 | } -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Sources/NimbleObjectiveC/CurrentTestCaseTracker.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | SWIFT_CLASS("_TtC6Nimble22CurrentTestCaseTracker") 5 | @interface CurrentTestCaseTracker : NSObject 6 | + (CurrentTestCaseTracker *)sharedInstance; 7 | @end 8 | 9 | @interface CurrentTestCaseTracker (Register) @end 10 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Quick Templates/Quick Spec Class.xctemplate/Swift/___FILEBASENAME___.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ___FILENAME___ 3 | // ___PROJECTNAME___ 4 | // 5 | // Created by ___FULLUSERNAME___ on ___DATE___. 6 | //___COPYRIGHT___ 7 | // 8 | 9 | import Quick 10 | import Nimble 11 | 12 | class ___FILEBASENAMEASIDENTIFIER___: QuickSpec { 13 | override func spec() { 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/AFNetworking-iOS7.0/AFNetworking-iOS7.0-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #ifndef TARGET_OS_IOS 6 | #define TARGET_OS_IOS TARGET_OS_IPHONE 7 | #endif 8 | 9 | #ifndef TARGET_OS_WATCH 10 | #define TARGET_OS_WATCH 0 11 | #endif 12 | 13 | #ifndef TARGET_OS_TV 14 | #define TARGET_OS_TV 0 15 | #endif 16 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/AFNetworking-iOS8.0/AFNetworking-iOS8.0-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #ifndef TARGET_OS_IOS 6 | #define TARGET_OS_IOS TARGET_OS_IPHONE 7 | #endif 8 | 9 | #ifndef TARGET_OS_WATCH 10 | #define TARGET_OS_WATCH 0 11 | #endif 12 | 13 | #ifndef TARGET_OS_TV 14 | #define TARGET_OS_TV 0 15 | #endif 16 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Documentation/zh-cn/Troubleshooting.md: -------------------------------------------------------------------------------- 1 | # 常见的安装问题 2 | 3 | 这里有一些解决方案,用来处理使用框架时遇到的一些问题。 4 | 5 | ## No such module 'Quick' 6 | 7 | - 如果你已经运行了 `pod install` ,那么关闭并重新打开 Xcode workspace 。如果这样做还没解决问题,那么请接着进行下面的步骤。 8 | - 删除 `~/Library/Developer/Xcode/DerivedData` **整个**目录,这里面包含了 `ModuleCache` 。 9 | - 在 Manage Schemes 对话框中,勾选 `Quick` 、`Nimble` 、`Pods-ProjectnameTests` ,然后重新编译它们(`Cmd+B`)。 10 | 11 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTests/QuickConfigurationTests.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface QuickConfigurationTests : XCTestCase; @end 5 | 6 | @implementation QuickConfigurationTests 7 | 8 | - (void)testInitThrows { 9 | XCTAssertThrowsSpecificNamed([QuickConfiguration new], NSException, NSInternalInconsistencyException); 10 | } 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/AFNetworking-tvOS9.0/AFNetworking-tvOS9.0-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #ifndef TARGET_OS_IOS 6 | #define TARGET_OS_IOS TARGET_OS_IPHONE 7 | #endif 8 | 9 | #ifndef TARGET_OS_WATCH 10 | #define TARGET_OS_WATCH 0 11 | #endif 12 | 13 | #ifndef TARGET_OS_TV 14 | #define TARGET_OS_TV 0 15 | #endif 16 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Sources/QuickSpecBase/include/QuickSpecBase.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface _QuickSelectorWrapper : NSObject 5 | - (instancetype)initWithSelector:(SEL)selector; 6 | @end 7 | 8 | @interface _QuickSpecBase : XCTestCase 9 | + (NSArray<_QuickSelectorWrapper *> *)_qck_testMethodSelectors; 10 | - (instancetype)init NS_DESIGNATED_INITIALIZER; 11 | @end 12 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Supporting Files/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // OHHTTPStubsDemo 4 | // 5 | // Created by Olivier Halligon on 11/08/12. 6 | // Copyright (c) 2012 AliSoftware. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | int main(int argc, char *argv[]) 13 | { 14 | @autoreleasepool { 15 | return UIApplicationMain(argc, argv, nil, nil); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Sources/Quick/ErrorUtility.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | internal func raiseError(_ message: String) -> Never { 4 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) 5 | NSException(name: .internalInconsistencyException, reason: message, userInfo: nil).raise() 6 | #endif 7 | 8 | // This won't be reached when ObjC is available and the exception above is raisd 9 | fatalError(message) 10 | } 11 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Quick Templates/Quick Configuration Class.xctemplate/Swift/___FILEBASENAME___.swift: -------------------------------------------------------------------------------- 1 | // 2 | // ___FILENAME___ 3 | // ___PROJECTNAME___ 4 | // 5 | // Created by ___FULLUSERNAME___ on ___DATE___. 6 | //___COPYRIGHT___ 7 | // 8 | 9 | import Quick 10 | 11 | class ___FILEBASENAMEASIDENTIFIER___: QuickConfiguration { 12 | override class func configure(_ configuration: Configuration) { 13 | 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/.travis.yml: -------------------------------------------------------------------------------- 1 | language: objective-c 2 | xcode_project: Decodable.xcodeproj # path to your xcodeproj folder 3 | osx_image: xcode9 4 | script: 5 | - xcodebuild build -project Decodable.xcodeproj/ -scheme 'Decodable-iOS' -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.0' 6 | - xcodebuild test -project Decodable.xcodeproj/ -scheme 'Decodable-Mac' ONLY_ACTIVE_ARCH=NO 7 | 8 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Tests/JSONExamples/Repository.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": 23, 3 | "name": "Decodable", 4 | "description": "Decodable", 5 | "html_url": "https://github.com/Anviking/Decodable", 6 | "owner": { 7 | "id": 23, 8 | "login": "fjbelchi" 9 | }, 10 | "coverage": 90.9, 11 | "files": ["file1", "file2", "file3"], 12 | "optional": null, 13 | "active": true, 14 | "optionalActive": null 15 | } -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/AFNetworking.root-NSURLSession-Reachability-Security-Serialization/AFNetworking.root-NSURLSession-Reachability-Security-Serialization-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AFNetworking_root_NSURLSession_Reachability_Security_Serialization : NSObject 3 | @end 4 | @implementation PodsDummy_AFNetworking_root_NSURLSession_Reachability_Security_Serialization 5 | @end 6 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Quick Templates/Quick Configuration Class.xctemplate/Objective-C/___FILEBASENAME___.m: -------------------------------------------------------------------------------- 1 | // 2 | // ___FILENAME___ 3 | // ___PROJECTNAME___ 4 | // 5 | // Created by ___FULLUSERNAME___ on ___DATE___. 6 | //___COPYRIGHT___ 7 | // 8 | 9 | #import "___FILEBASENAMEASIDENTIFIER___.h" 10 | 11 | @implementation ___FILEBASENAMEASIDENTIFIER___ 12 | 13 | + (void)configure:(Configuration *)configuration { 14 | 15 | } 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Supporting Files/OHHTTPStubsDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header for all source files of the 'OHHTTPStubsDemo' target in the 'OHHTTPStubsDemo' project 3 | // 4 | 5 | #import 6 | 7 | #ifndef __IPHONE_3_0 8 | #warning "This project uses features only available in iOS SDK 3.0 and later." 9 | #endif 10 | 11 | #ifdef __OBJC__ 12 | #import 13 | #import 14 | #endif 15 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Documentation/ja/Troubleshooting.md: -------------------------------------------------------------------------------- 1 | # トラブルシューティング 2 | 3 | Quick を使用するときによくぶつかる問題の解決策を紹介します。 4 | 5 | ## Cocoapods でインストールした時に「No such module 'Quick'」エラーが出る 6 | 7 | - すでに `pod install` を実行していた場合、一度 Xcode workspace を閉じて再度開いてみてください。それでも解決しない場合は次の手順を試してみてください。 8 | - `ModuleCache` を含む `~/Library/Developer/Xcode/DerivedData` をすべて削除してください。 9 | - `Manage Schemes`ダイアログから`Quick`、`Nimble`、`Pods-ProjectNameTests` ターゲットの Scheme が有効なことを確認して、明示的にビルド(`Cmd+B`)をやり直してみてください。 10 | -------------------------------------------------------------------------------- /Tests/fixtures/user.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": { 3 | "id": "4869495376", 4 | "username": "jvtester", 5 | "profile_picture": "https://instagram.fktm4-1.fna.fbcdn.net/t51.2885-19/11906329_960233084022564_1448528159_a.jpg", 6 | "full_name": "Jared", 7 | "bio": "This is #jvtester and I #jvtest_ all of the things", 8 | "website": "", 9 | "counts": { 10 | "media": 2, 11 | "follows": 0, 12 | "followed_by": 0 13 | } 14 | }, 15 | "meta": { 16 | "code": 200 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/AFNetworking.root-NSURLSession-Reachability-Security-Serialization/AFNetworking.root-NSURLSession-Reachability-Security-Serialization-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #ifndef TARGET_OS_IOS 6 | #define TARGET_OS_IOS TARGET_OS_IPHONE 7 | #endif 8 | 9 | #ifndef TARGET_OS_WATCH 10 | #define TARGET_OS_WATCH 0 11 | #endif 12 | 13 | #ifndef TARGET_OS_TV 14 | #define TARGET_OS_TV 0 15 | #endif 16 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTests/FunctionalTests/Configuration/AfterEach/Configuration+AfterEach.swift: -------------------------------------------------------------------------------- 1 | import Quick 2 | 3 | public var FunctionalTests_Configuration_AfterEachWasExecuted = false 4 | 5 | class FunctionalTests_Configuration_AfterEach: QuickConfiguration { 6 | override class func configure(_ configuration: Configuration) { 7 | configuration.afterEach { 8 | FunctionalTests_Configuration_AfterEachWasExecuted = true 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTests/FunctionalTests/Configuration/BeforeEach/Configuration+BeforeEach.swift: -------------------------------------------------------------------------------- 1 | import Quick 2 | 3 | public var FunctionalTests_Configuration_BeforeEachWasExecuted = false 4 | 5 | class FunctionalTests_Configuration_BeforeEach: QuickConfiguration { 6 | override class func configure(_ configuration: Configuration) { 7 | configuration.beforeEach { 8 | FunctionalTests_Configuration_BeforeEachWasExecuted = true 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Tests/JSONExamples/Vehicle.json: -------------------------------------------------------------------------------- 1 | { 2 | "vehicles": [ 3 | { 4 | "type":"train", 5 | "driverless":true, 6 | "electric":true 7 | }, 8 | { 9 | "type":"car", 10 | "driverless":false 11 | }, 12 | { 13 | "type":"truck", 14 | "driverless":false, 15 | "wheels":18 16 | }, 17 | { 18 | "type":"truck", 19 | "driverless":true, 20 | "wheels":18 21 | } 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubsDemo/Pods-OHHTTPStubsDemo-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_OHHTTPStubsDemoVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_OHHTTPStubsDemoVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | **/xcuserdata/* 3 | **/*.xccheckout 4 | **/*.xcscmblueprint 5 | build/ 6 | .idea 7 | DerivedData/ 8 | Nimble.framework.zip 9 | 10 | # Carthage 11 | # 12 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 13 | # Carthage/Checkouts 14 | 15 | Carthage/Build 16 | 17 | # Swift Package Manager 18 | # 19 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 20 | # Packages/ 21 | .build/ 22 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface NMBExceptionCapture : NSObject 5 | 6 | - (nonnull instancetype)initWithHandler:(void(^ _Nullable)(NSException * _Nonnull))handler finally:(void(^ _Nullable)(void))finally; 7 | - (void)tryBlock:(__attribute__((noescape)) void(^ _Nonnull)(void))unsafeBlock NS_SWIFT_NAME(tryBlock(_:)); 8 | 9 | @end 10 | 11 | typedef void(^NMBSourceCallbackBlock)(BOOL successful); 12 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Tests/NimbleTests/objc/ObjCSyncTest.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | #import "NimbleSpecHelper.h" 4 | 5 | @interface ObjCSyncTest : XCTestCase 6 | 7 | @end 8 | 9 | @implementation ObjCSyncTest 10 | 11 | - (void)testFailureExpectation { 12 | expectFailureMessage(@"fail() always fails", ^{ 13 | fail(); 14 | }); 15 | 16 | expectFailureMessage(@"This always fails", ^{ 17 | failWithMessage(@"This always fails"); 18 | }); 19 | } 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | **/xcuserdata/* 3 | **/*.xccheckout 4 | **/*.xcscmblueprint 5 | build/ 6 | .idea 7 | DerivedData/ 8 | Nimble.framework.zip 9 | 10 | # Carthage 11 | # 12 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 13 | # Carthage/Checkouts 14 | 15 | Carthage/Build 16 | 17 | # Swift Package Manager 18 | # 19 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. 20 | # Packages/ 21 | .build/ 22 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface NMBExceptionCapture : NSObject 5 | 6 | - (nonnull instancetype)initWithHandler:(void(^ _Nullable)(NSException * _Nonnull))handler finally:(void(^ _Nullable)(void))finally; 7 | - (void)tryBlock:(__attribute__((noescape)) void(^ _Nonnull)(void))unsafeBlock NS_SWIFT_NAME(tryBlock(_:)); 8 | 9 | @end 10 | 11 | typedef void(^NMBSourceCallbackBlock)(BOOL successful); 12 | -------------------------------------------------------------------------------- /Tests/fixtures/likes.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": [{ 3 | "id": "24515474", 4 | "username": "richkern", 5 | "full_name": "Rich Kern", 6 | "profile_picture": "https://scontent.cdninstagram.com/t51.2885-19/11849395_467018326835121_804084785_a.jpg" 7 | }, { 8 | "id": "1689083", 9 | "username": "mmenghini", 10 | "full_name": "Margaret Menghini", 11 | "profile_picture": "https://scontent.cdninstagram.com/t51.2885-19/s150x150/14488261_549836495208539_3090575564742852608_a.jpg" 12 | }], 13 | "meta": { 14 | "code": 200 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Tests/NimbleTests/objc/ObjCSyncTest.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | #import "NimbleSpecHelper.h" 4 | 5 | @interface ObjCSyncTest : XCTestCase 6 | 7 | @end 8 | 9 | @implementation ObjCSyncTest 10 | 11 | - (void)testFailureExpectation { 12 | expectFailureMessage(@"fail() always fails", ^{ 13 | fail(); 14 | }); 15 | 16 | expectFailureMessage(@"This always fails", ^{ 17 | failWithMessage(@"This always fails"); 18 | }); 19 | } 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/UnitTests/Fixtures/MocktailFolder/cards.tail: -------------------------------------------------------------------------------- 1 | GET 2 | .*/cards 3 | 200 4 | application/json 5 | 6 | [ 7 | { 8 | "gift_card_id": "91857d87-481a-490b-8aff-c72614094398", 9 | "card_number": "515676xxxxxx1234", 10 | "amount": "$25.28", 11 | "expiration_date": "2014-04" 12 | }, 13 | { 14 | "gift_card_id": "0578ebe0-015b-11e4-9191-0800200c9a66", 15 | "card_number": "515676xxxxxx2345", 16 | "amount": "$55.38", 17 | "expiration_date": "2014-05" 18 | } 19 | ] -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Documentation/en-us/Troubleshooting.md: -------------------------------------------------------------------------------- 1 | # Common Installation Issues 2 | 3 | Here are solutions to common issues that come up when using the framework. 4 | 5 | ## No such module 'Quick' 6 | 7 | - If you have already run `pod install`, close and reopen the Xcode workspace. If this does not fix the issue, continue below. 8 | - Delete the _entire_ `~/Library/Developer/Xcode/DerivedData` direction, which includes `ModuleCache`. 9 | - Explicitly build (`Cmd+B`) the `Quick`, `Nimble`, and `Pods-ProjectNameTests` targets after enabled their schemes from the Manage Schemes dialog. -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Tests/NSNullTests.swift: -------------------------------------------------------------------------------- 1 | // 2 | // NSNullTests.swift 3 | // Decodable 4 | // 5 | // Created by Johannes Lund on 2016-12-28. 6 | // Copyright © 2016 anviking. All rights reserved. 7 | // 8 | 9 | import XCTest 10 | @testable import Decodable 11 | 12 | class NSNullTests: XCTestCase { 13 | 14 | // https://github.com/Anviking/Decodable/issues/135 15 | func testNullToAny() { 16 | let json = NSDictionary(dictionary: ["tone": NSNull()]) 17 | let maybeTone: Any? = try! json =>? "tone" 18 | XCTAssertNil(maybeTone) 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Podfile: -------------------------------------------------------------------------------- 1 | source 'https://github.com/CocoaPods/Specs.git' 2 | 3 | project 'OHHTTPStubs.xcodeproj' 4 | inhibit_all_warnings! 5 | 6 | abstract_target 'TestingPods' do 7 | pod 'AFNetworking', '~> 3.0' 8 | 9 | target 'OHHTTPStubs iOS Lib Tests' do 10 | platform :ios, '7.0' 11 | end 12 | 13 | target 'OHHTTPStubs iOS Fmk Tests' do 14 | platform :ios, '8.0' 15 | end 16 | 17 | target 'OHHTTPStubs Mac Tests' do 18 | platform :osx, '10.9' 19 | end 20 | 21 | target 'OHHTTPStubs tvOS Fmk Tests' do 22 | platform :tvos, '9.0' 23 | end 24 | end 25 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Sources/Decodable.h: -------------------------------------------------------------------------------- 1 | // 2 | // Decodable.h 3 | // Decodable 4 | // 5 | // Created by Johannes Lund on 2015-07-08. 6 | // Copyright © 2015 anviking. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | //! Project version number for Decodable. 12 | FOUNDATION_EXPORT double DecodableVersionNumber; 13 | 14 | //! Project version string for Decodable. 15 | FOUNDATION_EXPORT const unsigned char DecodableVersionString[]; 16 | 17 | // In this header, you should import all the public headers of your framework using statements like #import 18 | 19 | 20 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Sources/Nimble/Matchers/BeVoid.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | /// A Nimble matcher that succeeds when the actual value is Void. 4 | public func beVoid() -> Predicate<()> { 5 | return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in 6 | failureMessage.postfixMessage = "be void" 7 | let actualValue: ()? = try actualExpression.evaluate() 8 | return actualValue != nil 9 | } 10 | } 11 | 12 | public func == (lhs: Expectation<()>, rhs: ()) { 13 | lhs.to(beVoid()) 14 | } 15 | 16 | public func != (lhs: Expectation<()>, rhs: ()) { 17 | lhs.toNot(beVoid()) 18 | } 19 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Tests/NimbleTests/objc/ObjCBeNilTest.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import "NimbleSpecHelper.h" 3 | 4 | @interface ObjCBeNilTest : XCTestCase 5 | 6 | @end 7 | 8 | @implementation ObjCBeNilTest 9 | 10 | - (void)testPositiveMatches { 11 | expect(nil).to(beNil()); 12 | expect(@NO).toNot(beNil()); 13 | } 14 | 15 | - (void)testNegativeMatches { 16 | expectFailureMessage(@"expected to be nil, got <1>", ^{ 17 | expect(@1).to(beNil()); 18 | }); 19 | expectFailureMessage(@"expected to not be nil, got ", ^{ 20 | expect(nil).toNot(beNil()); 21 | }); 22 | } 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Stubs/stub.txt: -------------------------------------------------------------------------------- 1 | This is the text from your stub. 2 | 3 | Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud exerci tution ullam corper suscipit lobortis nisi ut aliquip ex ea commodo consequat. Duis te feugi facilisi. Duis autem dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit au gue duis dolore te feugat nulla facilisi. 4 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Stubs/stub.txt: -------------------------------------------------------------------------------- 1 | This is the text from your stub. 2 | 3 | Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud exerci tution ullam corper suscipit lobortis nisi ut aliquip ex ea commodo consequat. Duis te feugi facilisi. Duis autem dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit au gue duis dolore te feugat nulla facilisi. 4 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/.github/PULL_REQUEST_TEMPLATE: -------------------------------------------------------------------------------- 1 | The PR should summarize what was changed and why. Here are some questions to 2 | help you if you're not sure: 3 | 4 | - What behavior was changed? 5 | - What code was refactored / updated to support this change? 6 | - What issues are related to this PR? Or why was this change introduced? 7 | 8 | Checklist - While not every PR needs it, new features should consider this list: 9 | 10 | - [ ] Does this have tests? 11 | - [ ] Does this have documentation? 12 | - [ ] Does this break the public API (Requires major version bump)? 13 | - [ ] Is this a new feature (Requires minor version bump)? 14 | 15 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/.github/PULL_REQUEST_TEMPLATE: -------------------------------------------------------------------------------- 1 | The PR should summarize what was changed and why. Here are some questions to 2 | help you if you're not sure: 3 | 4 | - What behavior was changed? 5 | - What code was refactored / updated to support this change? 6 | - What issues are related to this PR? Or why was this change introduced? 7 | 8 | Checklist - While not every PR needs it, new features should consider this list: 9 | 10 | - [ ] Does this have tests? 11 | - [ ] Does this have documentation? 12 | - [ ] Does this break the public API (Requires major version bump)? 13 | - [ ] Is this a new feature (Requires minor version bump)? 14 | 15 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Tests/NimbleTests/objc/ObjCBeNilTest.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import "NimbleSpecHelper.h" 3 | 4 | @interface ObjCBeNilTest : XCTestCase 5 | 6 | @end 7 | 8 | @implementation ObjCBeNilTest 9 | 10 | - (void)testPositiveMatches { 11 | expect(nil).to(beNil()); 12 | expect(@NO).toNot(beNil()); 13 | } 14 | 15 | - (void)testNegativeMatches { 16 | expectFailureMessage(@"expected to be nil, got <1>", ^{ 17 | expect(@1).to(beNil()); 18 | }); 19 | expectFailureMessage(@"expected to not be nil, got ", ^{ 20 | expect(nil).toNot(beNil()); 21 | }); 22 | } 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Sources/Nimble/Matchers/BeVoid.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | /// A Nimble matcher that succeeds when the actual value is Void. 4 | public func beVoid() -> Predicate<()> { 5 | return Predicate.fromDeprecatedClosure { actualExpression, failureMessage in 6 | failureMessage.postfixMessage = "be void" 7 | let actualValue: ()? = try actualExpression.evaluate() 8 | return actualValue != nil 9 | } 10 | } 11 | 12 | public func == (lhs: Expectation<()>, rhs: ()) { 13 | lhs.to(beVoid()) 14 | } 15 | 16 | public func != (lhs: Expectation<()>, rhs: ()) { 17 | lhs.toNot(beVoid()) 18 | } 19 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.swift 3 | // OHHTTPStubsDemo 4 | // 5 | // Created by Olivier Halligon on 18/04/2015. 6 | // Copyright (c) 2015 AliSoftware. All rights reserved. 7 | // 8 | 9 | import UIKit 10 | 11 | @UIApplicationMain 12 | class AppDelegate: UIResponder, UIApplicationDelegate { 13 | 14 | var window: UIWindow? 15 | 16 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 17 | // Override point for customization after application launch. 18 | return true 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Documentation/zh-cn/InstallingFileTemplates.md: -------------------------------------------------------------------------------- 1 | # 安装 Quick 文件模板 2 | 3 | Quick 仓库包含了 Swift 和 Objective-C 规范的文件模板。 4 | 5 | ## Alcatraz 6 | 7 | Quick 模板可以通过 [Alcatraz](https://github.com/supermarin/Alcatraz) 安装,这是一个 Xcode 的包管理器。只需在包管理器里搜索 Quick : 8 | 9 | ![](http://f.cl.ly/items/3T3q0G1j0b2t1V0M0T04/Screen%20Shot%202014-06-27%20at%202.01.10%20PM.png) 10 | 11 | ## 使用 Rakefile 手动安装 12 | 13 | 如果想手动安装模板,那么只需克隆仓库并运行 rake 命令 `templates:install` : 14 | 15 | ```sh 16 | $ git clone git@github.com:Quick/Quick.git 17 | $ rake templates:install 18 | ``` 19 | 20 | 若要卸载模板,可以运行命令: 21 | 22 | ```sh 23 | $ rake templates:uninstall 24 | ``` 25 | 26 | 27 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/.github/PULL_REQUEST_TEMPLATE: -------------------------------------------------------------------------------- 1 | The PR should summarize what was changed and why. Here are some questions to 2 | help you if you're not sure: 3 | 4 | - What behavior was changed? 5 | - What code was refactored / updated to support this change? 6 | - What issues are related to this PR? Or why was this change introduced? 7 | 8 | Checklist - While not every PR needs it, new features should consider this list: 9 | 10 | - [ ] Does this have tests? 11 | - [ ] Does this have documentation? 12 | - [ ] Does this break the public API (Requires major version bump)? 13 | - [ ] Is this a new feature (Requires minor version bump)? 14 | 15 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTests/FunctionalTests/CrossReferencingSpecs.swift: -------------------------------------------------------------------------------- 1 | import Quick 2 | import Nimble 3 | 4 | // This is a functional test ensuring that no crash occurs when a spec class 5 | // references another spec class during its spec setup. 6 | 7 | class FunctionalTests_CrossReferencingSpecA: QuickSpec { 8 | override func spec() { 9 | _ = FunctionalTests_CrossReferencingSpecB() 10 | it("does not crash") {} 11 | } 12 | } 13 | 14 | class FunctionalTests_CrossReferencingSpecB: QuickSpec { 15 | override func spec() { 16 | _ = FunctionalTests_CrossReferencingSpecA() 17 | it("does not crash") {} 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "Compatibility.h" 14 | #import "OHHTTPStubs.h" 15 | #import "OHHTTPStubsResponse.h" 16 | #import "OHHTTPStubsResponse+JSON.h" 17 | #import "NSURLRequest+HTTPBodyTesting.h" 18 | #import "OHPathHelpers.h" 19 | #import "Compatibility.h" 20 | 21 | FOUNDATION_EXPORT double OHHTTPStubsVersionNumber; 22 | FOUNDATION_EXPORT const unsigned char OHHTTPStubsVersionString[]; 23 | 24 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/OHHTTPStubs 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | OTHER_LDFLAGS = -framework "CFNetwork" -framework "Foundation" 5 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT} 9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../.. 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Result/Result.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'Result' 3 | s.version = '3.2.4' 4 | s.summary = 'Swift type modelling the success/failure of arbitrary operations' 5 | 6 | s.homepage = 'https://github.com/antitypical/Result' 7 | s.license = { :type => 'MIT', :file => 'LICENSE' } 8 | s.author = { 'Rob Rix' => 'rob.rix@github.com' } 9 | s.source = { :git => 'https://github.com/antitypical/Result.git', :tag => s.version } 10 | s.source_files = 'Result/*.swift' 11 | s.requires_arc = true 12 | s.ios.deployment_target = '8.0' 13 | s.osx.deployment_target = '10.9' 14 | s.watchos.deployment_target = '2.0' 15 | s.tvos.deployment_target = '9.0' 16 | end 17 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubsDemo/Pods-OHHTTPStubsDemo.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/OHHTTPStubs" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/OHHTTPStubs" 4 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/OHHTTPStubs" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -l"OHHTTPStubs" -framework "CFNetwork" -framework "Foundation" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/Pods-OHHTTPStubsDemo/Pods-OHHTTPStubsDemo.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/OHHTTPStubs" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/OHHTTPStubs" 4 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/OHHTTPStubs" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -l"OHHTTPStubs" -framework "CFNetwork" -framework "Foundation" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Gramophone.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'Gramophone' 3 | s.version = '1.1' 4 | s.summary = 'Gramophone is a swifty wrapper of the Instagram API' 5 | s.homepage = 'https://github.com/jverdi/Gramophone' 6 | s.license = { :type => "MIT", :file => "LICENSE" } 7 | s.authors = { 'Jared Verdi' => 'jared@jaredverdi.com' } 8 | s.social_media_url = 'http://twitter.com/jverdi' 9 | 10 | s.source = { :git => 'https://github.com/jverdi/Gramophone.git', :tag => s.version } 11 | s.source_files = 'Source/*.swift', 'Source/Client/*.swift', 'Source/Model/*.swift', 'Source/Resources/*.swift' 12 | 13 | s.ios.deployment_target = '9.0' 14 | 15 | s.dependency 'Result', '~> 3.2' 16 | s.dependency 'Decodable', '~> 0.6' 17 | end 18 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/AFNetworking-tvOS9.0/AFNetworking-tvOS9.0.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/AFNetworking-tvOS9.0 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AFNetworking" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" 4 | OTHER_LDFLAGS = -framework "Security" -framework "SystemConfiguration" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ### Checklist 4 | 5 | - [ ] I've checked that all new and existing tests pass 6 | - [ ] I've updated the documentation if necessary 7 | - [ ] I've added an entry in the CHANGELOG to credit myself 8 | 9 | ### Description 10 | 11 | 12 | 13 | ### Motivation and Context 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Documentation/ja/InstallingFileTemplates.md: -------------------------------------------------------------------------------- 1 | # Quickファイル・テンプレートのインストール方法 2 | 3 | Quick のリポジトリには Swift, Objective-C の両方で使用できるテンプレートが含まれています。 4 | 5 | ## Alcatraz 6 | 7 | Quick のテンプレートは Xcode のパッケージマネージャーの [Alcatraz](https://github.com/supermarin/Alcatraz) 経由でインストールできます。 8 | パッケージマネージャーから検索してみてください。 9 | 10 | ![](http://f.cl.ly/items/3T3q0G1j0b2t1V0M0T04/Screen%20Shot%202014-06-27%20at%202.01.10%20PM.png) 11 | 12 | ## Rakefile から手動でインストールする 13 | 14 | 手動でインストールすることもできます。 15 | リポジトリを clone して rake task の `templates:install` を実行してください。 16 | 17 | ```sh 18 | $ git clone git@github.com:Quick/Quick.git 19 | $ rake templates:install 20 | ``` 21 | 22 | アンインストールも簡単です、下記コマンドを実行してください。 23 | 24 | ```sh 25 | $ rake templates:uninstall 26 | ``` 27 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Target Support Files/OHHTTPStubs/OHHTTPStubs.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/OHHTTPStubs 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/OHHTTPStubs" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/OHHTTPStubs" 4 | OTHER_LDFLAGS = -framework "CFNetwork" -framework "Foundation" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Sources/Nimble/Matchers/BeNil.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | /// A Nimble matcher that succeeds when the actual value is nil. 4 | public func beNil() -> Predicate { 5 | return Predicate.simpleNilable("be nil") { actualExpression in 6 | let actualValue = try actualExpression.evaluate() 7 | return PredicateStatus(bool: actualValue == nil) 8 | } 9 | } 10 | 11 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) 12 | extension NMBObjCMatcher { 13 | @objc public class func beNilMatcher() -> NMBObjCMatcher { 14 | return NMBObjCMatcher { actualExpression, failureMessage in 15 | return try! beNil().matches(actualExpression, failureMessage: failureMessage) 16 | } 17 | } 18 | } 19 | #endif 20 | -------------------------------------------------------------------------------- /Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Tests/NimbleTests/objc/NimbleSpecHelper.h: -------------------------------------------------------------------------------- 1 | @import Nimble; 2 | #import "NimbleTests-Swift.h" 3 | 4 | // Use this when you want to verify the failure message for when an expectation fails 5 | #define expectFailureMessage(MSG, BLOCK) \ 6 | [NimbleHelper expectFailureMessage:(MSG) block:(BLOCK) file:@(__FILE__) line:__LINE__]; 7 | 8 | #define expectFailureMessages(MSGS, BLOCK) \ 9 | [NimbleHelper expectFailureMessages:(MSGS) block:(BLOCK) file:@(__FILE__) line:__LINE__]; 10 | 11 | 12 | // Use this when you want to verify the failure message with the nil message postfixed 13 | // to it: " (use beNil() to match nils)" 14 | #define expectNilFailureMessage(MSG, BLOCK) \ 15 | [NimbleHelper expectFailureMessageForNil:(MSG) block:(BLOCK) file:@(__FILE__) line:__LINE__]; 16 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/UnitTests/Test Suites/OHPathHelpersTests.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #if OHHTTPSTUBS_USE_STATIC_LIBRARY 4 | #import "OHHTTPStubs.h" 5 | #import "OHPathHelpers.h" 6 | #else 7 | @import OHHTTPStubs; 8 | #endif 9 | 10 | @interface OHPathHelpersTests : XCTestCase 11 | @end 12 | 13 | @implementation OHPathHelpersTests 14 | 15 | - (void)testOHResourceBundle { 16 | NSBundle *classBundle = [NSBundle bundleForClass:self.class]; 17 | NSBundle *expectedBundle = [NSBundle bundleWithPath:[classBundle pathForResource:@"empty" 18 | ofType:@"bundle"]]; 19 | 20 | XCTAssertEqual(OHResourceBundle(@"empty", self.class), expectedBundle); 21 | } 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubsDemo/Pods-OHHTTPStubsDemo.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/OHHTTPStubs" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/OHHTTPStubs/OHHTTPStubs.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "OHHTTPStubs" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubsDemo/Pods-OHHTTPStubsDemo.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/OHHTTPStubs" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 5 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/OHHTTPStubs/OHHTTPStubs.framework/Headers" 6 | OTHER_LDFLAGS = $(inherited) -framework "OHHTTPStubs" 7 | OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" 8 | PODS_BUILD_DIR = $BUILD_DIR 9 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Sources/Nimble/Matchers/BeNil.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | /// A Nimble matcher that succeeds when the actual value is nil. 4 | public func beNil() -> Predicate { 5 | return Predicate.simpleNilable("be nil") { actualExpression in 6 | let actualValue = try actualExpression.evaluate() 7 | return PredicateStatus(bool: actualValue == nil) 8 | } 9 | } 10 | 11 | #if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) 12 | extension NMBObjCMatcher { 13 | @objc public class func beNilMatcher() -> NMBObjCMatcher { 14 | return NMBObjCMatcher { actualExpression, failureMessage in 15 | return try! beNil().matches(actualExpression, failureMessage: failureMessage) 16 | } 17 | } 18 | } 19 | #endif 20 | -------------------------------------------------------------------------------- /Tests/fixtures/comments.json: -------------------------------------------------------------------------------- 1 | { 2 | "data": [{ 3 | "id": "17864190667127297", 4 | "from": { 5 | "id": "989545", 6 | "username": "jverdi", 7 | "full_name": "Jared Verdi", 8 | "profile_picture": "https://scontent.cdninstagram.com/t51.2885-19/11249876_446198148894593_1426023307_a.jpg" 9 | }, 10 | "text": "#nyc #ny #manhattan #brooklyn #bridge #seeyourcity #nycprimeshot #alwaysnewyork #what_i_saw_in_nyc #ig_nycity #timeoutnewyork #made_in_nyc #newyorklike #nypix #nyloveyou #nyc_explorers #cityview #topnewyorkphoto #thebestdestinations #nycprimeshot #alwaysnewyork #instagramnyc #rsa_streetview #ig_nycity #thebest_capture #artofvisuals #theimaged #instagood #city_features #city_unit", 11 | "created_time": "1490894006" 12 | }], 13 | "meta": { 14 | "code": 200 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift: -------------------------------------------------------------------------------- 1 | /// AssertionDispatcher allows multiple AssertionHandlers to receive 2 | /// assertion messages. 3 | /// 4 | /// @warning Does not fully dispatch if one of the handlers raises an exception. 5 | /// This is possible with XCTest-based assertion handlers. 6 | /// 7 | public class AssertionDispatcher: AssertionHandler { 8 | let handlers: [AssertionHandler] 9 | 10 | public init(handlers: [AssertionHandler]) { 11 | self.handlers = handlers 12 | } 13 | 14 | public func assert(_ assertion: Bool, message: FailureMessage, location: SourceLocation) { 15 | for handler in handlers { 16 | handler.assert(assertion, message: message, location: location) 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Decodable.xcodeproj/xcshareddata/xcbaselines/8FE7B56B1B4C9FB900837609.xcbaseline/73DA0DF5-ACA7-4948-824F-2F1739DC2034.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | classNames 6 | 7 | DecodableTests 8 | 9 | testDecodeArrayOfRepositoriesSuccess() 10 | 11 | com.apple.XCTPerformanceMetric_WallClockTime 12 | 13 | baselineAverage 14 | 0.5 15 | baselineIntegrationDisplayName 16 | Local Baseline 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/AFNetworking-iOS7.0/AFNetworking-iOS7.0.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/AFNetworking-iOS7.0 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AFNetworking" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" 4 | OTHER_LDFLAGS = -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/AFNetworking-iOS8.0/AFNetworking-iOS8.0.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/AFNetworking-iOS8.0 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AFNetworking" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" 4 | OTHER_LDFLAGS = -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Tests/NimbleTests/objc/NimbleSpecHelper.h: -------------------------------------------------------------------------------- 1 | @import Nimble; 2 | #import "NimbleTests-Swift.h" 3 | 4 | // Use this when you want to verify the failure message for when an expectation fails 5 | #define expectFailureMessage(MSG, BLOCK) \ 6 | [NimbleHelper expectFailureMessage:(MSG) block:(BLOCK) file:@(__FILE__) line:__LINE__]; 7 | 8 | #define expectFailureMessages(MSGS, BLOCK) \ 9 | [NimbleHelper expectFailureMessages:(MSGS) block:(BLOCK) file:@(__FILE__) line:__LINE__]; 10 | 11 | 12 | // Use this when you want to verify the failure message with the nil message postfixed 13 | // to it: " (use beNil() to match nils)" 14 | #define expectNilFailureMessage(MSG, BLOCK) \ 15 | [NimbleHelper expectFailureMessageForNil:(MSG) block:(BLOCK) file:@(__FILE__) line:__LINE__]; 16 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - OHHTTPStubs (6.0.0): 3 | - OHHTTPStubs/Default (= 6.0.0) 4 | - OHHTTPStubs/Core (6.0.0) 5 | - OHHTTPStubs/Default (6.0.0): 6 | - OHHTTPStubs/Core 7 | - OHHTTPStubs/JSON 8 | - OHHTTPStubs/NSURLSession 9 | - OHHTTPStubs/OHPathHelpers 10 | - OHHTTPStubs/JSON (6.0.0): 11 | - OHHTTPStubs/Core 12 | - OHHTTPStubs/NSURLSession (6.0.0): 13 | - OHHTTPStubs/Core 14 | - OHHTTPStubs/OHPathHelpers (6.0.0) 15 | 16 | DEPENDENCIES: 17 | - OHHTTPStubs (from `../..`) 18 | 19 | EXTERNAL SOURCES: 20 | OHHTTPStubs: 21 | :path: "../.." 22 | 23 | SPEC CHECKSUMS: 24 | OHHTTPStubs: dbe7fc78b805b075ff74bb20922854d0dca8679b 25 | 26 | PODFILE CHECKSUM: 3b00a315b869401f03c1a7c408a9754a8e4c62d8 27 | 28 | COCOAPODS: 1.2.0 29 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-TestingPods-OHHTTPStubs tvOS Fmk Tests/Pods-TestingPods-OHHTTPStubs tvOS Fmk Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AFNetworking-tvOS9.0" 4 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -l"AFNetworking-tvOS9.0" -framework "Security" -framework "SystemConfiguration" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-TestingPods-OHHTTPStubs tvOS Fmk Tests/Pods-TestingPods-OHHTTPStubs tvOS Fmk Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AFNetworking-tvOS9.0" 4 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -l"AFNetworking-tvOS9.0" -framework "Security" -framework "SystemConfiguration" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Sources/Nimble/Adapters/AssertionDispatcher.swift: -------------------------------------------------------------------------------- 1 | /// AssertionDispatcher allows multiple AssertionHandlers to receive 2 | /// assertion messages. 3 | /// 4 | /// @warning Does not fully dispatch if one of the handlers raises an exception. 5 | /// This is possible with XCTest-based assertion handlers. 6 | /// 7 | public class AssertionDispatcher: AssertionHandler { 8 | let handlers: [AssertionHandler] 9 | 10 | public init(handlers: [AssertionHandler]) { 11 | self.handlers = handlers 12 | } 13 | 14 | public func assert(_ assertion: Bool, message: FailureMessage, location: SourceLocation) { 15 | for handler in handlers { 16 | handler.assert(assertion, message: message, location: location) 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Decodable.xcodeproj/xcshareddata/xcbaselines/8FE7B56B1B4C9FB900837609.xcbaseline/2B184EB9-20A6-44F1-BFA7-F9185332D574.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | classNames 6 | 7 | DecodableTests 8 | 9 | testDecodeArrayOfRepositoriesAndMeasureTime() 10 | 11 | com.apple.XCTPerformanceMetric_WallClockTime 12 | 13 | baselineAverage 14 | 0.10205 15 | baselineIntegrationDisplayName 16 | Local Baseline 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/ObjC/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - OHHTTPStubs (6.0.0): 3 | - OHHTTPStubs/Default (= 6.0.0) 4 | - OHHTTPStubs/Core (6.0.0) 5 | - OHHTTPStubs/Default (6.0.0): 6 | - OHHTTPStubs/Core 7 | - OHHTTPStubs/JSON 8 | - OHHTTPStubs/NSURLSession 9 | - OHHTTPStubs/OHPathHelpers 10 | - OHHTTPStubs/JSON (6.0.0): 11 | - OHHTTPStubs/Core 12 | - OHHTTPStubs/NSURLSession (6.0.0): 13 | - OHHTTPStubs/Core 14 | - OHHTTPStubs/OHPathHelpers (6.0.0) 15 | 16 | DEPENDENCIES: 17 | - OHHTTPStubs (from `../..`) 18 | 19 | EXTERNAL SOURCES: 20 | OHHTTPStubs: 21 | :path: "../.." 22 | 23 | SPEC CHECKSUMS: 24 | OHHTTPStubs: dbe7fc78b805b075ff74bb20922854d0dca8679b 25 | 26 | PODFILE CHECKSUM: 3b00a315b869401f03c1a7c408a9754a8e4c62d8 27 | 28 | COCOAPODS: 1.2.0 29 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickAfterSuiteTests/AfterSuiteTests+ObjC.m: -------------------------------------------------------------------------------- 1 | @import XCTest; 2 | @import Quick; 3 | @import Nimble; 4 | 5 | static BOOL afterSuiteFirstTestExecuted = NO; 6 | static BOOL afterSuiteTestsWasExecuted = NO; 7 | 8 | @interface AfterSuiteTests_ObjC : QuickSpec 9 | 10 | @end 11 | 12 | @implementation AfterSuiteTests_ObjC 13 | 14 | - (void)spec { 15 | it(@"is executed before afterSuite", ^{ 16 | expect(@(afterSuiteTestsWasExecuted)).to(beFalsy()); 17 | }); 18 | 19 | afterSuite(^{ 20 | afterSuiteTestsWasExecuted = YES; 21 | }); 22 | } 23 | 24 | + (void)tearDown { 25 | if (afterSuiteFirstTestExecuted) { 26 | assert(afterSuiteTestsWasExecuted); 27 | } else { 28 | afterSuiteFirstTestExecuted = true; 29 | } 30 | } 31 | 32 | @end 33 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/UnitTests/UnitTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Sources/Quick/NSBundle+CurrentTestBundle.swift: -------------------------------------------------------------------------------- 1 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) 2 | 3 | import Foundation 4 | 5 | extension Bundle { 6 | 7 | /** 8 | Locates the first bundle with a '.xctest' file extension. 9 | */ 10 | internal static var currentTestBundle: Bundle? { 11 | return allBundles.first { $0.bundlePath.hasSuffix(".xctest") } 12 | } 13 | 14 | /** 15 | Return the module name of the bundle. 16 | Uses the bundle filename and transform it to match Xcode's transformation. 17 | Module name has to be a valid "C99 extended identifier". 18 | */ 19 | internal var moduleName: String { 20 | let fileName = bundleURL.fileName as NSString 21 | return fileName.c99ExtendedIdentifier 22 | } 23 | } 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickAfterSuiteTests/AfterSuiteTests.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import Quick 3 | import Nimble 4 | 5 | var afterSuiteFirstTestExecuted = false 6 | var afterSuiteTestsWasExecuted = false 7 | 8 | class AfterSuiteTests: QuickSpec { 9 | override func spec() { 10 | afterSuite { 11 | afterSuiteTestsWasExecuted = true 12 | } 13 | 14 | it("is executed before afterSuite") { 15 | expect(afterSuiteTestsWasExecuted).to(beFalsy()) 16 | } 17 | } 18 | 19 | override class func tearDown() { 20 | if afterSuiteFirstTestExecuted { 21 | assert(afterSuiteTestsWasExecuted, "afterSuiteTestsWasExecuted needs to be true") 22 | } else { 23 | afterSuiteFirstTestExecuted = true 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | /// Protocol for the assertion handler that Nimble uses for all expectations. 4 | public protocol AssertionHandler { 5 | func assert(_ assertion: Bool, message: FailureMessage, location: SourceLocation) 6 | } 7 | 8 | /// Global backing interface for assertions that Nimble creates. 9 | /// Defaults to a private test handler that passes through to XCTest. 10 | /// 11 | /// If XCTest is not available, you must assign your own assertion handler 12 | /// before using any matchers, otherwise Nimble will abort the program. 13 | /// 14 | /// @see AssertionHandler 15 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in 16 | return isXCTestAvailable() ? NimbleXCTestHandler() : NimbleXCTestUnavailableHandler() 17 | }() 18 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Sources/QuickObjectiveC/World.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @class ExampleGroup; 4 | @class ExampleMetadata; 5 | 6 | SWIFT_CLASS("_TtC5Quick5World") 7 | @interface World 8 | 9 | @property (nonatomic) ExampleGroup * __nullable currentExampleGroup; 10 | @property (nonatomic) ExampleMetadata * __nullable currentExampleMetadata; 11 | @property (nonatomic) BOOL isRunningAdditionalSuites; 12 | + (World * __nonnull)sharedWorld; 13 | - (void)configure:(void (^ __nonnull)(Configuration * __nonnull))closure; 14 | - (void)finalizeConfiguration; 15 | - (ExampleGroup * __nonnull)rootExampleGroupForSpecClass:(Class __nonnull)cls; 16 | - (NSArray * __nonnull)examplesForSpecClass:(Class __nonnull)specClass; 17 | - (void)performWithCurrentExampleGroup:(ExampleGroup * __nonnull)group closure:(void (^ __nonnull)(void))closure; 18 | @end 19 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTests/Fixtures/FunctionalTests_BehaviorTests_Behaviors.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | import Quick 3 | import Nimble 4 | 5 | class FunctionalTests_BehaviorTests_Behavior: Behavior { 6 | override static func spec(_ aContext: @escaping () -> String) { 7 | it("passed the correct parameters via the context") { 8 | let callsite = aContext() 9 | expect(callsite).to(equal("BehaviorSpec")) 10 | } 11 | } 12 | } 13 | 14 | class FunctionalTests_BehaviorTests_Behavior2: Behavior { 15 | override static func spec(_ aContext: @escaping () -> Void) { 16 | it("passes once") { expect(true).to(beTruthy()) } 17 | it("passes twice") { expect(true).to(beTruthy()) } 18 | it("passes three times") { expect(true).to(beTruthy()) } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Sources/Nimble/Adapters/AdapterProtocols.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | /// Protocol for the assertion handler that Nimble uses for all expectations. 4 | public protocol AssertionHandler { 5 | func assert(_ assertion: Bool, message: FailureMessage, location: SourceLocation) 6 | } 7 | 8 | /// Global backing interface for assertions that Nimble creates. 9 | /// Defaults to a private test handler that passes through to XCTest. 10 | /// 11 | /// If XCTest is not available, you must assign your own assertion handler 12 | /// before using any matchers, otherwise Nimble will abort the program. 13 | /// 14 | /// @see AssertionHandler 15 | public var NimbleAssertionHandler: AssertionHandler = { () -> AssertionHandler in 16 | return isXCTestAvailable() ? NimbleXCTestHandler() : NimbleXCTestUnavailableHandler() 17 | }() 18 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-TestingPods-OHHTTPStubs iOS Fmk Tests/Pods-TestingPods-OHHTTPStubs iOS Fmk Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AFNetworking-iOS8.0" 4 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -l"AFNetworking-iOS8.0" -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-TestingPods-OHHTTPStubs iOS Fmk Tests/Pods-TestingPods-OHHTTPStubs iOS Fmk Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AFNetworking-iOS8.0" 4 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -l"AFNetworking-iOS8.0" -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-TestingPods-OHHTTPStubs iOS Lib Tests/Pods-TestingPods-OHHTTPStubs iOS Lib Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AFNetworking-iOS7.0" 4 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -l"AFNetworking-iOS7.0" -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-TestingPods-OHHTTPStubs iOS Lib Tests/Pods-TestingPods-OHHTTPStubs iOS Lib Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AFNetworking-iOS7.0" 4 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -l"AFNetworking-iOS7.0" -framework "CoreGraphics" -framework "MobileCoreServices" -framework "Security" -framework "SystemConfiguration" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Source/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | $(CURRENT_PROJECT_VERSION) 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Tests/NimbleTests/objc/ObjcStringersTest.m: -------------------------------------------------------------------------------- 1 | @import XCTest; 2 | @import Nimble; 3 | 4 | @interface ObjcStringersTest : XCTestCase 5 | 6 | @end 7 | 8 | @implementation ObjcStringersTest 9 | 10 | - (void)testItCanStringifyArrays { 11 | NSArray *array = @[@1, @2, @3]; 12 | NSString *result = NMBStringify(array); 13 | 14 | expect(result).to(equal(@"(1, 2, 3)")); 15 | } 16 | 17 | - (void)testItCanStringifyIndexSets { 18 | NSIndexSet *indexSet = [NSIndexSet indexSetWithIndexesInRange:NSMakeRange(1, 3)]; 19 | NSString *result = NMBStringify(indexSet); 20 | 21 | expect(result).to(equal(@"(1, 2, 3)")); 22 | } 23 | 24 | - (void)testItRoundsLongDecimals { 25 | NSNumber *num = @291.123782163; 26 | NSString *result = NMBStringify(num); 27 | 28 | expect(result).to(equal(@"291.1238")); 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Tests/NimbleTests/Matchers/BeNilTest.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import Nimble 3 | 4 | final class BeNilTest: XCTestCase, XCTestCaseProvider { 5 | static var allTests: [(String, (BeNilTest) -> () throws -> Void)] { 6 | return [ 7 | ("testBeNil", testBeNil), 8 | ] 9 | } 10 | 11 | func producesNil() -> [Int]? { 12 | return nil 13 | } 14 | 15 | func testBeNil() { 16 | expect(nil as Int?).to(beNil()) 17 | expect(1 as Int?).toNot(beNil()) 18 | expect(self.producesNil()).to(beNil()) 19 | 20 | failsWithErrorMessage("expected to not be nil, got ") { 21 | expect(nil as Int?).toNot(beNil()) 22 | } 23 | 24 | failsWithErrorMessage("expected to be nil, got <1>") { 25 | expect(1 as Int?).to(beNil()) 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Tests/NimbleTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Documentation/en-us/InstallingFileTemplates.md: -------------------------------------------------------------------------------- 1 | # Installing Quick File Templates 2 | 3 | The Quick repository includes file templates for both Swift and 4 | Objective-C specs. 5 | 6 | ## Alcatraz 7 | 8 | Quick templates can be installed via [Alcatraz](https://github.com/supermarin/Alcatraz), 9 | a package manager for Xcode. Just search for the templates from the 10 | Package Manager window. 11 | 12 | ![](http://f.cl.ly/items/3T3q0G1j0b2t1V0M0T04/Screen%20Shot%202014-06-27%20at%202.01.10%20PM.png) 13 | 14 | ## Manually via the Rakefile 15 | 16 | To manually install the templates, just clone the repository and 17 | run the `templates:install` rake task: 18 | 19 | ```sh 20 | $ git clone git@github.com:Quick/Quick.git 21 | $ rake templates:install 22 | ``` 23 | 24 | Uninstalling is easy, too: 25 | 26 | ```sh 27 | $ rake templates:uninstall 28 | ``` 29 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Sources/NimbleObjectiveC/NMBStringify.h: -------------------------------------------------------------------------------- 1 | @class NSString; 2 | 3 | /** 4 | * Returns a string appropriate for displaying in test output 5 | * from the provided value. 6 | * 7 | * @param anyObject A value that will show up in a test's output. 8 | * 9 | * @return The string that is returned can be 10 | * customized per type by conforming a type to the `TestOutputStringConvertible` 11 | * protocol. When stringifying a non-`TestOutputStringConvertible` type, this 12 | * function will return the value's debug description and then its 13 | * normal description if available and in that order. Otherwise it 14 | * will return the result of constructing a string from the value. 15 | * 16 | * @see `TestOutputStringConvertible` 17 | */ 18 | extern NSString *_Nonnull NMBStringify(id _Nullable anyObject) __attribute__((warn_unused_result)); 19 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Tests/NimbleTests/objc/ObjcStringersTest.m: -------------------------------------------------------------------------------- 1 | @import XCTest; 2 | @import Nimble; 3 | 4 | @interface ObjcStringersTest : XCTestCase 5 | 6 | @end 7 | 8 | @implementation ObjcStringersTest 9 | 10 | - (void)testItCanStringifyArrays { 11 | NSArray *array = @[@1, @2, @3]; 12 | NSString *result = NMBStringify(array); 13 | 14 | expect(result).to(equal(@"(1, 2, 3)")); 15 | } 16 | 17 | - (void)testItCanStringifyIndexSets { 18 | NSIndexSet *indexSet = [NSIndexSet indexSetWithIndexesInRange:NSMakeRange(1, 3)]; 19 | NSString *result = NMBStringify(indexSet); 20 | 21 | expect(result).to(equal(@"(1, 2, 3)")); 22 | } 23 | 24 | - (void)testItRoundsLongDecimals { 25 | NSNumber *num = @291.123782163; 26 | NSString *result = NMBStringify(num); 27 | 28 | expect(result).to(equal(@"291.1238")); 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Result/Tests/ResultTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 3.2.4 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AFNetworking (3.0.4): 3 | - AFNetworking/NSURLSession (= 3.0.4) 4 | - AFNetworking/Reachability (= 3.0.4) 5 | - AFNetworking/Security (= 3.0.4) 6 | - AFNetworking/Serialization (= 3.0.4) 7 | - AFNetworking/UIKit (= 3.0.4) 8 | - AFNetworking/NSURLSession (3.0.4): 9 | - AFNetworking/Reachability 10 | - AFNetworking/Security 11 | - AFNetworking/Serialization 12 | - AFNetworking/Reachability (3.0.4) 13 | - AFNetworking/Security (3.0.4) 14 | - AFNetworking/Serialization (3.0.4) 15 | - AFNetworking/UIKit (3.0.4): 16 | - AFNetworking/NSURLSession 17 | 18 | DEPENDENCIES: 19 | - AFNetworking (~> 3.0) 20 | 21 | SPEC CHECKSUMS: 22 | AFNetworking: a0075feb321559dc78d9d85b55d11caa19eabb93 23 | 24 | PODFILE CHECKSUM: ab605926fc3d98d845e7184ed2ef16ce3df929c2 25 | 26 | COCOAPODS: 1.0.1 27 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Tests/NimbleTests/Matchers/BeNilTest.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import Nimble 3 | 4 | final class BeNilTest: XCTestCase, XCTestCaseProvider { 5 | static var allTests: [(String, (BeNilTest) -> () throws -> Void)] { 6 | return [ 7 | ("testBeNil", testBeNil), 8 | ] 9 | } 10 | 11 | func producesNil() -> [Int]? { 12 | return nil 13 | } 14 | 15 | func testBeNil() { 16 | expect(nil as Int?).to(beNil()) 17 | expect(1 as Int?).toNot(beNil()) 18 | expect(self.producesNil()).to(beNil()) 19 | 20 | failsWithErrorMessage("expected to not be nil, got ") { 21 | expect(nil as Int?).toNot(beNil()) 22 | } 23 | 24 | failsWithErrorMessage("expected to be nil, got <1>") { 25 | expect(1 as Int?).to(beNil()) 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AFNetworking (3.0.4): 3 | - AFNetworking/NSURLSession (= 3.0.4) 4 | - AFNetworking/Reachability (= 3.0.4) 5 | - AFNetworking/Security (= 3.0.4) 6 | - AFNetworking/Serialization (= 3.0.4) 7 | - AFNetworking/UIKit (= 3.0.4) 8 | - AFNetworking/NSURLSession (3.0.4): 9 | - AFNetworking/Reachability 10 | - AFNetworking/Security 11 | - AFNetworking/Serialization 12 | - AFNetworking/Reachability (3.0.4) 13 | - AFNetworking/Security (3.0.4) 14 | - AFNetworking/Serialization (3.0.4) 15 | - AFNetworking/UIKit (3.0.4): 16 | - AFNetworking/NSURLSession 17 | 18 | DEPENDENCIES: 19 | - AFNetworking (~> 3.0) 20 | 21 | SPEC CHECKSUMS: 22 | AFNetworking: a0075feb321559dc78d9d85b55d11caa19eabb93 23 | 24 | PODFILE CHECKSUM: ab605926fc3d98d845e7184ed2ef16ce3df929c2 25 | 26 | COCOAPODS: 1.0.1 27 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Sources/NimbleObjectiveC/NMBStringify.h: -------------------------------------------------------------------------------- 1 | @class NSString; 2 | 3 | /** 4 | * Returns a string appropriate for displaying in test output 5 | * from the provided value. 6 | * 7 | * @param anyObject A value that will show up in a test's output. 8 | * 9 | * @return The string that is returned can be 10 | * customized per type by conforming a type to the `TestOutputStringConvertible` 11 | * protocol. When stringifying a non-`TestOutputStringConvertible` type, this 12 | * function will return the value's debug description and then its 13 | * normal description if available and in that order. Otherwise it 14 | * will return the result of constructing a string from the value. 15 | * 16 | * @see `TestOutputStringConvertible` 17 | */ 18 | extern NSString *_Nonnull NMBStringify(id _Nullable anyObject) __attribute__((warn_unused_result)); 19 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Tests/NimbleTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Sources/Quick/Behavior.swift: -------------------------------------------------------------------------------- 1 | /** 2 | A `Behavior` encapsulates a set of examples that can be re-used in several locations using the `itBehavesLike` function with a context instance of the generic type. 3 | */ 4 | 5 | open class Behavior { 6 | 7 | open static var name: String { return String(describing: self) } 8 | /** 9 | override this method in your behavior to define a set of reusable examples. 10 | 11 | This behaves just like an example group defines using `describe` or `context`--it may contain any number of `beforeEach` 12 | and `afterEach` closures, as well as any number of examples (defined using `it`). 13 | 14 | - parameter aContext: A closure that, when evaluated, returns a `Context` instance that provide the information on the subject. 15 | */ 16 | open class func spec(_ aContext: @escaping () -> Context) {} 17 | } 18 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickAfterSuiteTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickFocusedTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Decodable.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = "Decodable" 3 | s.version = "0.6.0" 4 | s.summary = "Swift JSON parsing done (more) right" 5 | s.description = "Simple yet powerful object mapping made possible by Swift 2's error handling. Greatly inspired by Argo, but without any functional programming and bizillion operators." 6 | s.homepage = "https://github.com/Anviking/Decodable" 7 | s.license = 'MIT' 8 | s.author = { "Anviking" => "anviking@me.com" } 9 | s.source = { :git => "https://github.com/Anviking/Decodable.git", :tag => "#{s.version}" } 10 | s.ios.deployment_target = '8.0' 11 | s.osx.deployment_target = '10.9' 12 | s.tvos.deployment_target = '9.0' 13 | s.watchos.deployment_target = '2.0' 14 | s.requires_arc = true 15 | s.source_files = 'Sources/*.{swift,h}' 16 | end 17 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/AFNetworking.root-NSURLSession-Reachability-Security-Serialization/AFNetworking.root-NSURLSession-Reachability-Security-Serialization.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/AFNetworking.root-NSURLSession-Reachability-Security-Serialization 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/AFNetworking" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" 4 | OTHER_LDFLAGS = -framework "CoreServices" -framework "Security" -framework "SystemConfiguration" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - OHHTTPStubs (6.0.0): 3 | - OHHTTPStubs/Default (= 6.0.0) 4 | - OHHTTPStubs/Core (6.0.0) 5 | - OHHTTPStubs/Default (6.0.0): 6 | - OHHTTPStubs/Core 7 | - OHHTTPStubs/JSON 8 | - OHHTTPStubs/NSURLSession 9 | - OHHTTPStubs/OHPathHelpers 10 | - OHHTTPStubs/JSON (6.0.0): 11 | - OHHTTPStubs/Core 12 | - OHHTTPStubs/NSURLSession (6.0.0): 13 | - OHHTTPStubs/Core 14 | - OHHTTPStubs/OHPathHelpers (6.0.0) 15 | - OHHTTPStubs/Swift (6.0.0): 16 | - OHHTTPStubs/Default 17 | 18 | DEPENDENCIES: 19 | - OHHTTPStubs (from `../..`) 20 | - OHHTTPStubs/Swift (from `../..`) 21 | 22 | EXTERNAL SOURCES: 23 | OHHTTPStubs: 24 | :path: "../.." 25 | 26 | SPEC CHECKSUMS: 27 | OHHTTPStubs: dbe7fc78b805b075ff74bb20922854d0dca8679b 28 | 29 | PODFILE CHECKSUM: 7da7c441ea9ff6f06b633c908b7a7294805f5602 30 | 31 | COCOAPODS: 1.2.0 32 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-TestingPods-OHHTTPStubs Mac Tests/Pods-TestingPods-OHHTTPStubs Mac Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AFNetworking.root-NSURLSession-Reachability-Security-Serialization" 4 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -l"AFNetworking.root-NSURLSession-Reachability-Security-Serialization" -framework "CoreServices" -framework "Security" -framework "SystemConfiguration" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Pods/Target Support Files/Pods-TestingPods-OHHTTPStubs Mac Tests/Pods-TestingPods-OHHTTPStubs Mac Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/AFNetworking" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AFNetworking.root-NSURLSession-Reachability-Security-Serialization" 4 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/AFNetworking" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -l"AFNetworking.root-NSURLSession-Reachability-Security-Serialization" -framework "CoreServices" -framework "Security" -framework "SystemConfiguration" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - OHHTTPStubs (6.0.0): 3 | - OHHTTPStubs/Default (= 6.0.0) 4 | - OHHTTPStubs/Core (6.0.0) 5 | - OHHTTPStubs/Default (6.0.0): 6 | - OHHTTPStubs/Core 7 | - OHHTTPStubs/JSON 8 | - OHHTTPStubs/NSURLSession 9 | - OHHTTPStubs/OHPathHelpers 10 | - OHHTTPStubs/JSON (6.0.0): 11 | - OHHTTPStubs/Core 12 | - OHHTTPStubs/NSURLSession (6.0.0): 13 | - OHHTTPStubs/Core 14 | - OHHTTPStubs/OHPathHelpers (6.0.0) 15 | - OHHTTPStubs/Swift (6.0.0): 16 | - OHHTTPStubs/Default 17 | 18 | DEPENDENCIES: 19 | - OHHTTPStubs (from `../..`) 20 | - OHHTTPStubs/Swift (from `../..`) 21 | 22 | EXTERNAL SOURCES: 23 | OHHTTPStubs: 24 | :path: "../.." 25 | 26 | SPEC CHECKSUMS: 27 | OHHTTPStubs: dbe7fc78b805b075ff74bb20922854d0dca8679b 28 | 29 | PODFILE CHECKSUM: 7da7c441ea9ff6f06b633c908b7a7294805f5602 30 | 31 | COCOAPODS: 1.2.0 32 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | build/ 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | xcuserdata 13 | *.xccheckout 14 | *.moved-aside 15 | DerivedData 16 | *.hmap 17 | *.ipa 18 | *.xcuserstate 19 | 20 | # CocoaPods 21 | # 22 | # We recommend against adding the Pods directory to your .gitignore. However 23 | # you should judge for yourself, the pros and cons are mentioned at: 24 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 25 | # 26 | # Pods/ 27 | 28 | # Carthage 29 | # 30 | # Add this line if you want to avoid checking in source code from Carthage dependencies. 31 | # Carthage/Checkouts 32 | 33 | Carthage/Build 34 | 35 | *.xcscmblueprint 36 | 37 | # Swift Package Manager 38 | 39 | .build/ 40 | 41 | # General OS X 42 | .DS_Store 43 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTests/FunctionalTests/ContextTests.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import Quick 3 | import Nimble 4 | 5 | #if (os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) && !SWIFT_PACKAGE 6 | class QuickContextTests: QuickSpec { 7 | override func spec() { 8 | describe("Context") { 9 | it("should throw an exception if used in an it block") { 10 | expect { 11 | context("A nested context that should throw") { } 12 | }.to(raiseException { (exception: NSException) in 13 | expect(exception.name).to(equal(NSExceptionName.internalInconsistencyException)) 14 | expect(exception.reason).to(equal("'context' cannot be used inside 'it', 'context' may only be used inside 'context' or 'describe'. ")) 15 | }) 16 | } 17 | } 18 | } 19 | } 20 | #endif 21 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Sources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(CURRENT_PROJECT_VERSION) 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTests/Helpers/XCTestObservationCenter+QCKSuspendObservation.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | /** 4 | Add the ability to temporarily disable internal XCTest execution observation in 5 | order to run isolated XCTestSuite instances while the QuickTests test suite is running. 6 | */ 7 | @interface XCTestObservationCenter (QCKSuspendObservation) 8 | 9 | /** 10 | Suspends test suite observation for XCTest-provided observers for the duration that 11 | the block is executing. Any test suites that are executed within the block do not 12 | generate any log output. Failures are still reported. 13 | 14 | Use this method to run XCTestSuite objects while another XCTestSuite is running. 15 | Without this method, tests fail with the message: "Timed out waiting for IDE 16 | barrier message to complete" or "Unexpected TestSuiteDidStart". 17 | */ 18 | - (void)qck_suspendObservationForBlock:(void (^)(void))block; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Result/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | We love that you're interested in contributing to this project! 2 | 3 | To make the process as painless as possible, we have just a couple of guidelines 4 | that should make life easier for everyone involved. 5 | 6 | ## Prefer Pull Requests 7 | 8 | If you know exactly how to implement the feature being suggested or fix the bug 9 | being reported, please open a pull request instead of an issue. Pull requests are easier than 10 | patches or inline code blocks for discussing and merging the changes. 11 | 12 | If you can't make the change yourself, please open an issue after making sure 13 | that one isn't already logged. 14 | 15 | ## Contributing Code 16 | 17 | Fork this repository, make it awesomer (preferably in a branch named for the 18 | topic), send a pull request! 19 | 20 | All code contributions should match our [coding 21 | conventions](https://github.com/github/swift-style-guide). 22 | 23 | Thanks for contributing! :boom::camel: 24 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/.travis.yml: -------------------------------------------------------------------------------- 1 | osx_image: xcode8.3 2 | language: generic 3 | matrix: 4 | include: 5 | - os: osx 6 | sudo: required 7 | env: TYPE=podspec 8 | - os: osx 9 | env: TYPE=ios NIMBLE_RUNTIME_IOS_SDK_VERSION=10.0 10 | - os: osx 11 | env: TYPE=tvos NIMBLE_RUNTIME_TVOS_SDK_VERSION=10.0 12 | - os: osx 13 | env: TYPE=macos 14 | - os: osx 15 | env: TYPE=macos 16 | osx_image: xcode9 17 | - os: osx 18 | env: TYPE=swiftpm 19 | - os: osx 20 | env: TYPE=swiftpm 21 | osx_image: xcode9 22 | - os: linux 23 | dist: trusty 24 | sudo: required 25 | env: TYPE=swiftpm 26 | install: 27 | - eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)" 28 | install: 29 | - if [[ "$TYPE" == "podspec" ]]; then sudo gem install bundler; bundle install; fi 30 | script: 31 | - ./test $TYPE 32 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/.travis.yml: -------------------------------------------------------------------------------- 1 | osx_image: xcode8.3 2 | language: generic 3 | matrix: 4 | include: 5 | - os: osx 6 | sudo: required 7 | env: TYPE=podspec 8 | - os: osx 9 | env: TYPE=ios NIMBLE_RUNTIME_IOS_SDK_VERSION=10.0 10 | - os: osx 11 | env: TYPE=tvos NIMBLE_RUNTIME_TVOS_SDK_VERSION=10.0 12 | - os: osx 13 | env: TYPE=macos 14 | - os: osx 15 | env: TYPE=macos 16 | osx_image: xcode9 17 | - os: osx 18 | env: TYPE=swiftpm 19 | - os: osx 20 | env: TYPE=swiftpm 21 | osx_image: xcode9 22 | - os: linux 23 | dist: trusty 24 | sudo: required 25 | env: TYPE=swiftpm 26 | install: 27 | - eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)" 28 | install: 29 | - if [[ "$TYPE" == "podspec" ]]; then sudo gem install bundler; bundle install; fi 30 | script: 31 | - ./test $TYPE 32 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTests/Fixtures/FunctionalTests_SharedExamplesTests_SharedExamples.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | import Quick 3 | import Nimble 4 | 5 | class FunctionalTests_SharedExamplesTests_SharedExamples: QuickConfiguration { 6 | override class func configure(_ configuration: Configuration) { 7 | sharedExamples("a group of three shared examples") { 8 | it("passes once") { expect(true).to(beTruthy()) } 9 | it("passes twice") { expect(true).to(beTruthy()) } 10 | it("passes three times") { expect(true).to(beTruthy()) } 11 | } 12 | 13 | sharedExamples("shared examples that take a context") { (sharedExampleContext: @escaping SharedExampleContext) in 14 | it("is passed the correct parameters via the context") { 15 | let callsite = sharedExampleContext()["callsite"] as? String 16 | expect(callsite).to(equal("SharedExamplesSpec")) 17 | } 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/OHHTTPStubs/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 6.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/Examples/Swift/Pods/Target Support Files/Pods-OHHTTPStubsDemo/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Sources/Quick/Hooks/SuiteHooks.swift: -------------------------------------------------------------------------------- 1 | /** 2 | A container for closures to be executed before and after all examples. 3 | */ 4 | final internal class SuiteHooks { 5 | internal var befores: [BeforeSuiteClosure] = [] 6 | internal var afters: [AfterSuiteClosure] = [] 7 | internal var phase: HooksPhase = .nothingExecuted 8 | 9 | internal func appendBefore(_ closure: @escaping BeforeSuiteClosure) { 10 | befores.append(closure) 11 | } 12 | 13 | internal func appendAfter(_ closure: @escaping AfterSuiteClosure) { 14 | afters.append(closure) 15 | } 16 | 17 | internal func executeBefores() { 18 | phase = .beforesExecuting 19 | for before in befores { 20 | before() 21 | } 22 | phase = .beforesFinished 23 | } 24 | 25 | internal func executeAfters() { 26 | phase = .aftersExecuting 27 | for after in afters { 28 | after() 29 | } 30 | phase = .aftersFinished 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Tests/NimbleTests/Matchers/BeVoidTest.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import Nimble 3 | 4 | final class BeVoidTest: XCTestCase, XCTestCaseProvider { 5 | static var allTests: [(String, (BeVoidTest) -> () throws -> Void)] { 6 | return [ 7 | ("testBeVoid", testBeVoid), 8 | ] 9 | } 10 | 11 | func testBeVoid() { 12 | expect(()).to(beVoid()) 13 | expect(() as ()?).to(beVoid()) 14 | expect(nil as ()?).toNot(beVoid()) 15 | 16 | expect(()) == () 17 | expect(() as ()?) == () 18 | expect(nil as ()?) != () 19 | 20 | failsWithErrorMessage("expected to not be void, got <()>") { 21 | expect(()).toNot(beVoid()) 22 | } 23 | 24 | failsWithErrorMessage("expected to not be void, got <()>") { 25 | expect(() as ()?).toNot(beVoid()) 26 | } 27 | 28 | failsWithErrorMessage("expected to be void, got ") { 29 | expect(nil as ()?).to(beVoid()) 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.m: -------------------------------------------------------------------------------- 1 | #import "NMBExceptionCapture.h" 2 | 3 | @interface NMBExceptionCapture () 4 | @property (nonatomic, copy) void(^ _Nullable handler)(NSException * _Nullable); 5 | @property (nonatomic, copy) void(^ _Nullable finally)(void); 6 | @end 7 | 8 | @implementation NMBExceptionCapture 9 | 10 | - (nonnull instancetype)initWithHandler:(void(^ _Nullable)(NSException * _Nonnull))handler finally:(void(^ _Nullable)(void))finally { 11 | self = [super init]; 12 | if (self) { 13 | self.handler = handler; 14 | self.finally = finally; 15 | } 16 | return self; 17 | } 18 | 19 | - (void)tryBlock:(void(^ _Nonnull)(void))unsafeBlock { 20 | @try { 21 | unsafeBlock(); 22 | } 23 | @catch (NSException *exception) { 24 | if (self.handler) { 25 | self.handler(exception); 26 | } 27 | } 28 | @finally { 29 | if (self.finally) { 30 | self.finally(); 31 | } 32 | } 33 | } 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/OHHTTPStubs.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 9 | 10 | 12 | 13 | 15 | 16 | 19 | 20 | 22 | 23 | 25 | 26 | 27 | 29 | 30 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Tests/NimbleTests/Matchers/BeVoidTest.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import Nimble 3 | 4 | final class BeVoidTest: XCTestCase, XCTestCaseProvider { 5 | static var allTests: [(String, (BeVoidTest) -> () throws -> Void)] { 6 | return [ 7 | ("testBeVoid", testBeVoid), 8 | ] 9 | } 10 | 11 | func testBeVoid() { 12 | expect(()).to(beVoid()) 13 | expect(() as ()?).to(beVoid()) 14 | expect(nil as ()?).toNot(beVoid()) 15 | 16 | expect(()) == () 17 | expect(() as ()?) == () 18 | expect(nil as ()?) != () 19 | 20 | failsWithErrorMessage("expected to not be void, got <()>") { 21 | expect(()).toNot(beVoid()) 22 | } 23 | 24 | failsWithErrorMessage("expected to not be void, got <()>") { 25 | expect(() as ()?).toNot(beVoid()) 26 | } 27 | 28 | failsWithErrorMessage("expected to be void, got ") { 29 | expect(nil as ()?).to(beVoid()) 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.m: -------------------------------------------------------------------------------- 1 | #import "NMBExceptionCapture.h" 2 | 3 | @interface NMBExceptionCapture () 4 | @property (nonatomic, copy) void(^ _Nullable handler)(NSException * _Nullable); 5 | @property (nonatomic, copy) void(^ _Nullable finally)(void); 6 | @end 7 | 8 | @implementation NMBExceptionCapture 9 | 10 | - (nonnull instancetype)initWithHandler:(void(^ _Nullable)(NSException * _Nonnull))handler finally:(void(^ _Nullable)(void))finally { 11 | self = [super init]; 12 | if (self) { 13 | self.handler = handler; 14 | self.finally = finally; 15 | } 16 | return self; 17 | } 18 | 19 | - (void)tryBlock:(void(^ _Nonnull)(void))unsafeBlock { 20 | @try { 21 | unsafeBlock(); 22 | } 23 | @catch (NSException *exception) { 24 | if (self.handler) { 25 | self.handler(exception); 26 | } 27 | } 28 | @finally { 29 | if (self.finally) { 30 | self.finally(); 31 | } 32 | } 33 | } 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Result/Result/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 3.2.4 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(CURRENT_PROJECT_VERSION) 23 | NSHumanReadableCopyright 24 | Copyright © 2015 Rob Rix. All rights reserved. 25 | NSPrincipalClass 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Sources/Nimble/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSHumanReadableCopyright 24 | Copyright © 2014 Jeff Hui. All rights reserved. 25 | NSPrincipalClass 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTestHelpers/SpecRunner.swift: -------------------------------------------------------------------------------- 1 | @testable import Quick 2 | import Nimble 3 | 4 | @discardableResult 5 | public func qck_runSpec(_ specClass: QuickSpec.Type) -> TestRun? { 6 | return qck_runSpecs([specClass]) 7 | } 8 | 9 | @discardableResult 10 | public func qck_runSpecs(_ specClasses: [QuickSpec.Type]) -> TestRun? { 11 | Quick.World.sharedWorld.isRunningAdditionalSuites = true 12 | 13 | var executionCount: UInt = 0 14 | var hadUnexpectedFailure = false 15 | 16 | let fails = gatherFailingExpectations(silently: true) { 17 | for specClass in specClasses { 18 | for (_, test) in specClass.allTests { 19 | do { 20 | try test(specClass.init())() 21 | } catch { 22 | hadUnexpectedFailure = true 23 | } 24 | executionCount += 1 25 | } 26 | } 27 | } 28 | 29 | return TestRun(executionCount: executionCount, hasSucceeded: fails.isEmpty && !hadUnexpectedFailure) 30 | } 31 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Sources/Quick/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSHumanReadableCopyright 24 | Copyright © 2014 - present, Quick Team. All rights reserved. 25 | NSPrincipalClass 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Sources/Nimble/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSHumanReadableCopyright 24 | Copyright © 2014 Jeff Hui. All rights reserved. 25 | NSPrincipalClass 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTests/Helpers/QCKSpecRunner.h: -------------------------------------------------------------------------------- 1 | @import XCTest; 2 | 3 | /** 4 | Runs an XCTestSuite instance containing only the given XCTestCase subclass. 5 | Use this to run QuickSpec subclasses from within a set of unit tests. 6 | 7 | Due to implicit dependencies in _XCTFailureHandler, this function raises an 8 | exception when used in Swift to run a failing test case. 9 | 10 | @param specClass The class of the spec to be run. 11 | @return An XCTestRun instance that contains information such as the number of failures, etc. 12 | */ 13 | extern XCTestRun * _Nullable qck_runSpec(Class _Nonnull specClass); 14 | 15 | /** 16 | Runs an XCTestSuite instance containing the given XCTestCase subclasses, in the order provided. 17 | See the documentation for `qck_runSpec` for more details. 18 | 19 | @param specClasses An array of QuickSpec classes, in the order they should be run. 20 | @return An XCTestRun instance that contains information such as the number of failures, etc. 21 | */ 22 | extern XCTestRun * _Nullable qck_runSpecs(NSArray * _Nonnull specClasses); 23 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Tests/NimbleTests/objc/ObjCMatchTest.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import "NimbleSpecHelper.h" 3 | 4 | @interface ObjCMatchTest : XCTestCase 5 | 6 | @end 7 | 8 | @implementation ObjCMatchTest 9 | 10 | - (void)testPositiveMatches { 11 | expect(@"11:14").to(match(@"\\d{2}:\\d{2}")); 12 | expect(@"hello").toNot(match(@"\\d{2}:\\d{2}")); 13 | } 14 | 15 | - (void)testNegativeMatches { 16 | expectFailureMessage(@"expected to match <\\d{2}:\\d{2}>, got ", ^{ 17 | expect(@"hello").to(match(@"\\d{2}:\\d{2}")); 18 | }); 19 | expectFailureMessage(@"expected to not match <\\d{2}:\\d{2}>, got <11:22>", ^{ 20 | expect(@"11:22").toNot(match(@"\\d{2}:\\d{2}")); 21 | }); 22 | } 23 | 24 | - (void)testNilMatches { 25 | expectNilFailureMessage(@"expected to match <\\d{2}:\\d{2}>, got ", ^{ 26 | expect(nil).to(match(@"\\d{2}:\\d{2}")); 27 | }); 28 | expectNilFailureMessage(@"expected to not match <\\d{2}:\\d{2}>, got ", ^{ 29 | expect(nil).toNot(match(@"\\d{2}:\\d{2}")); 30 | }); 31 | } 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Sources/Quick/NSString+C99ExtendedIdentifier.swift: -------------------------------------------------------------------------------- 1 | #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) 2 | import Foundation 3 | 4 | public extension NSString { 5 | 6 | private static var invalidCharacters: CharacterSet = { 7 | var invalidCharacters = CharacterSet() 8 | 9 | let invalidCharacterSets: [CharacterSet] = [ 10 | .whitespacesAndNewlines, 11 | .illegalCharacters, 12 | .controlCharacters, 13 | .punctuationCharacters, 14 | .nonBaseCharacters, 15 | .symbols 16 | ] 17 | 18 | for invalidSet in invalidCharacterSets { 19 | invalidCharacters.formUnion(invalidSet) 20 | } 21 | 22 | return invalidCharacters 23 | }() 24 | 25 | @objc(qck_c99ExtendedIdentifier) 26 | var c99ExtendedIdentifier: String { 27 | let validComponents = components(separatedBy: NSString.invalidCharacters) 28 | let result = validComponents.joined(separator: "_") 29 | 30 | return result.isEmpty ? "_" : result 31 | } 32 | } 33 | #endif 34 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Sources/Nimble/Utils/SourceLocation.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | // Ideally we would always use `StaticString` as the type for tracking the file name 4 | // that expectations originate from, for consistency with `assert` etc. from the 5 | // stdlib, and because recent versions of the XCTest overlay require `StaticString` 6 | // when calling `XCTFail`. Under the Objective-C runtime (i.e. building on Mac), we 7 | // have to use `String` instead because StaticString can't be generated from Objective-C 8 | #if SWIFT_PACKAGE 9 | public typealias FileString = StaticString 10 | #else 11 | public typealias FileString = String 12 | #endif 13 | 14 | public final class SourceLocation: NSObject { 15 | public let file: FileString 16 | public let line: UInt 17 | 18 | override init() { 19 | file = "Unknown File" 20 | line = 0 21 | } 22 | 23 | init(file: FileString, line: UInt) { 24 | self.file = file 25 | self.line = line 26 | } 27 | 28 | override public var description: String { 29 | return "\(file):\(line)" 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/LICENSE: -------------------------------------------------------------------------------- 1 | - MIT LICENSE - 2 | 3 | Copyright (c) 2012 Olivier Halligon 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs Mac-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(CURRENT_PROJECT_VERSION) 23 | NSHumanReadableCopyright 24 | Copyright © 2014 AliSoftware. All rights reserved. 25 | NSPrincipalClass 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Carthage/Checkouts/OHHTTPStubs/OHHTTPStubs/Supporting Files/OHHTTPStubs iOS-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | $(CURRENT_PROJECT_VERSION) 23 | NSHumanReadableCopyright 24 | Copyright © 2014 AliSoftware. All rights reserved. 25 | NSPrincipalClass 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Tests/NimbleTests/objc/ObjCMatchTest.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import "NimbleSpecHelper.h" 3 | 4 | @interface ObjCMatchTest : XCTestCase 5 | 6 | @end 7 | 8 | @implementation ObjCMatchTest 9 | 10 | - (void)testPositiveMatches { 11 | expect(@"11:14").to(match(@"\\d{2}:\\d{2}")); 12 | expect(@"hello").toNot(match(@"\\d{2}:\\d{2}")); 13 | } 14 | 15 | - (void)testNegativeMatches { 16 | expectFailureMessage(@"expected to match <\\d{2}:\\d{2}>, got ", ^{ 17 | expect(@"hello").to(match(@"\\d{2}:\\d{2}")); 18 | }); 19 | expectFailureMessage(@"expected to not match <\\d{2}:\\d{2}>, got <11:22>", ^{ 20 | expect(@"11:22").toNot(match(@"\\d{2}:\\d{2}")); 21 | }); 22 | } 23 | 24 | - (void)testNilMatches { 25 | expectNilFailureMessage(@"expected to match <\\d{2}:\\d{2}>, got ", ^{ 26 | expect(nil).to(match(@"\\d{2}:\\d{2}")); 27 | }); 28 | expectNilFailureMessage(@"expected to not match <\\d{2}:\\d{2}>, got ", ^{ 29 | expect(nil).toNot(match(@"\\d{2}:\\d{2}")); 30 | }); 31 | } 32 | 33 | @end 34 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Sources/Nimble/Utils/SourceLocation.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | // Ideally we would always use `StaticString` as the type for tracking the file name 4 | // that expectations originate from, for consistency with `assert` etc. from the 5 | // stdlib, and because recent versions of the XCTest overlay require `StaticString` 6 | // when calling `XCTFail`. Under the Objective-C runtime (i.e. building on Mac), we 7 | // have to use `String` instead because StaticString can't be generated from Objective-C 8 | #if SWIFT_PACKAGE 9 | public typealias FileString = StaticString 10 | #else 11 | public typealias FileString = String 12 | #endif 13 | 14 | public final class SourceLocation: NSObject { 15 | public let file: FileString 16 | public let line: UInt 17 | 18 | override init() { 19 | file = "Unknown File" 20 | line = 0 21 | } 22 | 23 | init(file: FileString, line: UInt) { 24 | self.file = file 25 | self.line = line 26 | } 27 | 28 | override public var description: String { 29 | return "\(file):\(line)" 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTests/Helpers/QuickSpec+QuickSpec_MethodList.m: -------------------------------------------------------------------------------- 1 | #import "QuickSpec+QuickSpec_MethodList.h" 2 | #import 3 | 4 | 5 | @implementation QuickSpec (QuickSpec_MethodList) 6 | 7 | /** 8 | * This method will instantiate an instance of the class on which it is called, 9 | * returning a list of selector names for it. 10 | * 11 | * @warning Only intended to be used in test assertions! 12 | * 13 | * @return a set of NSStrings representing the list of selectors it contains 14 | */ 15 | + (NSSet *)allSelectors { 16 | QuickSpec *specInstance = [[[self class] alloc] init]; 17 | NSMutableSet *allSelectors = [NSMutableSet set]; 18 | 19 | unsigned int methodCount = 0; 20 | Method *mlist = class_copyMethodList(object_getClass(specInstance), &methodCount); 21 | 22 | for(unsigned int i = 0; i < methodCount; i++) { 23 | SEL selector = method_getName(mlist[i]); 24 | [allSelectors addObject:NSStringFromSelector(selector)]; 25 | } 26 | 27 | free(mlist); 28 | return [allSelectors copy]; 29 | } 30 | 31 | @end 32 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTests/FunctionalTests/ObjC/BeforeSuiteTests+ObjC.m: -------------------------------------------------------------------------------- 1 | @import XCTest; 2 | @import Quick; 3 | @import Nimble; 4 | 5 | #import "QCKSpecRunner.h" 6 | 7 | static BOOL beforeSuiteWasExecuted = NO; 8 | 9 | QuickSpecBegin(FunctionalTests_BeforeSuite_BeforeSuiteSpec_ObjC) 10 | 11 | beforeSuite(^{ 12 | beforeSuiteWasExecuted = YES; 13 | }); 14 | 15 | QuickSpecEnd 16 | 17 | QuickSpecBegin(FunctionalTests_BeforeSuite_Spec_ObjC) 18 | 19 | it(@"is executed after beforeSuite", ^{ 20 | expect(@(beforeSuiteWasExecuted)).to(beTruthy()); 21 | }); 22 | 23 | QuickSpecEnd 24 | 25 | @interface BeforeSuiteTests_ObjC : XCTestCase; @end 26 | 27 | @implementation BeforeSuiteTests_ObjC 28 | 29 | - (void)testBeforeSuiteIsExecutedBeforeAnyExamples { 30 | // Execute the spec with an assertion before the one with a beforeSuite 31 | NSArray *specs = @[ 32 | [FunctionalTests_BeforeSuite_Spec_ObjC class], 33 | [FunctionalTests_BeforeSuite_BeforeSuiteSpec_ObjC class] 34 | ]; 35 | XCTestRun *result = qck_runSpecs(specs); 36 | XCTAssert(result.hasSucceeded); 37 | } 38 | 39 | @end 40 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Decodable.xcodeproj/xcshareddata/xcbaselines/17FB80FF1B530FED0012F106.xcbaseline/78C19493-4A8B-4FE0-88D6-957F92628060.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | classNames 6 | 7 | DecodableTests 8 | 9 | testCustomParseAndMeasureTime() 10 | 11 | com.apple.XCTPerformanceMetric_WallClockTime 12 | 13 | baselineAverage 14 | 0.01 15 | baselineIntegrationDisplayName 16 | Local Baseline 17 | 18 | 19 | testDecodeArrayOfRepositoriesAndMeasureTime() 20 | 21 | com.apple.XCTPerformanceMetric_WallClockTime 22 | 23 | baselineAverage 24 | 0.23 25 | baselineIntegrationDisplayName 26 | Local Baseline 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTests/Helpers/QCKSpecRunner.m: -------------------------------------------------------------------------------- 1 | @import Quick; 2 | 3 | #import "QCKSpecRunner.h" 4 | #import "XCTestObservationCenter+QCKSuspendObservation.h" 5 | #import "World.h" 6 | 7 | @interface XCTest (Redeclaration) 8 | - (XCTestRun *)run; 9 | @end 10 | 11 | XCTestRun * _Nullable qck_runSuite(XCTestSuite * _Nonnull suite) { 12 | [World sharedWorld].isRunningAdditionalSuites = YES; 13 | 14 | __block XCTestRun *result = nil; 15 | [[XCTestObservationCenter sharedTestObservationCenter] qck_suspendObservationForBlock:^{ 16 | [suite runTest]; 17 | result = suite.testRun; 18 | }]; 19 | return result; 20 | } 21 | 22 | XCTestRun *qck_runSpec(Class specClass) { 23 | return qck_runSuite([XCTestSuite testSuiteForTestCaseClass:specClass]); 24 | } 25 | 26 | XCTestRun * _Nullable qck_runSpecs(NSArray * _Nonnull specClasses) { 27 | XCTestSuite *suite = [XCTestSuite testSuiteWithName:@"MySpecs"]; 28 | for (Class specClass in specClasses) { 29 | [suite addTest:[XCTestSuite testSuiteForTestCaseClass:specClass]]; 30 | } 31 | 32 | return qck_runSuite(suite); 33 | } 34 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Jared Verdi 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Sources/RawRepresentableDecodable.swift: -------------------------------------------------------------------------------- 1 | // 2 | // RawRepresentableDecodable.swift 3 | // Decodable 4 | // 5 | // Created by Daniel Garbień on 06/11/15. 6 | // Copyright © 2015 anviking. All rights reserved. 7 | // 8 | 9 | /** 10 | * Extends all RawRepresentables (enums) which are also Decodable with decode implementation. 11 | * 12 | * I could not find a way to implicitly declare RawRepresentable conforming to Decodable, what would make all enums Decodable automatically. 13 | * Because of that for an enum to be compatible with Decodable operators it must be declared as implementing Decodable protocol. 14 | */ 15 | public extension RawRepresentable where RawValue: Decodable, Self: Decodable { 16 | 17 | static func decode(_ json: Any) throws -> Self { 18 | let rawValue = try RawValue.decode(json) 19 | guard let rawRepresentable = Self(rawValue: rawValue) else { 20 | let metadata = DecodingError.Metadata(object: json) 21 | throw DecodingError.rawRepresentableInitializationError(rawValue: rawValue, metadata) 22 | } 23 | return rawRepresentable 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/Decodable.xcodeproj/xcshareddata/xcbaselines/17FB80FF1B530FED0012F106.xcbaseline/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | runDestinationsByUUID 6 | 7 | 78C19493-4A8B-4FE0-88D6-957F92628060 8 | 9 | localComputer 10 | 11 | busSpeedInMHz 12 | 100 13 | cpuCount 14 | 1 15 | cpuKind 16 | Intel Core i7 17 | cpuSpeedInMHz 18 | 2300 19 | logicalCPUCoresPerPackage 20 | 8 21 | modelCode 22 | MacBookPro10,1 23 | physicalCPUCoresPerPackage 24 | 4 25 | platformIdentifier 26 | com.apple.platform.macosx 27 | 28 | targetArchitecture 29 | x86_64 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Documentation/zh-cn/MoreResources.md: -------------------------------------------------------------------------------- 1 | # 更多资源 2 | 3 | ## Quick Specs 的例子 4 | 5 | 很多公司、开源项目和独立开发者都使用了 Quick ,包括 [GitHub](https://github.com/github) 和 [ReactiveCocoa](https://github.com/ReactiveCocoa)。具体例子请参考以下链接: 6 | 7 | - https://github.com/ReactiveCocoa/ReactiveCocoa 8 | - https://github.com/github/Archimedes 9 | - https://github.com/libgit2/objective-git 10 | - https://github.com/jspahrsummers/RXSwift 11 | - https://github.com/artsy/eidolon 12 | - https://github.com/AshFurrow/Moya 13 | - https://github.com/nerdyc/Squeal 14 | - https://github.com/pepibumur/SugarRecord 15 | 16 | ## 关于 OS X 和 iOS 应用单元测试的更多信息 17 | 18 | - **[Quality Coding](http://qualitycoding.org/)**:一个关注单元测试的 iOS 开发博客。 19 | - **[OCMock Tutorials](http://ocmock.org/support/)**:当你需要在测试中使用伪对象时,使用 OCMock 。 20 | - **[Nocilla: Stunning HTTP stubbing for iOS and Mac OS X](https://github.com/luisobo/Nocilla)**:使用这个库来测试那些与互联网进行数据交换的代码。 21 | - **[Pivotal Labs: Writing Beautiful Specs with Jasmine Custom Matchers](http://pivotallabs.com/writing-beautiful-specs-jasmine-custom-matchers/)**:参考 [the Nimble documentation](https://github.com/Quick/Nimble) ,了解如何用 Nimble 编写自定义的匹配器。 22 | 23 | 24 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTests/FunctionalTests/BundleModuleNameTests.swift: -------------------------------------------------------------------------------- 1 | #if !SWIFT_PACKAGE 2 | 3 | import XCTest 4 | @testable import Quick 5 | import Nimble 6 | 7 | class BundleModuleNameSpecs: QuickSpec { 8 | override func spec() { 9 | describe("Bundle module name") { 10 | it("should repalce invalid characters with underscores") { 11 | let bundle = Bundle.currentTestBundle 12 | let moduleName = bundle?.moduleName 13 | expect(moduleName?.contains("Quick_")).to(beTrue()) 14 | } 15 | 16 | it("should be the correct module name to be able to retreive classes") { 17 | guard let bundle = Bundle.currentTestBundle else { 18 | XCTFail("test bundle not found") 19 | return 20 | } 21 | 22 | let moduleName = bundle.moduleName 23 | let className: AnyClass? = NSClassFromString("\(moduleName).BundleModuleNameSpecs") 24 | expect(className).to(be(BundleModuleNameSpecs.self)) 25 | } 26 | } 27 | } 28 | } 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Result/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Rob Rix 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Tests/NimbleTests/objc/ObjCBeginWithTest.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import "NimbleSpecHelper.h" 3 | 4 | @interface ObjCBeginWithTest : XCTestCase 5 | 6 | @end 7 | 8 | @implementation ObjCBeginWithTest 9 | 10 | - (void)testPositiveMatches { 11 | expect(@"hello world!").to(beginWith(@"hello")); 12 | expect(@"hello world!").toNot(beginWith(@"world")); 13 | 14 | NSArray *array = @[@1, @2]; 15 | expect(array).to(beginWith(@1)); 16 | expect(array).toNot(beginWith(@2)); 17 | } 18 | 19 | - (void)testNegativeMatches { 20 | expectFailureMessage(@"expected to begin with , got ", ^{ 21 | expect(@"foo").to(beginWith(@"bar")); 22 | }); 23 | expectFailureMessage(@"expected to not begin with , got ", ^{ 24 | expect(@"foo").toNot(beginWith(@"foo")); 25 | }); 26 | } 27 | 28 | - (void)testNilMatches { 29 | expectNilFailureMessage(@"expected to begin with <1>, got ", ^{ 30 | expect(nil).to(beginWith(@1)); 31 | }); 32 | expectNilFailureMessage(@"expected to not begin with <1>, got ", ^{ 33 | expect(nil).toNot(beginWith(@1)); 34 | }); 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Tests/NimbleTests/objc/ObjCBeKindOfTest.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import "NimbleSpecHelper.h" 3 | 4 | @interface ObjCBeKindOfTest : XCTestCase 5 | 6 | @end 7 | 8 | @implementation ObjCBeKindOfTest 9 | 10 | - (void)testPositiveMatches { 11 | NSMutableArray *array = [NSMutableArray array]; 12 | expect(array).to(beAKindOf([NSArray class])); 13 | expect(@1).toNot(beAKindOf([NSNull class])); 14 | } 15 | 16 | - (void)testNegativeMatches { 17 | expectFailureMessage(@"expected to be a kind of NSNull, got <__NSCFNumber instance>", ^{ 18 | expect(@1).to(beAKindOf([NSNull class])); 19 | }); 20 | expectFailureMessage(@"expected to not be a kind of NSNull, got ", ^{ 21 | expect([NSNull null]).toNot(beAKindOf([NSNull class])); 22 | }); 23 | } 24 | 25 | - (void)testNilMatches { 26 | expectNilFailureMessage(@"expected to be a kind of NSNull, got ", ^{ 27 | expect(nil).to(beAKindOf([NSNull class])); 28 | }); 29 | expectNilFailureMessage(@"expected to not be a kind of NSNull, got ", ^{ 30 | expect(nil).toNot(beAKindOf([NSNull class])); 31 | }); 32 | } 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Decodable/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 Johannes Lund 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Tests/NimbleTests/Matchers/ToSucceedTest.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import Nimble 3 | 4 | final class ToSucceedTest: XCTestCase, XCTestCaseProvider { 5 | static var allTests: [(String, (ToSucceedTest) -> () throws -> Void)] { 6 | return [ 7 | ("testToSucceed", testToSucceed), 8 | ] 9 | } 10 | 11 | func testToSucceed() { 12 | expect({ 13 | return .succeeded 14 | }).to(succeed()) 15 | 16 | expect({ 17 | return .failed(reason: "") 18 | }).toNot(succeed()) 19 | 20 | failsWithErrorMessageForNil("expected a closure, got ") { 21 | expect(nil as (() -> ToSucceedResult)?).to(succeed()) 22 | } 23 | 24 | failsWithErrorMessage("expected to succeed, got because ") { 25 | expect({ 26 | .failed(reason: "something went wrong") 27 | }).to(succeed()) 28 | } 29 | 30 | failsWithErrorMessage("expected to not succeed, got ") { 31 | expect({ 32 | return .succeeded 33 | }).toNot(succeed()) 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Tests/NimbleTests/objc/ObjCBeKindOfTest.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import "NimbleSpecHelper.h" 3 | 4 | @interface ObjCBeKindOfTest : XCTestCase 5 | 6 | @end 7 | 8 | @implementation ObjCBeKindOfTest 9 | 10 | - (void)testPositiveMatches { 11 | NSMutableArray *array = [NSMutableArray array]; 12 | expect(array).to(beAKindOf([NSArray class])); 13 | expect(@1).toNot(beAKindOf([NSNull class])); 14 | } 15 | 16 | - (void)testNegativeMatches { 17 | expectFailureMessage(@"expected to be a kind of NSNull, got <__NSCFNumber instance>", ^{ 18 | expect(@1).to(beAKindOf([NSNull class])); 19 | }); 20 | expectFailureMessage(@"expected to not be a kind of NSNull, got ", ^{ 21 | expect([NSNull null]).toNot(beAKindOf([NSNull class])); 22 | }); 23 | } 24 | 25 | - (void)testNilMatches { 26 | expectNilFailureMessage(@"expected to be a kind of NSNull, got ", ^{ 27 | expect(nil).to(beAKindOf([NSNull class])); 28 | }); 29 | expectNilFailureMessage(@"expected to not be a kind of NSNull, got ", ^{ 30 | expect(nil).toNot(beAKindOf([NSNull class])); 31 | }); 32 | } 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Tests/NimbleTests/objc/ObjCBeginWithTest.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import "NimbleSpecHelper.h" 3 | 4 | @interface ObjCBeginWithTest : XCTestCase 5 | 6 | @end 7 | 8 | @implementation ObjCBeginWithTest 9 | 10 | - (void)testPositiveMatches { 11 | expect(@"hello world!").to(beginWith(@"hello")); 12 | expect(@"hello world!").toNot(beginWith(@"world")); 13 | 14 | NSArray *array = @[@1, @2]; 15 | expect(array).to(beginWith(@1)); 16 | expect(array).toNot(beginWith(@2)); 17 | } 18 | 19 | - (void)testNegativeMatches { 20 | expectFailureMessage(@"expected to begin with , got ", ^{ 21 | expect(@"foo").to(beginWith(@"bar")); 22 | }); 23 | expectFailureMessage(@"expected to not begin with , got ", ^{ 24 | expect(@"foo").toNot(beginWith(@"foo")); 25 | }); 26 | } 27 | 28 | - (void)testNilMatches { 29 | expectNilFailureMessage(@"expected to begin with <1>, got ", ^{ 30 | expect(nil).to(beginWith(@1)); 31 | }); 32 | expectNilFailureMessage(@"expected to not begin with <1>, got ", ^{ 33 | expect(nil).toNot(beginWith(@1)); 34 | }); 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Tests/QuickTests/QuickTests/FunctionalTests/Configuration/BeforeEach/Configuration+BeforeEachTests.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import Quick 3 | import Nimble 4 | 5 | class Configuration_BeforeEachSpec: QuickSpec { 6 | override func spec() { 7 | it("is executed after the configuration beforeEach") { 8 | expect(FunctionalTests_Configuration_BeforeEachWasExecuted).to(beTruthy()) 9 | } 10 | } 11 | } 12 | 13 | final class Configuration_BeforeEachTests: XCTestCase, XCTestCaseProvider { 14 | static var allTests: [(String, (Configuration_BeforeEachTests) -> () throws -> Void)] { 15 | return [ 16 | ("testExampleIsRunAfterTheConfigurationBeforeEachIsExecuted", testExampleIsRunAfterTheConfigurationBeforeEachIsExecuted) 17 | ] 18 | } 19 | 20 | func testExampleIsRunAfterTheConfigurationBeforeEachIsExecuted() { 21 | FunctionalTests_Configuration_BeforeEachWasExecuted = false 22 | 23 | qck_runSpec(Configuration_BeforeEachSpec.self) 24 | XCTAssert(FunctionalTests_Configuration_BeforeEachWasExecuted) 25 | 26 | FunctionalTests_Configuration_BeforeEachWasExecuted = false 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Quick/Externals/Nimble/Tests/NimbleTests/Matchers/ToSucceedTest.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | import Nimble 3 | 4 | final class ToSucceedTest: XCTestCase, XCTestCaseProvider { 5 | static var allTests: [(String, (ToSucceedTest) -> () throws -> Void)] { 6 | return [ 7 | ("testToSucceed", testToSucceed), 8 | ] 9 | } 10 | 11 | func testToSucceed() { 12 | expect({ 13 | return .succeeded 14 | }).to(succeed()) 15 | 16 | expect({ 17 | return .failed(reason: "") 18 | }).toNot(succeed()) 19 | 20 | failsWithErrorMessageForNil("expected a closure, got ") { 21 | expect(nil as (() -> ToSucceedResult)?).to(succeed()) 22 | } 23 | 24 | failsWithErrorMessage("expected to succeed, got because ") { 25 | expect({ 26 | .failed(reason: "something went wrong") 27 | }).to(succeed()) 28 | } 29 | 30 | failsWithErrorMessage("expected to not succeed, got ") { 31 | expect({ 32 | return .succeeded 33 | }).toNot(succeed()) 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Tests/NimbleTests/objc/ObjCEndWithTest.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import "NimbleSpecHelper.h" 3 | 4 | @interface ObjCEndWithTest : XCTestCase 5 | 6 | @end 7 | 8 | @implementation ObjCEndWithTest 9 | 10 | - (void)testPositiveMatches { 11 | NSArray *array = @[@1, @2]; 12 | expect(@"hello world!").to(endWith(@"world!")); 13 | expect(@"hello world!").toNot(endWith(@"hello")); 14 | expect(array).to(endWith(@2)); 15 | expect(array).toNot(endWith(@1)); 16 | expect(@1).toNot(contain(@"foo")); 17 | } 18 | 19 | - (void)testNegativeMatches { 20 | expectFailureMessage(@"expected to end with , got ", ^{ 21 | expect(@"hello world!").to(endWith(@"?")); 22 | }); 23 | expectFailureMessage(@"expected to not end with , got ", ^{ 24 | expect(@"hello world!").toNot(endWith(@"!")); 25 | }); 26 | } 27 | 28 | - (void)testNilMatches { 29 | expectNilFailureMessage(@"expected to end with <1>, got ", ^{ 30 | expect(nil).to(endWith(@1)); 31 | }); 32 | expectNilFailureMessage(@"expected to not end with <1>, got ", ^{ 33 | expect(nil).toNot(endWith(@1)); 34 | }); 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Carthage/Checkouts/Nimble/Sources/Nimble/Adapters/NonObjectiveC/ExceptionCapture.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | #if !(os(macOS) || os(iOS) || os(tvOS) || os(watchOS)) 4 | // swift-corelibs-foundation doesn't provide NSException at all, so provide a dummy 5 | class NSException {} 6 | #endif 7 | 8 | // NOTE: This file is not intended to be included in the Xcode project. It 9 | // is picked up by the Swift Package Manager during its build process. 10 | 11 | /// A dummy reimplementation of the `NMBExceptionCapture` class to serve 12 | /// as a stand-in for build and runtime environments that don't support 13 | /// Objective C. 14 | internal class ExceptionCapture { 15 | let finally: (() -> Void)? 16 | 17 | init(handler: ((NSException) -> Void)?, finally: (() -> Void)?) { 18 | self.finally = finally 19 | } 20 | 21 | func tryBlock(_ unsafeBlock: (() -> Void)) { 22 | // We have no way of handling Objective C exceptions in Swift, 23 | // so we just go ahead and run the unsafeBlock as-is 24 | unsafeBlock() 25 | 26 | finally?() 27 | } 28 | } 29 | 30 | /// Compatibility with the actual Objective-C implementation 31 | typealias NMBExceptionCapture = ExceptionCapture 32 | --------------------------------------------------------------------------------