diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1b59d40 --- /dev/null +++ b/.gitignore @@ -0,0 +1,72 @@ +# Xcode +# +# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore + +## Build generated +build/ +DerivedData/ + +## Various settings +*.pbxuser +!default.pbxuser +*.mode1v3 +!default.mode1v3 +*.mode2v3 +!default.mode2v3 +*.perspectivev3 +!default.perspectivev3 +xcuserdata/ + +## Other +*.moved-aside +*.xccheckout +*.xcscmblueprint + +## Obj-C/Swift specific +*.hmap +*.ipa +*.dSYM.zip +*.dSYM + +## Playgrounds +timeline.xctimeline +playground.xcworkspace + +# Swift Package Manager +# +# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. +# Packages/ +# Package.pins +# Package.resolved +.build/ + +# CocoaPods +# +# We recommend against adding the Pods directory to your .gitignore. However +# you should judge for yourself, the pros and cons are mentioned at: +# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control +# +Pods/ + +# Carthage +# +# Add this line if you want to avoid checking in source code from Carthage dependencies. +# Carthage/Checkouts + +Carthage/Build + +# fastlane +# +# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the +# screenshots whenever they are needed. +# For more information about the recommended setup visit: +# https://docs.fastlane.tools/best-practices/source-control/#source-control + +fastlane/report.xml +fastlane/Preview.html +fastlane/screenshots +fastlane/test_output + +# Generamba + +Templates/ diff --git a/.jazzy.yaml b/.jazzy.yaml new file mode 100644 index 0000000..d5556ba --- /dev/null +++ b/.jazzy.yaml @@ -0,0 +1,14 @@ +clean: true +author: Arnaud Schloune +author_url: https://twitter.com/mmommommomo +github_url: https://github.com/mmommommomo/desafio-mobile-ios +github_file_prefix: +module: SwiftyGit +min_acl: internal +exclude: [ + SwiftyGit/AppDelegate.swift, + SwiftyGit/RepositoryDetail/*, + SwiftyGit/RepositoryListing/* +] +hide_documentation_coverage: false +documentation: SETUP.md diff --git a/.swiftlint.yml b/.swiftlint.yml new file mode 100644 index 0000000..2fef209 --- /dev/null +++ b/.swiftlint.yml @@ -0,0 +1,2 @@ +excluded: # paths to ignore during linting. Takes precedence over `included`. + - Pods diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..57a3716 --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2017 Arnaud Schloune + +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: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +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. + diff --git a/Podfile b/Podfile new file mode 100644 index 0000000..bf04368 --- /dev/null +++ b/Podfile @@ -0,0 +1,17 @@ +platform :ios, '9.0' + +target 'SwiftyGit' do + use_frameworks! + + # Pods for SwiftyGit + + pod 'Alamofire', '~> 4.5' + pod 'AlamofireImage', '~> 3.3' + pod 'SVProgressHUD' + + target 'SwiftyGitTests' do + inherit! :search_paths + # Pods for testing + end + +end diff --git a/Podfile.lock b/Podfile.lock new file mode 100644 index 0000000..9aabd32 --- /dev/null +++ b/Podfile.lock @@ -0,0 +1,19 @@ +PODS: + - Alamofire (4.5.1) + - AlamofireImage (3.3.0): + - Alamofire (~> 4.5) + - SVProgressHUD (2.2.2) + +DEPENDENCIES: + - Alamofire (~> 4.5) + - AlamofireImage (~> 3.3) + - SVProgressHUD + +SPEC CHECKSUMS: + Alamofire: 2d95912bf4c34f164fdfc335872e8c312acaea4a + AlamofireImage: 2e784dc5d00f04903a52c1d169181469c805c3df + SVProgressHUD: 59b2d3dabacbd051576d21d32293ca7228dc18b0 + +PODFILE CHECKSUM: e2bbf044744c32416a05298b7f5064d416d694c6 + +COCOAPODS: 1.2.1 diff --git a/Rambafile b/Rambafile new file mode 100644 index 0000000..0d0b1b4 --- /dev/null +++ b/Rambafile @@ -0,0 +1,33 @@ +### Headers settings +company: mmommommomo + +### Xcode project settings +project_name: desafio-mobile-ios +xcodeproj_path: SwiftyGit.xcodeproj + +### Code generation settings section +# The main project target name +project_target: SwiftyGit + +# The file path for new modules +project_file_path: SwiftyGit/ + +# The Xcode group path to new modules +project_group_path: SwiftyGit/ + +### Tests generation settings section +# The tests target name +test_target: SwiftyGitTests + +# The file path for new tests +test_file_path: SwiftyGitTests/ + +# The Xcode group path to new tests +test_group_path: SwiftyGitTests/ + +### Dependencies settings section +podfile_path: Podfile + +### Templates +templates: +- {name: swifty_viper} diff --git a/SETUP.md b/SETUP.md new file mode 100644 index 0000000..19131cf --- /dev/null +++ b/SETUP.md @@ -0,0 +1,34 @@ +# Desafio de programação mobile iOS + +Hi there! Thanks for taking the time to review my exercise. +Here are some information about the project! Enjoy 😀 + +## 📲 Running the project + +Open the terminal, then run the following command + +```ruby +pod install +``` +After that, open **SwiftyGit.xcworkspace** with XCode. + +## 🛠 Tools used +- Generamba (Generates Swift VIPER modules) +- SwiftLint (Checks the code syntax) +- Jazzy (Generates that documentation) + +## 🔮 External libs used +- Alamofire (network requests) +- AlamofireImage (loading and caching images) +- SVProgressHUD (display loaders) + +## 👨🏼‍💻 TODO +- Store data on the device +- Allow to display more repositories (with infinite scroll) +- More unit tests + + +## 🗣 Contact + +- [twitter](https://twitter.com/mmommommomo) +- [Github](http://github.com/arn00s) diff --git a/SwiftyGit.xcodeproj/project.pbxproj b/SwiftyGit.xcodeproj/project.pbxproj new file mode 100644 index 0000000..e7074f0 --- /dev/null +++ b/SwiftyGit.xcodeproj/project.pbxproj @@ -0,0 +1,846 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 48; + objects = { + +/* Begin PBXBuildFile section */ + 1C1656602DE281EE457C3B7D /* RepositoryDetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B4E58F9A2CCD6C34A61035E /* RepositoryDetailViewController.swift */; }; + 1C66BD0E3EA9983931C7AB4A /* RepositoryListingConfigurator.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEB74B4FCDDFDF7D43DE7815 /* RepositoryListingConfigurator.swift */; }; + 20F6DF85B0F43F2BB2420518 /* RepositoryListingRouterInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5465F4DABC3BFEC0CF47A0C0 /* RepositoryListingRouterInput.swift */; }; + 36DF05F5B66D6B2D438B831B /* RepositoryDetailViewOutput.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE97F2BF73931A5A99456837 /* RepositoryDetailViewOutput.swift */; }; + 4072999BE63A5398BF5F4E1E /* Pods_SwiftyGitTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4E0EE1989880734D0F08DED /* Pods_SwiftyGitTests.framework */; }; + 473905F970023AF346F55222 /* RepositoryDetailConfigurator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 58CB7DA20D5E18B132945A0E /* RepositoryDetailConfigurator.swift */; }; + 54B43711FDC7DAE04040CD90 /* RepositoryDetailInteractor.swift in Sources */ = {isa = PBXBuildFile; fileRef = B1521BCEE4A28612D321C032 /* RepositoryDetailInteractor.swift */; }; + 597B07130BC2FF1B2288947F /* RepositoryDetailPresenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 40F32B359EC64458A96C9DA1 /* RepositoryDetailPresenter.swift */; }; + 5A3CF7394F2B925E8D1365C7 /* RepositoryListingViewInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = 698EA4ADA920F9D0AF9D859D /* RepositoryListingViewInput.swift */; }; + 6984FDD69781780F268BCE72 /* RepositoryListingInteractorOutput.swift in Sources */ = {isa = PBXBuildFile; fileRef = 143762B42C844670BE8BAECF /* RepositoryListingInteractorOutput.swift */; }; + 6F10B8284100929084A8284D /* RepositoryDetailViewInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8057EA790E8764B4E70967F2 /* RepositoryDetailViewInput.swift */; }; + 75976878566C2E169526FBC0 /* RepositoryListingInteractor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 774C0EF7D6A01105C7D4D804 /* RepositoryListingInteractor.swift */; }; + 7A470D98FD058912D7563D98 /* RepositoryDetailModuleInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C2E4FDA2CAE949AB3B066C0 /* RepositoryDetailModuleInput.swift */; }; + 861A34FF7412A8B8CB81167D /* RepositoryListingRouter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7E90545252840FFBEA6ACCE7 /* RepositoryListingRouter.swift */; }; + 8C31B8E530C6933E1729CEFE /* RepositoryListingInitializer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 920BD33DA9127D1E97B59172 /* RepositoryListingInitializer.swift */; }; + 99033EFC94B157A7A908B7AE /* RepositoryListingPresenter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BED6B4AF377D05B00A5317B /* RepositoryListingPresenter.swift */; }; + 9C558D5C44D9E0E347BAA6CF /* RepositoryDetailInteractorInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2EEC02CE02BA2D1BF4FE8F1E /* RepositoryDetailInteractorInput.swift */; }; + A09D49A611781D4209B1DDC7 /* RepositoryListingViewOutput.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED67EE727A4EAB33AF32BC43 /* RepositoryListingViewOutput.swift */; }; + A3EC35A681031965375BCB94 /* RepositoryDetailInteractorOutput.swift in Sources */ = {isa = PBXBuildFile; fileRef = 36145279EEEE57D94B9C4693 /* RepositoryDetailInteractorOutput.swift */; }; + BB68542553282FD40196468B /* Pods_SwiftyGit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 535E966F87E2B3BED4C1D9B2 /* Pods_SwiftyGit.framework */; }; + C1E52835B5D0FAEAC9390219 /* RepositoryListingInteractorInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5E9E345CED0CAF67EAA9D5E /* RepositoryListingInteractorInput.swift */; }; + C9E81B971FBFEEA719DA9681 /* RepositoryDetailRouterInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = 63BA59385B81D949844E3CE3 /* RepositoryDetailRouterInput.swift */; }; + D08EE34D484DBC68D0E3E068 /* RepositoryListingModuleInput.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB23F2CEA28F7F1BE9EE3658 /* RepositoryListingModuleInput.swift */; }; + D11300C0AE069B81191F7C04 /* RepositoryListingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8090FBDB22BB3E9FAC452A26 /* RepositoryListingViewController.swift */; }; + EC4ADA1EDDB6DC7571FC2A22 /* RepositoryDetailRouter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2D5948CEAE3235419EFC0AA2 /* RepositoryDetailRouter.swift */; }; + FA1B69DE1FB76A69006F3241 /* PullRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA1B69DB1FB76A69006F3241 /* PullRequest.swift */; }; + FA1B69DF1FB76A69006F3241 /* APIClient.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA1B69DC1FB76A69006F3241 /* APIClient.swift */; }; + FA1B69E01FB76A69006F3241 /* Repository.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA1B69DD1FB76A69006F3241 /* Repository.swift */; }; + FA572EB91FBAC8E0006BA050 /* User.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA572EB81FBAC8E0006BA050 /* User.swift */; }; + FA5C30B71FBBABAA00659F3E /* pullRequests.json in Resources */ = {isa = PBXBuildFile; fileRef = FA5C30B51FBBABAA00659F3E /* pullRequests.json */; }; + FA5C30B81FBBABAA00659F3E /* repositories.json in Resources */ = {isa = PBXBuildFile; fileRef = FA5C30B61FBBABAA00659F3E /* repositories.json */; }; + FA5C30BA1FBBABB800659F3E /* TestUtils.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA5C30B91FBBABB800659F3E /* TestUtils.swift */; }; + FA6BD1631FBC9EA80055F916 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = FA6BD1621FBC9EA80055F916 /* Localizable.strings */; }; + FA76921A1FBB5342004B003E /* PullRequestCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA7692191FBB5342004B003E /* PullRequestCell.swift */; }; + FA8A4AFA1FBCD56100AC9254 /* Date+Format.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA8A4AF81FBCD56100AC9254 /* Date+Format.swift */; }; + FA8A4AFB1FBCD56100AC9254 /* UIViewController+Loading.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA8A4AF91FBCD56100AC9254 /* UIViewController+Loading.swift */; }; + FA9F660E1FB888150021D8FB /* RepoCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA9F660D1FB888150021D8FB /* RepoCell.swift */; }; + FAA2F8771FB259B500BFDBB4 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAA2F8761FB259B500BFDBB4 /* AppDelegate.swift */; }; + FAA2F87C1FB259B600BFDBB4 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FAA2F87A1FB259B600BFDBB4 /* Main.storyboard */; }; + FAA2F87E1FB259B600BFDBB4 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = FAA2F87D1FB259B600BFDBB4 /* Assets.xcassets */; }; + FAA2F8811FB259B600BFDBB4 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FAA2F87F1FB259B600BFDBB4 /* LaunchScreen.storyboard */; }; + FAA2F88C1FB259B600BFDBB4 /* SwiftyGitTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAA2F88B1FB259B600BFDBB4 /* SwiftyGitTests.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + FAA2F8881FB259B600BFDBB4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FAA2F86B1FB259B500BFDBB4 /* Project object */; + proxyType = 1; + remoteGlobalIDString = FAA2F8721FB259B500BFDBB4; + remoteInfo = SwiftyGit; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 143762B42C844670BE8BAECF /* RepositoryListingInteractorOutput.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryListingInteractorOutput.swift; sourceTree = ""; }; + 1C2E4FDA2CAE949AB3B066C0 /* RepositoryDetailModuleInput.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryDetailModuleInput.swift; sourceTree = ""; }; + 2B4E58F9A2CCD6C34A61035E /* RepositoryDetailViewController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryDetailViewController.swift; sourceTree = ""; }; + 2D5948CEAE3235419EFC0AA2 /* RepositoryDetailRouter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryDetailRouter.swift; sourceTree = ""; }; + 2EEC02CE02BA2D1BF4FE8F1E /* RepositoryDetailInteractorInput.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryDetailInteractorInput.swift; sourceTree = ""; }; + 36145279EEEE57D94B9C4693 /* RepositoryDetailInteractorOutput.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryDetailInteractorOutput.swift; sourceTree = ""; }; + 40F32B359EC64458A96C9DA1 /* RepositoryDetailPresenter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryDetailPresenter.swift; sourceTree = ""; }; + 535E966F87E2B3BED4C1D9B2 /* Pods_SwiftyGit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwiftyGit.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 5465F4DABC3BFEC0CF47A0C0 /* RepositoryListingRouterInput.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryListingRouterInput.swift; sourceTree = ""; }; + 58CB7DA20D5E18B132945A0E /* RepositoryDetailConfigurator.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryDetailConfigurator.swift; sourceTree = ""; }; + 63BA59385B81D949844E3CE3 /* RepositoryDetailRouterInput.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryDetailRouterInput.swift; sourceTree = ""; }; + 698EA4ADA920F9D0AF9D859D /* RepositoryListingViewInput.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryListingViewInput.swift; sourceTree = ""; }; + 774C0EF7D6A01105C7D4D804 /* RepositoryListingInteractor.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryListingInteractor.swift; sourceTree = ""; }; + 7E90545252840FFBEA6ACCE7 /* RepositoryListingRouter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryListingRouter.swift; sourceTree = ""; }; + 8057EA790E8764B4E70967F2 /* RepositoryDetailViewInput.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryDetailViewInput.swift; sourceTree = ""; }; + 8090FBDB22BB3E9FAC452A26 /* RepositoryListingViewController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryListingViewController.swift; sourceTree = ""; }; + 8EE401209561E91EF20CBB91 /* Pods-SwiftyGitTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftyGitTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SwiftyGitTests/Pods-SwiftyGitTests.debug.xcconfig"; sourceTree = ""; }; + 920BD33DA9127D1E97B59172 /* RepositoryListingInitializer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryListingInitializer.swift; sourceTree = ""; }; + 9BED6B4AF377D05B00A5317B /* RepositoryListingPresenter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryListingPresenter.swift; sourceTree = ""; }; + 9CCF0AE14BBCEEE6B340FD0A /* Pods-SwiftyGit.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftyGit.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SwiftyGit/Pods-SwiftyGit.debug.xcconfig"; sourceTree = ""; }; + A5E9E345CED0CAF67EAA9D5E /* RepositoryListingInteractorInput.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryListingInteractorInput.swift; sourceTree = ""; }; + AB23F2CEA28F7F1BE9EE3658 /* RepositoryListingModuleInput.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryListingModuleInput.swift; sourceTree = ""; }; + AE97F2BF73931A5A99456837 /* RepositoryDetailViewOutput.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryDetailViewOutput.swift; sourceTree = ""; }; + B1521BCEE4A28612D321C032 /* RepositoryDetailInteractor.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryDetailInteractor.swift; sourceTree = ""; }; + E4E0EE1989880734D0F08DED /* Pods_SwiftyGitTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwiftyGitTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E6483D77330DAC2F258F386A /* Pods-SwiftyGit.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftyGit.release.xcconfig"; path = "Pods/Target Support Files/Pods-SwiftyGit/Pods-SwiftyGit.release.xcconfig"; sourceTree = ""; }; + ED67EE727A4EAB33AF32BC43 /* RepositoryListingViewOutput.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryListingViewOutput.swift; sourceTree = ""; }; + EFA72CFCB41535B43C56A106 /* Pods-SwiftyGitTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwiftyGitTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SwiftyGitTests/Pods-SwiftyGitTests.release.xcconfig"; sourceTree = ""; }; + FA1B69DB1FB76A69006F3241 /* PullRequest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PullRequest.swift; sourceTree = ""; }; + FA1B69DC1FB76A69006F3241 /* APIClient.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = APIClient.swift; sourceTree = ""; }; + FA1B69DD1FB76A69006F3241 /* Repository.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Repository.swift; sourceTree = ""; }; + FA572EB81FBAC8E0006BA050 /* User.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = User.swift; sourceTree = ""; }; + FA5C30B51FBBABAA00659F3E /* pullRequests.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = pullRequests.json; sourceTree = ""; }; + FA5C30B61FBBABAA00659F3E /* repositories.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = repositories.json; sourceTree = ""; }; + FA5C30B91FBBABB800659F3E /* TestUtils.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestUtils.swift; sourceTree = ""; }; + FA6BD1621FBC9EA80055F916 /* Localizable.strings */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; path = Localizable.strings; sourceTree = ""; }; + FA7692191FBB5342004B003E /* PullRequestCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PullRequestCell.swift; sourceTree = ""; }; + FA8A4AF81FBCD56100AC9254 /* Date+Format.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Date+Format.swift"; sourceTree = ""; }; + FA8A4AF91FBCD56100AC9254 /* UIViewController+Loading.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIViewController+Loading.swift"; sourceTree = ""; }; + FA9F660D1FB888150021D8FB /* RepoCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RepoCell.swift; sourceTree = ""; }; + FAA2F8731FB259B500BFDBB4 /* SwiftyGit.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwiftyGit.app; sourceTree = BUILT_PRODUCTS_DIR; }; + FAA2F8761FB259B500BFDBB4 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + FAA2F87B1FB259B600BFDBB4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; + FAA2F87D1FB259B600BFDBB4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + FAA2F8801FB259B600BFDBB4 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; + FAA2F8821FB259B600BFDBB4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + FAA2F8871FB259B600BFDBB4 /* SwiftyGitTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwiftyGitTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + FAA2F88B1FB259B600BFDBB4 /* SwiftyGitTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftyGitTests.swift; sourceTree = ""; }; + FAA2F88D1FB259B600BFDBB4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + FEB74B4FCDDFDF7D43DE7815 /* RepositoryListingConfigurator.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = RepositoryListingConfigurator.swift; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + FAA2F8701FB259B500BFDBB4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BB68542553282FD40196468B /* Pods_SwiftyGit.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FAA2F8841FB259B600BFDBB4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 4072999BE63A5398BF5F4E1E /* Pods_SwiftyGitTests.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 0F01802EFFCC5EAE2DB3ECE2 /* RepositoryListing */ = { + isa = PBXGroup; + children = ( + A2A1DF17AA6CD637238268E3 /* View */, + 8F5869519C6FB2CC01D4AEDE /* Presenter */, + 764D1D3157EE97444A678D47 /* Interactor */, + 453ED25A1E255BBBCCE6D7C9 /* Router */, + 5725280D2938BAC1D9B8F72F /* Configurator */, + ); + path = RepositoryListing; + sourceTree = ""; + }; + 199565E2C4BAE71AF061BF29 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 535E966F87E2B3BED4C1D9B2 /* Pods_SwiftyGit.framework */, + E4E0EE1989880734D0F08DED /* Pods_SwiftyGitTests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 26308A2A8B3E8210E7927700 /* Router */ = { + isa = PBXGroup; + children = ( + 63BA59385B81D949844E3CE3 /* RepositoryDetailRouterInput.swift */, + 2D5948CEAE3235419EFC0AA2 /* RepositoryDetailRouter.swift */, + ); + path = Router; + sourceTree = ""; + }; + 453ED25A1E255BBBCCE6D7C9 /* Router */ = { + isa = PBXGroup; + children = ( + 5465F4DABC3BFEC0CF47A0C0 /* RepositoryListingRouterInput.swift */, + 7E90545252840FFBEA6ACCE7 /* RepositoryListingRouter.swift */, + ); + path = Router; + sourceTree = ""; + }; + 4E27C862713F0CE38E0AA07B /* Interactor */ = { + isa = PBXGroup; + children = ( + 2EEC02CE02BA2D1BF4FE8F1E /* RepositoryDetailInteractorInput.swift */, + 36145279EEEE57D94B9C4693 /* RepositoryDetailInteractorOutput.swift */, + B1521BCEE4A28612D321C032 /* RepositoryDetailInteractor.swift */, + ); + path = Interactor; + sourceTree = ""; + }; + 4E8AD3D137E543AF8CF51A1A /* Pods */ = { + isa = PBXGroup; + children = ( + 9CCF0AE14BBCEEE6B340FD0A /* Pods-SwiftyGit.debug.xcconfig */, + E6483D77330DAC2F258F386A /* Pods-SwiftyGit.release.xcconfig */, + 8EE401209561E91EF20CBB91 /* Pods-SwiftyGitTests.debug.xcconfig */, + EFA72CFCB41535B43C56A106 /* Pods-SwiftyGitTests.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; + 5725280D2938BAC1D9B8F72F /* Configurator */ = { + isa = PBXGroup; + children = ( + FEB74B4FCDDFDF7D43DE7815 /* RepositoryListingConfigurator.swift */, + 920BD33DA9127D1E97B59172 /* RepositoryListingInitializer.swift */, + ); + path = Configurator; + sourceTree = ""; + }; + 764D1D3157EE97444A678D47 /* Interactor */ = { + isa = PBXGroup; + children = ( + A5E9E345CED0CAF67EAA9D5E /* RepositoryListingInteractorInput.swift */, + 143762B42C844670BE8BAECF /* RepositoryListingInteractorOutput.swift */, + 774C0EF7D6A01105C7D4D804 /* RepositoryListingInteractor.swift */, + ); + path = Interactor; + sourceTree = ""; + }; + 8F5869519C6FB2CC01D4AEDE /* Presenter */ = { + isa = PBXGroup; + children = ( + AB23F2CEA28F7F1BE9EE3658 /* RepositoryListingModuleInput.swift */, + 9BED6B4AF377D05B00A5317B /* RepositoryListingPresenter.swift */, + ); + path = Presenter; + sourceTree = ""; + }; + 91C7FF72E0A52A97225FF437 /* View */ = { + isa = PBXGroup; + children = ( + 8057EA790E8764B4E70967F2 /* RepositoryDetailViewInput.swift */, + AE97F2BF73931A5A99456837 /* RepositoryDetailViewOutput.swift */, + 2B4E58F9A2CCD6C34A61035E /* RepositoryDetailViewController.swift */, + FA7692191FBB5342004B003E /* PullRequestCell.swift */, + ); + path = View; + sourceTree = ""; + }; + A2A1DF17AA6CD637238268E3 /* View */ = { + isa = PBXGroup; + children = ( + 698EA4ADA920F9D0AF9D859D /* RepositoryListingViewInput.swift */, + ED67EE727A4EAB33AF32BC43 /* RepositoryListingViewOutput.swift */, + 8090FBDB22BB3E9FAC452A26 /* RepositoryListingViewController.swift */, + FA9F660D1FB888150021D8FB /* RepoCell.swift */, + ); + path = View; + sourceTree = ""; + }; + A9A1361DF823BA981BAA21B9 /* Presenter */ = { + isa = PBXGroup; + children = ( + 1C2E4FDA2CAE949AB3B066C0 /* RepositoryDetailModuleInput.swift */, + 40F32B359EC64458A96C9DA1 /* RepositoryDetailPresenter.swift */, + ); + path = Presenter; + sourceTree = ""; + }; + BFC0EDE58114049A72838E38 /* Configurator */ = { + isa = PBXGroup; + children = ( + 58CB7DA20D5E18B132945A0E /* RepositoryDetailConfigurator.swift */, + ); + path = Configurator; + sourceTree = ""; + }; + E07EAAC9134FF49290C678CF /* RepositoryDetail */ = { + isa = PBXGroup; + children = ( + 91C7FF72E0A52A97225FF437 /* View */, + A9A1361DF823BA981BAA21B9 /* Presenter */, + 4E27C862713F0CE38E0AA07B /* Interactor */, + 26308A2A8B3E8210E7927700 /* Router */, + BFC0EDE58114049A72838E38 /* Configurator */, + ); + path = RepositoryDetail; + sourceTree = ""; + }; + FA1B69DA1FB76A69006F3241 /* Model */ = { + isa = PBXGroup; + children = ( + FA1B69DC1FB76A69006F3241 /* APIClient.swift */, + FA572EB81FBAC8E0006BA050 /* User.swift */, + FA1B69DB1FB76A69006F3241 /* PullRequest.swift */, + FA1B69DD1FB76A69006F3241 /* Repository.swift */, + ); + path = Model; + sourceTree = ""; + }; + FA8A4AF71FBCD56100AC9254 /* Utils */ = { + isa = PBXGroup; + children = ( + FA8A4AF81FBCD56100AC9254 /* Date+Format.swift */, + FA8A4AF91FBCD56100AC9254 /* UIViewController+Loading.swift */, + ); + path = Utils; + sourceTree = ""; + }; + FAA2F86A1FB259B500BFDBB4 = { + isa = PBXGroup; + children = ( + FAA2F8751FB259B500BFDBB4 /* SwiftyGit */, + FAA2F88A1FB259B600BFDBB4 /* SwiftyGitTests */, + FAA2F8741FB259B500BFDBB4 /* Products */, + 4E8AD3D137E543AF8CF51A1A /* Pods */, + 199565E2C4BAE71AF061BF29 /* Frameworks */, + ); + sourceTree = ""; + }; + FAA2F8741FB259B500BFDBB4 /* Products */ = { + isa = PBXGroup; + children = ( + FAA2F8731FB259B500BFDBB4 /* SwiftyGit.app */, + FAA2F8871FB259B600BFDBB4 /* SwiftyGitTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + FAA2F8751FB259B500BFDBB4 /* SwiftyGit */ = { + isa = PBXGroup; + children = ( + FAA2F8761FB259B500BFDBB4 /* AppDelegate.swift */, + FA8A4AF71FBCD56100AC9254 /* Utils */, + FA1B69DA1FB76A69006F3241 /* Model */, + FAA2F87A1FB259B600BFDBB4 /* Main.storyboard */, + FA6BD1621FBC9EA80055F916 /* Localizable.strings */, + FAA2F87D1FB259B600BFDBB4 /* Assets.xcassets */, + FAA2F87F1FB259B600BFDBB4 /* LaunchScreen.storyboard */, + FAA2F8821FB259B600BFDBB4 /* Info.plist */, + 0F01802EFFCC5EAE2DB3ECE2 /* RepositoryListing */, + E07EAAC9134FF49290C678CF /* RepositoryDetail */, + ); + path = SwiftyGit; + sourceTree = ""; + }; + FAA2F88A1FB259B600BFDBB4 /* SwiftyGitTests */ = { + isa = PBXGroup; + children = ( + FA5C30B51FBBABAA00659F3E /* pullRequests.json */, + FA5C30B61FBBABAA00659F3E /* repositories.json */, + FAA2F88B1FB259B600BFDBB4 /* SwiftyGitTests.swift */, + FA5C30B91FBBABB800659F3E /* TestUtils.swift */, + FAA2F88D1FB259B600BFDBB4 /* Info.plist */, + ); + path = SwiftyGitTests; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + FAA2F8721FB259B500BFDBB4 /* SwiftyGit */ = { + isa = PBXNativeTarget; + buildConfigurationList = FAA2F8901FB259B600BFDBB4 /* Build configuration list for PBXNativeTarget "SwiftyGit" */; + buildPhases = ( + 1ACFB94FA4ED987FD3AF1C3D /* [CP] Check Pods Manifest.lock */, + FAA2F86F1FB259B500BFDBB4 /* Sources */, + FAA2F8701FB259B500BFDBB4 /* Frameworks */, + FAA2F8711FB259B500BFDBB4 /* Resources */, + 9E9EBC5DF010FCFD25B579AE /* [CP] Embed Pods Frameworks */, + 389FA8DCC2CE91C89CD5E63C /* [CP] Copy Pods Resources */, + FA1B69E11FB76AB5006F3241 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = SwiftyGit; + productName = SwiftyGit; + productReference = FAA2F8731FB259B500BFDBB4 /* SwiftyGit.app */; + productType = "com.apple.product-type.application"; + }; + FAA2F8861FB259B600BFDBB4 /* SwiftyGitTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = FAA2F8931FB259B600BFDBB4 /* Build configuration list for PBXNativeTarget "SwiftyGitTests" */; + buildPhases = ( + 228666D1FA37EC1CB038158A /* [CP] Check Pods Manifest.lock */, + FAA2F8831FB259B600BFDBB4 /* Sources */, + FAA2F8841FB259B600BFDBB4 /* Frameworks */, + FAA2F8851FB259B600BFDBB4 /* Resources */, + D787A521A737C98EC397A9D5 /* [CP] Embed Pods Frameworks */, + 8A52FE4653C47F6794DF8C85 /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + FAA2F8891FB259B600BFDBB4 /* PBXTargetDependency */, + ); + name = SwiftyGitTests; + productName = SwiftyGitTests; + productReference = FAA2F8871FB259B600BFDBB4 /* SwiftyGitTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + FAA2F86B1FB259B500BFDBB4 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0920; + LastUpgradeCheck = 0920; + ORGANIZATIONNAME = mmommommomo; + TargetAttributes = { + FAA2F8721FB259B500BFDBB4 = { + CreatedOnToolsVersion = 9.2; + ProvisioningStyle = Automatic; + }; + FAA2F8861FB259B600BFDBB4 = { + CreatedOnToolsVersion = 9.2; + ProvisioningStyle = Automatic; + TestTargetID = FAA2F8721FB259B500BFDBB4; + }; + }; + }; + buildConfigurationList = FAA2F86E1FB259B500BFDBB4 /* Build configuration list for PBXProject "SwiftyGit" */; + compatibilityVersion = "Xcode 8.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = FAA2F86A1FB259B500BFDBB4; + productRefGroup = FAA2F8741FB259B500BFDBB4 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + FAA2F8721FB259B500BFDBB4 /* SwiftyGit */, + FAA2F8861FB259B600BFDBB4 /* SwiftyGitTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + FAA2F8711FB259B500BFDBB4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FAA2F8811FB259B600BFDBB4 /* LaunchScreen.storyboard in Resources */, + FA6BD1631FBC9EA80055F916 /* Localizable.strings in Resources */, + FAA2F87E1FB259B600BFDBB4 /* Assets.xcassets in Resources */, + FAA2F87C1FB259B600BFDBB4 /* Main.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FAA2F8851FB259B600BFDBB4 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FA5C30B71FBBABAA00659F3E /* pullRequests.json in Resources */, + FA5C30B81FBBABAA00659F3E /* repositories.json in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 1ACFB94FA4ED987FD3AF1C3D /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; + showEnvVarsInLog = 0; + }; + 228666D1FA37EC1CB038158A /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; + showEnvVarsInLog = 0; + }; + 389FA8DCC2CE91C89CD5E63C /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwiftyGit/Pods-SwiftyGit-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 8A52FE4653C47F6794DF8C85 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwiftyGitTests/Pods-SwiftyGitTests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + 9E9EBC5DF010FCFD25B579AE /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwiftyGit/Pods-SwiftyGit-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + D787A521A737C98EC397A9D5 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwiftyGitTests/Pods-SwiftyGitTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + FA1B69E11FB76AB5006F3241 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + FAA2F86F1FB259B500BFDBB4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FAA2F8771FB259B500BFDBB4 /* AppDelegate.swift in Sources */, + 5A3CF7394F2B925E8D1365C7 /* RepositoryListingViewInput.swift in Sources */, + A09D49A611781D4209B1DDC7 /* RepositoryListingViewOutput.swift in Sources */, + D11300C0AE069B81191F7C04 /* RepositoryListingViewController.swift in Sources */, + D08EE34D484DBC68D0E3E068 /* RepositoryListingModuleInput.swift in Sources */, + 99033EFC94B157A7A908B7AE /* RepositoryListingPresenter.swift in Sources */, + FA1B69DE1FB76A69006F3241 /* PullRequest.swift in Sources */, + FA1B69E01FB76A69006F3241 /* Repository.swift in Sources */, + FA572EB91FBAC8E0006BA050 /* User.swift in Sources */, + C1E52835B5D0FAEAC9390219 /* RepositoryListingInteractorInput.swift in Sources */, + 6984FDD69781780F268BCE72 /* RepositoryListingInteractorOutput.swift in Sources */, + 75976878566C2E169526FBC0 /* RepositoryListingInteractor.swift in Sources */, + 20F6DF85B0F43F2BB2420518 /* RepositoryListingRouterInput.swift in Sources */, + 861A34FF7412A8B8CB81167D /* RepositoryListingRouter.swift in Sources */, + 1C66BD0E3EA9983931C7AB4A /* RepositoryListingConfigurator.swift in Sources */, + FA9F660E1FB888150021D8FB /* RepoCell.swift in Sources */, + 8C31B8E530C6933E1729CEFE /* RepositoryListingInitializer.swift in Sources */, + FA1B69DF1FB76A69006F3241 /* APIClient.swift in Sources */, + 6F10B8284100929084A8284D /* RepositoryDetailViewInput.swift in Sources */, + 36DF05F5B66D6B2D438B831B /* RepositoryDetailViewOutput.swift in Sources */, + FA76921A1FBB5342004B003E /* PullRequestCell.swift in Sources */, + 1C1656602DE281EE457C3B7D /* RepositoryDetailViewController.swift in Sources */, + FA8A4AFB1FBCD56100AC9254 /* UIViewController+Loading.swift in Sources */, + 7A470D98FD058912D7563D98 /* RepositoryDetailModuleInput.swift in Sources */, + 597B07130BC2FF1B2288947F /* RepositoryDetailPresenter.swift in Sources */, + 9C558D5C44D9E0E347BAA6CF /* RepositoryDetailInteractorInput.swift in Sources */, + A3EC35A681031965375BCB94 /* RepositoryDetailInteractorOutput.swift in Sources */, + 54B43711FDC7DAE04040CD90 /* RepositoryDetailInteractor.swift in Sources */, + C9E81B971FBFEEA719DA9681 /* RepositoryDetailRouterInput.swift in Sources */, + EC4ADA1EDDB6DC7571FC2A22 /* RepositoryDetailRouter.swift in Sources */, + FA8A4AFA1FBCD56100AC9254 /* Date+Format.swift in Sources */, + 473905F970023AF346F55222 /* RepositoryDetailConfigurator.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FAA2F8831FB259B600BFDBB4 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FAA2F88C1FB259B600BFDBB4 /* SwiftyGitTests.swift in Sources */, + FA5C30BA1FBBABB800659F3E /* TestUtils.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + FAA2F8891FB259B600BFDBB4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = FAA2F8721FB259B500BFDBB4 /* SwiftyGit */; + targetProxy = FAA2F8881FB259B600BFDBB4 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + FAA2F87A1FB259B600BFDBB4 /* Main.storyboard */ = { + isa = PBXVariantGroup; + children = ( + FAA2F87B1FB259B600BFDBB4 /* Base */, + ); + name = Main.storyboard; + sourceTree = ""; + }; + FAA2F87F1FB259B600BFDBB4 /* LaunchScreen.storyboard */ = { + isa = PBXVariantGroup; + children = ( + FAA2F8801FB259B600BFDBB4 /* Base */, + ); + name = LaunchScreen.storyboard; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + FAA2F88E1FB259B600BFDBB4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + FAA2F88F1FB259B600BFDBB4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 11.2; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + FAA2F8911FB259B600BFDBB4 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 9CCF0AE14BBCEEE6B340FD0A /* Pods-SwiftyGit.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = NYMPRW2HUE; + INFOPLIST_FILE = SwiftyGit/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = mmommommomo.SwiftyGit; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + FAA2F8921FB259B600BFDBB4 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E6483D77330DAC2F258F386A /* Pods-SwiftyGit.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = NYMPRW2HUE; + INFOPLIST_FILE = SwiftyGit/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = mmommommomo.SwiftyGit; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + FAA2F8941FB259B600BFDBB4 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 8EE401209561E91EF20CBB91 /* Pods-SwiftyGitTests.debug.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = NYMPRW2HUE; + INFOPLIST_FILE = SwiftyGitTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = mmommommomo.SwiftyGitTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwiftyGit.app/SwiftyGit"; + }; + name = Debug; + }; + FAA2F8951FB259B600BFDBB4 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = EFA72CFCB41535B43C56A106 /* Pods-SwiftyGitTests.release.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + DEVELOPMENT_TEAM = NYMPRW2HUE; + INFOPLIST_FILE = SwiftyGitTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = mmommommomo.SwiftyGitTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwiftyGit.app/SwiftyGit"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + FAA2F86E1FB259B500BFDBB4 /* Build configuration list for PBXProject "SwiftyGit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FAA2F88E1FB259B600BFDBB4 /* Debug */, + FAA2F88F1FB259B600BFDBB4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + FAA2F8901FB259B600BFDBB4 /* Build configuration list for PBXNativeTarget "SwiftyGit" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FAA2F8911FB259B600BFDBB4 /* Debug */, + FAA2F8921FB259B600BFDBB4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + FAA2F8931FB259B600BFDBB4 /* Build configuration list for PBXNativeTarget "SwiftyGitTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FAA2F8941FB259B600BFDBB4 /* Debug */, + FAA2F8951FB259B600BFDBB4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = FAA2F86B1FB259B500BFDBB4 /* Project object */; +} diff --git a/SwiftyGit.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/SwiftyGit.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..cd86212 --- /dev/null +++ b/SwiftyGit.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/SwiftyGit.xcworkspace/contents.xcworkspacedata b/SwiftyGit.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..29c2b07 --- /dev/null +++ b/SwiftyGit.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/SwiftyGit/AppDelegate.swift b/SwiftyGit/AppDelegate.swift new file mode 100644 index 0000000..a44b514 --- /dev/null +++ b/SwiftyGit/AppDelegate.swift @@ -0,0 +1,21 @@ +// +// AppDelegate.swift +// SwiftyGit +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + func application(_ application: UIApplication, + didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + // Override point for customization after application launch. + return true + } +} diff --git a/SwiftyGit/Assets.xcassets/App/Contents.json b/SwiftyGit/Assets.xcassets/App/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/SwiftyGit/Assets.xcassets/App/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/SwiftyGit/Assets.xcassets/App/branch.imageset/Contents.json b/SwiftyGit/Assets.xcassets/App/branch.imageset/Contents.json new file mode 100644 index 0000000..76e5598 --- /dev/null +++ b/SwiftyGit/Assets.xcassets/App/branch.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "branch.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "branch@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "branch@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/SwiftyGit/Assets.xcassets/App/branch.imageset/branch.png b/SwiftyGit/Assets.xcassets/App/branch.imageset/branch.png new file mode 100644 index 0000000..cf4e43c Binary files /dev/null and b/SwiftyGit/Assets.xcassets/App/branch.imageset/branch.png differ diff --git a/SwiftyGit/Assets.xcassets/App/branch.imageset/branch@2x.png b/SwiftyGit/Assets.xcassets/App/branch.imageset/branch@2x.png new file mode 100644 index 0000000..75e84fd Binary files /dev/null and b/SwiftyGit/Assets.xcassets/App/branch.imageset/branch@2x.png differ diff --git a/SwiftyGit/Assets.xcassets/App/branch.imageset/branch@3x.png b/SwiftyGit/Assets.xcassets/App/branch.imageset/branch@3x.png new file mode 100644 index 0000000..6bd8f1f Binary files /dev/null and b/SwiftyGit/Assets.xcassets/App/branch.imageset/branch@3x.png differ diff --git a/SwiftyGit/Assets.xcassets/App/owner_avatar.imageset/Contents.json b/SwiftyGit/Assets.xcassets/App/owner_avatar.imageset/Contents.json new file mode 100644 index 0000000..3723758 --- /dev/null +++ b/SwiftyGit/Assets.xcassets/App/owner_avatar.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "owner_avatar.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "owner_avatar@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "owner_avatar@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/SwiftyGit/Assets.xcassets/App/owner_avatar.imageset/owner_avatar.png b/SwiftyGit/Assets.xcassets/App/owner_avatar.imageset/owner_avatar.png new file mode 100644 index 0000000..efaea61 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/App/owner_avatar.imageset/owner_avatar.png differ diff --git a/SwiftyGit/Assets.xcassets/App/owner_avatar.imageset/owner_avatar@2x.png b/SwiftyGit/Assets.xcassets/App/owner_avatar.imageset/owner_avatar@2x.png new file mode 100644 index 0000000..2b26ca9 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/App/owner_avatar.imageset/owner_avatar@2x.png differ diff --git a/SwiftyGit/Assets.xcassets/App/owner_avatar.imageset/owner_avatar@3x.png b/SwiftyGit/Assets.xcassets/App/owner_avatar.imageset/owner_avatar@3x.png new file mode 100644 index 0000000..bddc2a7 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/App/owner_avatar.imageset/owner_avatar@3x.png differ diff --git a/SwiftyGit/Assets.xcassets/App/star.imageset/Contents.json b/SwiftyGit/Assets.xcassets/App/star.imageset/Contents.json new file mode 100644 index 0000000..14cf9e0 --- /dev/null +++ b/SwiftyGit/Assets.xcassets/App/star.imageset/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "idiom" : "universal", + "filename" : "star.png", + "scale" : "1x" + }, + { + "idiom" : "universal", + "filename" : "star@2x.png", + "scale" : "2x" + }, + { + "idiom" : "universal", + "filename" : "star@3x.png", + "scale" : "3x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/SwiftyGit/Assets.xcassets/App/star.imageset/star.png b/SwiftyGit/Assets.xcassets/App/star.imageset/star.png new file mode 100644 index 0000000..5f40f7a Binary files /dev/null and b/SwiftyGit/Assets.xcassets/App/star.imageset/star.png differ diff --git a/SwiftyGit/Assets.xcassets/App/star.imageset/star@2x.png b/SwiftyGit/Assets.xcassets/App/star.imageset/star@2x.png new file mode 100644 index 0000000..545ee6a Binary files /dev/null and b/SwiftyGit/Assets.xcassets/App/star.imageset/star@2x.png differ diff --git a/SwiftyGit/Assets.xcassets/App/star.imageset/star@3x.png b/SwiftyGit/Assets.xcassets/App/star.imageset/star@3x.png new file mode 100644 index 0000000..b505a8e Binary files /dev/null and b/SwiftyGit/Assets.xcassets/App/star.imageset/star@3x.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Contents.json b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..c8477e6 --- /dev/null +++ b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,158 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + }, + "images" : [ + { + "filename" : "Icon-40.png", + "size" : "40x40", + "idiom" : "ipad", + "scale" : "1x" + }, + { + "filename" : "Icon-40@2x.png", + "size" : "40x40", + "idiom" : "ipad", + "scale" : "2x" + }, + { + "filename" : "Icon-60@2x.png", + "size" : "60x60", + "idiom" : "iphone", + "scale" : "2x" + }, + { + "filename" : "Icon-72.png", + "size" : "72x72", + "idiom" : "ipad", + "scale" : "1x" + }, + { + "filename" : "Icon-72@2x.png", + "size" : "72x72", + "idiom" : "ipad", + "scale" : "2x" + }, + { + "filename" : "Icon-76.png", + "size" : "76x76", + "idiom" : "ipad", + "scale" : "1x" + }, + { + "filename" : "Icon-76@2x.png", + "size" : "76x76", + "idiom" : "ipad", + "scale" : "2x" + }, + { + "filename" : "Icon-Small-50.png", + "size" : "50x50", + "idiom" : "ipad", + "scale" : "1x" + }, + { + "filename" : "Icon-Small-50@2x.png", + "size" : "50x50", + "idiom" : "ipad", + "scale" : "2x" + }, + { + "filename" : "Icon-Small.png", + "size" : "29x29", + "idiom" : "iphone", + "scale" : "1x" + }, + { + "filename" : "Icon-Small@2x.png", + "size" : "29x29", + "idiom" : "iphone", + "scale" : "2x" + }, + { + "filename" : "Icon.png", + "size" : "57x57", + "idiom" : "iphone", + "scale" : "1x" + }, + { + "filename" : "Icon@2x.png", + "size" : "57x57", + "idiom" : "iphone", + "scale" : "2x" + }, + { + "filename" : "Icon-Small@3x.png", + "size" : "29x29", + "idiom" : "iphone", + "scale" : "3x" + }, + { + "filename" : "Icon-40@3x.png", + "size" : "40x40", + "idiom" : "iphone", + "scale" : "3x" + }, + { + "filename" : "Icon-60@3x.png", + "size" : "60x60", + "idiom" : "iphone", + "scale" : "3x" + }, + { + "filename" : "Icon-40@2x.png", + "size" : "40x40", + "idiom" : "iphone", + "scale" : "2x" + }, + { + "filename" : "Icon-Small.png", + "size" : "29x29", + "idiom" : "ipad", + "scale" : "1x" + }, + { + "filename" : "Icon-Small@2x.png", + "size" : "29x29", + "idiom" : "ipad", + "scale" : "2x" + }, + { + "filename" : "Icon-83.5@2x.png", + "size" : "83.5x83.5", + "idiom" : "ipad", + "scale" : "2x" + }, + { + "filename" : "NotificationIcon@2x.png", + "size" : "20x20", + "idiom" : "iphone", + "scale" : "2x" + }, + { + "filename" : "NotificationIcon@3x.png", + "size" : "20x20", + "idiom" : "iphone", + "scale" : "3x" + }, + { + "filename" : "NotificationIcon~ipad.png", + "size" : "20x20", + "idiom" : "ipad", + "scale" : "1x" + }, + { + "filename" : "NotificationIcon~ipad@2x.png", + "size" : "20x20", + "idiom" : "ipad", + "scale" : "2x" + }, + { + "filename" : "ios-marketing.png", + "size" : "1024x1024", + "idiom" : "ios-marketing", + "scale" : "1x" + } + ] +} \ No newline at end of file diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-40.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-40.png new file mode 100644 index 0000000..af16b85 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-40.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png new file mode 100644 index 0000000..b0a970e Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-40@2x.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png new file mode 100644 index 0000000..ac42292 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-40@3x.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png new file mode 100644 index 0000000..ac42292 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-60@2x.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png new file mode 100644 index 0000000..222b2da Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-60@3x.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-72.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-72.png new file mode 100644 index 0000000..08d851e Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-72.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-72@2x.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-72@2x.png new file mode 100644 index 0000000..7ed28b4 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-72@2x.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-76.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-76.png new file mode 100644 index 0000000..554c474 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-76.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-76@2x.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-76@2x.png new file mode 100644 index 0000000..3c1f3b1 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-76@2x.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-83.5@2x.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-83.5@2x.png new file mode 100644 index 0000000..903f311 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-83.5@2x.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-Small-50.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-Small-50.png new file mode 100644 index 0000000..922ae14 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-Small-50.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-Small-50@2x.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-Small-50@2x.png new file mode 100644 index 0000000..a1f14d5 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-Small-50@2x.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-Small.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-Small.png new file mode 100644 index 0000000..e6af235 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-Small.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png new file mode 100644 index 0000000..754eae3 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-Small@2x.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png new file mode 100644 index 0000000..454fa63 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon-Small@3x.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon.png new file mode 100644 index 0000000..f1efda3 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon@2x.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon@2x.png new file mode 100644 index 0000000..50a52de Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/Icon@2x.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/NotificationIcon@2x.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/NotificationIcon@2x.png new file mode 100644 index 0000000..af16b85 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/NotificationIcon@2x.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/NotificationIcon@3x.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/NotificationIcon@3x.png new file mode 100644 index 0000000..0400db6 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/NotificationIcon@3x.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/NotificationIcon~ipad.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/NotificationIcon~ipad.png new file mode 100644 index 0000000..e3c3574 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/NotificationIcon~ipad.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/NotificationIcon~ipad@2x.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/NotificationIcon~ipad@2x.png new file mode 100644 index 0000000..af16b85 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/NotificationIcon~ipad@2x.png differ diff --git a/SwiftyGit/Assets.xcassets/AppIcon.appiconset/ios-marketing.png b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/ios-marketing.png new file mode 100644 index 0000000..aab7471 Binary files /dev/null and b/SwiftyGit/Assets.xcassets/AppIcon.appiconset/ios-marketing.png differ diff --git a/SwiftyGit/Assets.xcassets/Contents.json b/SwiftyGit/Assets.xcassets/Contents.json new file mode 100644 index 0000000..da4a164 --- /dev/null +++ b/SwiftyGit/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/SwiftyGit/Base.lproj/LaunchScreen.storyboard b/SwiftyGit/Base.lproj/LaunchScreen.storyboard new file mode 100644 index 0000000..f83f6fd --- /dev/null +++ b/SwiftyGit/Base.lproj/LaunchScreen.storyboard @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SwiftyGit/Base.lproj/Main.storyboard b/SwiftyGit/Base.lproj/Main.storyboard new file mode 100644 index 0000000..92e6241 --- /dev/null +++ b/SwiftyGit/Base.lproj/Main.storyboard @@ -0,0 +1,290 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SwiftyGit/Info.plist b/SwiftyGit/Info.plist new file mode 100644 index 0000000..16be3b6 --- /dev/null +++ b/SwiftyGit/Info.plist @@ -0,0 +1,45 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/SwiftyGit/Localizable.strings b/SwiftyGit/Localizable.strings new file mode 100644 index 0000000..01c9d19 --- /dev/null +++ b/SwiftyGit/Localizable.strings @@ -0,0 +1,16 @@ +/* + Localizable.strings + SwiftyGit + + Created by Arnaud Schloune on 15/11/2017. + Copyright © 2017 mmommommomo. All rights reserved. +*/ +//UI +"listing_title" = "Top 30 Swift"; +//Errors +"error_generic" = "An error occured, try again."; +"error_timedOut" = "The request timed out"; +"error_connectionFailed" = "There is no internet connection"; +"error_parsingFailed" = "The data reception failed."; +"error_noResultsFound" = "No results were found"; +"loading" = "Loading..."; diff --git a/SwiftyGit/Model/APIClient.swift b/SwiftyGit/Model/APIClient.swift new file mode 100644 index 0000000..2e4c807 --- /dev/null +++ b/SwiftyGit/Model/APIClient.swift @@ -0,0 +1,113 @@ +// +// APIClient.swift +// SwiftyGit +// +// Created by Arnaud Schloune on 11/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import Foundation +import Alamofire + +///The type of possible ApiError +public enum APIError: Error { + ///The request timed out + case timedOut + ///An error related to internet connectivity + case connectionFailed + ///The parsing failed + case parsingFailed + ///No results/data was found + case noResultsFound +} + +extension APIError { + //Returns an error message matching the error + /// - Returns String: The localised error. + func message() -> String { + var key = "generic" + switch self { + case .timedOut: + key = "timedOut" + case .connectionFailed: + key = "connectionFailed" + case .parsingFailed: + key = "parsingFailed" + case .noResultsFound: + key = "noResultsFound" + } + return NSLocalizedString("error_\(key)", comment: "") + } +} + +/// +class APIClient { + ///Lists the Swift repositories + /// - Parameter page: The page requested + /// - Parameter completion: A RepositoryResponse object + /// - Parameter error: APIError: An eventual request error + func repositories(page: Int, + completion:@escaping (RepositoryResponse) -> Void, + failure:@escaping (APIError) -> Void) { + + let endPoint = "https://api.github.com/search/repositories?q=language:Swift&sort=stars&page=\(page)" + + makeRequest(url: endPoint, completion: { data in + do { + let response = try JSONDecoder().decode(RepositoryResponse.self, from: data) + completion(response) + } catch { + failure(.parsingFailed) + } + }, failure: { error in + failure(error) + }) + } + + ///Lists the Pull Requests of a Repository + /// - Parameter repository: The repository containing the pull requests + /// - Parameter completion: A PullRequest Array + /// - Parameter error: APIError: An eventual request error + func pullRequests(for repository: Repository, + completion:@escaping ([PullRequest]) -> Void, + failure:@escaping (APIError) -> Void) { + + let endPoint = repository.pullsUrl.replacingOccurrences(of: "{/number}", with: "") + + makeRequest(url: endPoint, completion: { data in + do { + let decoder = JSONDecoder() + decoder.dateDecodingStrategy = .iso8601 + let response = try decoder.decode([PullRequest].self, from: data) + completion(response) + } catch { + failure(.parsingFailed) + } + + }, failure: { error in + failure(error) + }) + } + + /// Sends a request, completes with data or a specific error. + /// - Parameter url: The request's url + /// - Parameter completion: Response Data + /// - Parameter error: APIError: An eventual request error + internal func makeRequest(url: String, + completion:@escaping (Data) -> Void, + failure:@escaping (APIError) -> Void) { + + Alamofire.request(url) + .responseJSON { response in + guard response.result.error == nil else { + failure(.connectionFailed) + return + } + guard let data = response.data else { + failure(.noResultsFound) + return + } + completion(data) + } + } +} diff --git a/SwiftyGit/Model/PullRequest.swift b/SwiftyGit/Model/PullRequest.swift new file mode 100644 index 0000000..6f03801 --- /dev/null +++ b/SwiftyGit/Model/PullRequest.swift @@ -0,0 +1,36 @@ +// +// PullRequest.swift +// SwiftyGit +// +// Created by Arnaud Schloune on 11/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import Foundation +import Alamofire + +///Represents a Github PR's basic information +class PullRequest: Decodable { + ///The numeric unique identifier + let identifier: Int + ///PR's title + let title: String + ///PR's body : A description of what this PR contains + let body: String + ///The user who created the PR + let user: User + ///The creationdate + let creationDate: Date + ///The HTML URL + let htmlURL: URL + + ///:nodoc: + enum CodingKeys: String, CodingKey { + case identifier = "id" + case title + case body + case user + case creationDate = "created_at" + case htmlURL = "html_url" + } +} diff --git a/SwiftyGit/Model/Repository.swift b/SwiftyGit/Model/Repository.swift new file mode 100644 index 0000000..44a7b6b --- /dev/null +++ b/SwiftyGit/Model/Repository.swift @@ -0,0 +1,56 @@ +// +// Repository.swift +// SwiftyGit +// +// Created by Arnaud Schloune on 11/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import Foundation +import Alamofire + +///Wrapper containing the list of repository and other useful info +class RepositoryResponse: Decodable { + ///Number of imcomplete results + let incompleteResults: Int + ///Total number of Repositories included in the query + let totalCount: Int + ///Repositories in that response + let items: [Repository] + + ///:nodoc: + enum CodingKeys: String, CodingKey { + case incompleteResults = "incomplete_results" + case totalCount = "total_count" + case items + } +} + +///Represents a Github Repository's basic information +class Repository: Decodable { + ///The numeric unique identifier + let identifier: Int + ///The repo's name + let name: String + ///The repo's description + let description: String + ///The PR's URL + let pullsUrl: String + ///The total number of forks + let forks: Int + ///The total number of stars + let stargazers: Int + ///The owner/creator of the repo + let owner: User + + ///:nodoc: + enum CodingKeys: String, CodingKey { + case identifier = "id" + case name + case description + case pullsUrl = "pulls_url" + case forks + case stargazers = "stargazers_count" + case owner + } +} diff --git a/SwiftyGit/Model/User.swift b/SwiftyGit/Model/User.swift new file mode 100644 index 0000000..5f04e31 --- /dev/null +++ b/SwiftyGit/Model/User.swift @@ -0,0 +1,51 @@ +// +// User.swift +// SwiftyGit +// +// Created by Arnaud Schloune on 14/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import Foundation +import Alamofire + +///Different user types +enum UserType: String { + ///A standard user + case user = "User" + ///An organisation user (a company) + case organisation = "Organisation" + ///Unknown type (only used when the API sends new data) + case unknown +} + +///A Github User +class User: Decodable { + ///The numeric unique identifier + let identifier: Int + ///Login + let login: String + ///The user's avatar URL + let avatarUrl: URL + ///The account type + let type: UserType + + ///Initialises from a decoder object + /// - Parameter decoder: The decoder used to initialise + required init(from decoder: Decoder) throws { + let values = try decoder.container(keyedBy: CodingKeys.self) + identifier = try values.decode(Int.self, forKey: .identifier) + login = try values.decode(String.self, forKey: .login) + avatarUrl = try values.decode(URL.self, forKey: .avatarUrl) + let repoType = try values.decode(String.self, forKey: .type) + type = UserType.init(rawValue: repoType) ?? .unknown + } + + ///:nodoc: + enum CodingKeys: String, CodingKey { + case identifier = "id" + case login + case avatarUrl = "avatar_url" + case type + } +} diff --git a/SwiftyGit/RepositoryDetail/Configurator/RepositoryDetailConfigurator.swift b/SwiftyGit/RepositoryDetail/Configurator/RepositoryDetailConfigurator.swift new file mode 100644 index 0000000..b0ec1e8 --- /dev/null +++ b/SwiftyGit/RepositoryDetail/Configurator/RepositoryDetailConfigurator.swift @@ -0,0 +1,34 @@ +// +// RepositoryDetailRepositoryDetailConfigurator.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import UIKit + +class RepositoryDetailModuleConfigurator { + + func configureModuleForViewInput(viewInput: UIViewController, repository: Repository) { + + if let viewController = viewInput as? RepositoryDetailViewController { + configure(viewController: viewController, repository: repository) + } + } + + private func configure(viewController: RepositoryDetailViewController, repository: Repository) { + + let router = RepositoryDetailRouter() + + let presenter = RepositoryDetailPresenter(repository: repository) + presenter.view = viewController + presenter.router = router + + let interactor = RepositoryDetailInteractor(output: presenter, repository: repository) + interactor.output = presenter + + presenter.interactor = interactor + viewController.output = presenter + } +} diff --git a/SwiftyGit/RepositoryDetail/Interactor/RepositoryDetailInteractor.swift b/SwiftyGit/RepositoryDetail/Interactor/RepositoryDetailInteractor.swift new file mode 100644 index 0000000..3a30f29 --- /dev/null +++ b/SwiftyGit/RepositoryDetail/Interactor/RepositoryDetailInteractor.swift @@ -0,0 +1,27 @@ +// +// RepositoryDetailRepositoryDetailInteractor.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +class RepositoryDetailInteractor: RepositoryDetailInteractorInput { + + weak var output: RepositoryDetailInteractorOutput? + var repository: Repository + + init(output: RepositoryDetailInteractorOutput, repository: Repository) { + self.output = output + self.repository = repository + } + + func loadPullRequest(for repository: Repository) { + let client = APIClient() + client.pullRequests(for: repository, completion: { response in + self.output?.receivedPullRequests(response) + }, failure: { error in + self.output?.requestFailed(error: error) + }) + } +} diff --git a/SwiftyGit/RepositoryDetail/Interactor/RepositoryDetailInteractorInput.swift b/SwiftyGit/RepositoryDetail/Interactor/RepositoryDetailInteractorInput.swift new file mode 100644 index 0000000..7a85f53 --- /dev/null +++ b/SwiftyGit/RepositoryDetail/Interactor/RepositoryDetailInteractorInput.swift @@ -0,0 +1,14 @@ +// +// RepositoryDetailRepositoryDetailInteractorInput.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import Foundation + +protocol RepositoryDetailInteractorInput { + + func loadPullRequest(for repository: Repository) +} diff --git a/SwiftyGit/RepositoryDetail/Interactor/RepositoryDetailInteractorOutput.swift b/SwiftyGit/RepositoryDetail/Interactor/RepositoryDetailInteractorOutput.swift new file mode 100644 index 0000000..1416ce9 --- /dev/null +++ b/SwiftyGit/RepositoryDetail/Interactor/RepositoryDetailInteractorOutput.swift @@ -0,0 +1,15 @@ +// +// RepositoryDetailRepositoryDetailInteractorOutput.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import Foundation + +protocol RepositoryDetailInteractorOutput: class { + + func requestFailed(error: APIError) + func receivedPullRequests(_ response: [PullRequest]) +} diff --git a/SwiftyGit/RepositoryDetail/Presenter/RepositoryDetailModuleInput.swift b/SwiftyGit/RepositoryDetail/Presenter/RepositoryDetailModuleInput.swift new file mode 100644 index 0000000..680e9cb --- /dev/null +++ b/SwiftyGit/RepositoryDetail/Presenter/RepositoryDetailModuleInput.swift @@ -0,0 +1,11 @@ +// +// RepositoryDetailRepositoryDetailModuleInput.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +protocol RepositoryDetailModuleInput: class { + +} diff --git a/SwiftyGit/RepositoryDetail/Presenter/RepositoryDetailPresenter.swift b/SwiftyGit/RepositoryDetail/Presenter/RepositoryDetailPresenter.swift new file mode 100644 index 0000000..30a520f --- /dev/null +++ b/SwiftyGit/RepositoryDetail/Presenter/RepositoryDetailPresenter.swift @@ -0,0 +1,41 @@ +// +// RepositoryDetailRepositoryDetailPresenter.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// +import Foundation + +class RepositoryDetailPresenter: RepositoryDetailModuleInput, +RepositoryDetailViewOutput, RepositoryDetailInteractorOutput { + + weak var view: RepositoryDetailViewInput! + var interactor: RepositoryDetailInteractorInput! + var router: RepositoryDetailRouterInput! + let repository: Repository + var pullRequests: [PullRequest] + + init(repository: Repository) { + self.repository = repository + self.pullRequests = [] + } + + func viewIsReady() { + view.displayLoader(NSLocalizedString("loading", comment: "")) + interactor.loadPullRequest(for: repository) + view.displayRepositoryBasicInfo(self.repository) + } + + func requestFailed(error: APIError) { + view.displayError(error.message()) + } + + func receivedPullRequests(_ response: [PullRequest]) { + view.displayPullRequests(response) + } + + func didSelectPR(pullRequest: PullRequest) { + router.openWebLink(url: pullRequest.htmlURL) + } +} diff --git a/SwiftyGit/RepositoryDetail/Router/RepositoryDetailRouter.swift b/SwiftyGit/RepositoryDetail/Router/RepositoryDetailRouter.swift new file mode 100644 index 0000000..7291e6a --- /dev/null +++ b/SwiftyGit/RepositoryDetail/Router/RepositoryDetailRouter.swift @@ -0,0 +1,16 @@ +// +// RepositoryDetailRepositoryDetailRouter.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// +import Foundation +import UIKit + +class RepositoryDetailRouter: RepositoryDetailRouterInput { + + func openWebLink(url: URL) { + UIApplication.shared.openURL(url) + } +} diff --git a/SwiftyGit/RepositoryDetail/Router/RepositoryDetailRouterInput.swift b/SwiftyGit/RepositoryDetail/Router/RepositoryDetailRouterInput.swift new file mode 100644 index 0000000..7a2575e --- /dev/null +++ b/SwiftyGit/RepositoryDetail/Router/RepositoryDetailRouterInput.swift @@ -0,0 +1,13 @@ +// +// RepositoryDetailRepositoryDetailRouterInput.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import Foundation + +protocol RepositoryDetailRouterInput { + func openWebLink(url: URL) +} diff --git a/SwiftyGit/RepositoryDetail/View/PullRequestCell.swift b/SwiftyGit/RepositoryDetail/View/PullRequestCell.swift new file mode 100644 index 0000000..7d08765 --- /dev/null +++ b/SwiftyGit/RepositoryDetail/View/PullRequestCell.swift @@ -0,0 +1,27 @@ +// +// PullRequestCell.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 14/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import UIKit +import AlamofireImage + +class PullRequestCell: UITableViewCell { + @IBOutlet weak var name: UILabel! + @IBOutlet weak var desc: UILabel! + @IBOutlet weak var username: UILabel! + @IBOutlet weak var date: UILabel! + @IBOutlet weak var avatar: UIImageView! + + func fill(_ pullRequest: PullRequest) { + name.text = pullRequest.title + desc.text = pullRequest.body + date.text = pullRequest.creationDate.formatted() + username.text = pullRequest.user.login + let placeholderImage = UIImage(named: "owner_avatar")! + avatar.af_setImage(withURL: pullRequest.user.avatarUrl, placeholderImage: placeholderImage) + } +} diff --git a/SwiftyGit/RepositoryDetail/View/RepositoryDetailViewController.swift b/SwiftyGit/RepositoryDetail/View/RepositoryDetailViewController.swift new file mode 100644 index 0000000..957d9e1 --- /dev/null +++ b/SwiftyGit/RepositoryDetail/View/RepositoryDetailViewController.swift @@ -0,0 +1,67 @@ +// +// RepositoryDetailRepositoryDetailViewController.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import UIKit + +class RepositoryDetailViewController: UIViewController, RepositoryDetailViewInput, + UITableViewDataSource, UITableViewDelegate { + + @IBOutlet weak var tableView: UITableView! + var output: RepositoryDetailViewOutput! + var pullRequests: [PullRequest] = [] + + override func viewDidLoad() { + super.viewDidLoad() + output.viewIsReady() + } + + func displayRepositoryBasicInfo(_ repository: Repository) { + self.title = repository.name + } + + func numberOfSections(in tableView: UITableView) -> Int { + return 1 + } + + func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { + return pullRequests.count + } + + func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { + // swiftlint:disable force_cast + let cell = tableView.dequeueReusableCell(withIdentifier: "PullRequestCell", for: indexPath) as! PullRequestCell + // swiftlint:enable force_cast + cell.fill(pullRequests[indexPath.row]) + return cell + } + + func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? { + return pullRequests.count > 0 ? "\(pullRequests.count) PRs" : "..." + } + + func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? { + return UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 1)) + } + + func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { + output.didSelectPR(pullRequest: pullRequests[indexPath.row]) + } + + func displayPullRequests(_ prs: [PullRequest]) { + hideLoader() + self.pullRequests = prs + self.tableView.reloadData() + } + + func displayLoader(_ message: String) { + showLoader(message) + } + func displayError(_ message: String) { + showError(message) + } +} diff --git a/SwiftyGit/RepositoryDetail/View/RepositoryDetailViewInput.swift b/SwiftyGit/RepositoryDetail/View/RepositoryDetailViewInput.swift new file mode 100644 index 0000000..0a7af28 --- /dev/null +++ b/SwiftyGit/RepositoryDetail/View/RepositoryDetailViewInput.swift @@ -0,0 +1,19 @@ +// +// RepositoryDetailRepositoryDetailViewInput.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +protocol RepositoryDetailViewInput: class { + + /** + @author Arnaud Schloune + Setup initial state of the view + */ + func displayRepositoryBasicInfo(_ repository: Repository) + func displayPullRequests(_ prs: [PullRequest]) + func displayLoader(_ message: String) + func displayError(_ message: String) +} diff --git a/SwiftyGit/RepositoryDetail/View/RepositoryDetailViewOutput.swift b/SwiftyGit/RepositoryDetail/View/RepositoryDetailViewOutput.swift new file mode 100644 index 0000000..b718d7b --- /dev/null +++ b/SwiftyGit/RepositoryDetail/View/RepositoryDetailViewOutput.swift @@ -0,0 +1,18 @@ +// +// RepositoryDetailRepositoryDetailViewOutput.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +protocol RepositoryDetailViewOutput { + + /** + @author Arnaud Schloune + Notify presenter that view is ready + */ + + func viewIsReady() + func didSelectPR(pullRequest: PullRequest) +} diff --git a/SwiftyGit/RepositoryListing/Configurator/RepositoryListingConfigurator.swift b/SwiftyGit/RepositoryListing/Configurator/RepositoryListingConfigurator.swift new file mode 100644 index 0000000..a64a5cb --- /dev/null +++ b/SwiftyGit/RepositoryListing/Configurator/RepositoryListingConfigurator.swift @@ -0,0 +1,35 @@ +// +// RepositoryListingRepositoryListingConfigurator.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import UIKit + +class RepositoryListingModuleConfigurator { + + func configureModuleForViewInput(viewInput: UIViewController) { + + if let viewController = viewInput as? RepositoryListingViewController { + configure(viewController: viewController) + } + } + + private func configure(viewController: RepositoryListingViewController) { + + let router = RepositoryListingRouter() + + let presenter = RepositoryListingPresenter() + presenter.view = viewController + presenter.router = router + + let interactor = RepositoryListingInteractor() + interactor.output = presenter + + presenter.interactor = interactor + viewController.output = presenter + } + +} diff --git a/SwiftyGit/RepositoryListing/Configurator/RepositoryListingInitializer.swift b/SwiftyGit/RepositoryListing/Configurator/RepositoryListingInitializer.swift new file mode 100644 index 0000000..bb95f55 --- /dev/null +++ b/SwiftyGit/RepositoryListing/Configurator/RepositoryListingInitializer.swift @@ -0,0 +1,20 @@ +// +// RepositoryListingRepositoryListingInitializer.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import UIKit + +class RepositoryListingModuleInitializer: NSObject { + + //Connect with object on storyboard + @IBOutlet weak var repositorylistingViewController: RepositoryListingViewController! + + override func awakeFromNib() { + let configurator = RepositoryListingModuleConfigurator() + configurator.configureModuleForViewInput(viewInput: repositorylistingViewController) + } +} diff --git a/SwiftyGit/RepositoryListing/Interactor/RepositoryListingInteractor.swift b/SwiftyGit/RepositoryListing/Interactor/RepositoryListingInteractor.swift new file mode 100644 index 0000000..e21e84e --- /dev/null +++ b/SwiftyGit/RepositoryListing/Interactor/RepositoryListingInteractor.swift @@ -0,0 +1,24 @@ +// +// RepositoryListingRepositoryListingInteractor.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +class RepositoryListingInteractor: RepositoryListingInteractorInput { + + weak var output: RepositoryListingInteractorOutput! + + func loadRepositories(page: Int) { + + let client = APIClient() + client.repositories(page: 1, completion: {[weak self] response in + + self?.output.receivedResponse(response) + + }, failure: {[weak self] error in + self?.output.requestFailed(error: error) + }) + } +} diff --git a/SwiftyGit/RepositoryListing/Interactor/RepositoryListingInteractorInput.swift b/SwiftyGit/RepositoryListing/Interactor/RepositoryListingInteractorInput.swift new file mode 100644 index 0000000..38ebc9e --- /dev/null +++ b/SwiftyGit/RepositoryListing/Interactor/RepositoryListingInteractorInput.swift @@ -0,0 +1,14 @@ +// +// RepositoryListingRepositoryListingInteractorInput.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import Foundation + +protocol RepositoryListingInteractorInput { + + func loadRepositories(page: Int) +} diff --git a/SwiftyGit/RepositoryListing/Interactor/RepositoryListingInteractorOutput.swift b/SwiftyGit/RepositoryListing/Interactor/RepositoryListingInteractorOutput.swift new file mode 100644 index 0000000..f11db08 --- /dev/null +++ b/SwiftyGit/RepositoryListing/Interactor/RepositoryListingInteractorOutput.swift @@ -0,0 +1,15 @@ +// +// RepositoryListingRepositoryListingInteractorOutput.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import Foundation + +protocol RepositoryListingInteractorOutput: class { + + func requestFailed(error: APIError) + func receivedResponse(_ response: RepositoryResponse) +} diff --git a/SwiftyGit/RepositoryListing/Presenter/RepositoryListingModuleInput.swift b/SwiftyGit/RepositoryListing/Presenter/RepositoryListingModuleInput.swift new file mode 100644 index 0000000..b8e9a90 --- /dev/null +++ b/SwiftyGit/RepositoryListing/Presenter/RepositoryListingModuleInput.swift @@ -0,0 +1,11 @@ +// +// RepositoryListingRepositoryListingModuleInput.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +protocol RepositoryListingModuleInput: class { + +} diff --git a/SwiftyGit/RepositoryListing/Presenter/RepositoryListingPresenter.swift b/SwiftyGit/RepositoryListing/Presenter/RepositoryListingPresenter.swift new file mode 100644 index 0000000..03545fa --- /dev/null +++ b/SwiftyGit/RepositoryListing/Presenter/RepositoryListingPresenter.swift @@ -0,0 +1,34 @@ +// +// RepositoryListingRepositoryListingPresenter.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// +import Foundation + +class RepositoryListingPresenter: RepositoryListingModuleInput, +RepositoryListingViewOutput, RepositoryListingInteractorOutput { + + func didSelectRepository(from: RepositoryListingViewController, repository: Repository) { + from.title = "" + router.displayDetailRepo(from: from, repository: repository) + } + + weak var view: RepositoryListingViewInput! + var interactor: RepositoryListingInteractorInput! + var router: RepositoryListingRouterInput! + + func viewIsReady() { + view.displayLoader(NSLocalizedString("loading", comment: "")) + interactor.loadRepositories(page: 0) + } + + func requestFailed(error: APIError) { + view.displayError(error.message()) + } + + func receivedResponse(_ response: RepositoryResponse) { + view.displayRepositories(response.items) + } +} diff --git a/SwiftyGit/RepositoryListing/Router/RepositoryListingRouter.swift b/SwiftyGit/RepositoryListing/Router/RepositoryListingRouter.swift new file mode 100644 index 0000000..ab3ff2b --- /dev/null +++ b/SwiftyGit/RepositoryListing/Router/RepositoryListingRouter.swift @@ -0,0 +1,25 @@ +// +// RepositoryListingRepositoryListingRouter.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import UIKit + +class RepositoryListingRouter: RepositoryListingRouterInput { + + func displayDetailRepo(from: RepositoryListingViewController, repository: Repository) { + //Configure the VIPER module from the storyboard + let configurator = RepositoryDetailModuleConfigurator() + let storyboard = UIStoryboard(name: "Main", bundle: nil) + // swiftlint:disable force_cast + let detailController = storyboard.instantiateViewController(withIdentifier: "RepositoryDetailViewController") + as! RepositoryDetailViewController + // swiftlint:enable force_cast + configurator.configureModuleForViewInput(viewInput: detailController, repository: repository) + from.navigationController?.pushViewController(detailController, animated: true) + } + +} diff --git a/SwiftyGit/RepositoryListing/Router/RepositoryListingRouterInput.swift b/SwiftyGit/RepositoryListing/Router/RepositoryListingRouterInput.swift new file mode 100644 index 0000000..7808678 --- /dev/null +++ b/SwiftyGit/RepositoryListing/Router/RepositoryListingRouterInput.swift @@ -0,0 +1,14 @@ +// +// RepositoryListingRepositoryListingRouterInput.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import Foundation + +protocol RepositoryListingRouterInput { + + func displayDetailRepo(from: RepositoryListingViewController, repository: Repository) +} diff --git a/SwiftyGit/RepositoryListing/View/RepoCell.swift b/SwiftyGit/RepositoryListing/View/RepoCell.swift new file mode 100644 index 0000000..f18a82e --- /dev/null +++ b/SwiftyGit/RepositoryListing/View/RepoCell.swift @@ -0,0 +1,29 @@ +// +// RepoCell.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 12/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import UIKit +import AlamofireImage + +class RepoCell: UITableViewCell { + @IBOutlet weak var name: UILabel! + @IBOutlet weak var desc: UILabel! + @IBOutlet weak var username: UILabel! + @IBOutlet weak var forks: UILabel! + @IBOutlet weak var stars: UILabel! + @IBOutlet weak var avatar: UIImageView! + + func fill(_ repository: Repository) { + name.text = repository.name + desc.text = repository.description + forks.text = "\(repository.forks)" + stars.text = "\(repository.stargazers)" + username.text = repository.owner.login + let placeholderImage = UIImage(named: "owner_avatar")! + avatar.af_setImage(withURL: repository.owner.avatarUrl, placeholderImage: placeholderImage) + } +} diff --git a/SwiftyGit/RepositoryListing/View/RepositoryListingViewController.swift b/SwiftyGit/RepositoryListing/View/RepositoryListingViewController.swift new file mode 100644 index 0000000..0319600 --- /dev/null +++ b/SwiftyGit/RepositoryListing/View/RepositoryListingViewController.swift @@ -0,0 +1,65 @@ +// +// RepositoryListingRepositoryListingViewController.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import UIKit + +class RepositoryListingViewController: UIViewController, +RepositoryListingViewInput, UITableViewDataSource, UITableViewDelegate { + + var output: RepositoryListingViewOutput! + var repositories: [Repository] = [] + @IBOutlet weak var tableView: UITableView! + + // MARK: Life cycle + override func viewDidLoad() { + super.viewDidLoad() + output.viewIsReady() + } + + override func viewDidAppear(_ animated: Bool) { + tableView.reloadData() + self.title = NSLocalizedString("listing_title", comment: "") + } + + func numberOfSections(in tableView: UITableView) -> Int { + return 1 + } + + func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { + return self.repositories.count + } + + func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { + // swiftlint:disable force_cast + let cell = tableView.dequeueReusableCell(withIdentifier: "RepoCell", for: indexPath) as! RepoCell + // swiftlint:enable force_cast + cell.fill(repositories[indexPath.row]) + return cell + } + + func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { + output.didSelectRepository(from: self, repository: repositories[indexPath.row]) + } + + func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? { + return UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 1)) + } + + func displayRepositories(_ repositories: [Repository]) { + hideLoader() + self.repositories = repositories + tableView.reloadData() + } + + func displayLoader(_ message: String) { + showLoader(message) + } + func displayError(_ message: String) { + showError(message) + } +} diff --git a/SwiftyGit/RepositoryListing/View/RepositoryListingViewInput.swift b/SwiftyGit/RepositoryListing/View/RepositoryListingViewInput.swift new file mode 100644 index 0000000..c112f85 --- /dev/null +++ b/SwiftyGit/RepositoryListing/View/RepositoryListingViewInput.swift @@ -0,0 +1,19 @@ +// +// RepositoryListingRepositoryListingViewInput.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +protocol RepositoryListingViewInput: class { + + /** + @author Arnaud Schloune + Setup initial state of the view + */ + + func displayRepositories(_ repositories: [Repository]) + func displayLoader(_ message: String) + func displayError(_ message: String) +} diff --git a/SwiftyGit/RepositoryListing/View/RepositoryListingViewOutput.swift b/SwiftyGit/RepositoryListing/View/RepositoryListingViewOutput.swift new file mode 100644 index 0000000..5697262 --- /dev/null +++ b/SwiftyGit/RepositoryListing/View/RepositoryListingViewOutput.swift @@ -0,0 +1,18 @@ +// +// RepositoryListingRepositoryListingViewOutput.swift +// desafio-mobile-ios +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +protocol RepositoryListingViewOutput { + + /** + @author Arnaud Schloune + Notify presenter that view is ready + */ + + func viewIsReady() + func didSelectRepository(from: RepositoryListingViewController, repository: Repository) +} diff --git a/SwiftyGit/Utils/Date+Format.swift b/SwiftyGit/Utils/Date+Format.swift new file mode 100644 index 0000000..8808c68 --- /dev/null +++ b/SwiftyGit/Utils/Date+Format.swift @@ -0,0 +1,21 @@ +// +// Date+Format.swift +// SwiftyGit +// +// Created by Arnaud Schloune on 11/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import Foundation + +/// +extension Date { + ///Formats all dates to the same format + /// - Returns String: The formatted date + func formatted() -> String { + let dateFormatter = DateFormatter() + dateFormatter.dateFormat = "dd-MM-yyyy" + dateFormatter.locale = Locale(identifier: "en") + return dateFormatter.string(from: self) + } +} diff --git a/SwiftyGit/Utils/UIViewController+Loading.swift b/SwiftyGit/Utils/UIViewController+Loading.swift new file mode 100644 index 0000000..76de61a --- /dev/null +++ b/SwiftyGit/Utils/UIViewController+Loading.swift @@ -0,0 +1,27 @@ +// +// UIViewController+Loading.swift +// SwiftyGit +// +// Created by Arnaud Schloune on 11/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import Foundation +import UIKit +import SVProgressHUD + +///Wrapper to show a loader in any UIViewController +extension UIViewController { + ///Shows a loader + func showLoader(_ message: String) { + SVProgressHUD.show(withStatus: message) + } + ///Hides the loader + func hideLoader() { + SVProgressHUD.dismiss() + } + ///Shows an error message + func showError(_ message: String) { + SVProgressHUD.showError(withStatus: message) + } +} diff --git a/SwiftyGitTests/Info.plist b/SwiftyGitTests/Info.plist new file mode 100644 index 0000000..6c40a6c --- /dev/null +++ b/SwiftyGitTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/SwiftyGitTests/SwiftyGitTests.swift b/SwiftyGitTests/SwiftyGitTests.swift new file mode 100644 index 0000000..bb18e25 --- /dev/null +++ b/SwiftyGitTests/SwiftyGitTests.swift @@ -0,0 +1,41 @@ +// +// SwiftyGitTests.swift +// SwiftyGitTests +// +// Created by Arnaud Schloune on 07/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import XCTest +@testable import SwiftyGit + +class SwiftyGitTests: XCTestCase { + override func setUp() { + super.setUp() + } + + override func tearDown() { + super.tearDown() + } + + func testPullRequest_ShouldBeParsedFromJSON() { + //Given + let pullRequestJSON = TestUtils().loadData("pullRequests")! + //When + let decoder = JSONDecoder() + decoder.dateDecodingStrategy = .iso8601 + // swiftlint:disable force_try + let pullRequests = try! decoder.decode([PullRequest].self, from: pullRequestJSON) + //Then + XCTAssertEqual(pullRequests.count, 9) + } + + func testDateFormatter_ShouldFormatDateCorrectly() { + //Given + let date = Date(timeIntervalSince1970: 1510774235) + //Whem + let format = date.formatted() + //Then + XCTAssertEqual(format, "15-11-2017") + } +} diff --git a/SwiftyGitTests/TestUtils.swift b/SwiftyGitTests/TestUtils.swift new file mode 100644 index 0000000..46fbd06 --- /dev/null +++ b/SwiftyGitTests/TestUtils.swift @@ -0,0 +1,24 @@ +// +// TestUtils.swift +// SwiftyGitTests +// +// Created by Arnaud Schloune on 14/11/2017. +// Copyright © 2017 mmommommomo. All rights reserved. +// + +import XCTest +@testable import SwiftyGit + +class TestUtils { + //Internal method to load json file to NSDictionary + func loadData(_ fileName: String) -> Data? { + let bundle = Bundle(for: type(of: self)) + guard let url = bundle.url(forResource: fileName, withExtension: "json") else { return nil } + do { + let data = try Data(contentsOf: url as URL) + return data + } catch { + return nil + } + } +} diff --git a/SwiftyGitTests/pullRequests.json b/SwiftyGitTests/pullRequests.json new file mode 100644 index 0000000..61a5d9a --- /dev/null +++ b/SwiftyGitTests/pullRequests.json @@ -0,0 +1,3063 @@ +[ + { + "url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2350", + "id": 150380612, + "html_url": "https://github.com/Alamofire/Alamofire/pull/2350", + "diff_url": "https://github.com/Alamofire/Alamofire/pull/2350.diff", + "patch_url": "https://github.com/Alamofire/Alamofire/pull/2350.patch", + "issue_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2350", + "number": 2350, + "state": "open", + "locked": false, + "title": "fix issues/2340. https://github.com/Alamofire/Alamofire/issues/2340", + "user": { + "login": "chdzq", + "id": 5900384, + "avatar_url": "https://avatars3.githubusercontent.com/u/5900384?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/chdzq", + "html_url": "https://github.com/chdzq", + "followers_url": "https://api.github.com/users/chdzq/followers", + "following_url": "https://api.github.com/users/chdzq/following{/other_user}", + "gists_url": "https://api.github.com/users/chdzq/gists{/gist_id}", + "starred_url": "https://api.github.com/users/chdzq/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/chdzq/subscriptions", + "organizations_url": "https://api.github.com/users/chdzq/orgs", + "repos_url": "https://api.github.com/users/chdzq/repos", + "events_url": "https://api.github.com/users/chdzq/events{/privacy}", + "received_events_url": "https://api.github.com/users/chdzq/received_events", + "type": "User", + "site_admin": false + }, + "body": "### Issue Link :link:\r\nfix [issue 2340](https://github.com/Alamofire/Alamofire/issues/2340)\r\n\r\n### Goals :soccer:\r\n\r\n\r\n\r\n### Implementation Details :construction:\r\n1. class SessionTaskStateOperator use for decorate task state: `resume`、`suspend`、`cancel`.\r\nthe classes, like `SessionTaskStateOperator`, `SessionDownloadTaskStateOperator`, `OperationQueueStateDecorator`, `CancelRetriedRequestStateDecorator`, in SessionTaskStateOperator.swift.\r\n\r\n2. when cancel request, should also cancel dispatch block. i use `DispatchWorkItem`, cancel request easily. also apply to `suspend`.\r\n\r\n3. extension `NSError` and `DispatchQueue`. \r\nlook at `Extensions` folder\r\n\r\n\r\n\r\n### Testing Details :mag:\r\n\r\nadd three case: \r\n1. testThatDontRequestAfterCancelRequestWhenRequestIsRetried\r\n2.testThatAllowRetrierRequestAfterCancelRequestWhenRequestIsRetried\r\n3.testThatDontDownloadAfterCancelDownloadRequestWhenRequestIsRetried", + "created_at": "2017-11-02T19:16:38Z", + "updated_at": "2017-11-03T05:23:57Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "de95c51abafcb772cc919f0123d8022fa712814d", + "assignee": null, + "assignees": [ + + ], + "requested_reviewers": [ + + ], + "milestone": null, + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2350/commits", + "review_comments_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2350/comments", + "review_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2350/comments", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/032e18aa75fe2b2b1f639f6c35ca3d8488da2c68", + "head": { + "label": "chdzq:master", + "ref": "master", + "sha": "032e18aa75fe2b2b1f639f6c35ca3d8488da2c68", + "user": { + "login": "chdzq", + "id": 5900384, + "avatar_url": "https://avatars3.githubusercontent.com/u/5900384?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/chdzq", + "html_url": "https://github.com/chdzq", + "followers_url": "https://api.github.com/users/chdzq/followers", + "following_url": "https://api.github.com/users/chdzq/following{/other_user}", + "gists_url": "https://api.github.com/users/chdzq/gists{/gist_id}", + "starred_url": "https://api.github.com/users/chdzq/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/chdzq/subscriptions", + "organizations_url": "https://api.github.com/users/chdzq/orgs", + "repos_url": "https://api.github.com/users/chdzq/repos", + "events_url": "https://api.github.com/users/chdzq/events{/privacy}", + "received_events_url": "https://api.github.com/users/chdzq/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 109224742, + "name": "Alamofire", + "full_name": "chdzq/Alamofire", + "owner": { + "login": "chdzq", + "id": 5900384, + "avatar_url": "https://avatars3.githubusercontent.com/u/5900384?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/chdzq", + "html_url": "https://github.com/chdzq", + "followers_url": "https://api.github.com/users/chdzq/followers", + "following_url": "https://api.github.com/users/chdzq/following{/other_user}", + "gists_url": "https://api.github.com/users/chdzq/gists{/gist_id}", + "starred_url": "https://api.github.com/users/chdzq/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/chdzq/subscriptions", + "organizations_url": "https://api.github.com/users/chdzq/orgs", + "repos_url": "https://api.github.com/users/chdzq/repos", + "events_url": "https://api.github.com/users/chdzq/events{/privacy}", + "received_events_url": "https://api.github.com/users/chdzq/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/chdzq/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": true, + "url": "https://api.github.com/repos/chdzq/Alamofire", + "forks_url": "https://api.github.com/repos/chdzq/Alamofire/forks", + "keys_url": "https://api.github.com/repos/chdzq/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/chdzq/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/chdzq/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/chdzq/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/chdzq/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/chdzq/Alamofire/events", + "assignees_url": "https://api.github.com/repos/chdzq/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/chdzq/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/chdzq/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/chdzq/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/chdzq/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/chdzq/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/chdzq/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/chdzq/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/chdzq/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/chdzq/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/chdzq/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/chdzq/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/chdzq/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/chdzq/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/chdzq/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/chdzq/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/chdzq/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/chdzq/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/chdzq/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/chdzq/Alamofire/merges", + "archive_url": "https://api.github.com/repos/chdzq/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/chdzq/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/chdzq/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/chdzq/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/chdzq/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/chdzq/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/chdzq/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/chdzq/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/chdzq/Alamofire/deployments", + "created_at": "2017-11-02T06:12:16Z", + "updated_at": "2017-11-02T06:12:19Z", + "pushed_at": "2017-11-03T05:23:52Z", + "git_url": "git://github.com/chdzq/Alamofire.git", + "ssh_url": "git@github.com:chdzq/Alamofire.git", + "clone_url": "https://github.com/chdzq/Alamofire.git", + "svn_url": "https://github.com/chdzq/Alamofire", + "homepage": "", + "size": 4718, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Swift", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 0, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "Alamofire:master", + "ref": "master", + "sha": "361882486deb67a37f81f3cb84757c58b707dde9", + "user": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 22458259, + "name": "Alamofire", + "full_name": "Alamofire/Alamofire", + "owner": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Alamofire/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": false, + "url": "https://api.github.com/repos/Alamofire/Alamofire", + "forks_url": "https://api.github.com/repos/Alamofire/Alamofire/forks", + "keys_url": "https://api.github.com/repos/Alamofire/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Alamofire/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Alamofire/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/Alamofire/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/Alamofire/Alamofire/events", + "assignees_url": "https://api.github.com/repos/Alamofire/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/Alamofire/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/Alamofire/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Alamofire/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Alamofire/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Alamofire/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/Alamofire/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/Alamofire/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/Alamofire/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/Alamofire/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Alamofire/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Alamofire/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/Alamofire/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Alamofire/Alamofire/merges", + "archive_url": "https://api.github.com/repos/Alamofire/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Alamofire/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/Alamofire/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Alamofire/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/Alamofire/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/Alamofire/Alamofire/deployments", + "created_at": "2014-07-31T05:56:19Z", + "updated_at": "2017-11-13T19:40:30Z", + "pushed_at": "2017-11-13T04:34:31Z", + "git_url": "git://github.com/Alamofire/Alamofire.git", + "ssh_url": "git@github.com:Alamofire/Alamofire.git", + "clone_url": "https://github.com/Alamofire/Alamofire.git", + "svn_url": "https://github.com/Alamofire/Alamofire", + "homepage": "", + "size": 4966, + "stargazers_count": 25869, + "watchers_count": 25869, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 4499, + "mirror_url": null, + "archived": false, + "open_issues_count": 42, + "forks": 4499, + "open_issues": 42, + "watchers": 25869, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2350" + }, + "html": { + "href": "https://github.com/Alamofire/Alamofire/pull/2350" + }, + "issue": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2350" + }, + "comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2350/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2350/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2350/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/statuses/032e18aa75fe2b2b1f639f6c35ca3d8488da2c68" + } + }, + "author_association": "NONE" + }, + { + "url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2346", + "id": 149660166, + "html_url": "https://github.com/Alamofire/Alamofire/pull/2346", + "diff_url": "https://github.com/Alamofire/Alamofire/pull/2346.diff", + "patch_url": "https://github.com/Alamofire/Alamofire/pull/2346.patch", + "issue_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2346", + "number": 2346, + "state": "open", + "locked": false, + "title": "Brotli Accept-Encoding Support", + "user": { + "login": "jshier", + "id": 51020, + "avatar_url": "https://avatars0.githubusercontent.com/u/51020?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jshier", + "html_url": "https://github.com/jshier", + "followers_url": "https://api.github.com/users/jshier/followers", + "following_url": "https://api.github.com/users/jshier/following{/other_user}", + "gists_url": "https://api.github.com/users/jshier/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jshier/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jshier/subscriptions", + "organizations_url": "https://api.github.com/users/jshier/orgs", + "repos_url": "https://api.github.com/users/jshier/repos", + "events_url": "https://api.github.com/users/jshier/events{/privacy}", + "received_events_url": "https://api.github.com/users/jshier/received_events", + "type": "User", + "site_admin": false + }, + "body": "### Issue Link :link:\r\n#2230\r\n\r\n### Goals :soccer:\r\nThis PR adds the Brotli encoding to the default `Accept-Encoding` header.\r\n\r\n### Implementation Details :construction:\r\nThe `Accept-Encoding` header was made dynamic based on the available system. Unfortunately it can't be made entirely dynamic, as there's no way to query for supported encodings, but these changes match the header generated by `URLSession` if it isn't already there. It also removes `compress` support since it's not normally advertised and there wasn't a way to test it.\r\n\r\n### Testing Details :mag:\r\nAdds a `SessionManager` test against `httpbin.org` endpoints for supported encoding types to ensure we detect regressions.\r\n", + "created_at": "2017-10-30T23:11:01Z", + "updated_at": "2017-10-30T23:12:19Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "3cc5d06298c7f1713f7a5b0996f73a5086ecbb8f", + "assignee": null, + "assignees": [ + + ], + "requested_reviewers": [ + + ], + "milestone": { + "url": "https://api.github.com/repos/Alamofire/Alamofire/milestones/40", + "html_url": "https://github.com/Alamofire/Alamofire/milestone/40", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones/40/labels", + "id": 2588359, + "number": 40, + "title": "5.0.0", + "description": "", + "creator": { + "login": "cnoon", + "id": 169110, + "avatar_url": "https://avatars1.githubusercontent.com/u/169110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cnoon", + "html_url": "https://github.com/cnoon", + "followers_url": "https://api.github.com/users/cnoon/followers", + "following_url": "https://api.github.com/users/cnoon/following{/other_user}", + "gists_url": "https://api.github.com/users/cnoon/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cnoon/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cnoon/subscriptions", + "organizations_url": "https://api.github.com/users/cnoon/orgs", + "repos_url": "https://api.github.com/users/cnoon/repos", + "events_url": "https://api.github.com/users/cnoon/events{/privacy}", + "received_events_url": "https://api.github.com/users/cnoon/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 25, + "closed_issues": 0, + "state": "open", + "created_at": "2017-06-16T23:32:31Z", + "updated_at": "2017-10-30T23:14:04Z", + "due_on": null, + "closed_at": null + }, + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2346/commits", + "review_comments_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2346/comments", + "review_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2346/comments", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/476bd664f03eadee14c5db35891bcb580e99d428", + "head": { + "label": "Alamofire:brotli-support", + "ref": "brotli-support", + "sha": "476bd664f03eadee14c5db35891bcb580e99d428", + "user": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 22458259, + "name": "Alamofire", + "full_name": "Alamofire/Alamofire", + "owner": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Alamofire/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": false, + "url": "https://api.github.com/repos/Alamofire/Alamofire", + "forks_url": "https://api.github.com/repos/Alamofire/Alamofire/forks", + "keys_url": "https://api.github.com/repos/Alamofire/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Alamofire/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Alamofire/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/Alamofire/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/Alamofire/Alamofire/events", + "assignees_url": "https://api.github.com/repos/Alamofire/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/Alamofire/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/Alamofire/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Alamofire/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Alamofire/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Alamofire/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/Alamofire/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/Alamofire/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/Alamofire/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/Alamofire/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Alamofire/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Alamofire/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/Alamofire/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Alamofire/Alamofire/merges", + "archive_url": "https://api.github.com/repos/Alamofire/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Alamofire/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/Alamofire/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Alamofire/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/Alamofire/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/Alamofire/Alamofire/deployments", + "created_at": "2014-07-31T05:56:19Z", + "updated_at": "2017-11-13T19:40:30Z", + "pushed_at": "2017-11-13T04:34:31Z", + "git_url": "git://github.com/Alamofire/Alamofire.git", + "ssh_url": "git@github.com:Alamofire/Alamofire.git", + "clone_url": "https://github.com/Alamofire/Alamofire.git", + "svn_url": "https://github.com/Alamofire/Alamofire", + "homepage": "", + "size": 4966, + "stargazers_count": 25869, + "watchers_count": 25869, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 4499, + "mirror_url": null, + "archived": false, + "open_issues_count": 42, + "forks": 4499, + "open_issues": 42, + "watchers": 25869, + "default_branch": "master" + } + }, + "base": { + "label": "Alamofire:servertrustpolicy-refactor", + "ref": "servertrustpolicy-refactor", + "sha": "918e25e974bae835788567b1788acadd89cc194f", + "user": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 22458259, + "name": "Alamofire", + "full_name": "Alamofire/Alamofire", + "owner": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Alamofire/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": false, + "url": "https://api.github.com/repos/Alamofire/Alamofire", + "forks_url": "https://api.github.com/repos/Alamofire/Alamofire/forks", + "keys_url": "https://api.github.com/repos/Alamofire/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Alamofire/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Alamofire/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/Alamofire/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/Alamofire/Alamofire/events", + "assignees_url": "https://api.github.com/repos/Alamofire/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/Alamofire/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/Alamofire/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Alamofire/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Alamofire/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Alamofire/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/Alamofire/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/Alamofire/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/Alamofire/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/Alamofire/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Alamofire/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Alamofire/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/Alamofire/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Alamofire/Alamofire/merges", + "archive_url": "https://api.github.com/repos/Alamofire/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Alamofire/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/Alamofire/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Alamofire/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/Alamofire/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/Alamofire/Alamofire/deployments", + "created_at": "2014-07-31T05:56:19Z", + "updated_at": "2017-11-13T19:40:30Z", + "pushed_at": "2017-11-13T04:34:31Z", + "git_url": "git://github.com/Alamofire/Alamofire.git", + "ssh_url": "git@github.com:Alamofire/Alamofire.git", + "clone_url": "https://github.com/Alamofire/Alamofire.git", + "svn_url": "https://github.com/Alamofire/Alamofire", + "homepage": "", + "size": 4966, + "stargazers_count": 25869, + "watchers_count": 25869, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 4499, + "mirror_url": null, + "archived": false, + "open_issues_count": 42, + "forks": 4499, + "open_issues": 42, + "watchers": 25869, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2346" + }, + "html": { + "href": "https://github.com/Alamofire/Alamofire/pull/2346" + }, + "issue": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2346" + }, + "comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2346/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2346/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2346/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/statuses/476bd664f03eadee14c5db35891bcb580e99d428" + } + }, + "author_association": "CONTRIBUTOR" + }, + { + "url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2344", + "id": 149420500, + "html_url": "https://github.com/Alamofire/Alamofire/pull/2344", + "diff_url": "https://github.com/Alamofire/Alamofire/pull/2344.diff", + "patch_url": "https://github.com/Alamofire/Alamofire/pull/2344.patch", + "issue_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2344", + "number": 2344, + "state": "open", + "locked": false, + "title": "Refactor ServerTrustPolicy", + "user": { + "login": "jshier", + "id": 51020, + "avatar_url": "https://avatars0.githubusercontent.com/u/51020?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jshier", + "html_url": "https://github.com/jshier", + "followers_url": "https://api.github.com/users/jshier/followers", + "following_url": "https://api.github.com/users/jshier/following{/other_user}", + "gists_url": "https://api.github.com/users/jshier/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jshier/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jshier/subscriptions", + "organizations_url": "https://api.github.com/users/jshier/orgs", + "repos_url": "https://api.github.com/users/jshier/repos", + "events_url": "https://api.github.com/users/jshier/events{/privacy}", + "received_events_url": "https://api.github.com/users/jshier/received_events", + "type": "User", + "site_admin": false + }, + "body": "### Issue Link :link:\r\n#2249\r\n\r\n### Goals :soccer:\r\nThis PR refactors the previous `ServerTrustPolicy` types into a protocol and several implementing classes, doing away with the previous `enum`. \r\n\r\n### Implementation Details :construction:\r\n\r\n- `ServerTrustEvaluating` protocol added, which is intended to allow us to support Linux trust evaluation in the future, once that's possible. A method requirement is provided for Apple platforms, with the Linux requirement to be defined later. \r\n\r\n- The previous `ServerTrustPolicy` `enum` has be refactored into classes which implement `ServerTrustEvaluating`. This will allow us to more easily add support in the future (no breaking enum changes) for new evaluations or when adding Linux support. All logic remains the same and no new evaluations have been added.\r\n\r\n- `CompositeTrustEvaluator` has been added, allowing users to use multiple `ServerTrustEvaluating` types at the same time.\r\n\r\n- `ServerTrustPolicyManager` has been renamed to `ServerTrustManager`, with various relevant usage sites updated.\r\n\r\n### Testing Details :mag:\r\nAll tests remain, but refactored for the new types. Tests for `CompositeTrustEvaluator` have been added.", + "created_at": "2017-10-30T01:36:59Z", + "updated_at": "2017-10-30T23:12:30Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "62c56ef5bfb0cd25fef5e03f9eb1bd113b36686a", + "assignee": null, + "assignees": [ + + ], + "requested_reviewers": [ + + ], + "milestone": { + "url": "https://api.github.com/repos/Alamofire/Alamofire/milestones/40", + "html_url": "https://github.com/Alamofire/Alamofire/milestone/40", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones/40/labels", + "id": 2588359, + "number": 40, + "title": "5.0.0", + "description": "", + "creator": { + "login": "cnoon", + "id": 169110, + "avatar_url": "https://avatars1.githubusercontent.com/u/169110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cnoon", + "html_url": "https://github.com/cnoon", + "followers_url": "https://api.github.com/users/cnoon/followers", + "following_url": "https://api.github.com/users/cnoon/following{/other_user}", + "gists_url": "https://api.github.com/users/cnoon/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cnoon/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cnoon/subscriptions", + "organizations_url": "https://api.github.com/users/cnoon/orgs", + "repos_url": "https://api.github.com/users/cnoon/repos", + "events_url": "https://api.github.com/users/cnoon/events{/privacy}", + "received_events_url": "https://api.github.com/users/cnoon/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 25, + "closed_issues": 0, + "state": "open", + "created_at": "2017-06-16T23:32:31Z", + "updated_at": "2017-10-30T23:14:04Z", + "due_on": null, + "closed_at": null + }, + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2344/commits", + "review_comments_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2344/comments", + "review_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2344/comments", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/918e25e974bae835788567b1788acadd89cc194f", + "head": { + "label": "Alamofire:servertrustpolicy-refactor", + "ref": "servertrustpolicy-refactor", + "sha": "918e25e974bae835788567b1788acadd89cc194f", + "user": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 22458259, + "name": "Alamofire", + "full_name": "Alamofire/Alamofire", + "owner": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Alamofire/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": false, + "url": "https://api.github.com/repos/Alamofire/Alamofire", + "forks_url": "https://api.github.com/repos/Alamofire/Alamofire/forks", + "keys_url": "https://api.github.com/repos/Alamofire/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Alamofire/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Alamofire/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/Alamofire/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/Alamofire/Alamofire/events", + "assignees_url": "https://api.github.com/repos/Alamofire/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/Alamofire/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/Alamofire/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Alamofire/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Alamofire/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Alamofire/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/Alamofire/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/Alamofire/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/Alamofire/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/Alamofire/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Alamofire/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Alamofire/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/Alamofire/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Alamofire/Alamofire/merges", + "archive_url": "https://api.github.com/repos/Alamofire/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Alamofire/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/Alamofire/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Alamofire/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/Alamofire/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/Alamofire/Alamofire/deployments", + "created_at": "2014-07-31T05:56:19Z", + "updated_at": "2017-11-13T19:40:30Z", + "pushed_at": "2017-11-13T04:34:31Z", + "git_url": "git://github.com/Alamofire/Alamofire.git", + "ssh_url": "git@github.com:Alamofire/Alamofire.git", + "clone_url": "https://github.com/Alamofire/Alamofire.git", + "svn_url": "https://github.com/Alamofire/Alamofire", + "homepage": "", + "size": 4966, + "stargazers_count": 25869, + "watchers_count": 25869, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 4499, + "mirror_url": null, + "archived": false, + "open_issues_count": 42, + "forks": 4499, + "open_issues": 42, + "watchers": 25869, + "default_branch": "master" + } + }, + "base": { + "label": "Alamofire:lock-refactor", + "ref": "lock-refactor", + "sha": "40ea77bfed935920680c8486b52973aba3bbc349", + "user": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 22458259, + "name": "Alamofire", + "full_name": "Alamofire/Alamofire", + "owner": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Alamofire/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": false, + "url": "https://api.github.com/repos/Alamofire/Alamofire", + "forks_url": "https://api.github.com/repos/Alamofire/Alamofire/forks", + "keys_url": "https://api.github.com/repos/Alamofire/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Alamofire/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Alamofire/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/Alamofire/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/Alamofire/Alamofire/events", + "assignees_url": "https://api.github.com/repos/Alamofire/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/Alamofire/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/Alamofire/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Alamofire/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Alamofire/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Alamofire/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/Alamofire/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/Alamofire/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/Alamofire/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/Alamofire/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Alamofire/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Alamofire/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/Alamofire/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Alamofire/Alamofire/merges", + "archive_url": "https://api.github.com/repos/Alamofire/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Alamofire/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/Alamofire/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Alamofire/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/Alamofire/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/Alamofire/Alamofire/deployments", + "created_at": "2014-07-31T05:56:19Z", + "updated_at": "2017-11-13T19:40:30Z", + "pushed_at": "2017-11-13T04:34:31Z", + "git_url": "git://github.com/Alamofire/Alamofire.git", + "ssh_url": "git@github.com:Alamofire/Alamofire.git", + "clone_url": "https://github.com/Alamofire/Alamofire.git", + "svn_url": "https://github.com/Alamofire/Alamofire", + "homepage": "", + "size": 4966, + "stargazers_count": 25869, + "watchers_count": 25869, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 4499, + "mirror_url": null, + "archived": false, + "open_issues_count": 42, + "forks": 4499, + "open_issues": 42, + "watchers": 25869, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2344" + }, + "html": { + "href": "https://github.com/Alamofire/Alamofire/pull/2344" + }, + "issue": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2344" + }, + "comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2344/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2344/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2344/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/statuses/918e25e974bae835788567b1788acadd89cc194f" + } + }, + "author_association": "CONTRIBUTOR" + }, + { + "url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2343", + "id": 149163364, + "html_url": "https://github.com/Alamofire/Alamofire/pull/2343", + "diff_url": "https://github.com/Alamofire/Alamofire/pull/2343.diff", + "patch_url": "https://github.com/Alamofire/Alamofire/pull/2343.patch", + "issue_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2343", + "number": 2343, + "state": "open", + "locked": false, + "title": "adding test that retried request is canceled while delay", + "user": { + "login": "vldalx", + "id": 13873200, + "avatar_url": "https://avatars1.githubusercontent.com/u/13873200?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/vldalx", + "html_url": "https://github.com/vldalx", + "followers_url": "https://api.github.com/users/vldalx/followers", + "following_url": "https://api.github.com/users/vldalx/following{/other_user}", + "gists_url": "https://api.github.com/users/vldalx/gists{/gist_id}", + "starred_url": "https://api.github.com/users/vldalx/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/vldalx/subscriptions", + "organizations_url": "https://api.github.com/users/vldalx/orgs", + "repos_url": "https://api.github.com/users/vldalx/repos", + "events_url": "https://api.github.com/users/vldalx/events{/privacy}", + "received_events_url": "https://api.github.com/users/vldalx/received_events", + "type": "User", + "site_admin": false + }, + "body": "### Issue Link :link:\r\n[22340](https://github.com/Alamofire/Alamofire/issues/2340)\r\n\r\n### Goals :soccer:\r\na new test for the case described in [issue 22340](https://github.com/Alamofire/Alamofire/issues/2340)\r\n\r\n### Implementation Details :construction:\r\nnew test added\r\n\r\n### Testing Details :mag:\r\n`testThatRetriedRequestIsCanceledWhileDelayWhenCancelIsInvoked`\r\ntries to cancel a request between the first and the second attempts", + "created_at": "2017-10-27T11:18:44Z", + "updated_at": "2017-10-27T11:18:44Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "b91bb208d4ac29ee528920096b402fc8a15429ac", + "assignee": null, + "assignees": [ + + ], + "requested_reviewers": [ + + ], + "milestone": null, + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2343/commits", + "review_comments_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2343/comments", + "review_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2343/comments", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/3abbd770dc79283c090d803be07b3d8764e4c09b", + "head": { + "label": "vldalx:test_cancel_requestretry_while_delay", + "ref": "test_cancel_requestretry_while_delay", + "sha": "3abbd770dc79283c090d803be07b3d8764e4c09b", + "user": { + "login": "vldalx", + "id": 13873200, + "avatar_url": "https://avatars1.githubusercontent.com/u/13873200?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/vldalx", + "html_url": "https://github.com/vldalx", + "followers_url": "https://api.github.com/users/vldalx/followers", + "following_url": "https://api.github.com/users/vldalx/following{/other_user}", + "gists_url": "https://api.github.com/users/vldalx/gists{/gist_id}", + "starred_url": "https://api.github.com/users/vldalx/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/vldalx/subscriptions", + "organizations_url": "https://api.github.com/users/vldalx/orgs", + "repos_url": "https://api.github.com/users/vldalx/repos", + "events_url": "https://api.github.com/users/vldalx/events{/privacy}", + "received_events_url": "https://api.github.com/users/vldalx/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 108535036, + "name": "Alamofire", + "full_name": "vldalx/Alamofire", + "owner": { + "login": "vldalx", + "id": 13873200, + "avatar_url": "https://avatars1.githubusercontent.com/u/13873200?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/vldalx", + "html_url": "https://github.com/vldalx", + "followers_url": "https://api.github.com/users/vldalx/followers", + "following_url": "https://api.github.com/users/vldalx/following{/other_user}", + "gists_url": "https://api.github.com/users/vldalx/gists{/gist_id}", + "starred_url": "https://api.github.com/users/vldalx/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/vldalx/subscriptions", + "organizations_url": "https://api.github.com/users/vldalx/orgs", + "repos_url": "https://api.github.com/users/vldalx/repos", + "events_url": "https://api.github.com/users/vldalx/events{/privacy}", + "received_events_url": "https://api.github.com/users/vldalx/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/vldalx/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": true, + "url": "https://api.github.com/repos/vldalx/Alamofire", + "forks_url": "https://api.github.com/repos/vldalx/Alamofire/forks", + "keys_url": "https://api.github.com/repos/vldalx/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/vldalx/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/vldalx/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/vldalx/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/vldalx/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/vldalx/Alamofire/events", + "assignees_url": "https://api.github.com/repos/vldalx/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/vldalx/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/vldalx/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/vldalx/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/vldalx/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/vldalx/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/vldalx/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/vldalx/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/vldalx/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/vldalx/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/vldalx/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/vldalx/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/vldalx/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/vldalx/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/vldalx/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/vldalx/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/vldalx/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/vldalx/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/vldalx/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/vldalx/Alamofire/merges", + "archive_url": "https://api.github.com/repos/vldalx/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/vldalx/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/vldalx/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/vldalx/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/vldalx/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/vldalx/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/vldalx/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/vldalx/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/vldalx/Alamofire/deployments", + "created_at": "2017-10-27T10:55:31Z", + "updated_at": "2017-10-27T10:55:35Z", + "pushed_at": "2017-10-27T11:08:22Z", + "git_url": "git://github.com/vldalx/Alamofire.git", + "ssh_url": "git@github.com:vldalx/Alamofire.git", + "clone_url": "https://github.com/vldalx/Alamofire.git", + "svn_url": "https://github.com/vldalx/Alamofire", + "homepage": "", + "size": 4338, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Swift", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 0, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "Alamofire:master", + "ref": "master", + "sha": "6d9b4885fbd7837861c5216d2ae4a1131e599f30", + "user": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 22458259, + "name": "Alamofire", + "full_name": "Alamofire/Alamofire", + "owner": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Alamofire/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": false, + "url": "https://api.github.com/repos/Alamofire/Alamofire", + "forks_url": "https://api.github.com/repos/Alamofire/Alamofire/forks", + "keys_url": "https://api.github.com/repos/Alamofire/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Alamofire/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Alamofire/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/Alamofire/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/Alamofire/Alamofire/events", + "assignees_url": "https://api.github.com/repos/Alamofire/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/Alamofire/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/Alamofire/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Alamofire/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Alamofire/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Alamofire/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/Alamofire/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/Alamofire/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/Alamofire/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/Alamofire/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Alamofire/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Alamofire/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/Alamofire/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Alamofire/Alamofire/merges", + "archive_url": "https://api.github.com/repos/Alamofire/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Alamofire/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/Alamofire/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Alamofire/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/Alamofire/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/Alamofire/Alamofire/deployments", + "created_at": "2014-07-31T05:56:19Z", + "updated_at": "2017-11-13T19:40:30Z", + "pushed_at": "2017-11-13T04:34:31Z", + "git_url": "git://github.com/Alamofire/Alamofire.git", + "ssh_url": "git@github.com:Alamofire/Alamofire.git", + "clone_url": "https://github.com/Alamofire/Alamofire.git", + "svn_url": "https://github.com/Alamofire/Alamofire", + "homepage": "", + "size": 4966, + "stargazers_count": 25869, + "watchers_count": 25869, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 4499, + "mirror_url": null, + "archived": false, + "open_issues_count": 42, + "forks": 4499, + "open_issues": 42, + "watchers": 25869, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2343" + }, + "html": { + "href": "https://github.com/Alamofire/Alamofire/pull/2343" + }, + "issue": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2343" + }, + "comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2343/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2343/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2343/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/statuses/3abbd770dc79283c090d803be07b3d8764e4c09b" + } + }, + "author_association": "NONE" + }, + { + "url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2290", + "id": 142772148, + "html_url": "https://github.com/Alamofire/Alamofire/pull/2290", + "diff_url": "https://github.com/Alamofire/Alamofire/pull/2290.diff", + "patch_url": "https://github.com/Alamofire/Alamofire/pull/2290.patch", + "issue_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2290", + "number": 2290, + "state": "open", + "locked": false, + "title": "Refactor Lock Usage", + "user": { + "login": "jshier", + "id": 51020, + "avatar_url": "https://avatars0.githubusercontent.com/u/51020?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jshier", + "html_url": "https://github.com/jshier", + "followers_url": "https://api.github.com/users/jshier/followers", + "following_url": "https://api.github.com/users/jshier/following{/other_user}", + "gists_url": "https://api.github.com/users/jshier/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jshier/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jshier/subscriptions", + "organizations_url": "https://api.github.com/users/jshier/orgs", + "repos_url": "https://api.github.com/users/jshier/repos", + "events_url": "https://api.github.com/users/jshier/events{/privacy}", + "received_events_url": "https://api.github.com/users/jshier/received_events", + "type": "User", + "site_admin": false + }, + "body": "### Issue Link :link:\r\n#2234\r\n\r\n### Goals :soccer:\r\nThis PR refactors the usages of `NSLock` and other mechanisms to use the `Protector` type for values which need to be threadsafe.\r\n\r\n### Implementation Details :construction:\r\nThis PR adds the `Protector`, `Mutex`, and `UnfairLock` types, as well as a `Lock` protocol, which abstracts the use of one locking mechanism or another. On newer OSes, `UnfairLock` is used, which is a wrapper around `os_unfair_lock`. On older systems `Mutex` is used, which is a wrapper around `pthread_mutex`. `Protector` uses these lock types to ensure thread-safe access to an internal value. `Protector` instances should be used rather than the `_property`, `property` with locks dance. It can also be extended to provide additional functionality in the future.\r\n\r\n### Testing Details :mag:\r\nNo specific tests were added. Instead the test suite was run with the thread sanitizer enabled with no issues. Test may be added if we want coverage for something in particular.\r\n", + "created_at": "2017-09-24T21:40:08Z", + "updated_at": "2017-10-30T23:12:43Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "01fbe6921b28c3d41779c2e6ba2bb0fc2b2d355b", + "assignee": null, + "assignees": [ + + ], + "requested_reviewers": [ + + ], + "milestone": { + "url": "https://api.github.com/repos/Alamofire/Alamofire/milestones/40", + "html_url": "https://github.com/Alamofire/Alamofire/milestone/40", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones/40/labels", + "id": 2588359, + "number": 40, + "title": "5.0.0", + "description": "", + "creator": { + "login": "cnoon", + "id": 169110, + "avatar_url": "https://avatars1.githubusercontent.com/u/169110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cnoon", + "html_url": "https://github.com/cnoon", + "followers_url": "https://api.github.com/users/cnoon/followers", + "following_url": "https://api.github.com/users/cnoon/following{/other_user}", + "gists_url": "https://api.github.com/users/cnoon/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cnoon/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cnoon/subscriptions", + "organizations_url": "https://api.github.com/users/cnoon/orgs", + "repos_url": "https://api.github.com/users/cnoon/repos", + "events_url": "https://api.github.com/users/cnoon/events{/privacy}", + "received_events_url": "https://api.github.com/users/cnoon/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 25, + "closed_issues": 0, + "state": "open", + "created_at": "2017-06-16T23:32:31Z", + "updated_at": "2017-10-30T23:14:04Z", + "due_on": null, + "closed_at": null + }, + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2290/commits", + "review_comments_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2290/comments", + "review_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2290/comments", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/40ea77bfed935920680c8486b52973aba3bbc349", + "head": { + "label": "Alamofire:lock-refactor", + "ref": "lock-refactor", + "sha": "40ea77bfed935920680c8486b52973aba3bbc349", + "user": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 22458259, + "name": "Alamofire", + "full_name": "Alamofire/Alamofire", + "owner": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Alamofire/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": false, + "url": "https://api.github.com/repos/Alamofire/Alamofire", + "forks_url": "https://api.github.com/repos/Alamofire/Alamofire/forks", + "keys_url": "https://api.github.com/repos/Alamofire/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Alamofire/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Alamofire/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/Alamofire/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/Alamofire/Alamofire/events", + "assignees_url": "https://api.github.com/repos/Alamofire/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/Alamofire/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/Alamofire/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Alamofire/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Alamofire/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Alamofire/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/Alamofire/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/Alamofire/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/Alamofire/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/Alamofire/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Alamofire/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Alamofire/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/Alamofire/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Alamofire/Alamofire/merges", + "archive_url": "https://api.github.com/repos/Alamofire/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Alamofire/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/Alamofire/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Alamofire/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/Alamofire/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/Alamofire/Alamofire/deployments", + "created_at": "2014-07-31T05:56:19Z", + "updated_at": "2017-11-13T19:40:30Z", + "pushed_at": "2017-11-13T04:34:31Z", + "git_url": "git://github.com/Alamofire/Alamofire.git", + "ssh_url": "git@github.com:Alamofire/Alamofire.git", + "clone_url": "https://github.com/Alamofire/Alamofire.git", + "svn_url": "https://github.com/Alamofire/Alamofire", + "homepage": "", + "size": 4966, + "stargazers_count": 25869, + "watchers_count": 25869, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 4499, + "mirror_url": null, + "archived": false, + "open_issues_count": 42, + "forks": 4499, + "open_issues": 42, + "watchers": 25869, + "default_branch": "master" + } + }, + "base": { + "label": "Alamofire:decodable-responses-and-refactor", + "ref": "decodable-responses-and-refactor", + "sha": "9e374bfdb2cd81577d89338025ced09efc4608c5", + "user": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 22458259, + "name": "Alamofire", + "full_name": "Alamofire/Alamofire", + "owner": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Alamofire/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": false, + "url": "https://api.github.com/repos/Alamofire/Alamofire", + "forks_url": "https://api.github.com/repos/Alamofire/Alamofire/forks", + "keys_url": "https://api.github.com/repos/Alamofire/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Alamofire/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Alamofire/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/Alamofire/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/Alamofire/Alamofire/events", + "assignees_url": "https://api.github.com/repos/Alamofire/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/Alamofire/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/Alamofire/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Alamofire/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Alamofire/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Alamofire/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/Alamofire/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/Alamofire/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/Alamofire/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/Alamofire/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Alamofire/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Alamofire/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/Alamofire/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Alamofire/Alamofire/merges", + "archive_url": "https://api.github.com/repos/Alamofire/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Alamofire/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/Alamofire/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Alamofire/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/Alamofire/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/Alamofire/Alamofire/deployments", + "created_at": "2014-07-31T05:56:19Z", + "updated_at": "2017-11-13T19:40:30Z", + "pushed_at": "2017-11-13T04:34:31Z", + "git_url": "git://github.com/Alamofire/Alamofire.git", + "ssh_url": "git@github.com:Alamofire/Alamofire.git", + "clone_url": "https://github.com/Alamofire/Alamofire.git", + "svn_url": "https://github.com/Alamofire/Alamofire", + "homepage": "", + "size": 4966, + "stargazers_count": 25869, + "watchers_count": 25869, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 4499, + "mirror_url": null, + "archived": false, + "open_issues_count": 42, + "forks": 4499, + "open_issues": 42, + "watchers": 25869, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2290" + }, + "html": { + "href": "https://github.com/Alamofire/Alamofire/pull/2290" + }, + "issue": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2290" + }, + "comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2290/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2290/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2290/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/statuses/40ea77bfed935920680c8486b52973aba3bbc349" + } + }, + "author_association": "CONTRIBUTOR" + }, + { + "url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2271", + "id": 140723716, + "html_url": "https://github.com/Alamofire/Alamofire/pull/2271", + "diff_url": "https://github.com/Alamofire/Alamofire/pull/2271.diff", + "patch_url": "https://github.com/Alamofire/Alamofire/pull/2271.patch", + "issue_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2271", + "number": 2271, + "state": "open", + "locked": false, + "title": "Reorganize the README.md file", + "user": { + "login": "pateljay43", + "id": 9069896, + "avatar_url": "https://avatars0.githubusercontent.com/u/9069896?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/pateljay43", + "html_url": "https://github.com/pateljay43", + "followers_url": "https://api.github.com/users/pateljay43/followers", + "following_url": "https://api.github.com/users/pateljay43/following{/other_user}", + "gists_url": "https://api.github.com/users/pateljay43/gists{/gist_id}", + "starred_url": "https://api.github.com/users/pateljay43/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/pateljay43/subscriptions", + "organizations_url": "https://api.github.com/users/pateljay43/orgs", + "repos_url": "https://api.github.com/users/pateljay43/repos", + "events_url": "https://api.github.com/users/pateljay43/events{/privacy}", + "received_events_url": "https://api.github.com/users/pateljay43/received_events", + "type": "User", + "site_admin": false + }, + "body": "### Issue Link :link: \r\n- [#2223](https://github.com/Alamofire/Alamofire/issues/2223)\r\n\r\n### Goals :soccer:\r\n- Reorganize the README.\r\n\r\n### Implementation Details :construction:\r\n- Separated Usage & Advanced Usage sections into individual markdown files.", + "created_at": "2017-09-13T02:44:14Z", + "updated_at": "2017-10-30T01:48:26Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "69612e7bb861d8cb9087eb64f7bfc6b87f26d699", + "assignee": null, + "assignees": [ + + ], + "requested_reviewers": [ + + ], + "milestone": null, + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2271/commits", + "review_comments_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2271/comments", + "review_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2271/comments", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/99e5bf5bdb0f54b42dffe83c685f6c0199027009", + "head": { + "label": "pateljay43:master", + "ref": "master", + "sha": "99e5bf5bdb0f54b42dffe83c685f6c0199027009", + "user": { + "login": "pateljay43", + "id": 9069896, + "avatar_url": "https://avatars0.githubusercontent.com/u/9069896?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/pateljay43", + "html_url": "https://github.com/pateljay43", + "followers_url": "https://api.github.com/users/pateljay43/followers", + "following_url": "https://api.github.com/users/pateljay43/following{/other_user}", + "gists_url": "https://api.github.com/users/pateljay43/gists{/gist_id}", + "starred_url": "https://api.github.com/users/pateljay43/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/pateljay43/subscriptions", + "organizations_url": "https://api.github.com/users/pateljay43/orgs", + "repos_url": "https://api.github.com/users/pateljay43/repos", + "events_url": "https://api.github.com/users/pateljay43/events{/privacy}", + "received_events_url": "https://api.github.com/users/pateljay43/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 103343855, + "name": "Alamofire", + "full_name": "pateljay43/Alamofire", + "owner": { + "login": "pateljay43", + "id": 9069896, + "avatar_url": "https://avatars0.githubusercontent.com/u/9069896?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/pateljay43", + "html_url": "https://github.com/pateljay43", + "followers_url": "https://api.github.com/users/pateljay43/followers", + "following_url": "https://api.github.com/users/pateljay43/following{/other_user}", + "gists_url": "https://api.github.com/users/pateljay43/gists{/gist_id}", + "starred_url": "https://api.github.com/users/pateljay43/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/pateljay43/subscriptions", + "organizations_url": "https://api.github.com/users/pateljay43/orgs", + "repos_url": "https://api.github.com/users/pateljay43/repos", + "events_url": "https://api.github.com/users/pateljay43/events{/privacy}", + "received_events_url": "https://api.github.com/users/pateljay43/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/pateljay43/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": true, + "url": "https://api.github.com/repos/pateljay43/Alamofire", + "forks_url": "https://api.github.com/repos/pateljay43/Alamofire/forks", + "keys_url": "https://api.github.com/repos/pateljay43/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/pateljay43/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/pateljay43/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/pateljay43/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/pateljay43/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/pateljay43/Alamofire/events", + "assignees_url": "https://api.github.com/repos/pateljay43/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/pateljay43/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/pateljay43/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/pateljay43/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/pateljay43/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/pateljay43/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/pateljay43/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/pateljay43/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/pateljay43/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/pateljay43/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/pateljay43/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/pateljay43/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/pateljay43/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/pateljay43/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/pateljay43/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/pateljay43/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/pateljay43/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/pateljay43/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/pateljay43/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/pateljay43/Alamofire/merges", + "archive_url": "https://api.github.com/repos/pateljay43/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/pateljay43/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/pateljay43/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/pateljay43/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/pateljay43/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/pateljay43/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/pateljay43/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/pateljay43/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/pateljay43/Alamofire/deployments", + "created_at": "2017-09-13T02:32:49Z", + "updated_at": "2017-09-13T02:32:52Z", + "pushed_at": "2017-09-14T21:40:50Z", + "git_url": "git://github.com/pateljay43/Alamofire.git", + "ssh_url": "git@github.com:pateljay43/Alamofire.git", + "clone_url": "https://github.com/pateljay43/Alamofire.git", + "svn_url": "https://github.com/pateljay43/Alamofire", + "homepage": "", + "size": 4075, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Swift", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 0, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "Alamofire:master", + "ref": "master", + "sha": "b8995447518fd57af14c88a47f27434a16f60403", + "user": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 22458259, + "name": "Alamofire", + "full_name": "Alamofire/Alamofire", + "owner": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Alamofire/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": false, + "url": "https://api.github.com/repos/Alamofire/Alamofire", + "forks_url": "https://api.github.com/repos/Alamofire/Alamofire/forks", + "keys_url": "https://api.github.com/repos/Alamofire/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Alamofire/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Alamofire/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/Alamofire/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/Alamofire/Alamofire/events", + "assignees_url": "https://api.github.com/repos/Alamofire/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/Alamofire/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/Alamofire/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Alamofire/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Alamofire/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Alamofire/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/Alamofire/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/Alamofire/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/Alamofire/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/Alamofire/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Alamofire/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Alamofire/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/Alamofire/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Alamofire/Alamofire/merges", + "archive_url": "https://api.github.com/repos/Alamofire/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Alamofire/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/Alamofire/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Alamofire/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/Alamofire/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/Alamofire/Alamofire/deployments", + "created_at": "2014-07-31T05:56:19Z", + "updated_at": "2017-11-13T19:40:30Z", + "pushed_at": "2017-11-13T04:34:31Z", + "git_url": "git://github.com/Alamofire/Alamofire.git", + "ssh_url": "git@github.com:Alamofire/Alamofire.git", + "clone_url": "https://github.com/Alamofire/Alamofire.git", + "svn_url": "https://github.com/Alamofire/Alamofire", + "homepage": "", + "size": 4966, + "stargazers_count": 25869, + "watchers_count": 25869, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 4499, + "mirror_url": null, + "archived": false, + "open_issues_count": 42, + "forks": 4499, + "open_issues": 42, + "watchers": 25869, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2271" + }, + "html": { + "href": "https://github.com/Alamofire/Alamofire/pull/2271" + }, + "issue": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2271" + }, + "comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2271/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2271/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2271/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/statuses/99e5bf5bdb0f54b42dffe83c685f6c0199027009" + } + }, + "author_association": "NONE" + }, + { + "url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2265", + "id": 139034869, + "html_url": "https://github.com/Alamofire/Alamofire/pull/2265", + "diff_url": "https://github.com/Alamofire/Alamofire/pull/2265.diff", + "patch_url": "https://github.com/Alamofire/Alamofire/pull/2265.patch", + "issue_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2265", + "number": 2265, + "state": "open", + "locked": false, + "title": "Decodable response serialization and major refactor", + "user": { + "login": "jshier", + "id": 51020, + "avatar_url": "https://avatars0.githubusercontent.com/u/51020?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jshier", + "html_url": "https://github.com/jshier", + "followers_url": "https://api.github.com/users/jshier/followers", + "following_url": "https://api.github.com/users/jshier/following{/other_user}", + "gists_url": "https://api.github.com/users/jshier/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jshier/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jshier/subscriptions", + "organizations_url": "https://api.github.com/users/jshier/orgs", + "repos_url": "https://api.github.com/users/jshier/repos", + "events_url": "https://api.github.com/users/jshier/events{/privacy}", + "received_events_url": "https://api.github.com/users/jshier/received_events", + "type": "User", + "site_admin": false + }, + "body": "### Issue Link :link:\r\n#2180\r\n\r\n### Goals :soccer:\r\nThe primary goal of the PR is to add a response serializer that uses `JSONDecoder` to generically decode responses. However, that lead to a major refactor of the response serialization protocols and their implementations.\r\n\r\n### Implementation Details :construction:\r\nFunctionally, the serializers are the same, they've just been encapsulated into classes, rather than being generated closures. This allows they to be more easily used, and the awkward extensions on `Request` that generated the closures have been removed. Also, the serializations protocols have had their requirements changed from a serialization closure to a throwing function. This allows for far less awkward usage, as well as providing superior semantics with argument labels. \r\n\r\n### Testing Details :mag:\r\nTests have been added for the decodable serializers and response methods. Additionally, some of the tests have been refactored.\r\n", + "created_at": "2017-09-03T04:01:57Z", + "updated_at": "2017-10-30T23:13:36Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "b1b651b967d1e07448f583e3fab853739b992986", + "assignee": { + "login": "jshier", + "id": 51020, + "avatar_url": "https://avatars0.githubusercontent.com/u/51020?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jshier", + "html_url": "https://github.com/jshier", + "followers_url": "https://api.github.com/users/jshier/followers", + "following_url": "https://api.github.com/users/jshier/following{/other_user}", + "gists_url": "https://api.github.com/users/jshier/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jshier/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jshier/subscriptions", + "organizations_url": "https://api.github.com/users/jshier/orgs", + "repos_url": "https://api.github.com/users/jshier/repos", + "events_url": "https://api.github.com/users/jshier/events{/privacy}", + "received_events_url": "https://api.github.com/users/jshier/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "jshier", + "id": 51020, + "avatar_url": "https://avatars0.githubusercontent.com/u/51020?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jshier", + "html_url": "https://github.com/jshier", + "followers_url": "https://api.github.com/users/jshier/followers", + "following_url": "https://api.github.com/users/jshier/following{/other_user}", + "gists_url": "https://api.github.com/users/jshier/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jshier/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jshier/subscriptions", + "organizations_url": "https://api.github.com/users/jshier/orgs", + "repos_url": "https://api.github.com/users/jshier/repos", + "events_url": "https://api.github.com/users/jshier/events{/privacy}", + "received_events_url": "https://api.github.com/users/jshier/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_reviewers": [ + { + "login": "cnoon", + "id": 169110, + "avatar_url": "https://avatars1.githubusercontent.com/u/169110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cnoon", + "html_url": "https://github.com/cnoon", + "followers_url": "https://api.github.com/users/cnoon/followers", + "following_url": "https://api.github.com/users/cnoon/following{/other_user}", + "gists_url": "https://api.github.com/users/cnoon/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cnoon/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cnoon/subscriptions", + "organizations_url": "https://api.github.com/users/cnoon/orgs", + "repos_url": "https://api.github.com/users/cnoon/repos", + "events_url": "https://api.github.com/users/cnoon/events{/privacy}", + "received_events_url": "https://api.github.com/users/cnoon/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": { + "url": "https://api.github.com/repos/Alamofire/Alamofire/milestones/40", + "html_url": "https://github.com/Alamofire/Alamofire/milestone/40", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones/40/labels", + "id": 2588359, + "number": 40, + "title": "5.0.0", + "description": "", + "creator": { + "login": "cnoon", + "id": 169110, + "avatar_url": "https://avatars1.githubusercontent.com/u/169110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cnoon", + "html_url": "https://github.com/cnoon", + "followers_url": "https://api.github.com/users/cnoon/followers", + "following_url": "https://api.github.com/users/cnoon/following{/other_user}", + "gists_url": "https://api.github.com/users/cnoon/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cnoon/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cnoon/subscriptions", + "organizations_url": "https://api.github.com/users/cnoon/orgs", + "repos_url": "https://api.github.com/users/cnoon/repos", + "events_url": "https://api.github.com/users/cnoon/events{/privacy}", + "received_events_url": "https://api.github.com/users/cnoon/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 25, + "closed_issues": 0, + "state": "open", + "created_at": "2017-06-16T23:32:31Z", + "updated_at": "2017-10-30T23:14:04Z", + "due_on": null, + "closed_at": null + }, + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2265/commits", + "review_comments_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2265/comments", + "review_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2265/comments", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/028de1d6fdb962eee373e1ef0b24b59305dca00e", + "head": { + "label": "Alamofire:decodable-responses-and-refactor", + "ref": "decodable-responses-and-refactor", + "sha": "028de1d6fdb962eee373e1ef0b24b59305dca00e", + "user": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 22458259, + "name": "Alamofire", + "full_name": "Alamofire/Alamofire", + "owner": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Alamofire/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": false, + "url": "https://api.github.com/repos/Alamofire/Alamofire", + "forks_url": "https://api.github.com/repos/Alamofire/Alamofire/forks", + "keys_url": "https://api.github.com/repos/Alamofire/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Alamofire/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Alamofire/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/Alamofire/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/Alamofire/Alamofire/events", + "assignees_url": "https://api.github.com/repos/Alamofire/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/Alamofire/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/Alamofire/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Alamofire/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Alamofire/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Alamofire/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/Alamofire/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/Alamofire/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/Alamofire/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/Alamofire/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Alamofire/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Alamofire/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/Alamofire/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Alamofire/Alamofire/merges", + "archive_url": "https://api.github.com/repos/Alamofire/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Alamofire/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/Alamofire/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Alamofire/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/Alamofire/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/Alamofire/Alamofire/deployments", + "created_at": "2014-07-31T05:56:19Z", + "updated_at": "2017-11-13T19:40:30Z", + "pushed_at": "2017-11-13T04:34:31Z", + "git_url": "git://github.com/Alamofire/Alamofire.git", + "ssh_url": "git@github.com:Alamofire/Alamofire.git", + "clone_url": "https://github.com/Alamofire/Alamofire.git", + "svn_url": "https://github.com/Alamofire/Alamofire", + "homepage": "", + "size": 4966, + "stargazers_count": 25869, + "watchers_count": 25869, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 4499, + "mirror_url": null, + "archived": false, + "open_issues_count": 42, + "forks": 4499, + "open_issues": 42, + "watchers": 25869, + "default_branch": "master" + } + }, + "base": { + "label": "Alamofire:ios8-removal", + "ref": "ios8-removal", + "sha": "937d1efc5c31db08060981c3063d9487e610d4fa", + "user": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 22458259, + "name": "Alamofire", + "full_name": "Alamofire/Alamofire", + "owner": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Alamofire/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": false, + "url": "https://api.github.com/repos/Alamofire/Alamofire", + "forks_url": "https://api.github.com/repos/Alamofire/Alamofire/forks", + "keys_url": "https://api.github.com/repos/Alamofire/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Alamofire/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Alamofire/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/Alamofire/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/Alamofire/Alamofire/events", + "assignees_url": "https://api.github.com/repos/Alamofire/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/Alamofire/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/Alamofire/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Alamofire/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Alamofire/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Alamofire/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/Alamofire/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/Alamofire/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/Alamofire/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/Alamofire/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Alamofire/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Alamofire/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/Alamofire/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Alamofire/Alamofire/merges", + "archive_url": "https://api.github.com/repos/Alamofire/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Alamofire/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/Alamofire/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Alamofire/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/Alamofire/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/Alamofire/Alamofire/deployments", + "created_at": "2014-07-31T05:56:19Z", + "updated_at": "2017-11-13T19:40:30Z", + "pushed_at": "2017-11-13T04:34:31Z", + "git_url": "git://github.com/Alamofire/Alamofire.git", + "ssh_url": "git@github.com:Alamofire/Alamofire.git", + "clone_url": "https://github.com/Alamofire/Alamofire.git", + "svn_url": "https://github.com/Alamofire/Alamofire", + "homepage": "", + "size": 4966, + "stargazers_count": 25869, + "watchers_count": 25869, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 4499, + "mirror_url": null, + "archived": false, + "open_issues_count": 42, + "forks": 4499, + "open_issues": 42, + "watchers": 25869, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2265" + }, + "html": { + "href": "https://github.com/Alamofire/Alamofire/pull/2265" + }, + "issue": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2265" + }, + "comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2265/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2265/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2265/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/statuses/028de1d6fdb962eee373e1ef0b24b59305dca00e" + } + }, + "author_association": "CONTRIBUTOR" + }, + { + "url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2254", + "id": 137098665, + "html_url": "https://github.com/Alamofire/Alamofire/pull/2254", + "diff_url": "https://github.com/Alamofire/Alamofire/pull/2254.diff", + "patch_url": "https://github.com/Alamofire/Alamofire/pull/2254.patch", + "issue_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2254", + "number": 2254, + "state": "open", + "locked": false, + "title": "Drop iOS 8 / macOS 10.10 support", + "user": { + "login": "jshier", + "id": 51020, + "avatar_url": "https://avatars0.githubusercontent.com/u/51020?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jshier", + "html_url": "https://github.com/jshier", + "followers_url": "https://api.github.com/users/jshier/followers", + "following_url": "https://api.github.com/users/jshier/following{/other_user}", + "gists_url": "https://api.github.com/users/jshier/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jshier/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jshier/subscriptions", + "organizations_url": "https://api.github.com/users/jshier/orgs", + "repos_url": "https://api.github.com/users/jshier/repos", + "events_url": "https://api.github.com/users/jshier/events{/privacy}", + "received_events_url": "https://api.github.com/users/jshier/received_events", + "type": "User", + "site_admin": false + }, + "body": "### Issue Link :link:\r\nFixes #2253\r\n\r\n### Goals :soccer:\r\nRemoval of all iOS 8 / macOS 10.10 support and workarounds\r\n\r\n### Implementation Details :construction:\r\nThis PR is largely just a removal of all iOS 8 and macOS 10.10 workarounds. It also includes initial Travis CI support for building with Xcode 9. \r\n\r\n### Testing Details :mag:\r\nNo new tests, just some small changes to remove workarounds (and rename `NSURLRequest.CachePolicy` uses to `URLRequest.CachePolicy`.", + "created_at": "2017-08-22T23:08:16Z", + "updated_at": "2017-10-30T23:14:04Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "10ad1f86816bc4dff0dbda63500363b2b482a7df", + "assignee": null, + "assignees": [ + + ], + "requested_reviewers": [ + + ], + "milestone": { + "url": "https://api.github.com/repos/Alamofire/Alamofire/milestones/40", + "html_url": "https://github.com/Alamofire/Alamofire/milestone/40", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones/40/labels", + "id": 2588359, + "number": 40, + "title": "5.0.0", + "description": "", + "creator": { + "login": "cnoon", + "id": 169110, + "avatar_url": "https://avatars1.githubusercontent.com/u/169110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cnoon", + "html_url": "https://github.com/cnoon", + "followers_url": "https://api.github.com/users/cnoon/followers", + "following_url": "https://api.github.com/users/cnoon/following{/other_user}", + "gists_url": "https://api.github.com/users/cnoon/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cnoon/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cnoon/subscriptions", + "organizations_url": "https://api.github.com/users/cnoon/orgs", + "repos_url": "https://api.github.com/users/cnoon/repos", + "events_url": "https://api.github.com/users/cnoon/events{/privacy}", + "received_events_url": "https://api.github.com/users/cnoon/received_events", + "type": "User", + "site_admin": false + }, + "open_issues": 25, + "closed_issues": 0, + "state": "open", + "created_at": "2017-06-16T23:32:31Z", + "updated_at": "2017-10-30T23:14:04Z", + "due_on": null, + "closed_at": null + }, + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2254/commits", + "review_comments_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2254/comments", + "review_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2254/comments", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/937d1efc5c31db08060981c3063d9487e610d4fa", + "head": { + "label": "Alamofire:ios8-removal", + "ref": "ios8-removal", + "sha": "937d1efc5c31db08060981c3063d9487e610d4fa", + "user": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 22458259, + "name": "Alamofire", + "full_name": "Alamofire/Alamofire", + "owner": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Alamofire/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": false, + "url": "https://api.github.com/repos/Alamofire/Alamofire", + "forks_url": "https://api.github.com/repos/Alamofire/Alamofire/forks", + "keys_url": "https://api.github.com/repos/Alamofire/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Alamofire/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Alamofire/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/Alamofire/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/Alamofire/Alamofire/events", + "assignees_url": "https://api.github.com/repos/Alamofire/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/Alamofire/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/Alamofire/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Alamofire/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Alamofire/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Alamofire/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/Alamofire/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/Alamofire/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/Alamofire/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/Alamofire/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Alamofire/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Alamofire/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/Alamofire/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Alamofire/Alamofire/merges", + "archive_url": "https://api.github.com/repos/Alamofire/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Alamofire/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/Alamofire/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Alamofire/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/Alamofire/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/Alamofire/Alamofire/deployments", + "created_at": "2014-07-31T05:56:19Z", + "updated_at": "2017-11-13T19:40:30Z", + "pushed_at": "2017-11-13T04:34:31Z", + "git_url": "git://github.com/Alamofire/Alamofire.git", + "ssh_url": "git@github.com:Alamofire/Alamofire.git", + "clone_url": "https://github.com/Alamofire/Alamofire.git", + "svn_url": "https://github.com/Alamofire/Alamofire", + "homepage": "", + "size": 4966, + "stargazers_count": 25869, + "watchers_count": 25869, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 4499, + "mirror_url": null, + "archived": false, + "open_issues_count": 42, + "forks": 4499, + "open_issues": 42, + "watchers": 25869, + "default_branch": "master" + } + }, + "base": { + "label": "Alamofire:alamofire5", + "ref": "alamofire5", + "sha": "e396a0efc1da5f6fcdde1d98edbd08b32c24cc92", + "user": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 22458259, + "name": "Alamofire", + "full_name": "Alamofire/Alamofire", + "owner": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Alamofire/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": false, + "url": "https://api.github.com/repos/Alamofire/Alamofire", + "forks_url": "https://api.github.com/repos/Alamofire/Alamofire/forks", + "keys_url": "https://api.github.com/repos/Alamofire/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Alamofire/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Alamofire/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/Alamofire/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/Alamofire/Alamofire/events", + "assignees_url": "https://api.github.com/repos/Alamofire/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/Alamofire/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/Alamofire/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Alamofire/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Alamofire/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Alamofire/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/Alamofire/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/Alamofire/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/Alamofire/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/Alamofire/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Alamofire/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Alamofire/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/Alamofire/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Alamofire/Alamofire/merges", + "archive_url": "https://api.github.com/repos/Alamofire/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Alamofire/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/Alamofire/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Alamofire/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/Alamofire/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/Alamofire/Alamofire/deployments", + "created_at": "2014-07-31T05:56:19Z", + "updated_at": "2017-11-13T19:40:30Z", + "pushed_at": "2017-11-13T04:34:31Z", + "git_url": "git://github.com/Alamofire/Alamofire.git", + "ssh_url": "git@github.com:Alamofire/Alamofire.git", + "clone_url": "https://github.com/Alamofire/Alamofire.git", + "svn_url": "https://github.com/Alamofire/Alamofire", + "homepage": "", + "size": 4966, + "stargazers_count": 25869, + "watchers_count": 25869, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 4499, + "mirror_url": null, + "archived": false, + "open_issues_count": 42, + "forks": 4499, + "open_issues": 42, + "watchers": 25869, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2254" + }, + "html": { + "href": "https://github.com/Alamofire/Alamofire/pull/2254" + }, + "issue": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2254" + }, + "comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2254/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2254/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2254/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/statuses/937d1efc5c31db08060981c3063d9487e610d4fa" + } + }, + "author_association": "CONTRIBUTOR" + }, + { + "url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2192", + "id": 128827804, + "html_url": "https://github.com/Alamofire/Alamofire/pull/2192", + "diff_url": "https://github.com/Alamofire/Alamofire/pull/2192.diff", + "patch_url": "https://github.com/Alamofire/Alamofire/pull/2192.patch", + "issue_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2192", + "number": 2192, + "state": "open", + "locked": false, + "title": "Add PathComponents parameter encoding", + "user": { + "login": "MrAsterisco", + "id": 863842, + "avatar_url": "https://avatars3.githubusercontent.com/u/863842?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/MrAsterisco", + "html_url": "https://github.com/MrAsterisco", + "followers_url": "https://api.github.com/users/MrAsterisco/followers", + "following_url": "https://api.github.com/users/MrAsterisco/following{/other_user}", + "gists_url": "https://api.github.com/users/MrAsterisco/gists{/gist_id}", + "starred_url": "https://api.github.com/users/MrAsterisco/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/MrAsterisco/subscriptions", + "organizations_url": "https://api.github.com/users/MrAsterisco/orgs", + "repos_url": "https://api.github.com/users/MrAsterisco/repos", + "events_url": "https://api.github.com/users/MrAsterisco/events{/privacy}", + "received_events_url": "https://api.github.com/users/MrAsterisco/received_events", + "type": "User", + "site_admin": false + }, + "body": "### Goals :soccer:\r\nRecent REST services exposes GET APIs with parameters passed as subcomponents of the Request URL. \r\n\r\nThis means that instead of encoding parameters as\r\n\r\n`requestUri?key=value&key2=value2`\r\n\r\ntheir requests are something like\r\n\r\n`requestUri/value/value2`\r\n\r\n### Implementation Details :construction:\r\nI am using Alamofire to interact with an ASP.NET WebApi 2 service that accepts parameters as described above. I think that Alamofire should be able to treat these kind of requests as normal parameters, even if they actually modify the request URL.\r\n\r\nTo do this, I have added a new struct that implements the ParameterEncoding interface and encodes parameters as subcomponents of the request URL.\r\n\r\n### Testing Details :mag:\r\nI have two tests which verify that parameters are inserted in the requested order.", + "created_at": "2017-07-04T15:40:35Z", + "updated_at": "2017-07-24T09:48:01Z", + "closed_at": null, + "merged_at": null, + "merge_commit_sha": "92550d5dce76b1f82bddf0dd94614e36eaf12130", + "assignee": { + "login": "jshier", + "id": 51020, + "avatar_url": "https://avatars0.githubusercontent.com/u/51020?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jshier", + "html_url": "https://github.com/jshier", + "followers_url": "https://api.github.com/users/jshier/followers", + "following_url": "https://api.github.com/users/jshier/following{/other_user}", + "gists_url": "https://api.github.com/users/jshier/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jshier/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jshier/subscriptions", + "organizations_url": "https://api.github.com/users/jshier/orgs", + "repos_url": "https://api.github.com/users/jshier/repos", + "events_url": "https://api.github.com/users/jshier/events{/privacy}", + "received_events_url": "https://api.github.com/users/jshier/received_events", + "type": "User", + "site_admin": false + }, + "assignees": [ + { + "login": "jshier", + "id": 51020, + "avatar_url": "https://avatars0.githubusercontent.com/u/51020?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jshier", + "html_url": "https://github.com/jshier", + "followers_url": "https://api.github.com/users/jshier/followers", + "following_url": "https://api.github.com/users/jshier/following{/other_user}", + "gists_url": "https://api.github.com/users/jshier/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jshier/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jshier/subscriptions", + "organizations_url": "https://api.github.com/users/jshier/orgs", + "repos_url": "https://api.github.com/users/jshier/repos", + "events_url": "https://api.github.com/users/jshier/events{/privacy}", + "received_events_url": "https://api.github.com/users/jshier/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "cnoon", + "id": 169110, + "avatar_url": "https://avatars1.githubusercontent.com/u/169110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cnoon", + "html_url": "https://github.com/cnoon", + "followers_url": "https://api.github.com/users/cnoon/followers", + "following_url": "https://api.github.com/users/cnoon/following{/other_user}", + "gists_url": "https://api.github.com/users/cnoon/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cnoon/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cnoon/subscriptions", + "organizations_url": "https://api.github.com/users/cnoon/orgs", + "repos_url": "https://api.github.com/users/cnoon/repos", + "events_url": "https://api.github.com/users/cnoon/events{/privacy}", + "received_events_url": "https://api.github.com/users/cnoon/received_events", + "type": "User", + "site_admin": false + } + ], + "requested_reviewers": [ + { + "login": "jshier", + "id": 51020, + "avatar_url": "https://avatars0.githubusercontent.com/u/51020?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/jshier", + "html_url": "https://github.com/jshier", + "followers_url": "https://api.github.com/users/jshier/followers", + "following_url": "https://api.github.com/users/jshier/following{/other_user}", + "gists_url": "https://api.github.com/users/jshier/gists{/gist_id}", + "starred_url": "https://api.github.com/users/jshier/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/jshier/subscriptions", + "organizations_url": "https://api.github.com/users/jshier/orgs", + "repos_url": "https://api.github.com/users/jshier/repos", + "events_url": "https://api.github.com/users/jshier/events{/privacy}", + "received_events_url": "https://api.github.com/users/jshier/received_events", + "type": "User", + "site_admin": false + }, + { + "login": "cnoon", + "id": 169110, + "avatar_url": "https://avatars1.githubusercontent.com/u/169110?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/cnoon", + "html_url": "https://github.com/cnoon", + "followers_url": "https://api.github.com/users/cnoon/followers", + "following_url": "https://api.github.com/users/cnoon/following{/other_user}", + "gists_url": "https://api.github.com/users/cnoon/gists{/gist_id}", + "starred_url": "https://api.github.com/users/cnoon/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/cnoon/subscriptions", + "organizations_url": "https://api.github.com/users/cnoon/orgs", + "repos_url": "https://api.github.com/users/cnoon/repos", + "events_url": "https://api.github.com/users/cnoon/events{/privacy}", + "received_events_url": "https://api.github.com/users/cnoon/received_events", + "type": "User", + "site_admin": false + } + ], + "milestone": null, + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2192/commits", + "review_comments_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2192/comments", + "review_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/2192/comments", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/acb1ba7c079c3fbfd9e96c1043959ffc3915fb5f", + "head": { + "label": "MrAsterisco:master", + "ref": "master", + "sha": "acb1ba7c079c3fbfd9e96c1043959ffc3915fb5f", + "user": { + "login": "MrAsterisco", + "id": 863842, + "avatar_url": "https://avatars3.githubusercontent.com/u/863842?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/MrAsterisco", + "html_url": "https://github.com/MrAsterisco", + "followers_url": "https://api.github.com/users/MrAsterisco/followers", + "following_url": "https://api.github.com/users/MrAsterisco/following{/other_user}", + "gists_url": "https://api.github.com/users/MrAsterisco/gists{/gist_id}", + "starred_url": "https://api.github.com/users/MrAsterisco/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/MrAsterisco/subscriptions", + "organizations_url": "https://api.github.com/users/MrAsterisco/orgs", + "repos_url": "https://api.github.com/users/MrAsterisco/repos", + "events_url": "https://api.github.com/users/MrAsterisco/events{/privacy}", + "received_events_url": "https://api.github.com/users/MrAsterisco/received_events", + "type": "User", + "site_admin": false + }, + "repo": { + "id": 96231302, + "name": "Alamofire", + "full_name": "MrAsterisco/Alamofire", + "owner": { + "login": "MrAsterisco", + "id": 863842, + "avatar_url": "https://avatars3.githubusercontent.com/u/863842?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/MrAsterisco", + "html_url": "https://github.com/MrAsterisco", + "followers_url": "https://api.github.com/users/MrAsterisco/followers", + "following_url": "https://api.github.com/users/MrAsterisco/following{/other_user}", + "gists_url": "https://api.github.com/users/MrAsterisco/gists{/gist_id}", + "starred_url": "https://api.github.com/users/MrAsterisco/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/MrAsterisco/subscriptions", + "organizations_url": "https://api.github.com/users/MrAsterisco/orgs", + "repos_url": "https://api.github.com/users/MrAsterisco/repos", + "events_url": "https://api.github.com/users/MrAsterisco/events{/privacy}", + "received_events_url": "https://api.github.com/users/MrAsterisco/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/MrAsterisco/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": true, + "url": "https://api.github.com/repos/MrAsterisco/Alamofire", + "forks_url": "https://api.github.com/repos/MrAsterisco/Alamofire/forks", + "keys_url": "https://api.github.com/repos/MrAsterisco/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/MrAsterisco/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/MrAsterisco/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/MrAsterisco/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/MrAsterisco/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/MrAsterisco/Alamofire/events", + "assignees_url": "https://api.github.com/repos/MrAsterisco/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/MrAsterisco/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/MrAsterisco/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/MrAsterisco/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/MrAsterisco/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/MrAsterisco/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/MrAsterisco/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/MrAsterisco/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/MrAsterisco/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/MrAsterisco/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/MrAsterisco/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/MrAsterisco/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/MrAsterisco/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/MrAsterisco/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/MrAsterisco/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/MrAsterisco/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/MrAsterisco/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/MrAsterisco/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/MrAsterisco/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/MrAsterisco/Alamofire/merges", + "archive_url": "https://api.github.com/repos/MrAsterisco/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/MrAsterisco/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/MrAsterisco/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/MrAsterisco/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/MrAsterisco/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/MrAsterisco/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/MrAsterisco/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/MrAsterisco/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/MrAsterisco/Alamofire/deployments", + "created_at": "2017-07-04T15:21:43Z", + "updated_at": "2017-07-04T15:21:46Z", + "pushed_at": "2017-07-04T15:53:31Z", + "git_url": "git://github.com/MrAsterisco/Alamofire.git", + "ssh_url": "git@github.com:MrAsterisco/Alamofire.git", + "clone_url": "https://github.com/MrAsterisco/Alamofire.git", + "svn_url": "https://github.com/MrAsterisco/Alamofire", + "homepage": "", + "size": 2821, + "stargazers_count": 0, + "watchers_count": 0, + "language": "Swift", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "open_issues_count": 0, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "master" + } + }, + "base": { + "label": "Alamofire:master", + "ref": "master", + "sha": "9234355894206a43c2d3b1b0e4feb7be4385f5dd", + "user": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "repo": { + "id": 22458259, + "name": "Alamofire", + "full_name": "Alamofire/Alamofire", + "owner": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Alamofire/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": false, + "url": "https://api.github.com/repos/Alamofire/Alamofire", + "forks_url": "https://api.github.com/repos/Alamofire/Alamofire/forks", + "keys_url": "https://api.github.com/repos/Alamofire/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Alamofire/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Alamofire/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/Alamofire/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/Alamofire/Alamofire/events", + "assignees_url": "https://api.github.com/repos/Alamofire/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/Alamofire/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/Alamofire/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Alamofire/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Alamofire/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Alamofire/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/Alamofire/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/Alamofire/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/Alamofire/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/Alamofire/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Alamofire/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Alamofire/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/Alamofire/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Alamofire/Alamofire/merges", + "archive_url": "https://api.github.com/repos/Alamofire/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Alamofire/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/Alamofire/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Alamofire/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/Alamofire/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/Alamofire/Alamofire/deployments", + "created_at": "2014-07-31T05:56:19Z", + "updated_at": "2017-11-13T19:40:30Z", + "pushed_at": "2017-11-13T04:34:31Z", + "git_url": "git://github.com/Alamofire/Alamofire.git", + "ssh_url": "git@github.com:Alamofire/Alamofire.git", + "clone_url": "https://github.com/Alamofire/Alamofire.git", + "svn_url": "https://github.com/Alamofire/Alamofire", + "homepage": "", + "size": 4966, + "stargazers_count": 25869, + "watchers_count": 25869, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 4499, + "mirror_url": null, + "archived": false, + "open_issues_count": 42, + "forks": 4499, + "open_issues": 42, + "watchers": 25869, + "default_branch": "master" + } + }, + "_links": { + "self": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2192" + }, + "html": { + "href": "https://github.com/Alamofire/Alamofire/pull/2192" + }, + "issue": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2192" + }, + "comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/issues/2192/comments" + }, + "review_comments": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2192/comments" + }, + "review_comment": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/comments{/number}" + }, + "commits": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/pulls/2192/commits" + }, + "statuses": { + "href": "https://api.github.com/repos/Alamofire/Alamofire/statuses/acb1ba7c079c3fbfd9e96c1043959ffc3915fb5f" + } + }, + "author_association": "NONE" + } +] \ No newline at end of file diff --git a/SwiftyGitTests/repositories.json b/SwiftyGitTests/repositories.json new file mode 100644 index 0000000..4501407 --- /dev/null +++ b/SwiftyGitTests/repositories.json @@ -0,0 +1,2736 @@ +{ + "total_count": 331923, + "incomplete_results": false, + "items": [ + { + "id": 22458259, + "name": "Alamofire", + "full_name": "Alamofire/Alamofire", + "owner": { + "login": "Alamofire", + "id": 7774181, + "avatar_url": "https://avatars3.githubusercontent.com/u/7774181?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Alamofire", + "html_url": "https://github.com/Alamofire", + "followers_url": "https://api.github.com/users/Alamofire/followers", + "following_url": "https://api.github.com/users/Alamofire/following{/other_user}", + "gists_url": "https://api.github.com/users/Alamofire/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Alamofire/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Alamofire/subscriptions", + "organizations_url": "https://api.github.com/users/Alamofire/orgs", + "repos_url": "https://api.github.com/users/Alamofire/repos", + "events_url": "https://api.github.com/users/Alamofire/events{/privacy}", + "received_events_url": "https://api.github.com/users/Alamofire/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Alamofire/Alamofire", + "description": "Elegant HTTP Networking in Swift", + "fork": false, + "url": "https://api.github.com/repos/Alamofire/Alamofire", + "forks_url": "https://api.github.com/repos/Alamofire/Alamofire/forks", + "keys_url": "https://api.github.com/repos/Alamofire/Alamofire/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Alamofire/Alamofire/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Alamofire/Alamofire/teams", + "hooks_url": "https://api.github.com/repos/Alamofire/Alamofire/hooks", + "issue_events_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/events{/number}", + "events_url": "https://api.github.com/repos/Alamofire/Alamofire/events", + "assignees_url": "https://api.github.com/repos/Alamofire/Alamofire/assignees{/user}", + "branches_url": "https://api.github.com/repos/Alamofire/Alamofire/branches{/branch}", + "tags_url": "https://api.github.com/repos/Alamofire/Alamofire/tags", + "blobs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Alamofire/Alamofire/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Alamofire/Alamofire/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Alamofire/Alamofire/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Alamofire/Alamofire/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Alamofire/Alamofire/languages", + "stargazers_url": "https://api.github.com/repos/Alamofire/Alamofire/stargazers", + "contributors_url": "https://api.github.com/repos/Alamofire/Alamofire/contributors", + "subscribers_url": "https://api.github.com/repos/Alamofire/Alamofire/subscribers", + "subscription_url": "https://api.github.com/repos/Alamofire/Alamofire/subscription", + "commits_url": "https://api.github.com/repos/Alamofire/Alamofire/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Alamofire/Alamofire/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Alamofire/Alamofire/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Alamofire/Alamofire/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Alamofire/Alamofire/contents/{+path}", + "compare_url": "https://api.github.com/repos/Alamofire/Alamofire/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Alamofire/Alamofire/merges", + "archive_url": "https://api.github.com/repos/Alamofire/Alamofire/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Alamofire/Alamofire/downloads", + "issues_url": "https://api.github.com/repos/Alamofire/Alamofire/issues{/number}", + "pulls_url": "https://api.github.com/repos/Alamofire/Alamofire/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Alamofire/Alamofire/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Alamofire/Alamofire/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Alamofire/Alamofire/labels{/name}", + "releases_url": "https://api.github.com/repos/Alamofire/Alamofire/releases{/id}", + "deployments_url": "https://api.github.com/repos/Alamofire/Alamofire/deployments", + "created_at": "2014-07-31T05:56:19Z", + "updated_at": "2017-11-13T11:15:32Z", + "pushed_at": "2017-11-13T04:34:31Z", + "git_url": "git://github.com/Alamofire/Alamofire.git", + "ssh_url": "git@github.com:Alamofire/Alamofire.git", + "clone_url": "https://github.com/Alamofire/Alamofire.git", + "svn_url": "https://github.com/Alamofire/Alamofire", + "homepage": "", + "size": 4966, + "stargazers_count": 25859, + "watchers_count": 25859, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 4498, + "mirror_url": null, + "archived": false, + "open_issues_count": 41, + "forks": 4498, + "open_issues": 41, + "watchers": 25859, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 21700699, + "name": "awesome-ios", + "full_name": "vsouza/awesome-ios", + "owner": { + "login": "vsouza", + "id": 484656, + "avatar_url": "https://avatars2.githubusercontent.com/u/484656?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/vsouza", + "html_url": "https://github.com/vsouza", + "followers_url": "https://api.github.com/users/vsouza/followers", + "following_url": "https://api.github.com/users/vsouza/following{/other_user}", + "gists_url": "https://api.github.com/users/vsouza/gists{/gist_id}", + "starred_url": "https://api.github.com/users/vsouza/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/vsouza/subscriptions", + "organizations_url": "https://api.github.com/users/vsouza/orgs", + "repos_url": "https://api.github.com/users/vsouza/repos", + "events_url": "https://api.github.com/users/vsouza/events{/privacy}", + "received_events_url": "https://api.github.com/users/vsouza/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/vsouza/awesome-ios", + "description": "A curated list of awesome iOS ecosystem, including Objective-C and Swift Projects ", + "fork": false, + "url": "https://api.github.com/repos/vsouza/awesome-ios", + "forks_url": "https://api.github.com/repos/vsouza/awesome-ios/forks", + "keys_url": "https://api.github.com/repos/vsouza/awesome-ios/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/vsouza/awesome-ios/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/vsouza/awesome-ios/teams", + "hooks_url": "https://api.github.com/repos/vsouza/awesome-ios/hooks", + "issue_events_url": "https://api.github.com/repos/vsouza/awesome-ios/issues/events{/number}", + "events_url": "https://api.github.com/repos/vsouza/awesome-ios/events", + "assignees_url": "https://api.github.com/repos/vsouza/awesome-ios/assignees{/user}", + "branches_url": "https://api.github.com/repos/vsouza/awesome-ios/branches{/branch}", + "tags_url": "https://api.github.com/repos/vsouza/awesome-ios/tags", + "blobs_url": "https://api.github.com/repos/vsouza/awesome-ios/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/vsouza/awesome-ios/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/vsouza/awesome-ios/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/vsouza/awesome-ios/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/vsouza/awesome-ios/statuses/{sha}", + "languages_url": "https://api.github.com/repos/vsouza/awesome-ios/languages", + "stargazers_url": "https://api.github.com/repos/vsouza/awesome-ios/stargazers", + "contributors_url": "https://api.github.com/repos/vsouza/awesome-ios/contributors", + "subscribers_url": "https://api.github.com/repos/vsouza/awesome-ios/subscribers", + "subscription_url": "https://api.github.com/repos/vsouza/awesome-ios/subscription", + "commits_url": "https://api.github.com/repos/vsouza/awesome-ios/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/vsouza/awesome-ios/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/vsouza/awesome-ios/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/vsouza/awesome-ios/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/vsouza/awesome-ios/contents/{+path}", + "compare_url": "https://api.github.com/repos/vsouza/awesome-ios/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/vsouza/awesome-ios/merges", + "archive_url": "https://api.github.com/repos/vsouza/awesome-ios/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/vsouza/awesome-ios/downloads", + "issues_url": "https://api.github.com/repos/vsouza/awesome-ios/issues{/number}", + "pulls_url": "https://api.github.com/repos/vsouza/awesome-ios/pulls{/number}", + "milestones_url": "https://api.github.com/repos/vsouza/awesome-ios/milestones{/number}", + "notifications_url": "https://api.github.com/repos/vsouza/awesome-ios/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/vsouza/awesome-ios/labels{/name}", + "releases_url": "https://api.github.com/repos/vsouza/awesome-ios/releases{/id}", + "deployments_url": "https://api.github.com/repos/vsouza/awesome-ios/deployments", + "created_at": "2014-07-10T16:03:45Z", + "updated_at": "2017-11-13T11:13:29Z", + "pushed_at": "2017-11-11T23:00:16Z", + "git_url": "git://github.com/vsouza/awesome-ios.git", + "ssh_url": "git@github.com:vsouza/awesome-ios.git", + "clone_url": "https://github.com/vsouza/awesome-ios.git", + "svn_url": "https://github.com/vsouza/awesome-ios", + "homepage": "http://awesomeios.com", + "size": 4687, + "stargazers_count": 22491, + "watchers_count": 22491, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3800, + "mirror_url": null, + "archived": false, + "open_issues_count": 34, + "forks": 3800, + "open_issues": 34, + "watchers": 22491, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 3606624, + "name": "ReactiveCocoa", + "full_name": "ReactiveCocoa/ReactiveCocoa", + "owner": { + "login": "ReactiveCocoa", + "id": 3422977, + "avatar_url": "https://avatars0.githubusercontent.com/u/3422977?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ReactiveCocoa", + "html_url": "https://github.com/ReactiveCocoa", + "followers_url": "https://api.github.com/users/ReactiveCocoa/followers", + "following_url": "https://api.github.com/users/ReactiveCocoa/following{/other_user}", + "gists_url": "https://api.github.com/users/ReactiveCocoa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ReactiveCocoa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ReactiveCocoa/subscriptions", + "organizations_url": "https://api.github.com/users/ReactiveCocoa/orgs", + "repos_url": "https://api.github.com/users/ReactiveCocoa/repos", + "events_url": "https://api.github.com/users/ReactiveCocoa/events{/privacy}", + "received_events_url": "https://api.github.com/users/ReactiveCocoa/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/ReactiveCocoa/ReactiveCocoa", + "description": "Streams of values over time", + "fork": false, + "url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa", + "forks_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/forks", + "keys_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/teams", + "hooks_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/hooks", + "issue_events_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/events{/number}", + "events_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/events", + "assignees_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/assignees{/user}", + "branches_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/branches{/branch}", + "tags_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/tags", + "blobs_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/statuses/{sha}", + "languages_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/languages", + "stargazers_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/stargazers", + "contributors_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/contributors", + "subscribers_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/subscribers", + "subscription_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/subscription", + "commits_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/contents/{+path}", + "compare_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/merges", + "archive_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/downloads", + "issues_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/issues{/number}", + "pulls_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/pulls{/number}", + "milestones_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/milestones{/number}", + "notifications_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/labels{/name}", + "releases_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/releases{/id}", + "deployments_url": "https://api.github.com/repos/ReactiveCocoa/ReactiveCocoa/deployments", + "created_at": "2012-03-02T22:11:24Z", + "updated_at": "2017-11-13T08:37:06Z", + "pushed_at": "2017-11-12T17:37:02Z", + "git_url": "git://github.com/ReactiveCocoa/ReactiveCocoa.git", + "ssh_url": "git@github.com:ReactiveCocoa/ReactiveCocoa.git", + "clone_url": "https://github.com/ReactiveCocoa/ReactiveCocoa.git", + "svn_url": "https://github.com/ReactiveCocoa/ReactiveCocoa", + "homepage": "", + "size": 16860, + "stargazers_count": 18050, + "watchers_count": 18050, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 3362, + "mirror_url": null, + "archived": false, + "open_issues_count": 24, + "forks": 3362, + "open_issues": 24, + "watchers": 18050, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 32578467, + "name": "Charts", + "full_name": "danielgindi/Charts", + "owner": { + "login": "danielgindi", + "id": 366926, + "avatar_url": "https://avatars1.githubusercontent.com/u/366926?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/danielgindi", + "html_url": "https://github.com/danielgindi", + "followers_url": "https://api.github.com/users/danielgindi/followers", + "following_url": "https://api.github.com/users/danielgindi/following{/other_user}", + "gists_url": "https://api.github.com/users/danielgindi/gists{/gist_id}", + "starred_url": "https://api.github.com/users/danielgindi/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/danielgindi/subscriptions", + "organizations_url": "https://api.github.com/users/danielgindi/orgs", + "repos_url": "https://api.github.com/users/danielgindi/repos", + "events_url": "https://api.github.com/users/danielgindi/events{/privacy}", + "received_events_url": "https://api.github.com/users/danielgindi/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/danielgindi/Charts", + "description": "Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.", + "fork": false, + "url": "https://api.github.com/repos/danielgindi/Charts", + "forks_url": "https://api.github.com/repos/danielgindi/Charts/forks", + "keys_url": "https://api.github.com/repos/danielgindi/Charts/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/danielgindi/Charts/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/danielgindi/Charts/teams", + "hooks_url": "https://api.github.com/repos/danielgindi/Charts/hooks", + "issue_events_url": "https://api.github.com/repos/danielgindi/Charts/issues/events{/number}", + "events_url": "https://api.github.com/repos/danielgindi/Charts/events", + "assignees_url": "https://api.github.com/repos/danielgindi/Charts/assignees{/user}", + "branches_url": "https://api.github.com/repos/danielgindi/Charts/branches{/branch}", + "tags_url": "https://api.github.com/repos/danielgindi/Charts/tags", + "blobs_url": "https://api.github.com/repos/danielgindi/Charts/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/danielgindi/Charts/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/danielgindi/Charts/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/danielgindi/Charts/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/danielgindi/Charts/statuses/{sha}", + "languages_url": "https://api.github.com/repos/danielgindi/Charts/languages", + "stargazers_url": "https://api.github.com/repos/danielgindi/Charts/stargazers", + "contributors_url": "https://api.github.com/repos/danielgindi/Charts/contributors", + "subscribers_url": "https://api.github.com/repos/danielgindi/Charts/subscribers", + "subscription_url": "https://api.github.com/repos/danielgindi/Charts/subscription", + "commits_url": "https://api.github.com/repos/danielgindi/Charts/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/danielgindi/Charts/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/danielgindi/Charts/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/danielgindi/Charts/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/danielgindi/Charts/contents/{+path}", + "compare_url": "https://api.github.com/repos/danielgindi/Charts/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/danielgindi/Charts/merges", + "archive_url": "https://api.github.com/repos/danielgindi/Charts/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/danielgindi/Charts/downloads", + "issues_url": "https://api.github.com/repos/danielgindi/Charts/issues{/number}", + "pulls_url": "https://api.github.com/repos/danielgindi/Charts/pulls{/number}", + "milestones_url": "https://api.github.com/repos/danielgindi/Charts/milestones{/number}", + "notifications_url": "https://api.github.com/repos/danielgindi/Charts/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/danielgindi/Charts/labels{/name}", + "releases_url": "https://api.github.com/repos/danielgindi/Charts/releases{/id}", + "deployments_url": "https://api.github.com/repos/danielgindi/Charts/deployments", + "created_at": "2015-03-20T10:49:12Z", + "updated_at": "2017-11-13T11:20:43Z", + "pushed_at": "2017-11-13T05:55:59Z", + "git_url": "git://github.com/danielgindi/Charts.git", + "ssh_url": "git@github.com:danielgindi/Charts.git", + "clone_url": "https://github.com/danielgindi/Charts.git", + "svn_url": "https://github.com/danielgindi/Charts", + "homepage": "", + "size": 151981, + "stargazers_count": 16351, + "watchers_count": 16351, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 3067, + "mirror_url": null, + "archived": false, + "open_issues_count": 359, + "forks": 3067, + "open_issues": 359, + "watchers": 16351, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 20965586, + "name": "SwiftyJSON", + "full_name": "SwiftyJSON/SwiftyJSON", + "owner": { + "login": "SwiftyJSON", + "id": 8858017, + "avatar_url": "https://avatars1.githubusercontent.com/u/8858017?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/SwiftyJSON", + "html_url": "https://github.com/SwiftyJSON", + "followers_url": "https://api.github.com/users/SwiftyJSON/followers", + "following_url": "https://api.github.com/users/SwiftyJSON/following{/other_user}", + "gists_url": "https://api.github.com/users/SwiftyJSON/gists{/gist_id}", + "starred_url": "https://api.github.com/users/SwiftyJSON/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/SwiftyJSON/subscriptions", + "organizations_url": "https://api.github.com/users/SwiftyJSON/orgs", + "repos_url": "https://api.github.com/users/SwiftyJSON/repos", + "events_url": "https://api.github.com/users/SwiftyJSON/events{/privacy}", + "received_events_url": "https://api.github.com/users/SwiftyJSON/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/SwiftyJSON/SwiftyJSON", + "description": "The better way to deal with JSON data in Swift", + "fork": false, + "url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON", + "forks_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/forks", + "keys_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/teams", + "hooks_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/hooks", + "issue_events_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/events{/number}", + "events_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/events", + "assignees_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/assignees{/user}", + "branches_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/branches{/branch}", + "tags_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/tags", + "blobs_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/statuses/{sha}", + "languages_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/languages", + "stargazers_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/stargazers", + "contributors_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/contributors", + "subscribers_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/subscribers", + "subscription_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/subscription", + "commits_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/contents/{+path}", + "compare_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/merges", + "archive_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/downloads", + "issues_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/issues{/number}", + "pulls_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/pulls{/number}", + "milestones_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/milestones{/number}", + "notifications_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/labels{/name}", + "releases_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/releases{/id}", + "deployments_url": "https://api.github.com/repos/SwiftyJSON/SwiftyJSON/deployments", + "created_at": "2014-06-18T14:41:15Z", + "updated_at": "2017-11-13T10:28:36Z", + "pushed_at": "2017-11-10T22:37:10Z", + "git_url": "git://github.com/SwiftyJSON/SwiftyJSON.git", + "ssh_url": "git@github.com:SwiftyJSON/SwiftyJSON.git", + "clone_url": "https://github.com/SwiftyJSON/SwiftyJSON.git", + "svn_url": "https://github.com/SwiftyJSON/SwiftyJSON", + "homepage": "", + "size": 971, + "stargazers_count": 15796, + "watchers_count": 15796, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 2747, + "mirror_url": null, + "archived": false, + "open_issues_count": 50, + "forks": 2747, + "open_issues": 50, + "watchers": 15796, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 50447720, + "name": "swift-algorithm-club", + "full_name": "raywenderlich/swift-algorithm-club", + "owner": { + "login": "raywenderlich", + "id": 4722515, + "avatar_url": "https://avatars1.githubusercontent.com/u/4722515?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/raywenderlich", + "html_url": "https://github.com/raywenderlich", + "followers_url": "https://api.github.com/users/raywenderlich/followers", + "following_url": "https://api.github.com/users/raywenderlich/following{/other_user}", + "gists_url": "https://api.github.com/users/raywenderlich/gists{/gist_id}", + "starred_url": "https://api.github.com/users/raywenderlich/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/raywenderlich/subscriptions", + "organizations_url": "https://api.github.com/users/raywenderlich/orgs", + "repos_url": "https://api.github.com/users/raywenderlich/repos", + "events_url": "https://api.github.com/users/raywenderlich/events{/privacy}", + "received_events_url": "https://api.github.com/users/raywenderlich/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/raywenderlich/swift-algorithm-club", + "description": "Algorithms and data structures in Swift, with explanations!", + "fork": false, + "url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club", + "forks_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/forks", + "keys_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/teams", + "hooks_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/hooks", + "issue_events_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/issues/events{/number}", + "events_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/events", + "assignees_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/assignees{/user}", + "branches_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/branches{/branch}", + "tags_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/tags", + "blobs_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/statuses/{sha}", + "languages_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/languages", + "stargazers_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/stargazers", + "contributors_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/contributors", + "subscribers_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/subscribers", + "subscription_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/subscription", + "commits_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/contents/{+path}", + "compare_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/merges", + "archive_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/downloads", + "issues_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/issues{/number}", + "pulls_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/pulls{/number}", + "milestones_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/milestones{/number}", + "notifications_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/labels{/name}", + "releases_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/releases{/id}", + "deployments_url": "https://api.github.com/repos/raywenderlich/swift-algorithm-club/deployments", + "created_at": "2016-01-26T17:56:12Z", + "updated_at": "2017-11-13T08:29:38Z", + "pushed_at": "2017-11-11T19:27:13Z", + "git_url": "git://github.com/raywenderlich/swift-algorithm-club.git", + "ssh_url": "git@github.com:raywenderlich/swift-algorithm-club.git", + "clone_url": "https://github.com/raywenderlich/swift-algorithm-club.git", + "svn_url": "https://github.com/raywenderlich/swift-algorithm-club", + "homepage": null, + "size": 12340, + "stargazers_count": 14908, + "watchers_count": 14908, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 2303, + "mirror_url": null, + "archived": false, + "open_issues_count": 33, + "forks": 2303, + "open_issues": 33, + "watchers": 14908, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 29887499, + "name": "open-source-ios-apps", + "full_name": "dkhamsing/open-source-ios-apps", + "owner": { + "login": "dkhamsing", + "id": 4723115, + "avatar_url": "https://avatars0.githubusercontent.com/u/4723115?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/dkhamsing", + "html_url": "https://github.com/dkhamsing", + "followers_url": "https://api.github.com/users/dkhamsing/followers", + "following_url": "https://api.github.com/users/dkhamsing/following{/other_user}", + "gists_url": "https://api.github.com/users/dkhamsing/gists{/gist_id}", + "starred_url": "https://api.github.com/users/dkhamsing/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/dkhamsing/subscriptions", + "organizations_url": "https://api.github.com/users/dkhamsing/orgs", + "repos_url": "https://api.github.com/users/dkhamsing/repos", + "events_url": "https://api.github.com/users/dkhamsing/events{/privacy}", + "received_events_url": "https://api.github.com/users/dkhamsing/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/dkhamsing/open-source-ios-apps", + "description": ":iphone: Collaborative List of Open-Source iOS Apps", + "fork": false, + "url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps", + "forks_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/forks", + "keys_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/teams", + "hooks_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/hooks", + "issue_events_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/issues/events{/number}", + "events_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/events", + "assignees_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/assignees{/user}", + "branches_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/branches{/branch}", + "tags_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/tags", + "blobs_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/statuses/{sha}", + "languages_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/languages", + "stargazers_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/stargazers", + "contributors_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/contributors", + "subscribers_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/subscribers", + "subscription_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/subscription", + "commits_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/contents/{+path}", + "compare_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/merges", + "archive_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/downloads", + "issues_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/issues{/number}", + "pulls_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/pulls{/number}", + "milestones_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/milestones{/number}", + "notifications_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/labels{/name}", + "releases_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/releases{/id}", + "deployments_url": "https://api.github.com/repos/dkhamsing/open-source-ios-apps/deployments", + "created_at": "2015-01-26T23:32:34Z", + "updated_at": "2017-11-13T09:36:29Z", + "pushed_at": "2017-11-07T15:26:30Z", + "git_url": "git://github.com/dkhamsing/open-source-ios-apps.git", + "ssh_url": "git@github.com:dkhamsing/open-source-ios-apps.git", + "clone_url": "https://github.com/dkhamsing/open-source-ios-apps.git", + "svn_url": "https://github.com/dkhamsing/open-source-ios-apps", + "homepage": "", + "size": 4215, + "stargazers_count": 14779, + "watchers_count": 14779, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 2573, + "mirror_url": null, + "archived": false, + "open_issues_count": 2, + "forks": 2573, + "open_issues": 2, + "watchers": 14779, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 21696302, + "name": "awesome-swift", + "full_name": "matteocrippa/awesome-swift", + "owner": { + "login": "matteocrippa", + "id": 475463, + "avatar_url": "https://avatars2.githubusercontent.com/u/475463?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/matteocrippa", + "html_url": "https://github.com/matteocrippa", + "followers_url": "https://api.github.com/users/matteocrippa/followers", + "following_url": "https://api.github.com/users/matteocrippa/following{/other_user}", + "gists_url": "https://api.github.com/users/matteocrippa/gists{/gist_id}", + "starred_url": "https://api.github.com/users/matteocrippa/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/matteocrippa/subscriptions", + "organizations_url": "https://api.github.com/users/matteocrippa/orgs", + "repos_url": "https://api.github.com/users/matteocrippa/repos", + "events_url": "https://api.github.com/users/matteocrippa/events{/privacy}", + "received_events_url": "https://api.github.com/users/matteocrippa/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/matteocrippa/awesome-swift", + "description": "A collaborative list of awesome Swift libraries and resources. Feel free to contribute!", + "fork": false, + "url": "https://api.github.com/repos/matteocrippa/awesome-swift", + "forks_url": "https://api.github.com/repos/matteocrippa/awesome-swift/forks", + "keys_url": "https://api.github.com/repos/matteocrippa/awesome-swift/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/matteocrippa/awesome-swift/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/matteocrippa/awesome-swift/teams", + "hooks_url": "https://api.github.com/repos/matteocrippa/awesome-swift/hooks", + "issue_events_url": "https://api.github.com/repos/matteocrippa/awesome-swift/issues/events{/number}", + "events_url": "https://api.github.com/repos/matteocrippa/awesome-swift/events", + "assignees_url": "https://api.github.com/repos/matteocrippa/awesome-swift/assignees{/user}", + "branches_url": "https://api.github.com/repos/matteocrippa/awesome-swift/branches{/branch}", + "tags_url": "https://api.github.com/repos/matteocrippa/awesome-swift/tags", + "blobs_url": "https://api.github.com/repos/matteocrippa/awesome-swift/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/matteocrippa/awesome-swift/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/matteocrippa/awesome-swift/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/matteocrippa/awesome-swift/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/matteocrippa/awesome-swift/statuses/{sha}", + "languages_url": "https://api.github.com/repos/matteocrippa/awesome-swift/languages", + "stargazers_url": "https://api.github.com/repos/matteocrippa/awesome-swift/stargazers", + "contributors_url": "https://api.github.com/repos/matteocrippa/awesome-swift/contributors", + "subscribers_url": "https://api.github.com/repos/matteocrippa/awesome-swift/subscribers", + "subscription_url": "https://api.github.com/repos/matteocrippa/awesome-swift/subscription", + "commits_url": "https://api.github.com/repos/matteocrippa/awesome-swift/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/matteocrippa/awesome-swift/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/matteocrippa/awesome-swift/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/matteocrippa/awesome-swift/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/matteocrippa/awesome-swift/contents/{+path}", + "compare_url": "https://api.github.com/repos/matteocrippa/awesome-swift/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/matteocrippa/awesome-swift/merges", + "archive_url": "https://api.github.com/repos/matteocrippa/awesome-swift/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/matteocrippa/awesome-swift/downloads", + "issues_url": "https://api.github.com/repos/matteocrippa/awesome-swift/issues{/number}", + "pulls_url": "https://api.github.com/repos/matteocrippa/awesome-swift/pulls{/number}", + "milestones_url": "https://api.github.com/repos/matteocrippa/awesome-swift/milestones{/number}", + "notifications_url": "https://api.github.com/repos/matteocrippa/awesome-swift/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/matteocrippa/awesome-swift/labels{/name}", + "releases_url": "https://api.github.com/repos/matteocrippa/awesome-swift/releases{/id}", + "deployments_url": "https://api.github.com/repos/matteocrippa/awesome-swift/deployments", + "created_at": "2014-07-10T14:04:09Z", + "updated_at": "2017-11-13T08:38:46Z", + "pushed_at": "2017-11-13T05:29:33Z", + "git_url": "git://github.com/matteocrippa/awesome-swift.git", + "ssh_url": "git@github.com:matteocrippa/awesome-swift.git", + "clone_url": "https://github.com/matteocrippa/awesome-swift.git", + "svn_url": "https://github.com/matteocrippa/awesome-swift", + "homepage": "", + "size": 3063, + "stargazers_count": 13248, + "watchers_count": 13248, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 1857, + "mirror_url": null, + "archived": false, + "open_issues_count": 7, + "forks": 1857, + "open_issues": 7, + "watchers": 13248, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 20822291, + "name": "SwiftGuide", + "full_name": "ipader/SwiftGuide", + "owner": { + "login": "ipader", + "id": 373016, + "avatar_url": "https://avatars3.githubusercontent.com/u/373016?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ipader", + "html_url": "https://github.com/ipader", + "followers_url": "https://api.github.com/users/ipader/followers", + "following_url": "https://api.github.com/users/ipader/following{/other_user}", + "gists_url": "https://api.github.com/users/ipader/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ipader/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ipader/subscriptions", + "organizations_url": "https://api.github.com/users/ipader/orgs", + "repos_url": "https://api.github.com/users/ipader/repos", + "events_url": "https://api.github.com/users/ipader/events{/privacy}", + "received_events_url": "https://api.github.com/users/ipader/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/ipader/SwiftGuide", + "description": "这份指南汇集了Swift语言主流学习资源,并以开发者的视角整理编排。http://dev.swiftguide.cn ", + "fork": false, + "url": "https://api.github.com/repos/ipader/SwiftGuide", + "forks_url": "https://api.github.com/repos/ipader/SwiftGuide/forks", + "keys_url": "https://api.github.com/repos/ipader/SwiftGuide/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/ipader/SwiftGuide/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/ipader/SwiftGuide/teams", + "hooks_url": "https://api.github.com/repos/ipader/SwiftGuide/hooks", + "issue_events_url": "https://api.github.com/repos/ipader/SwiftGuide/issues/events{/number}", + "events_url": "https://api.github.com/repos/ipader/SwiftGuide/events", + "assignees_url": "https://api.github.com/repos/ipader/SwiftGuide/assignees{/user}", + "branches_url": "https://api.github.com/repos/ipader/SwiftGuide/branches{/branch}", + "tags_url": "https://api.github.com/repos/ipader/SwiftGuide/tags", + "blobs_url": "https://api.github.com/repos/ipader/SwiftGuide/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/ipader/SwiftGuide/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/ipader/SwiftGuide/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/ipader/SwiftGuide/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/ipader/SwiftGuide/statuses/{sha}", + "languages_url": "https://api.github.com/repos/ipader/SwiftGuide/languages", + "stargazers_url": "https://api.github.com/repos/ipader/SwiftGuide/stargazers", + "contributors_url": "https://api.github.com/repos/ipader/SwiftGuide/contributors", + "subscribers_url": "https://api.github.com/repos/ipader/SwiftGuide/subscribers", + "subscription_url": "https://api.github.com/repos/ipader/SwiftGuide/subscription", + "commits_url": "https://api.github.com/repos/ipader/SwiftGuide/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/ipader/SwiftGuide/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/ipader/SwiftGuide/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/ipader/SwiftGuide/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/ipader/SwiftGuide/contents/{+path}", + "compare_url": "https://api.github.com/repos/ipader/SwiftGuide/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/ipader/SwiftGuide/merges", + "archive_url": "https://api.github.com/repos/ipader/SwiftGuide/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/ipader/SwiftGuide/downloads", + "issues_url": "https://api.github.com/repos/ipader/SwiftGuide/issues{/number}", + "pulls_url": "https://api.github.com/repos/ipader/SwiftGuide/pulls{/number}", + "milestones_url": "https://api.github.com/repos/ipader/SwiftGuide/milestones{/number}", + "notifications_url": "https://api.github.com/repos/ipader/SwiftGuide/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/ipader/SwiftGuide/labels{/name}", + "releases_url": "https://api.github.com/repos/ipader/SwiftGuide/releases{/id}", + "deployments_url": "https://api.github.com/repos/ipader/SwiftGuide/deployments", + "created_at": "2014-06-14T01:17:57Z", + "updated_at": "2017-11-13T09:20:10Z", + "pushed_at": "2017-08-18T06:50:47Z", + "git_url": "git://github.com/ipader/SwiftGuide.git", + "ssh_url": "git@github.com:ipader/SwiftGuide.git", + "clone_url": "https://github.com/ipader/SwiftGuide.git", + "svn_url": "https://github.com/ipader/SwiftGuide", + "homepage": "", + "size": 9731, + "stargazers_count": 12381, + "watchers_count": 12381, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 3242, + "mirror_url": null, + "archived": false, + "open_issues_count": 11, + "forks": 3242, + "open_issues": 11, + "watchers": 12381, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 43568832, + "name": "Perfect", + "full_name": "PerfectlySoft/Perfect", + "owner": { + "login": "PerfectlySoft", + "id": 14945043, + "avatar_url": "https://avatars1.githubusercontent.com/u/14945043?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/PerfectlySoft", + "html_url": "https://github.com/PerfectlySoft", + "followers_url": "https://api.github.com/users/PerfectlySoft/followers", + "following_url": "https://api.github.com/users/PerfectlySoft/following{/other_user}", + "gists_url": "https://api.github.com/users/PerfectlySoft/gists{/gist_id}", + "starred_url": "https://api.github.com/users/PerfectlySoft/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/PerfectlySoft/subscriptions", + "organizations_url": "https://api.github.com/users/PerfectlySoft/orgs", + "repos_url": "https://api.github.com/users/PerfectlySoft/repos", + "events_url": "https://api.github.com/users/PerfectlySoft/events{/privacy}", + "received_events_url": "https://api.github.com/users/PerfectlySoft/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/PerfectlySoft/Perfect", + "description": "Server-side Swift. The Perfect core toolset and framework for Swift Developers. (For mobile back-end development, website and API development, and more…)", + "fork": false, + "url": "https://api.github.com/repos/PerfectlySoft/Perfect", + "forks_url": "https://api.github.com/repos/PerfectlySoft/Perfect/forks", + "keys_url": "https://api.github.com/repos/PerfectlySoft/Perfect/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/PerfectlySoft/Perfect/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/PerfectlySoft/Perfect/teams", + "hooks_url": "https://api.github.com/repos/PerfectlySoft/Perfect/hooks", + "issue_events_url": "https://api.github.com/repos/PerfectlySoft/Perfect/issues/events{/number}", + "events_url": "https://api.github.com/repos/PerfectlySoft/Perfect/events", + "assignees_url": "https://api.github.com/repos/PerfectlySoft/Perfect/assignees{/user}", + "branches_url": "https://api.github.com/repos/PerfectlySoft/Perfect/branches{/branch}", + "tags_url": "https://api.github.com/repos/PerfectlySoft/Perfect/tags", + "blobs_url": "https://api.github.com/repos/PerfectlySoft/Perfect/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/PerfectlySoft/Perfect/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/PerfectlySoft/Perfect/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/PerfectlySoft/Perfect/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/PerfectlySoft/Perfect/statuses/{sha}", + "languages_url": "https://api.github.com/repos/PerfectlySoft/Perfect/languages", + "stargazers_url": "https://api.github.com/repos/PerfectlySoft/Perfect/stargazers", + "contributors_url": "https://api.github.com/repos/PerfectlySoft/Perfect/contributors", + "subscribers_url": "https://api.github.com/repos/PerfectlySoft/Perfect/subscribers", + "subscription_url": "https://api.github.com/repos/PerfectlySoft/Perfect/subscription", + "commits_url": "https://api.github.com/repos/PerfectlySoft/Perfect/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/PerfectlySoft/Perfect/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/PerfectlySoft/Perfect/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/PerfectlySoft/Perfect/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/PerfectlySoft/Perfect/contents/{+path}", + "compare_url": "https://api.github.com/repos/PerfectlySoft/Perfect/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/PerfectlySoft/Perfect/merges", + "archive_url": "https://api.github.com/repos/PerfectlySoft/Perfect/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/PerfectlySoft/Perfect/downloads", + "issues_url": "https://api.github.com/repos/PerfectlySoft/Perfect/issues{/number}", + "pulls_url": "https://api.github.com/repos/PerfectlySoft/Perfect/pulls{/number}", + "milestones_url": "https://api.github.com/repos/PerfectlySoft/Perfect/milestones{/number}", + "notifications_url": "https://api.github.com/repos/PerfectlySoft/Perfect/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/PerfectlySoft/Perfect/labels{/name}", + "releases_url": "https://api.github.com/repos/PerfectlySoft/Perfect/releases{/id}", + "deployments_url": "https://api.github.com/repos/PerfectlySoft/Perfect/deployments", + "created_at": "2015-10-02T18:20:08Z", + "updated_at": "2017-11-13T09:24:16Z", + "pushed_at": "2017-11-11T08:48:20Z", + "git_url": "git://github.com/PerfectlySoft/Perfect.git", + "ssh_url": "git@github.com:PerfectlySoft/Perfect.git", + "clone_url": "https://github.com/PerfectlySoft/Perfect.git", + "svn_url": "https://github.com/PerfectlySoft/Perfect", + "homepage": "https://www.perfect.org", + "size": 5393, + "stargazers_count": 12362, + "watchers_count": 12362, + "language": "Swift", + "has_issues": false, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 883, + "mirror_url": null, + "archived": false, + "open_issues_count": 26, + "forks": 883, + "open_issues": 26, + "watchers": 12362, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 49910095, + "name": "vapor", + "full_name": "vapor/vapor", + "owner": { + "login": "vapor", + "id": 17364220, + "avatar_url": "https://avatars1.githubusercontent.com/u/17364220?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/vapor", + "html_url": "https://github.com/vapor", + "followers_url": "https://api.github.com/users/vapor/followers", + "following_url": "https://api.github.com/users/vapor/following{/other_user}", + "gists_url": "https://api.github.com/users/vapor/gists{/gist_id}", + "starred_url": "https://api.github.com/users/vapor/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/vapor/subscriptions", + "organizations_url": "https://api.github.com/users/vapor/orgs", + "repos_url": "https://api.github.com/users/vapor/repos", + "events_url": "https://api.github.com/users/vapor/events{/privacy}", + "received_events_url": "https://api.github.com/users/vapor/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/vapor/vapor", + "description": "💧 A server-side Swift web framework.", + "fork": false, + "url": "https://api.github.com/repos/vapor/vapor", + "forks_url": "https://api.github.com/repos/vapor/vapor/forks", + "keys_url": "https://api.github.com/repos/vapor/vapor/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/vapor/vapor/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/vapor/vapor/teams", + "hooks_url": "https://api.github.com/repos/vapor/vapor/hooks", + "issue_events_url": "https://api.github.com/repos/vapor/vapor/issues/events{/number}", + "events_url": "https://api.github.com/repos/vapor/vapor/events", + "assignees_url": "https://api.github.com/repos/vapor/vapor/assignees{/user}", + "branches_url": "https://api.github.com/repos/vapor/vapor/branches{/branch}", + "tags_url": "https://api.github.com/repos/vapor/vapor/tags", + "blobs_url": "https://api.github.com/repos/vapor/vapor/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/vapor/vapor/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/vapor/vapor/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/vapor/vapor/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/vapor/vapor/statuses/{sha}", + "languages_url": "https://api.github.com/repos/vapor/vapor/languages", + "stargazers_url": "https://api.github.com/repos/vapor/vapor/stargazers", + "contributors_url": "https://api.github.com/repos/vapor/vapor/contributors", + "subscribers_url": "https://api.github.com/repos/vapor/vapor/subscribers", + "subscription_url": "https://api.github.com/repos/vapor/vapor/subscription", + "commits_url": "https://api.github.com/repos/vapor/vapor/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/vapor/vapor/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/vapor/vapor/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/vapor/vapor/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/vapor/vapor/contents/{+path}", + "compare_url": "https://api.github.com/repos/vapor/vapor/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/vapor/vapor/merges", + "archive_url": "https://api.github.com/repos/vapor/vapor/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/vapor/vapor/downloads", + "issues_url": "https://api.github.com/repos/vapor/vapor/issues{/number}", + "pulls_url": "https://api.github.com/repos/vapor/vapor/pulls{/number}", + "milestones_url": "https://api.github.com/repos/vapor/vapor/milestones{/number}", + "notifications_url": "https://api.github.com/repos/vapor/vapor/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/vapor/vapor/labels{/name}", + "releases_url": "https://api.github.com/repos/vapor/vapor/releases{/id}", + "deployments_url": "https://api.github.com/repos/vapor/vapor/deployments", + "created_at": "2016-01-18T22:37:52Z", + "updated_at": "2017-11-13T08:31:41Z", + "pushed_at": "2017-11-10T05:49:50Z", + "git_url": "git://github.com/vapor/vapor.git", + "ssh_url": "git@github.com:vapor/vapor.git", + "clone_url": "https://github.com/vapor/vapor.git", + "svn_url": "https://github.com/vapor/vapor", + "homepage": "https://vapor.codes", + "size": 12749, + "stargazers_count": 11629, + "watchers_count": 11629, + "language": "Swift", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 639, + "mirror_url": null, + "archived": false, + "open_issues_count": 60, + "forks": 639, + "open_issues": 60, + "watchers": 11629, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 28513398, + "name": "Spring", + "full_name": "MengTo/Spring", + "owner": { + "login": "MengTo", + "id": 1065452, + "avatar_url": "https://avatars1.githubusercontent.com/u/1065452?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/MengTo", + "html_url": "https://github.com/MengTo", + "followers_url": "https://api.github.com/users/MengTo/followers", + "following_url": "https://api.github.com/users/MengTo/following{/other_user}", + "gists_url": "https://api.github.com/users/MengTo/gists{/gist_id}", + "starred_url": "https://api.github.com/users/MengTo/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/MengTo/subscriptions", + "organizations_url": "https://api.github.com/users/MengTo/orgs", + "repos_url": "https://api.github.com/users/MengTo/repos", + "events_url": "https://api.github.com/users/MengTo/events{/privacy}", + "received_events_url": "https://api.github.com/users/MengTo/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/MengTo/Spring", + "description": "A library to simplify iOS animations in Swift.", + "fork": false, + "url": "https://api.github.com/repos/MengTo/Spring", + "forks_url": "https://api.github.com/repos/MengTo/Spring/forks", + "keys_url": "https://api.github.com/repos/MengTo/Spring/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/MengTo/Spring/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/MengTo/Spring/teams", + "hooks_url": "https://api.github.com/repos/MengTo/Spring/hooks", + "issue_events_url": "https://api.github.com/repos/MengTo/Spring/issues/events{/number}", + "events_url": "https://api.github.com/repos/MengTo/Spring/events", + "assignees_url": "https://api.github.com/repos/MengTo/Spring/assignees{/user}", + "branches_url": "https://api.github.com/repos/MengTo/Spring/branches{/branch}", + "tags_url": "https://api.github.com/repos/MengTo/Spring/tags", + "blobs_url": "https://api.github.com/repos/MengTo/Spring/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/MengTo/Spring/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/MengTo/Spring/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/MengTo/Spring/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/MengTo/Spring/statuses/{sha}", + "languages_url": "https://api.github.com/repos/MengTo/Spring/languages", + "stargazers_url": "https://api.github.com/repos/MengTo/Spring/stargazers", + "contributors_url": "https://api.github.com/repos/MengTo/Spring/contributors", + "subscribers_url": "https://api.github.com/repos/MengTo/Spring/subscribers", + "subscription_url": "https://api.github.com/repos/MengTo/Spring/subscription", + "commits_url": "https://api.github.com/repos/MengTo/Spring/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/MengTo/Spring/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/MengTo/Spring/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/MengTo/Spring/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/MengTo/Spring/contents/{+path}", + "compare_url": "https://api.github.com/repos/MengTo/Spring/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/MengTo/Spring/merges", + "archive_url": "https://api.github.com/repos/MengTo/Spring/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/MengTo/Spring/downloads", + "issues_url": "https://api.github.com/repos/MengTo/Spring/issues{/number}", + "pulls_url": "https://api.github.com/repos/MengTo/Spring/pulls{/number}", + "milestones_url": "https://api.github.com/repos/MengTo/Spring/milestones{/number}", + "notifications_url": "https://api.github.com/repos/MengTo/Spring/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/MengTo/Spring/labels{/name}", + "releases_url": "https://api.github.com/repos/MengTo/Spring/releases{/id}", + "deployments_url": "https://api.github.com/repos/MengTo/Spring/deployments", + "created_at": "2014-12-26T14:57:02Z", + "updated_at": "2017-11-13T11:00:09Z", + "pushed_at": "2017-11-01T23:59:45Z", + "git_url": "git://github.com/MengTo/Spring.git", + "ssh_url": "git@github.com:MengTo/Spring.git", + "clone_url": "https://github.com/MengTo/Spring.git", + "svn_url": "https://github.com/MengTo/Spring", + "homepage": "http://designcode.io", + "size": 866, + "stargazers_count": 11530, + "watchers_count": 11530, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1295, + "mirror_url": null, + "archived": false, + "open_issues_count": 138, + "forks": 1295, + "open_issues": 138, + "watchers": 11530, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 33569135, + "name": "RxSwift", + "full_name": "ReactiveX/RxSwift", + "owner": { + "login": "ReactiveX", + "id": 6407041, + "avatar_url": "https://avatars1.githubusercontent.com/u/6407041?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ReactiveX", + "html_url": "https://github.com/ReactiveX", + "followers_url": "https://api.github.com/users/ReactiveX/followers", + "following_url": "https://api.github.com/users/ReactiveX/following{/other_user}", + "gists_url": "https://api.github.com/users/ReactiveX/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ReactiveX/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ReactiveX/subscriptions", + "organizations_url": "https://api.github.com/users/ReactiveX/orgs", + "repos_url": "https://api.github.com/users/ReactiveX/repos", + "events_url": "https://api.github.com/users/ReactiveX/events{/privacy}", + "received_events_url": "https://api.github.com/users/ReactiveX/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/ReactiveX/RxSwift", + "description": "Reactive Programming in Swift", + "fork": false, + "url": "https://api.github.com/repos/ReactiveX/RxSwift", + "forks_url": "https://api.github.com/repos/ReactiveX/RxSwift/forks", + "keys_url": "https://api.github.com/repos/ReactiveX/RxSwift/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/ReactiveX/RxSwift/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/ReactiveX/RxSwift/teams", + "hooks_url": "https://api.github.com/repos/ReactiveX/RxSwift/hooks", + "issue_events_url": "https://api.github.com/repos/ReactiveX/RxSwift/issues/events{/number}", + "events_url": "https://api.github.com/repos/ReactiveX/RxSwift/events", + "assignees_url": "https://api.github.com/repos/ReactiveX/RxSwift/assignees{/user}", + "branches_url": "https://api.github.com/repos/ReactiveX/RxSwift/branches{/branch}", + "tags_url": "https://api.github.com/repos/ReactiveX/RxSwift/tags", + "blobs_url": "https://api.github.com/repos/ReactiveX/RxSwift/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/ReactiveX/RxSwift/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/ReactiveX/RxSwift/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/ReactiveX/RxSwift/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/ReactiveX/RxSwift/statuses/{sha}", + "languages_url": "https://api.github.com/repos/ReactiveX/RxSwift/languages", + "stargazers_url": "https://api.github.com/repos/ReactiveX/RxSwift/stargazers", + "contributors_url": "https://api.github.com/repos/ReactiveX/RxSwift/contributors", + "subscribers_url": "https://api.github.com/repos/ReactiveX/RxSwift/subscribers", + "subscription_url": "https://api.github.com/repos/ReactiveX/RxSwift/subscription", + "commits_url": "https://api.github.com/repos/ReactiveX/RxSwift/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/ReactiveX/RxSwift/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/ReactiveX/RxSwift/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/ReactiveX/RxSwift/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/ReactiveX/RxSwift/contents/{+path}", + "compare_url": "https://api.github.com/repos/ReactiveX/RxSwift/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/ReactiveX/RxSwift/merges", + "archive_url": "https://api.github.com/repos/ReactiveX/RxSwift/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/ReactiveX/RxSwift/downloads", + "issues_url": "https://api.github.com/repos/ReactiveX/RxSwift/issues{/number}", + "pulls_url": "https://api.github.com/repos/ReactiveX/RxSwift/pulls{/number}", + "milestones_url": "https://api.github.com/repos/ReactiveX/RxSwift/milestones{/number}", + "notifications_url": "https://api.github.com/repos/ReactiveX/RxSwift/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/ReactiveX/RxSwift/labels{/name}", + "releases_url": "https://api.github.com/repos/ReactiveX/RxSwift/releases{/id}", + "deployments_url": "https://api.github.com/repos/ReactiveX/RxSwift/deployments", + "created_at": "2015-04-07T21:25:17Z", + "updated_at": "2017-11-13T10:42:03Z", + "pushed_at": "2017-11-13T10:10:26Z", + "git_url": "git://github.com/ReactiveX/RxSwift.git", + "ssh_url": "git@github.com:ReactiveX/RxSwift.git", + "clone_url": "https://github.com/ReactiveX/RxSwift.git", + "svn_url": "https://github.com/ReactiveX/RxSwift", + "homepage": "", + "size": 11348, + "stargazers_count": 11406, + "watchers_count": 11406, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1778, + "mirror_url": null, + "archived": false, + "open_issues_count": 19, + "forks": 1778, + "open_issues": 19, + "watchers": 11406, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 20541795, + "name": "SnapKit", + "full_name": "SnapKit/SnapKit", + "owner": { + "login": "SnapKit", + "id": 7809696, + "avatar_url": "https://avatars1.githubusercontent.com/u/7809696?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/SnapKit", + "html_url": "https://github.com/SnapKit", + "followers_url": "https://api.github.com/users/SnapKit/followers", + "following_url": "https://api.github.com/users/SnapKit/following{/other_user}", + "gists_url": "https://api.github.com/users/SnapKit/gists{/gist_id}", + "starred_url": "https://api.github.com/users/SnapKit/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/SnapKit/subscriptions", + "organizations_url": "https://api.github.com/users/SnapKit/orgs", + "repos_url": "https://api.github.com/users/SnapKit/repos", + "events_url": "https://api.github.com/users/SnapKit/events{/privacy}", + "received_events_url": "https://api.github.com/users/SnapKit/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/SnapKit/SnapKit", + "description": "A Swift Autolayout DSL for iOS & OS X", + "fork": false, + "url": "https://api.github.com/repos/SnapKit/SnapKit", + "forks_url": "https://api.github.com/repos/SnapKit/SnapKit/forks", + "keys_url": "https://api.github.com/repos/SnapKit/SnapKit/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/SnapKit/SnapKit/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/SnapKit/SnapKit/teams", + "hooks_url": "https://api.github.com/repos/SnapKit/SnapKit/hooks", + "issue_events_url": "https://api.github.com/repos/SnapKit/SnapKit/issues/events{/number}", + "events_url": "https://api.github.com/repos/SnapKit/SnapKit/events", + "assignees_url": "https://api.github.com/repos/SnapKit/SnapKit/assignees{/user}", + "branches_url": "https://api.github.com/repos/SnapKit/SnapKit/branches{/branch}", + "tags_url": "https://api.github.com/repos/SnapKit/SnapKit/tags", + "blobs_url": "https://api.github.com/repos/SnapKit/SnapKit/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/SnapKit/SnapKit/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/SnapKit/SnapKit/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/SnapKit/SnapKit/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/SnapKit/SnapKit/statuses/{sha}", + "languages_url": "https://api.github.com/repos/SnapKit/SnapKit/languages", + "stargazers_url": "https://api.github.com/repos/SnapKit/SnapKit/stargazers", + "contributors_url": "https://api.github.com/repos/SnapKit/SnapKit/contributors", + "subscribers_url": "https://api.github.com/repos/SnapKit/SnapKit/subscribers", + "subscription_url": "https://api.github.com/repos/SnapKit/SnapKit/subscription", + "commits_url": "https://api.github.com/repos/SnapKit/SnapKit/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/SnapKit/SnapKit/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/SnapKit/SnapKit/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/SnapKit/SnapKit/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/SnapKit/SnapKit/contents/{+path}", + "compare_url": "https://api.github.com/repos/SnapKit/SnapKit/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/SnapKit/SnapKit/merges", + "archive_url": "https://api.github.com/repos/SnapKit/SnapKit/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/SnapKit/SnapKit/downloads", + "issues_url": "https://api.github.com/repos/SnapKit/SnapKit/issues{/number}", + "pulls_url": "https://api.github.com/repos/SnapKit/SnapKit/pulls{/number}", + "milestones_url": "https://api.github.com/repos/SnapKit/SnapKit/milestones{/number}", + "notifications_url": "https://api.github.com/repos/SnapKit/SnapKit/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/SnapKit/SnapKit/labels{/name}", + "releases_url": "https://api.github.com/repos/SnapKit/SnapKit/releases{/id}", + "deployments_url": "https://api.github.com/repos/SnapKit/SnapKit/deployments", + "created_at": "2014-06-05T21:13:40Z", + "updated_at": "2017-11-13T11:10:12Z", + "pushed_at": "2017-11-07T02:23:44Z", + "git_url": "git://github.com/SnapKit/SnapKit.git", + "ssh_url": "git@github.com:SnapKit/SnapKit.git", + "clone_url": "https://github.com/SnapKit/SnapKit.git", + "svn_url": "https://github.com/SnapKit/SnapKit", + "homepage": "http://snapkit.io", + "size": 2767, + "stargazers_count": 11246, + "watchers_count": 11246, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 1135, + "mirror_url": null, + "archived": false, + "open_issues_count": 13, + "forks": 1135, + "open_issues": 13, + "watchers": 11246, + "default_branch": "develop", + "score": 1.0 + }, + { + "id": 74697963, + "name": "Hero", + "full_name": "lkzhao/Hero", + "owner": { + "login": "lkzhao", + "id": 3359850, + "avatar_url": "https://avatars1.githubusercontent.com/u/3359850?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/lkzhao", + "html_url": "https://github.com/lkzhao", + "followers_url": "https://api.github.com/users/lkzhao/followers", + "following_url": "https://api.github.com/users/lkzhao/following{/other_user}", + "gists_url": "https://api.github.com/users/lkzhao/gists{/gist_id}", + "starred_url": "https://api.github.com/users/lkzhao/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/lkzhao/subscriptions", + "organizations_url": "https://api.github.com/users/lkzhao/orgs", + "repos_url": "https://api.github.com/users/lkzhao/repos", + "events_url": "https://api.github.com/users/lkzhao/events{/privacy}", + "received_events_url": "https://api.github.com/users/lkzhao/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/lkzhao/Hero", + "description": "Elegant transition library for iOS & tvOS", + "fork": false, + "url": "https://api.github.com/repos/lkzhao/Hero", + "forks_url": "https://api.github.com/repos/lkzhao/Hero/forks", + "keys_url": "https://api.github.com/repos/lkzhao/Hero/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/lkzhao/Hero/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/lkzhao/Hero/teams", + "hooks_url": "https://api.github.com/repos/lkzhao/Hero/hooks", + "issue_events_url": "https://api.github.com/repos/lkzhao/Hero/issues/events{/number}", + "events_url": "https://api.github.com/repos/lkzhao/Hero/events", + "assignees_url": "https://api.github.com/repos/lkzhao/Hero/assignees{/user}", + "branches_url": "https://api.github.com/repos/lkzhao/Hero/branches{/branch}", + "tags_url": "https://api.github.com/repos/lkzhao/Hero/tags", + "blobs_url": "https://api.github.com/repos/lkzhao/Hero/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/lkzhao/Hero/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/lkzhao/Hero/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/lkzhao/Hero/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/lkzhao/Hero/statuses/{sha}", + "languages_url": "https://api.github.com/repos/lkzhao/Hero/languages", + "stargazers_url": "https://api.github.com/repos/lkzhao/Hero/stargazers", + "contributors_url": "https://api.github.com/repos/lkzhao/Hero/contributors", + "subscribers_url": "https://api.github.com/repos/lkzhao/Hero/subscribers", + "subscription_url": "https://api.github.com/repos/lkzhao/Hero/subscription", + "commits_url": "https://api.github.com/repos/lkzhao/Hero/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/lkzhao/Hero/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/lkzhao/Hero/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/lkzhao/Hero/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/lkzhao/Hero/contents/{+path}", + "compare_url": "https://api.github.com/repos/lkzhao/Hero/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/lkzhao/Hero/merges", + "archive_url": "https://api.github.com/repos/lkzhao/Hero/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/lkzhao/Hero/downloads", + "issues_url": "https://api.github.com/repos/lkzhao/Hero/issues{/number}", + "pulls_url": "https://api.github.com/repos/lkzhao/Hero/pulls{/number}", + "milestones_url": "https://api.github.com/repos/lkzhao/Hero/milestones{/number}", + "notifications_url": "https://api.github.com/repos/lkzhao/Hero/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/lkzhao/Hero/labels{/name}", + "releases_url": "https://api.github.com/repos/lkzhao/Hero/releases{/id}", + "deployments_url": "https://api.github.com/repos/lkzhao/Hero/deployments", + "created_at": "2016-11-24T18:49:37Z", + "updated_at": "2017-11-13T08:40:36Z", + "pushed_at": "2017-11-05T03:48:42Z", + "git_url": "git://github.com/lkzhao/Hero.git", + "ssh_url": "git@github.com:lkzhao/Hero.git", + "clone_url": "https://github.com/lkzhao/Hero.git", + "svn_url": "https://github.com/lkzhao/Hero", + "homepage": "", + "size": 28600, + "stargazers_count": 11228, + "watchers_count": 11228, + "language": "Swift", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 780, + "mirror_url": null, + "archived": false, + "open_issues_count": 119, + "forks": 780, + "open_issues": 119, + "watchers": 11228, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 25050844, + "name": "Carthage", + "full_name": "Carthage/Carthage", + "owner": { + "login": "Carthage", + "id": 9146792, + "avatar_url": "https://avatars1.githubusercontent.com/u/9146792?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Carthage", + "html_url": "https://github.com/Carthage", + "followers_url": "https://api.github.com/users/Carthage/followers", + "following_url": "https://api.github.com/users/Carthage/following{/other_user}", + "gists_url": "https://api.github.com/users/Carthage/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Carthage/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Carthage/subscriptions", + "organizations_url": "https://api.github.com/users/Carthage/orgs", + "repos_url": "https://api.github.com/users/Carthage/repos", + "events_url": "https://api.github.com/users/Carthage/events{/privacy}", + "received_events_url": "https://api.github.com/users/Carthage/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Carthage/Carthage", + "description": "A simple, decentralized dependency manager for Cocoa", + "fork": false, + "url": "https://api.github.com/repos/Carthage/Carthage", + "forks_url": "https://api.github.com/repos/Carthage/Carthage/forks", + "keys_url": "https://api.github.com/repos/Carthage/Carthage/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Carthage/Carthage/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Carthage/Carthage/teams", + "hooks_url": "https://api.github.com/repos/Carthage/Carthage/hooks", + "issue_events_url": "https://api.github.com/repos/Carthage/Carthage/issues/events{/number}", + "events_url": "https://api.github.com/repos/Carthage/Carthage/events", + "assignees_url": "https://api.github.com/repos/Carthage/Carthage/assignees{/user}", + "branches_url": "https://api.github.com/repos/Carthage/Carthage/branches{/branch}", + "tags_url": "https://api.github.com/repos/Carthage/Carthage/tags", + "blobs_url": "https://api.github.com/repos/Carthage/Carthage/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Carthage/Carthage/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Carthage/Carthage/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Carthage/Carthage/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Carthage/Carthage/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Carthage/Carthage/languages", + "stargazers_url": "https://api.github.com/repos/Carthage/Carthage/stargazers", + "contributors_url": "https://api.github.com/repos/Carthage/Carthage/contributors", + "subscribers_url": "https://api.github.com/repos/Carthage/Carthage/subscribers", + "subscription_url": "https://api.github.com/repos/Carthage/Carthage/subscription", + "commits_url": "https://api.github.com/repos/Carthage/Carthage/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Carthage/Carthage/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Carthage/Carthage/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Carthage/Carthage/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Carthage/Carthage/contents/{+path}", + "compare_url": "https://api.github.com/repos/Carthage/Carthage/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Carthage/Carthage/merges", + "archive_url": "https://api.github.com/repos/Carthage/Carthage/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Carthage/Carthage/downloads", + "issues_url": "https://api.github.com/repos/Carthage/Carthage/issues{/number}", + "pulls_url": "https://api.github.com/repos/Carthage/Carthage/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Carthage/Carthage/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Carthage/Carthage/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Carthage/Carthage/labels{/name}", + "releases_url": "https://api.github.com/repos/Carthage/Carthage/releases{/id}", + "deployments_url": "https://api.github.com/repos/Carthage/Carthage/deployments", + "created_at": "2014-10-10T19:54:55Z", + "updated_at": "2017-11-13T08:38:39Z", + "pushed_at": "2017-11-10T04:41:22Z", + "git_url": "git://github.com/Carthage/Carthage.git", + "ssh_url": "git@github.com:Carthage/Carthage.git", + "clone_url": "https://github.com/Carthage/Carthage.git", + "svn_url": "https://github.com/Carthage/Carthage", + "homepage": "", + "size": 13768, + "stargazers_count": 10418, + "watchers_count": 10418, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 941, + "mirror_url": null, + "archived": false, + "open_issues_count": 157, + "forks": 941, + "open_issues": 157, + "watchers": 10418, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 33486016, + "name": "Kingfisher", + "full_name": "onevcat/Kingfisher", + "owner": { + "login": "onevcat", + "id": 1019875, + "avatar_url": "https://avatars0.githubusercontent.com/u/1019875?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/onevcat", + "html_url": "https://github.com/onevcat", + "followers_url": "https://api.github.com/users/onevcat/followers", + "following_url": "https://api.github.com/users/onevcat/following{/other_user}", + "gists_url": "https://api.github.com/users/onevcat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/onevcat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/onevcat/subscriptions", + "organizations_url": "https://api.github.com/users/onevcat/orgs", + "repos_url": "https://api.github.com/users/onevcat/repos", + "events_url": "https://api.github.com/users/onevcat/events{/privacy}", + "received_events_url": "https://api.github.com/users/onevcat/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/onevcat/Kingfisher", + "description": "A lightweight, pure-Swift library for downloading and caching images from the web.", + "fork": false, + "url": "https://api.github.com/repos/onevcat/Kingfisher", + "forks_url": "https://api.github.com/repos/onevcat/Kingfisher/forks", + "keys_url": "https://api.github.com/repos/onevcat/Kingfisher/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/onevcat/Kingfisher/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/onevcat/Kingfisher/teams", + "hooks_url": "https://api.github.com/repos/onevcat/Kingfisher/hooks", + "issue_events_url": "https://api.github.com/repos/onevcat/Kingfisher/issues/events{/number}", + "events_url": "https://api.github.com/repos/onevcat/Kingfisher/events", + "assignees_url": "https://api.github.com/repos/onevcat/Kingfisher/assignees{/user}", + "branches_url": "https://api.github.com/repos/onevcat/Kingfisher/branches{/branch}", + "tags_url": "https://api.github.com/repos/onevcat/Kingfisher/tags", + "blobs_url": "https://api.github.com/repos/onevcat/Kingfisher/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/onevcat/Kingfisher/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/onevcat/Kingfisher/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/onevcat/Kingfisher/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/onevcat/Kingfisher/statuses/{sha}", + "languages_url": "https://api.github.com/repos/onevcat/Kingfisher/languages", + "stargazers_url": "https://api.github.com/repos/onevcat/Kingfisher/stargazers", + "contributors_url": "https://api.github.com/repos/onevcat/Kingfisher/contributors", + "subscribers_url": "https://api.github.com/repos/onevcat/Kingfisher/subscribers", + "subscription_url": "https://api.github.com/repos/onevcat/Kingfisher/subscription", + "commits_url": "https://api.github.com/repos/onevcat/Kingfisher/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/onevcat/Kingfisher/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/onevcat/Kingfisher/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/onevcat/Kingfisher/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/onevcat/Kingfisher/contents/{+path}", + "compare_url": "https://api.github.com/repos/onevcat/Kingfisher/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/onevcat/Kingfisher/merges", + "archive_url": "https://api.github.com/repos/onevcat/Kingfisher/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/onevcat/Kingfisher/downloads", + "issues_url": "https://api.github.com/repos/onevcat/Kingfisher/issues{/number}", + "pulls_url": "https://api.github.com/repos/onevcat/Kingfisher/pulls{/number}", + "milestones_url": "https://api.github.com/repos/onevcat/Kingfisher/milestones{/number}", + "notifications_url": "https://api.github.com/repos/onevcat/Kingfisher/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/onevcat/Kingfisher/labels{/name}", + "releases_url": "https://api.github.com/repos/onevcat/Kingfisher/releases{/id}", + "deployments_url": "https://api.github.com/repos/onevcat/Kingfisher/deployments", + "created_at": "2015-04-06T14:26:21Z", + "updated_at": "2017-11-13T03:24:11Z", + "pushed_at": "2017-10-25T08:42:50Z", + "git_url": "git://github.com/onevcat/Kingfisher.git", + "ssh_url": "git@github.com:onevcat/Kingfisher.git", + "clone_url": "https://github.com/onevcat/Kingfisher.git", + "svn_url": "https://github.com/onevcat/Kingfisher", + "homepage": "", + "size": 7688, + "stargazers_count": 10175, + "watchers_count": 10175, + "language": "Swift", + "has_issues": true, + "has_projects": false, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 1118, + "mirror_url": null, + "archived": false, + "open_issues_count": 14, + "forks": 1118, + "open_issues": 14, + "watchers": 10175, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 44998092, + "name": "Aerial", + "full_name": "JohnCoates/Aerial", + "owner": { + "login": "JohnCoates", + "id": 967800, + "avatar_url": "https://avatars1.githubusercontent.com/u/967800?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/JohnCoates", + "html_url": "https://github.com/JohnCoates", + "followers_url": "https://api.github.com/users/JohnCoates/followers", + "following_url": "https://api.github.com/users/JohnCoates/following{/other_user}", + "gists_url": "https://api.github.com/users/JohnCoates/gists{/gist_id}", + "starred_url": "https://api.github.com/users/JohnCoates/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/JohnCoates/subscriptions", + "organizations_url": "https://api.github.com/users/JohnCoates/orgs", + "repos_url": "https://api.github.com/users/JohnCoates/repos", + "events_url": "https://api.github.com/users/JohnCoates/events{/privacy}", + "received_events_url": "https://api.github.com/users/JohnCoates/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/JohnCoates/Aerial", + "description": "Apple TV Aerial Screensaver for Mac", + "fork": false, + "url": "https://api.github.com/repos/JohnCoates/Aerial", + "forks_url": "https://api.github.com/repos/JohnCoates/Aerial/forks", + "keys_url": "https://api.github.com/repos/JohnCoates/Aerial/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/JohnCoates/Aerial/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/JohnCoates/Aerial/teams", + "hooks_url": "https://api.github.com/repos/JohnCoates/Aerial/hooks", + "issue_events_url": "https://api.github.com/repos/JohnCoates/Aerial/issues/events{/number}", + "events_url": "https://api.github.com/repos/JohnCoates/Aerial/events", + "assignees_url": "https://api.github.com/repos/JohnCoates/Aerial/assignees{/user}", + "branches_url": "https://api.github.com/repos/JohnCoates/Aerial/branches{/branch}", + "tags_url": "https://api.github.com/repos/JohnCoates/Aerial/tags", + "blobs_url": "https://api.github.com/repos/JohnCoates/Aerial/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/JohnCoates/Aerial/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/JohnCoates/Aerial/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/JohnCoates/Aerial/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/JohnCoates/Aerial/statuses/{sha}", + "languages_url": "https://api.github.com/repos/JohnCoates/Aerial/languages", + "stargazers_url": "https://api.github.com/repos/JohnCoates/Aerial/stargazers", + "contributors_url": "https://api.github.com/repos/JohnCoates/Aerial/contributors", + "subscribers_url": "https://api.github.com/repos/JohnCoates/Aerial/subscribers", + "subscription_url": "https://api.github.com/repos/JohnCoates/Aerial/subscription", + "commits_url": "https://api.github.com/repos/JohnCoates/Aerial/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/JohnCoates/Aerial/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/JohnCoates/Aerial/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/JohnCoates/Aerial/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/JohnCoates/Aerial/contents/{+path}", + "compare_url": "https://api.github.com/repos/JohnCoates/Aerial/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/JohnCoates/Aerial/merges", + "archive_url": "https://api.github.com/repos/JohnCoates/Aerial/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/JohnCoates/Aerial/downloads", + "issues_url": "https://api.github.com/repos/JohnCoates/Aerial/issues{/number}", + "pulls_url": "https://api.github.com/repos/JohnCoates/Aerial/pulls{/number}", + "milestones_url": "https://api.github.com/repos/JohnCoates/Aerial/milestones{/number}", + "notifications_url": "https://api.github.com/repos/JohnCoates/Aerial/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/JohnCoates/Aerial/labels{/name}", + "releases_url": "https://api.github.com/repos/JohnCoates/Aerial/releases{/id}", + "deployments_url": "https://api.github.com/repos/JohnCoates/Aerial/deployments", + "created_at": "2015-10-26T21:21:31Z", + "updated_at": "2017-11-13T10:38:25Z", + "pushed_at": "2017-11-11T21:37:56Z", + "git_url": "git://github.com/JohnCoates/Aerial.git", + "ssh_url": "git@github.com:JohnCoates/Aerial.git", + "clone_url": "https://github.com/JohnCoates/Aerial.git", + "svn_url": "https://github.com/JohnCoates/Aerial", + "homepage": null, + "size": 10130, + "stargazers_count": 10017, + "watchers_count": 10017, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 532, + "mirror_url": null, + "archived": false, + "open_issues_count": 77, + "forks": 532, + "open_issues": 77, + "watchers": 10017, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 51648174, + "name": "30DaysofSwift", + "full_name": "allenwong/30DaysofSwift", + "owner": { + "login": "allenwong", + "id": 698982, + "avatar_url": "https://avatars0.githubusercontent.com/u/698982?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/allenwong", + "html_url": "https://github.com/allenwong", + "followers_url": "https://api.github.com/users/allenwong/followers", + "following_url": "https://api.github.com/users/allenwong/following{/other_user}", + "gists_url": "https://api.github.com/users/allenwong/gists{/gist_id}", + "starred_url": "https://api.github.com/users/allenwong/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/allenwong/subscriptions", + "organizations_url": "https://api.github.com/users/allenwong/orgs", + "repos_url": "https://api.github.com/users/allenwong/repos", + "events_url": "https://api.github.com/users/allenwong/events{/privacy}", + "received_events_url": "https://api.github.com/users/allenwong/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/allenwong/30DaysofSwift", + "description": "A self-taught project to learn Swift.", + "fork": false, + "url": "https://api.github.com/repos/allenwong/30DaysofSwift", + "forks_url": "https://api.github.com/repos/allenwong/30DaysofSwift/forks", + "keys_url": "https://api.github.com/repos/allenwong/30DaysofSwift/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/allenwong/30DaysofSwift/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/allenwong/30DaysofSwift/teams", + "hooks_url": "https://api.github.com/repos/allenwong/30DaysofSwift/hooks", + "issue_events_url": "https://api.github.com/repos/allenwong/30DaysofSwift/issues/events{/number}", + "events_url": "https://api.github.com/repos/allenwong/30DaysofSwift/events", + "assignees_url": "https://api.github.com/repos/allenwong/30DaysofSwift/assignees{/user}", + "branches_url": "https://api.github.com/repos/allenwong/30DaysofSwift/branches{/branch}", + "tags_url": "https://api.github.com/repos/allenwong/30DaysofSwift/tags", + "blobs_url": "https://api.github.com/repos/allenwong/30DaysofSwift/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/allenwong/30DaysofSwift/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/allenwong/30DaysofSwift/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/allenwong/30DaysofSwift/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/allenwong/30DaysofSwift/statuses/{sha}", + "languages_url": "https://api.github.com/repos/allenwong/30DaysofSwift/languages", + "stargazers_url": "https://api.github.com/repos/allenwong/30DaysofSwift/stargazers", + "contributors_url": "https://api.github.com/repos/allenwong/30DaysofSwift/contributors", + "subscribers_url": "https://api.github.com/repos/allenwong/30DaysofSwift/subscribers", + "subscription_url": "https://api.github.com/repos/allenwong/30DaysofSwift/subscription", + "commits_url": "https://api.github.com/repos/allenwong/30DaysofSwift/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/allenwong/30DaysofSwift/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/allenwong/30DaysofSwift/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/allenwong/30DaysofSwift/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/allenwong/30DaysofSwift/contents/{+path}", + "compare_url": "https://api.github.com/repos/allenwong/30DaysofSwift/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/allenwong/30DaysofSwift/merges", + "archive_url": "https://api.github.com/repos/allenwong/30DaysofSwift/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/allenwong/30DaysofSwift/downloads", + "issues_url": "https://api.github.com/repos/allenwong/30DaysofSwift/issues{/number}", + "pulls_url": "https://api.github.com/repos/allenwong/30DaysofSwift/pulls{/number}", + "milestones_url": "https://api.github.com/repos/allenwong/30DaysofSwift/milestones{/number}", + "notifications_url": "https://api.github.com/repos/allenwong/30DaysofSwift/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/allenwong/30DaysofSwift/labels{/name}", + "releases_url": "https://api.github.com/repos/allenwong/30DaysofSwift/releases{/id}", + "deployments_url": "https://api.github.com/repos/allenwong/30DaysofSwift/deployments", + "created_at": "2016-02-13T14:02:12Z", + "updated_at": "2017-11-13T02:44:38Z", + "pushed_at": "2017-10-28T10:15:29Z", + "git_url": "git://github.com/allenwong/30DaysofSwift.git", + "ssh_url": "git@github.com:allenwong/30DaysofSwift.git", + "clone_url": "https://github.com/allenwong/30DaysofSwift.git", + "svn_url": "https://github.com/allenwong/30DaysofSwift", + "homepage": "", + "size": 169625, + "stargazers_count": 9383, + "watchers_count": 9383, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1788, + "mirror_url": null, + "archived": false, + "open_issues_count": 7, + "forks": 1788, + "open_issues": 7, + "watchers": 9383, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 76838017, + "name": "iina", + "full_name": "lhc70000/iina", + "owner": { + "login": "lhc70000", + "id": 8478049, + "avatar_url": "https://avatars3.githubusercontent.com/u/8478049?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/lhc70000", + "html_url": "https://github.com/lhc70000", + "followers_url": "https://api.github.com/users/lhc70000/followers", + "following_url": "https://api.github.com/users/lhc70000/following{/other_user}", + "gists_url": "https://api.github.com/users/lhc70000/gists{/gist_id}", + "starred_url": "https://api.github.com/users/lhc70000/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/lhc70000/subscriptions", + "organizations_url": "https://api.github.com/users/lhc70000/orgs", + "repos_url": "https://api.github.com/users/lhc70000/repos", + "events_url": "https://api.github.com/users/lhc70000/events{/privacy}", + "received_events_url": "https://api.github.com/users/lhc70000/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/lhc70000/iina", + "description": "The modern video player for macOS.", + "fork": false, + "url": "https://api.github.com/repos/lhc70000/iina", + "forks_url": "https://api.github.com/repos/lhc70000/iina/forks", + "keys_url": "https://api.github.com/repos/lhc70000/iina/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/lhc70000/iina/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/lhc70000/iina/teams", + "hooks_url": "https://api.github.com/repos/lhc70000/iina/hooks", + "issue_events_url": "https://api.github.com/repos/lhc70000/iina/issues/events{/number}", + "events_url": "https://api.github.com/repos/lhc70000/iina/events", + "assignees_url": "https://api.github.com/repos/lhc70000/iina/assignees{/user}", + "branches_url": "https://api.github.com/repos/lhc70000/iina/branches{/branch}", + "tags_url": "https://api.github.com/repos/lhc70000/iina/tags", + "blobs_url": "https://api.github.com/repos/lhc70000/iina/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/lhc70000/iina/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/lhc70000/iina/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/lhc70000/iina/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/lhc70000/iina/statuses/{sha}", + "languages_url": "https://api.github.com/repos/lhc70000/iina/languages", + "stargazers_url": "https://api.github.com/repos/lhc70000/iina/stargazers", + "contributors_url": "https://api.github.com/repos/lhc70000/iina/contributors", + "subscribers_url": "https://api.github.com/repos/lhc70000/iina/subscribers", + "subscription_url": "https://api.github.com/repos/lhc70000/iina/subscription", + "commits_url": "https://api.github.com/repos/lhc70000/iina/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/lhc70000/iina/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/lhc70000/iina/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/lhc70000/iina/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/lhc70000/iina/contents/{+path}", + "compare_url": "https://api.github.com/repos/lhc70000/iina/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/lhc70000/iina/merges", + "archive_url": "https://api.github.com/repos/lhc70000/iina/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/lhc70000/iina/downloads", + "issues_url": "https://api.github.com/repos/lhc70000/iina/issues{/number}", + "pulls_url": "https://api.github.com/repos/lhc70000/iina/pulls{/number}", + "milestones_url": "https://api.github.com/repos/lhc70000/iina/milestones{/number}", + "notifications_url": "https://api.github.com/repos/lhc70000/iina/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/lhc70000/iina/labels{/name}", + "releases_url": "https://api.github.com/repos/lhc70000/iina/releases{/id}", + "deployments_url": "https://api.github.com/repos/lhc70000/iina/deployments", + "created_at": "2016-12-19T07:18:45Z", + "updated_at": "2017-11-13T11:09:09Z", + "pushed_at": "2017-11-12T05:51:24Z", + "git_url": "git://github.com/lhc70000/iina.git", + "ssh_url": "git@github.com:lhc70000/iina.git", + "clone_url": "https://github.com/lhc70000/iina.git", + "svn_url": "https://github.com/lhc70000/iina", + "homepage": "https://lhc70000.github.io/iina/", + "size": 135647, + "stargazers_count": 9186, + "watchers_count": 9186, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 696, + "mirror_url": null, + "archived": false, + "open_issues_count": 348, + "forks": 696, + "open_issues": 348, + "watchers": 9186, + "default_branch": "develop", + "score": 1.0 + }, + { + "id": 41215439, + "name": "Material", + "full_name": "CosmicMind/Material", + "owner": { + "login": "CosmicMind", + "id": 10069574, + "avatar_url": "https://avatars1.githubusercontent.com/u/10069574?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/CosmicMind", + "html_url": "https://github.com/CosmicMind", + "followers_url": "https://api.github.com/users/CosmicMind/followers", + "following_url": "https://api.github.com/users/CosmicMind/following{/other_user}", + "gists_url": "https://api.github.com/users/CosmicMind/gists{/gist_id}", + "starred_url": "https://api.github.com/users/CosmicMind/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/CosmicMind/subscriptions", + "organizations_url": "https://api.github.com/users/CosmicMind/orgs", + "repos_url": "https://api.github.com/users/CosmicMind/repos", + "events_url": "https://api.github.com/users/CosmicMind/events{/privacy}", + "received_events_url": "https://api.github.com/users/CosmicMind/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/CosmicMind/Material", + "description": "A UI/UX framework for creating beautiful applications.", + "fork": false, + "url": "https://api.github.com/repos/CosmicMind/Material", + "forks_url": "https://api.github.com/repos/CosmicMind/Material/forks", + "keys_url": "https://api.github.com/repos/CosmicMind/Material/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/CosmicMind/Material/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/CosmicMind/Material/teams", + "hooks_url": "https://api.github.com/repos/CosmicMind/Material/hooks", + "issue_events_url": "https://api.github.com/repos/CosmicMind/Material/issues/events{/number}", + "events_url": "https://api.github.com/repos/CosmicMind/Material/events", + "assignees_url": "https://api.github.com/repos/CosmicMind/Material/assignees{/user}", + "branches_url": "https://api.github.com/repos/CosmicMind/Material/branches{/branch}", + "tags_url": "https://api.github.com/repos/CosmicMind/Material/tags", + "blobs_url": "https://api.github.com/repos/CosmicMind/Material/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/CosmicMind/Material/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/CosmicMind/Material/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/CosmicMind/Material/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/CosmicMind/Material/statuses/{sha}", + "languages_url": "https://api.github.com/repos/CosmicMind/Material/languages", + "stargazers_url": "https://api.github.com/repos/CosmicMind/Material/stargazers", + "contributors_url": "https://api.github.com/repos/CosmicMind/Material/contributors", + "subscribers_url": "https://api.github.com/repos/CosmicMind/Material/subscribers", + "subscription_url": "https://api.github.com/repos/CosmicMind/Material/subscription", + "commits_url": "https://api.github.com/repos/CosmicMind/Material/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/CosmicMind/Material/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/CosmicMind/Material/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/CosmicMind/Material/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/CosmicMind/Material/contents/{+path}", + "compare_url": "https://api.github.com/repos/CosmicMind/Material/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/CosmicMind/Material/merges", + "archive_url": "https://api.github.com/repos/CosmicMind/Material/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/CosmicMind/Material/downloads", + "issues_url": "https://api.github.com/repos/CosmicMind/Material/issues{/number}", + "pulls_url": "https://api.github.com/repos/CosmicMind/Material/pulls{/number}", + "milestones_url": "https://api.github.com/repos/CosmicMind/Material/milestones{/number}", + "notifications_url": "https://api.github.com/repos/CosmicMind/Material/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/CosmicMind/Material/labels{/name}", + "releases_url": "https://api.github.com/repos/CosmicMind/Material/releases{/id}", + "deployments_url": "https://api.github.com/repos/CosmicMind/Material/deployments", + "created_at": "2015-08-22T16:21:53Z", + "updated_at": "2017-11-13T10:22:07Z", + "pushed_at": "2017-11-08T17:53:44Z", + "git_url": "git://github.com/CosmicMind/Material.git", + "ssh_url": "git@github.com:CosmicMind/Material.git", + "clone_url": "https://github.com/CosmicMind/Material.git", + "svn_url": "https://github.com/CosmicMind/Material", + "homepage": "http://materialswift.com", + "size": 33349, + "stargazers_count": 8796, + "watchers_count": 8796, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 929, + "mirror_url": null, + "archived": false, + "open_issues_count": 40, + "forks": 929, + "open_issues": 40, + "watchers": 8796, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 21796955, + "name": "Design-Patterns-In-Swift", + "full_name": "ochococo/Design-Patterns-In-Swift", + "owner": { + "login": "ochococo", + "id": 3382607, + "avatar_url": "https://avatars2.githubusercontent.com/u/3382607?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/ochococo", + "html_url": "https://github.com/ochococo", + "followers_url": "https://api.github.com/users/ochococo/followers", + "following_url": "https://api.github.com/users/ochococo/following{/other_user}", + "gists_url": "https://api.github.com/users/ochococo/gists{/gist_id}", + "starred_url": "https://api.github.com/users/ochococo/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/ochococo/subscriptions", + "organizations_url": "https://api.github.com/users/ochococo/orgs", + "repos_url": "https://api.github.com/users/ochococo/repos", + "events_url": "https://api.github.com/users/ochococo/events{/privacy}", + "received_events_url": "https://api.github.com/users/ochococo/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/ochococo/Design-Patterns-In-Swift", + "description": "Design Patterns implemented in Swift", + "fork": false, + "url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift", + "forks_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/forks", + "keys_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/teams", + "hooks_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/hooks", + "issue_events_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/issues/events{/number}", + "events_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/events", + "assignees_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/assignees{/user}", + "branches_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/branches{/branch}", + "tags_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/tags", + "blobs_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/statuses/{sha}", + "languages_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/languages", + "stargazers_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/stargazers", + "contributors_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/contributors", + "subscribers_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/subscribers", + "subscription_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/subscription", + "commits_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/contents/{+path}", + "compare_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/merges", + "archive_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/downloads", + "issues_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/issues{/number}", + "pulls_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/pulls{/number}", + "milestones_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/milestones{/number}", + "notifications_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/labels{/name}", + "releases_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/releases{/id}", + "deployments_url": "https://api.github.com/repos/ochococo/Design-Patterns-In-Swift/deployments", + "created_at": "2014-07-13T18:15:14Z", + "updated_at": "2017-11-13T10:17:55Z", + "pushed_at": "2017-09-24T01:14:42Z", + "git_url": "git://github.com/ochococo/Design-Patterns-In-Swift.git", + "ssh_url": "git@github.com:ochococo/Design-Patterns-In-Swift.git", + "clone_url": "https://github.com/ochococo/Design-Patterns-In-Swift.git", + "svn_url": "https://github.com/ochococo/Design-Patterns-In-Swift", + "homepage": null, + "size": 1036, + "stargazers_count": 8792, + "watchers_count": 8792, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 932, + "mirror_url": null, + "archived": false, + "open_issues_count": 13, + "forks": 932, + "open_issues": 13, + "watchers": 8792, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 20430314, + "name": "FlappySwift", + "full_name": "fullstackio/FlappySwift", + "owner": { + "login": "fullstackio", + "id": 4064333, + "avatar_url": "https://avatars2.githubusercontent.com/u/4064333?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/fullstackio", + "html_url": "https://github.com/fullstackio", + "followers_url": "https://api.github.com/users/fullstackio/followers", + "following_url": "https://api.github.com/users/fullstackio/following{/other_user}", + "gists_url": "https://api.github.com/users/fullstackio/gists{/gist_id}", + "starred_url": "https://api.github.com/users/fullstackio/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/fullstackio/subscriptions", + "organizations_url": "https://api.github.com/users/fullstackio/orgs", + "repos_url": "https://api.github.com/users/fullstackio/repos", + "events_url": "https://api.github.com/users/fullstackio/events{/privacy}", + "received_events_url": "https://api.github.com/users/fullstackio/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/fullstackio/FlappySwift", + "description": "swift implementation of flappy bird. More at fullstackedu.com", + "fork": false, + "url": "https://api.github.com/repos/fullstackio/FlappySwift", + "forks_url": "https://api.github.com/repos/fullstackio/FlappySwift/forks", + "keys_url": "https://api.github.com/repos/fullstackio/FlappySwift/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/fullstackio/FlappySwift/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/fullstackio/FlappySwift/teams", + "hooks_url": "https://api.github.com/repos/fullstackio/FlappySwift/hooks", + "issue_events_url": "https://api.github.com/repos/fullstackio/FlappySwift/issues/events{/number}", + "events_url": "https://api.github.com/repos/fullstackio/FlappySwift/events", + "assignees_url": "https://api.github.com/repos/fullstackio/FlappySwift/assignees{/user}", + "branches_url": "https://api.github.com/repos/fullstackio/FlappySwift/branches{/branch}", + "tags_url": "https://api.github.com/repos/fullstackio/FlappySwift/tags", + "blobs_url": "https://api.github.com/repos/fullstackio/FlappySwift/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/fullstackio/FlappySwift/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/fullstackio/FlappySwift/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/fullstackio/FlappySwift/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/fullstackio/FlappySwift/statuses/{sha}", + "languages_url": "https://api.github.com/repos/fullstackio/FlappySwift/languages", + "stargazers_url": "https://api.github.com/repos/fullstackio/FlappySwift/stargazers", + "contributors_url": "https://api.github.com/repos/fullstackio/FlappySwift/contributors", + "subscribers_url": "https://api.github.com/repos/fullstackio/FlappySwift/subscribers", + "subscription_url": "https://api.github.com/repos/fullstackio/FlappySwift/subscription", + "commits_url": "https://api.github.com/repos/fullstackio/FlappySwift/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/fullstackio/FlappySwift/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/fullstackio/FlappySwift/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/fullstackio/FlappySwift/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/fullstackio/FlappySwift/contents/{+path}", + "compare_url": "https://api.github.com/repos/fullstackio/FlappySwift/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/fullstackio/FlappySwift/merges", + "archive_url": "https://api.github.com/repos/fullstackio/FlappySwift/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/fullstackio/FlappySwift/downloads", + "issues_url": "https://api.github.com/repos/fullstackio/FlappySwift/issues{/number}", + "pulls_url": "https://api.github.com/repos/fullstackio/FlappySwift/pulls{/number}", + "milestones_url": "https://api.github.com/repos/fullstackio/FlappySwift/milestones{/number}", + "notifications_url": "https://api.github.com/repos/fullstackio/FlappySwift/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/fullstackio/FlappySwift/labels{/name}", + "releases_url": "https://api.github.com/repos/fullstackio/FlappySwift/releases{/id}", + "deployments_url": "https://api.github.com/repos/fullstackio/FlappySwift/deployments", + "created_at": "2014-06-03T05:04:12Z", + "updated_at": "2017-11-13T09:04:28Z", + "pushed_at": "2017-10-29T21:18:32Z", + "git_url": "git://github.com/fullstackio/FlappySwift.git", + "ssh_url": "git@github.com:fullstackio/FlappySwift.git", + "clone_url": "https://github.com/fullstackio/FlappySwift.git", + "svn_url": "https://github.com/fullstackio/FlappySwift", + "homepage": "https://www.fullstackedu.com", + "size": 222, + "stargazers_count": 8519, + "watchers_count": 8519, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 2393, + "mirror_url": null, + "archived": false, + "open_issues_count": 1, + "forks": 2393, + "open_issues": 1, + "watchers": 8519, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 18440563, + "name": "PromiseKit", + "full_name": "mxcl/PromiseKit", + "owner": { + "login": "mxcl", + "id": 58962, + "avatar_url": "https://avatars2.githubusercontent.com/u/58962?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/mxcl", + "html_url": "https://github.com/mxcl", + "followers_url": "https://api.github.com/users/mxcl/followers", + "following_url": "https://api.github.com/users/mxcl/following{/other_user}", + "gists_url": "https://api.github.com/users/mxcl/gists{/gist_id}", + "starred_url": "https://api.github.com/users/mxcl/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/mxcl/subscriptions", + "organizations_url": "https://api.github.com/users/mxcl/orgs", + "repos_url": "https://api.github.com/users/mxcl/repos", + "events_url": "https://api.github.com/users/mxcl/events{/privacy}", + "received_events_url": "https://api.github.com/users/mxcl/received_events", + "type": "User", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/mxcl/PromiseKit", + "description": "Promises for Swift & ObjC", + "fork": false, + "url": "https://api.github.com/repos/mxcl/PromiseKit", + "forks_url": "https://api.github.com/repos/mxcl/PromiseKit/forks", + "keys_url": "https://api.github.com/repos/mxcl/PromiseKit/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/mxcl/PromiseKit/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/mxcl/PromiseKit/teams", + "hooks_url": "https://api.github.com/repos/mxcl/PromiseKit/hooks", + "issue_events_url": "https://api.github.com/repos/mxcl/PromiseKit/issues/events{/number}", + "events_url": "https://api.github.com/repos/mxcl/PromiseKit/events", + "assignees_url": "https://api.github.com/repos/mxcl/PromiseKit/assignees{/user}", + "branches_url": "https://api.github.com/repos/mxcl/PromiseKit/branches{/branch}", + "tags_url": "https://api.github.com/repos/mxcl/PromiseKit/tags", + "blobs_url": "https://api.github.com/repos/mxcl/PromiseKit/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/mxcl/PromiseKit/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/mxcl/PromiseKit/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/mxcl/PromiseKit/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/mxcl/PromiseKit/statuses/{sha}", + "languages_url": "https://api.github.com/repos/mxcl/PromiseKit/languages", + "stargazers_url": "https://api.github.com/repos/mxcl/PromiseKit/stargazers", + "contributors_url": "https://api.github.com/repos/mxcl/PromiseKit/contributors", + "subscribers_url": "https://api.github.com/repos/mxcl/PromiseKit/subscribers", + "subscription_url": "https://api.github.com/repos/mxcl/PromiseKit/subscription", + "commits_url": "https://api.github.com/repos/mxcl/PromiseKit/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/mxcl/PromiseKit/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/mxcl/PromiseKit/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/mxcl/PromiseKit/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/mxcl/PromiseKit/contents/{+path}", + "compare_url": "https://api.github.com/repos/mxcl/PromiseKit/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/mxcl/PromiseKit/merges", + "archive_url": "https://api.github.com/repos/mxcl/PromiseKit/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/mxcl/PromiseKit/downloads", + "issues_url": "https://api.github.com/repos/mxcl/PromiseKit/issues{/number}", + "pulls_url": "https://api.github.com/repos/mxcl/PromiseKit/pulls{/number}", + "milestones_url": "https://api.github.com/repos/mxcl/PromiseKit/milestones{/number}", + "notifications_url": "https://api.github.com/repos/mxcl/PromiseKit/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/mxcl/PromiseKit/labels{/name}", + "releases_url": "https://api.github.com/repos/mxcl/PromiseKit/releases{/id}", + "deployments_url": "https://api.github.com/repos/mxcl/PromiseKit/deployments", + "created_at": "2014-04-04T13:54:37Z", + "updated_at": "2017-11-13T06:02:35Z", + "pushed_at": "2017-11-06T14:27:26Z", + "git_url": "git://github.com/mxcl/PromiseKit.git", + "ssh_url": "git@github.com:mxcl/PromiseKit.git", + "clone_url": "https://github.com/mxcl/PromiseKit.git", + "svn_url": "https://github.com/mxcl/PromiseKit", + "homepage": "http://promisekit.org", + "size": 2628, + "stargazers_count": 8451, + "watchers_count": 8451, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": true, + "forks_count": 762, + "mirror_url": null, + "archived": false, + "open_issues_count": 21, + "forks": 762, + "open_issues": 21, + "watchers": 8451, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 26481815, + "name": "animated-tab-bar", + "full_name": "Ramotion/animated-tab-bar", + "owner": { + "login": "Ramotion", + "id": 6028820, + "avatar_url": "https://avatars3.githubusercontent.com/u/6028820?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Ramotion", + "html_url": "https://github.com/Ramotion", + "followers_url": "https://api.github.com/users/Ramotion/followers", + "following_url": "https://api.github.com/users/Ramotion/following{/other_user}", + "gists_url": "https://api.github.com/users/Ramotion/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Ramotion/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Ramotion/subscriptions", + "organizations_url": "https://api.github.com/users/Ramotion/orgs", + "repos_url": "https://api.github.com/users/Ramotion/repos", + "events_url": "https://api.github.com/users/Ramotion/events{/privacy}", + "received_events_url": "https://api.github.com/users/Ramotion/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Ramotion/animated-tab-bar", + "description": ":octocat: RAMAnimatedTabBarController is a Swift UI module for adding animation to tabbar items. Made by https://ramotion.com/gthb", + "fork": false, + "url": "https://api.github.com/repos/Ramotion/animated-tab-bar", + "forks_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/forks", + "keys_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/teams", + "hooks_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/hooks", + "issue_events_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/issues/events{/number}", + "events_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/events", + "assignees_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/assignees{/user}", + "branches_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/branches{/branch}", + "tags_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/tags", + "blobs_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/languages", + "stargazers_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/stargazers", + "contributors_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/contributors", + "subscribers_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/subscribers", + "subscription_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/subscription", + "commits_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/contents/{+path}", + "compare_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/merges", + "archive_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/downloads", + "issues_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/issues{/number}", + "pulls_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/labels{/name}", + "releases_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/releases{/id}", + "deployments_url": "https://api.github.com/repos/Ramotion/animated-tab-bar/deployments", + "created_at": "2014-11-11T11:20:04Z", + "updated_at": "2017-11-13T08:53:13Z", + "pushed_at": "2017-11-10T06:26:49Z", + "git_url": "git://github.com/Ramotion/animated-tab-bar.git", + "ssh_url": "git@github.com:Ramotion/animated-tab-bar.git", + "clone_url": "https://github.com/Ramotion/animated-tab-bar.git", + "svn_url": "https://github.com/Ramotion/animated-tab-bar", + "homepage": "https://ramotion.com/gthb", + "size": 7346, + "stargazers_count": 8226, + "watchers_count": 8226, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1078, + "mirror_url": null, + "archived": false, + "open_issues_count": 66, + "forks": 1078, + "open_issues": 66, + "watchers": 8226, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 35732214, + "name": "SwiftLint", + "full_name": "realm/SwiftLint", + "owner": { + "login": "realm", + "id": 7575099, + "avatar_url": "https://avatars0.githubusercontent.com/u/7575099?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/realm", + "html_url": "https://github.com/realm", + "followers_url": "https://api.github.com/users/realm/followers", + "following_url": "https://api.github.com/users/realm/following{/other_user}", + "gists_url": "https://api.github.com/users/realm/gists{/gist_id}", + "starred_url": "https://api.github.com/users/realm/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/realm/subscriptions", + "organizations_url": "https://api.github.com/users/realm/orgs", + "repos_url": "https://api.github.com/users/realm/repos", + "events_url": "https://api.github.com/users/realm/events{/privacy}", + "received_events_url": "https://api.github.com/users/realm/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/realm/SwiftLint", + "description": "A tool to enforce Swift style and conventions.", + "fork": false, + "url": "https://api.github.com/repos/realm/SwiftLint", + "forks_url": "https://api.github.com/repos/realm/SwiftLint/forks", + "keys_url": "https://api.github.com/repos/realm/SwiftLint/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/realm/SwiftLint/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/realm/SwiftLint/teams", + "hooks_url": "https://api.github.com/repos/realm/SwiftLint/hooks", + "issue_events_url": "https://api.github.com/repos/realm/SwiftLint/issues/events{/number}", + "events_url": "https://api.github.com/repos/realm/SwiftLint/events", + "assignees_url": "https://api.github.com/repos/realm/SwiftLint/assignees{/user}", + "branches_url": "https://api.github.com/repos/realm/SwiftLint/branches{/branch}", + "tags_url": "https://api.github.com/repos/realm/SwiftLint/tags", + "blobs_url": "https://api.github.com/repos/realm/SwiftLint/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/realm/SwiftLint/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/realm/SwiftLint/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/realm/SwiftLint/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/realm/SwiftLint/statuses/{sha}", + "languages_url": "https://api.github.com/repos/realm/SwiftLint/languages", + "stargazers_url": "https://api.github.com/repos/realm/SwiftLint/stargazers", + "contributors_url": "https://api.github.com/repos/realm/SwiftLint/contributors", + "subscribers_url": "https://api.github.com/repos/realm/SwiftLint/subscribers", + "subscription_url": "https://api.github.com/repos/realm/SwiftLint/subscription", + "commits_url": "https://api.github.com/repos/realm/SwiftLint/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/realm/SwiftLint/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/realm/SwiftLint/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/realm/SwiftLint/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/realm/SwiftLint/contents/{+path}", + "compare_url": "https://api.github.com/repos/realm/SwiftLint/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/realm/SwiftLint/merges", + "archive_url": "https://api.github.com/repos/realm/SwiftLint/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/realm/SwiftLint/downloads", + "issues_url": "https://api.github.com/repos/realm/SwiftLint/issues{/number}", + "pulls_url": "https://api.github.com/repos/realm/SwiftLint/pulls{/number}", + "milestones_url": "https://api.github.com/repos/realm/SwiftLint/milestones{/number}", + "notifications_url": "https://api.github.com/repos/realm/SwiftLint/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/realm/SwiftLint/labels{/name}", + "releases_url": "https://api.github.com/repos/realm/SwiftLint/releases{/id}", + "deployments_url": "https://api.github.com/repos/realm/SwiftLint/deployments", + "created_at": "2015-05-16T16:59:31Z", + "updated_at": "2017-11-13T11:00:57Z", + "pushed_at": "2017-11-12T20:19:30Z", + "git_url": "git://github.com/realm/SwiftLint.git", + "ssh_url": "git@github.com:realm/SwiftLint.git", + "clone_url": "https://github.com/realm/SwiftLint.git", + "svn_url": "https://github.com/realm/SwiftLint", + "homepage": "https://realm.io", + "size": 5857, + "stargazers_count": 7992, + "watchers_count": 7992, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 693, + "mirror_url": null, + "archived": false, + "open_issues_count": 193, + "forks": 693, + "open_issues": 193, + "watchers": 7992, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 26133979, + "name": "firefox-ios", + "full_name": "mozilla-mobile/firefox-ios", + "owner": { + "login": "mozilla-mobile", + "id": 22351667, + "avatar_url": "https://avatars3.githubusercontent.com/u/22351667?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/mozilla-mobile", + "html_url": "https://github.com/mozilla-mobile", + "followers_url": "https://api.github.com/users/mozilla-mobile/followers", + "following_url": "https://api.github.com/users/mozilla-mobile/following{/other_user}", + "gists_url": "https://api.github.com/users/mozilla-mobile/gists{/gist_id}", + "starred_url": "https://api.github.com/users/mozilla-mobile/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/mozilla-mobile/subscriptions", + "organizations_url": "https://api.github.com/users/mozilla-mobile/orgs", + "repos_url": "https://api.github.com/users/mozilla-mobile/repos", + "events_url": "https://api.github.com/users/mozilla-mobile/events{/privacy}", + "received_events_url": "https://api.github.com/users/mozilla-mobile/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/mozilla-mobile/firefox-ios", + "description": "Firefox for iOS", + "fork": false, + "url": "https://api.github.com/repos/mozilla-mobile/firefox-ios", + "forks_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/forks", + "keys_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/teams", + "hooks_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/hooks", + "issue_events_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/issues/events{/number}", + "events_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/events", + "assignees_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/assignees{/user}", + "branches_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/branches{/branch}", + "tags_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/tags", + "blobs_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/statuses/{sha}", + "languages_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/languages", + "stargazers_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/stargazers", + "contributors_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/contributors", + "subscribers_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/subscribers", + "subscription_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/subscription", + "commits_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/contents/{+path}", + "compare_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/merges", + "archive_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/downloads", + "issues_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/issues{/number}", + "pulls_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/pulls{/number}", + "milestones_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/milestones{/number}", + "notifications_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/labels{/name}", + "releases_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/releases{/id}", + "deployments_url": "https://api.github.com/repos/mozilla-mobile/firefox-ios/deployments", + "created_at": "2014-11-03T19:07:02Z", + "updated_at": "2017-11-13T08:33:30Z", + "pushed_at": "2017-11-13T09:44:26Z", + "git_url": "git://github.com/mozilla-mobile/firefox-ios.git", + "ssh_url": "git@github.com:mozilla-mobile/firefox-ios.git", + "clone_url": "https://github.com/mozilla-mobile/firefox-ios.git", + "svn_url": "https://github.com/mozilla-mobile/firefox-ios", + "homepage": "", + "size": 561539, + "stargazers_count": 7553, + "watchers_count": 7553, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 1632, + "mirror_url": null, + "archived": false, + "open_issues_count": 50, + "forks": 1632, + "open_issues": 50, + "watchers": 7553, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 23013268, + "name": "Moya", + "full_name": "Moya/Moya", + "owner": { + "login": "Moya", + "id": 13662162, + "avatar_url": "https://avatars3.githubusercontent.com/u/13662162?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/Moya", + "html_url": "https://github.com/Moya", + "followers_url": "https://api.github.com/users/Moya/followers", + "following_url": "https://api.github.com/users/Moya/following{/other_user}", + "gists_url": "https://api.github.com/users/Moya/gists{/gist_id}", + "starred_url": "https://api.github.com/users/Moya/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/Moya/subscriptions", + "organizations_url": "https://api.github.com/users/Moya/orgs", + "repos_url": "https://api.github.com/users/Moya/repos", + "events_url": "https://api.github.com/users/Moya/events{/privacy}", + "received_events_url": "https://api.github.com/users/Moya/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/Moya/Moya", + "description": "Network abstraction layer written in Swift.", + "fork": false, + "url": "https://api.github.com/repos/Moya/Moya", + "forks_url": "https://api.github.com/repos/Moya/Moya/forks", + "keys_url": "https://api.github.com/repos/Moya/Moya/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/Moya/Moya/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/Moya/Moya/teams", + "hooks_url": "https://api.github.com/repos/Moya/Moya/hooks", + "issue_events_url": "https://api.github.com/repos/Moya/Moya/issues/events{/number}", + "events_url": "https://api.github.com/repos/Moya/Moya/events", + "assignees_url": "https://api.github.com/repos/Moya/Moya/assignees{/user}", + "branches_url": "https://api.github.com/repos/Moya/Moya/branches{/branch}", + "tags_url": "https://api.github.com/repos/Moya/Moya/tags", + "blobs_url": "https://api.github.com/repos/Moya/Moya/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/Moya/Moya/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/Moya/Moya/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/Moya/Moya/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/Moya/Moya/statuses/{sha}", + "languages_url": "https://api.github.com/repos/Moya/Moya/languages", + "stargazers_url": "https://api.github.com/repos/Moya/Moya/stargazers", + "contributors_url": "https://api.github.com/repos/Moya/Moya/contributors", + "subscribers_url": "https://api.github.com/repos/Moya/Moya/subscribers", + "subscription_url": "https://api.github.com/repos/Moya/Moya/subscription", + "commits_url": "https://api.github.com/repos/Moya/Moya/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/Moya/Moya/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/Moya/Moya/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/Moya/Moya/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/Moya/Moya/contents/{+path}", + "compare_url": "https://api.github.com/repos/Moya/Moya/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/Moya/Moya/merges", + "archive_url": "https://api.github.com/repos/Moya/Moya/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/Moya/Moya/downloads", + "issues_url": "https://api.github.com/repos/Moya/Moya/issues{/number}", + "pulls_url": "https://api.github.com/repos/Moya/Moya/pulls{/number}", + "milestones_url": "https://api.github.com/repos/Moya/Moya/milestones{/number}", + "notifications_url": "https://api.github.com/repos/Moya/Moya/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/Moya/Moya/labels{/name}", + "releases_url": "https://api.github.com/repos/Moya/Moya/releases{/id}", + "deployments_url": "https://api.github.com/repos/Moya/Moya/deployments", + "created_at": "2014-08-16T07:41:21Z", + "updated_at": "2017-11-13T10:27:45Z", + "pushed_at": "2017-11-10T11:44:42Z", + "git_url": "git://github.com/Moya/Moya.git", + "ssh_url": "git@github.com:Moya/Moya.git", + "clone_url": "https://github.com/Moya/Moya.git", + "svn_url": "https://github.com/Moya/Moya", + "homepage": "", + "size": 16469, + "stargazers_count": 7446, + "watchers_count": 7446, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": false, + "has_pages": false, + "forks_count": 866, + "mirror_url": null, + "archived": false, + "open_issues_count": 46, + "forks": 866, + "open_issues": 46, + "watchers": 7446, + "default_branch": "master", + "score": 1.0 + }, + { + "id": 60844036, + "name": "ShadowsocksX-NG", + "full_name": "shadowsocks/ShadowsocksX-NG", + "owner": { + "login": "shadowsocks", + "id": 3006190, + "avatar_url": "https://avatars1.githubusercontent.com/u/3006190?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/shadowsocks", + "html_url": "https://github.com/shadowsocks", + "followers_url": "https://api.github.com/users/shadowsocks/followers", + "following_url": "https://api.github.com/users/shadowsocks/following{/other_user}", + "gists_url": "https://api.github.com/users/shadowsocks/gists{/gist_id}", + "starred_url": "https://api.github.com/users/shadowsocks/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/shadowsocks/subscriptions", + "organizations_url": "https://api.github.com/users/shadowsocks/orgs", + "repos_url": "https://api.github.com/users/shadowsocks/repos", + "events_url": "https://api.github.com/users/shadowsocks/events{/privacy}", + "received_events_url": "https://api.github.com/users/shadowsocks/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/shadowsocks/ShadowsocksX-NG", + "description": "Next Generation of ShadowsocksX", + "fork": false, + "url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG", + "forks_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/forks", + "keys_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/teams", + "hooks_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/hooks", + "issue_events_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/issues/events{/number}", + "events_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/events", + "assignees_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/assignees{/user}", + "branches_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/branches{/branch}", + "tags_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/tags", + "blobs_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/statuses/{sha}", + "languages_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/languages", + "stargazers_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/stargazers", + "contributors_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/contributors", + "subscribers_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/subscribers", + "subscription_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/subscription", + "commits_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/contents/{+path}", + "compare_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/merges", + "archive_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/downloads", + "issues_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/issues{/number}", + "pulls_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/pulls{/number}", + "milestones_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/milestones{/number}", + "notifications_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/labels{/name}", + "releases_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/releases{/id}", + "deployments_url": "https://api.github.com/repos/shadowsocks/ShadowsocksX-NG/deployments", + "created_at": "2016-06-10T11:49:00Z", + "updated_at": "2017-11-13T09:33:58Z", + "pushed_at": "2017-11-01T08:58:05Z", + "git_url": "git://github.com/shadowsocks/ShadowsocksX-NG.git", + "ssh_url": "git@github.com:shadowsocks/ShadowsocksX-NG.git", + "clone_url": "https://github.com/shadowsocks/ShadowsocksX-NG.git", + "svn_url": "https://github.com/shadowsocks/ShadowsocksX-NG", + "homepage": "", + "size": 10943, + "stargazers_count": 7388, + "watchers_count": 7388, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": true, + "forks_count": 2643, + "mirror_url": null, + "archived": false, + "open_issues_count": 149, + "forks": 2643, + "open_issues": 149, + "watchers": 7388, + "default_branch": "develop", + "score": 1.0 + }, + { + "id": 43330374, + "name": "Eureka", + "full_name": "xmartlabs/Eureka", + "owner": { + "login": "xmartlabs", + "id": 2227731, + "avatar_url": "https://avatars0.githubusercontent.com/u/2227731?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/xmartlabs", + "html_url": "https://github.com/xmartlabs", + "followers_url": "https://api.github.com/users/xmartlabs/followers", + "following_url": "https://api.github.com/users/xmartlabs/following{/other_user}", + "gists_url": "https://api.github.com/users/xmartlabs/gists{/gist_id}", + "starred_url": "https://api.github.com/users/xmartlabs/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/xmartlabs/subscriptions", + "organizations_url": "https://api.github.com/users/xmartlabs/orgs", + "repos_url": "https://api.github.com/users/xmartlabs/repos", + "events_url": "https://api.github.com/users/xmartlabs/events{/privacy}", + "received_events_url": "https://api.github.com/users/xmartlabs/received_events", + "type": "Organization", + "site_admin": false + }, + "private": false, + "html_url": "https://github.com/xmartlabs/Eureka", + "description": "Elegant iOS form builder in Swift", + "fork": false, + "url": "https://api.github.com/repos/xmartlabs/Eureka", + "forks_url": "https://api.github.com/repos/xmartlabs/Eureka/forks", + "keys_url": "https://api.github.com/repos/xmartlabs/Eureka/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/xmartlabs/Eureka/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/xmartlabs/Eureka/teams", + "hooks_url": "https://api.github.com/repos/xmartlabs/Eureka/hooks", + "issue_events_url": "https://api.github.com/repos/xmartlabs/Eureka/issues/events{/number}", + "events_url": "https://api.github.com/repos/xmartlabs/Eureka/events", + "assignees_url": "https://api.github.com/repos/xmartlabs/Eureka/assignees{/user}", + "branches_url": "https://api.github.com/repos/xmartlabs/Eureka/branches{/branch}", + "tags_url": "https://api.github.com/repos/xmartlabs/Eureka/tags", + "blobs_url": "https://api.github.com/repos/xmartlabs/Eureka/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/xmartlabs/Eureka/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/xmartlabs/Eureka/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/xmartlabs/Eureka/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/xmartlabs/Eureka/statuses/{sha}", + "languages_url": "https://api.github.com/repos/xmartlabs/Eureka/languages", + "stargazers_url": "https://api.github.com/repos/xmartlabs/Eureka/stargazers", + "contributors_url": "https://api.github.com/repos/xmartlabs/Eureka/contributors", + "subscribers_url": "https://api.github.com/repos/xmartlabs/Eureka/subscribers", + "subscription_url": "https://api.github.com/repos/xmartlabs/Eureka/subscription", + "commits_url": "https://api.github.com/repos/xmartlabs/Eureka/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/xmartlabs/Eureka/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/xmartlabs/Eureka/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/xmartlabs/Eureka/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/xmartlabs/Eureka/contents/{+path}", + "compare_url": "https://api.github.com/repos/xmartlabs/Eureka/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/xmartlabs/Eureka/merges", + "archive_url": "https://api.github.com/repos/xmartlabs/Eureka/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/xmartlabs/Eureka/downloads", + "issues_url": "https://api.github.com/repos/xmartlabs/Eureka/issues{/number}", + "pulls_url": "https://api.github.com/repos/xmartlabs/Eureka/pulls{/number}", + "milestones_url": "https://api.github.com/repos/xmartlabs/Eureka/milestones{/number}", + "notifications_url": "https://api.github.com/repos/xmartlabs/Eureka/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/xmartlabs/Eureka/labels{/name}", + "releases_url": "https://api.github.com/repos/xmartlabs/Eureka/releases{/id}", + "deployments_url": "https://api.github.com/repos/xmartlabs/Eureka/deployments", + "created_at": "2015-09-28T22:20:53Z", + "updated_at": "2017-11-13T09:24:16Z", + "pushed_at": "2017-11-04T00:59:37Z", + "git_url": "git://github.com/xmartlabs/Eureka.git", + "ssh_url": "git@github.com:xmartlabs/Eureka.git", + "clone_url": "https://github.com/xmartlabs/Eureka.git", + "svn_url": "https://github.com/xmartlabs/Eureka", + "homepage": "https://eurekacommunity.github.io", + "size": 20351, + "stargazers_count": 7198, + "watchers_count": 7198, + "language": "Swift", + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 789, + "mirror_url": null, + "archived": false, + "open_issues_count": 158, + "forks": 789, + "open_issues": 158, + "watchers": 7198, + "default_branch": "master", + "score": 1.0 + } + ] +} \ No newline at end of file diff --git a/docs/Classes.html b/docs/Classes.html new file mode 100644 index 0000000..33cf312 --- /dev/null +++ b/docs/Classes.html @@ -0,0 +1,255 @@ + + + + Classes Reference + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

Classes

+

The following classes are available globally.

+ +
+
+
+
    +
  • +
    + + + + PullRequest + +
    +
    +
    +
    +
    +
    +

    Represents a Github PR’s basic information

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    class PullRequest: Decodable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + RepositoryResponse + +
    +
    +
    +
    +
    +
    +

    Wrapper containing the list of repository and other useful info

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    class RepositoryResponse: Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Repository + +
    +
    +
    +
    +
    +
    +

    Represents a Github Repository’s basic information

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    class Repository: Decodable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + User + +
    +
    +
    +
    +
    +
    +

    A Github User

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    class User: Decodable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + APIClient + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    class APIClient
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Classes/APIClient.html b/docs/Classes/APIClient.html new file mode 100644 index 0000000..3deda2b --- /dev/null +++ b/docs/Classes/APIClient.html @@ -0,0 +1,326 @@ + + + + APIClient Class Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

APIClient

+
+
+
class APIClient
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Lists the Swift repositories

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func repositories(page: Int,
    +                  completion:@escaping (RepositoryResponse) -> Void,
    +                  failure:@escaping (APIError) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + page + + +
    +

    The page requested

    +
    +
    + + completion + + +
    +

    A RepositoryResponse object

    +
    +
    + + error + + +
    +

    APIError: An eventual request error

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Lists the Pull Requests of a Repository

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func pullRequests(for repository: Repository,
    +                  completion:@escaping ([PullRequest]) -> Void,
    +                  failure:@escaping (APIError) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + repository + + +
    +

    The repository containing the pull requests

    +
    +
    + + completion + + +
    +

    A PullRequest Array

    +
    +
    + + error + + +
    +

    APIError: An eventual request error

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Sends a request, completes with data or a specific error.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    internal func makeRequest(url: String,
    +                          completion:@escaping (Data) -> Void,
    +                          failure:@escaping (APIError) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + url + + +
    +

    The request’s url

    +
    +
    + + completion + + +
    +

    Response Data

    +
    +
    + + error + + +
    +

    APIError: An eventual request error

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Classes/PullRequest.html b/docs/Classes/PullRequest.html new file mode 100644 index 0000000..111f699 --- /dev/null +++ b/docs/Classes/PullRequest.html @@ -0,0 +1,273 @@ + + + + PullRequest Class Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

PullRequest

+
+
+
class PullRequest: Decodable
+ +
+
+

Represents a Github PR’s basic information

+ +
+
+
+
    +
  • +
    + + + + identifier + +
    +
    +
    +
    +
    +
    +

    The numeric unique identifier

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let identifier: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + title + +
    +
    +
    +
    +
    +
    +

    PR’s title

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let title: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    +

    PR’s body : A description of what this PR contains

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let body: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + user + +
    +
    +
    +
    +
    +
    +

    The user who created the PR

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let user: User
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + creationDate + +
    +
    +
    +
    +
    +
    +

    The creationdate

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let creationDate: Date
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + htmlURL + +
    +
    +
    +
    +
    +
    +

    The HTML URL

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let htmlURL: URL
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Classes/Repository.html b/docs/Classes/Repository.html new file mode 100644 index 0000000..cebc788 --- /dev/null +++ b/docs/Classes/Repository.html @@ -0,0 +1,300 @@ + + + + Repository Class Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

Repository

+
+
+
class Repository: Decodable
+ +
+
+

Represents a Github Repository’s basic information

+ +
+
+
+
    +
  • +
    + + + + identifier + +
    +
    +
    +
    +
    +
    +

    The numeric unique identifier

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let identifier: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + name + +
    +
    +
    +
    +
    +
    +

    The repo’s name

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let name: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    The repo’s description

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let description: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pullsUrl + +
    +
    +
    +
    +
    +
    +

    The PR’s URL

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let pullsUrl: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + forks + +
    +
    +
    +
    +
    +
    +

    The total number of forks

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let forks: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + stargazers + +
    +
    +
    +
    +
    +
    +

    The total number of stars

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let stargazers: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + owner + +
    +
    +
    +
    +
    +
    +

    The owner/creator of the repo

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let owner: User
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Classes/RepositoryResponse.html b/docs/Classes/RepositoryResponse.html new file mode 100644 index 0000000..52b1d3d --- /dev/null +++ b/docs/Classes/RepositoryResponse.html @@ -0,0 +1,192 @@ + + + + RepositoryResponse Class Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

RepositoryResponse

+
+
+
class RepositoryResponse: Decodable
+ +
+
+

Wrapper containing the list of repository and other useful info

+ +
+
+
+
    +
  • +
    + + + + incompleteResults + +
    +
    +
    +
    +
    +
    +

    Number of imcomplete results

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let incompleteResults: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + totalCount + +
    +
    +
    +
    +
    +
    +

    Total number of Repositories included in the query

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let totalCount: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + items + +
    +
    +
    +
    +
    +
    +

    Repositories in that response

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let items: [Repository]
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Classes/User.html b/docs/Classes/User.html new file mode 100644 index 0000000..9ac6629 --- /dev/null +++ b/docs/Classes/User.html @@ -0,0 +1,265 @@ + + + + User Class Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

User

+
+
+
class User: Decodable
+ +
+
+

A Github User

+ +
+
+
+
    +
  • +
    + + + + identifier + +
    +
    +
    +
    +
    +
    +

    The numeric unique identifier

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let identifier: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + login + +
    +
    +
    +
    +
    +
    +

    Login

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let login: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + avatarUrl + +
    +
    +
    +
    +
    +
    +

    The user’s avatar URL

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let avatarUrl: URL
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + type + +
    +
    +
    +
    +
    +
    +

    The account type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let type: UserType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    +

    Initialises from a decoder object

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    required init(from decoder: Decoder) throws
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + decoder + + +
    +

    The decoder used to initialise

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums.html b/docs/Enums.html new file mode 100644 index 0000000..788879b --- /dev/null +++ b/docs/Enums.html @@ -0,0 +1,164 @@ + + + + Enumerations Reference + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

Enumerations

+

The following enumerations are available globally.

+ +
+
+
+
    +
  • +
    + + + + UserType + +
    +
    +
    +
    +
    +
    +

    Different user types

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    enum UserType: String
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + APIError + +
    +
    +
    +
    +
    +
    +

    The type of possible ApiError

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum APIError: Error
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/APIError.html b/docs/Enums/APIError.html new file mode 100644 index 0000000..e2c38d8 --- /dev/null +++ b/docs/Enums/APIError.html @@ -0,0 +1,261 @@ + + + + APIError Enumeration Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

APIError

+
+
+
public enum APIError: Error
+ +
+
+

The type of possible ApiError

+ +
+
+
+
    +
  • +
    + + + + timedOut + +
    +
    +
    +
    +
    +
    +

    The request timed out

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case timedOut
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + connectionFailed + +
    +
    +
    +
    +
    +
    +

    An error related to internet connectivity

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case connectionFailed
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + parsingFailed + +
    +
    +
    +
    +
    +
    +

    The parsing failed

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case parsingFailed
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + noResultsFound + +
    +
    +
    +
    +
    +
    +

    No results/data was found

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noResultsFound
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + message() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func message() -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Enums/UserType.html b/docs/Enums/UserType.html new file mode 100644 index 0000000..09d84ae --- /dev/null +++ b/docs/Enums/UserType.html @@ -0,0 +1,200 @@ + + + + UserType Enumeration Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

UserType

+
+
+
enum UserType: String
+ +
+
+

Different user types

+ +
+
+
+
    +
  • +
    + + + + user + +
    +
    +
    +
    +
    +
    +

    A standard user

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case user = "User"
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + organisation + +
    +
    +
    +
    +
    +
    +

    An organisation user (a company)

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case organisation = "Organisation"
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + unknown + +
    +
    +
    +
    +
    +
    +

    Unknown type (only used when the API sends new data)

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case unknown
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Extensions.html b/docs/Extensions.html new file mode 100644 index 0000000..e9cb56d --- /dev/null +++ b/docs/Extensions.html @@ -0,0 +1,155 @@ + + + + Extensions Reference + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

Extensions

+

The following extensions are available globally.

+ +
+
+
+ +
+
+
    +
  • +
    + + + + Date + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct Date : ReferenceConvertible, Comparable, Equatable
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Extensions/Date.html b/docs/Extensions/Date.html new file mode 100644 index 0000000..ecd40e2 --- /dev/null +++ b/docs/Extensions/Date.html @@ -0,0 +1,137 @@ + + + + Date Extension Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

Date

+
+
+
struct Date : ReferenceConvertible, Comparable, Equatable
+ +
+
+ +
+
+
+
    +
  • +
    + + + + formatted() + +
    +
    +
    +
    +
    +
    +

    Formats all dates to the same format

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func formatted() -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Extensions/UIViewController.html b/docs/Extensions/UIViewController.html new file mode 100644 index 0000000..9d6bcc8 --- /dev/null +++ b/docs/Extensions/UIViewController.html @@ -0,0 +1,186 @@ + + + + UIViewController Extension Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

UIViewController

+

Wrapper to show a loader in any UIViewController

+ +
+
+
+
    +
  • +
    + + + + showLoader(_:) + +
    +
    +
    +
    +
    +
    +

    Shows a loader

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func showLoader(_ message: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hideLoader() + +
    +
    +
    +
    +
    +
    +

    Hides the loader

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func hideLoader()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + showError(_:) + +
    +
    +
    +
    +
    +
    +

    Shows an error message

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func showError(_ message: String)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/Guides.html b/docs/Guides.html new file mode 100644 index 0000000..2c3a9ea --- /dev/null +++ b/docs/Guides.html @@ -0,0 +1,100 @@ + + + + Guides Reference + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

Guides

+

The following guides are available globally.

+ +
+
+
+
+ +
+
+ + + diff --git a/docs/badge.svg b/docs/badge.svg new file mode 100644 index 0000000..a096fec --- /dev/null +++ b/docs/badge.svg @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + documentation + + + documentation + + + 100% + + + 100% + + + diff --git a/docs/css/highlight.css b/docs/css/highlight.css new file mode 100644 index 0000000..d0db0e1 --- /dev/null +++ b/docs/css/highlight.css @@ -0,0 +1,200 @@ +/* Credit to https://gist.github.com/wataru420/2048287 */ +.highlight { + /* Comment */ + /* Error */ + /* Keyword */ + /* Operator */ + /* Comment.Multiline */ + /* Comment.Preproc */ + /* Comment.Single */ + /* Comment.Special */ + /* Generic.Deleted */ + /* Generic.Deleted.Specific */ + /* Generic.Emph */ + /* Generic.Error */ + /* Generic.Heading */ + /* Generic.Inserted */ + /* Generic.Inserted.Specific */ + /* Generic.Output */ + /* Generic.Prompt */ + /* Generic.Strong */ + /* Generic.Subheading */ + /* Generic.Traceback */ + /* Keyword.Constant */ + /* Keyword.Declaration */ + /* Keyword.Pseudo */ + /* Keyword.Reserved */ + /* Keyword.Type */ + /* Literal.Number */ + /* Literal.String */ + /* Name.Attribute */ + /* Name.Builtin */ + /* Name.Class */ + /* Name.Constant */ + /* Name.Entity */ + /* Name.Exception */ + /* Name.Function */ + /* Name.Namespace */ + /* Name.Tag */ + /* Name.Variable */ + /* Operator.Word */ + /* Text.Whitespace */ + /* Literal.Number.Float */ + /* Literal.Number.Hex */ + /* Literal.Number.Integer */ + /* Literal.Number.Oct */ + /* Literal.String.Backtick */ + /* Literal.String.Char */ + /* Literal.String.Doc */ + /* Literal.String.Double */ + /* Literal.String.Escape */ + /* Literal.String.Heredoc */ + /* Literal.String.Interpol */ + /* Literal.String.Other */ + /* Literal.String.Regex */ + /* Literal.String.Single */ + /* Literal.String.Symbol */ + /* Name.Builtin.Pseudo */ + /* Name.Variable.Class */ + /* Name.Variable.Global */ + /* Name.Variable.Instance */ + /* Literal.Number.Integer.Long */ } + .highlight .c { + color: #999988; + font-style: italic; } + .highlight .err { + color: #a61717; + background-color: #e3d2d2; } + .highlight .k { + color: #000000; + font-weight: bold; } + .highlight .o { + color: #000000; + font-weight: bold; } + .highlight .cm { + color: #999988; + font-style: italic; } + .highlight .cp { + color: #999999; + font-weight: bold; } + .highlight .c1 { + color: #999988; + font-style: italic; } + .highlight .cs { + color: #999999; + font-weight: bold; + font-style: italic; } + .highlight .gd { + color: #000000; + background-color: #ffdddd; } + .highlight .gd .x { + color: #000000; + background-color: #ffaaaa; } + .highlight .ge { + color: #000000; + font-style: italic; } + .highlight .gr { + color: #aa0000; } + .highlight .gh { + color: #999999; } + .highlight .gi { + color: #000000; + background-color: #ddffdd; } + .highlight .gi .x { + color: #000000; + background-color: #aaffaa; } + .highlight .go { + color: #888888; } + .highlight .gp { + color: #555555; } + .highlight .gs { + font-weight: bold; } + .highlight .gu { + color: #aaaaaa; } + .highlight .gt { + color: #aa0000; } + .highlight .kc { + color: #000000; + font-weight: bold; } + .highlight .kd { + color: #000000; + font-weight: bold; } + .highlight .kp { + color: #000000; + font-weight: bold; } + .highlight .kr { + color: #000000; + font-weight: bold; } + .highlight .kt { + color: #445588; } + .highlight .m { + color: #009999; } + .highlight .s { + color: #d14; } + .highlight .na { + color: #008080; } + .highlight .nb { + color: #0086B3; } + .highlight .nc { + color: #445588; + font-weight: bold; } + .highlight .no { + color: #008080; } + .highlight .ni { + color: #800080; } + .highlight .ne { + color: #990000; + font-weight: bold; } + .highlight .nf { + color: #990000; } + .highlight .nn { + color: #555555; } + .highlight .nt { + color: #000080; } + .highlight .nv { + color: #008080; } + .highlight .ow { + color: #000000; + font-weight: bold; } + .highlight .w { + color: #bbbbbb; } + .highlight .mf { + color: #009999; } + .highlight .mh { + color: #009999; } + .highlight .mi { + color: #009999; } + .highlight .mo { + color: #009999; } + .highlight .sb { + color: #d14; } + .highlight .sc { + color: #d14; } + .highlight .sd { + color: #d14; } + .highlight .s2 { + color: #d14; } + .highlight .se { + color: #d14; } + .highlight .sh { + color: #d14; } + .highlight .si { + color: #d14; } + .highlight .sx { + color: #d14; } + .highlight .sr { + color: #009926; } + .highlight .s1 { + color: #d14; } + .highlight .ss { + color: #990073; } + .highlight .bp { + color: #999999; } + .highlight .vc { + color: #008080; } + .highlight .vg { + color: #008080; } + .highlight .vi { + color: #008080; } + .highlight .il { + color: #009999; } diff --git a/docs/css/jazzy.css b/docs/css/jazzy.css new file mode 100644 index 0000000..d628282 --- /dev/null +++ b/docs/css/jazzy.css @@ -0,0 +1,337 @@ +html, body, div, span, h1, h3, h4, p, a, code, em, img, ul, li, table, tbody, tr, td { + background: transparent; + border: 0; + margin: 0; + outline: 0; + padding: 0; + vertical-align: baseline; } + +body { + background-color: #f2f2f2; + font-family: Helvetica, freesans, Arial, sans-serif; + font-size: 14px; + -webkit-font-smoothing: subpixel-antialiased; + word-wrap: break-word; } + +h1, h2, h3 { + margin-top: 0.8em; + margin-bottom: 0.3em; + font-weight: 100; + color: black; } + +h1 { + font-size: 2.5em; } + +h2 { + font-size: 2em; + border-bottom: 1px solid #e2e2e2; } + +h4 { + font-size: 13px; + line-height: 1.5; + margin-top: 21px; } + +h5 { + font-size: 1.1em; } + +h6 { + font-size: 1.1em; + color: #777; } + +.section-name { + color: gray; + display: block; + font-family: Helvetica; + font-size: 22px; + font-weight: 100; + margin-bottom: 15px; } + +pre, code { + font: 0.95em Menlo, monospace; + color: #777; + word-wrap: normal; } + +p code, li code { + background-color: #eee; + padding: 2px 4px; + border-radius: 4px; } + +a { + color: #0088cc; + text-decoration: none; } + +ul { + padding-left: 15px; } + +li { + line-height: 1.8em; } + +img { + max-width: 100%; } + +blockquote { + margin-left: 0; + padding: 0 10px; + border-left: 4px solid #ccc; } + +.content-wrapper { + margin: 0 auto; + width: 980px; } + +header { + font-size: 0.85em; + line-height: 26px; + background-color: #414141; + position: fixed; + width: 100%; + z-index: 1; } + header img { + padding-right: 6px; + vertical-align: -4px; + height: 16px; } + header a { + color: #fff; } + header p { + float: left; + color: #999; } + header .header-right { + float: right; + margin-left: 16px; } + +#breadcrumbs { + background-color: #f2f2f2; + height: 27px; + padding-top: 17px; + position: fixed; + width: 100%; + z-index: 1; + margin-top: 26px; } + #breadcrumbs #carat { + height: 10px; + margin: 0 5px; } + +.sidebar { + background-color: #f9f9f9; + border: 1px solid #e2e2e2; + overflow-y: auto; + overflow-x: hidden; + position: fixed; + top: 70px; + bottom: 0; + width: 230px; + word-wrap: normal; } + +.nav-groups { + list-style-type: none; + background: #fff; + padding-left: 0; } + +.nav-group-name { + border-bottom: 1px solid #e2e2e2; + font-size: 1.1em; + font-weight: 100; + padding: 15px 0 15px 20px; } + .nav-group-name > a { + color: #333; } + +.nav-group-tasks { + margin-top: 5px; } + +.nav-group-task { + font-size: 0.9em; + list-style-type: none; + white-space: nowrap; } + .nav-group-task a { + color: #888; } + +.main-content { + background-color: #fff; + border: 1px solid #e2e2e2; + margin-left: 246px; + position: absolute; + overflow: hidden; + padding-bottom: 60px; + top: 70px; + width: 734px; } + .main-content p, .main-content a, .main-content code, .main-content em, .main-content ul, .main-content table, .main-content blockquote { + margin-bottom: 1em; } + .main-content p { + line-height: 1.8em; } + .main-content section .section:first-child { + margin-top: 0; + padding-top: 0; } + .main-content section .task-group-section .task-group:first-of-type { + padding-top: 10px; } + .main-content section .task-group-section .task-group:first-of-type .section-name { + padding-top: 15px; } + .main-content section .heading:before { + content: ""; + display: block; + padding-top: 70px; + margin: -70px 0 0; } + +.section { + padding: 0 25px; } + +.highlight { + background-color: #eee; + padding: 10px 12px; + border: 1px solid #e2e2e2; + border-radius: 4px; + overflow-x: auto; } + +.declaration .highlight { + overflow-x: initial; + padding: 0 40px 40px 0; + margin-bottom: -25px; + background-color: transparent; + border: none; } + +.section-name { + margin: 0; + margin-left: 18px; } + +.task-group-section { + padding-left: 6px; + border-top: 1px solid #e2e2e2; } + +.task-group { + padding-top: 0px; } + +.task-name-container a[name]:before { + content: ""; + display: block; + padding-top: 70px; + margin: -70px 0 0; } + +.item { + padding-top: 8px; + width: 100%; + list-style-type: none; } + .item a[name]:before { + content: ""; + display: block; + padding-top: 70px; + margin: -70px 0 0; } + .item code { + background-color: transparent; + padding: 0; } + .item .token { + padding-left: 3px; + margin-left: 15px; + font-size: 11.9px; } + .item .declaration-note { + font-size: .85em; + color: gray; + font-style: italic; } + +.pointer-container { + border-bottom: 1px solid #e2e2e2; + left: -23px; + padding-bottom: 13px; + position: relative; + width: 110%; } + +.pointer { + background: #f9f9f9; + border-left: 1px solid #e2e2e2; + border-top: 1px solid #e2e2e2; + height: 12px; + left: 21px; + top: -7px; + -webkit-transform: rotate(45deg); + -moz-transform: rotate(45deg); + -o-transform: rotate(45deg); + transform: rotate(45deg); + position: absolute; + width: 12px; } + +.height-container { + display: none; + left: -25px; + padding: 0 25px; + position: relative; + width: 100%; + overflow: hidden; } + .height-container .section { + background: #f9f9f9; + border-bottom: 1px solid #e2e2e2; + left: -25px; + position: relative; + width: 100%; + padding-top: 10px; + padding-bottom: 5px; } + +.aside, .language { + padding: 6px 12px; + margin: 12px 0; + border-left: 5px solid #dddddd; + overflow-y: hidden; } + .aside .aside-title, .language .aside-title { + font-size: 9px; + letter-spacing: 2px; + text-transform: uppercase; + padding-bottom: 0; + margin: 0; + color: #aaa; + -webkit-user-select: none; } + .aside p:last-child, .language p:last-child { + margin-bottom: 0; } + +.language { + border-left: 5px solid #cde9f4; } + .language .aside-title { + color: #4b8afb; } + +.aside-warning { + border-left: 5px solid #ff6666; } + .aside-warning .aside-title { + color: #ff0000; } + +.graybox { + border-collapse: collapse; + width: 100%; } + .graybox p { + margin: 0; + word-break: break-word; + min-width: 50px; } + .graybox td { + border: 1px solid #e2e2e2; + padding: 5px 25px 5px 10px; + vertical-align: middle; } + .graybox tr td:first-of-type { + text-align: right; + padding: 7px; + vertical-align: top; + word-break: normal; + width: 40px; } + +.slightly-smaller { + font-size: 0.9em; } + +#footer { + position: absolute; + bottom: 10px; + margin-left: 25px; } + #footer p { + margin: 0; + color: #aaa; + font-size: 0.8em; } + +html.dash header, html.dash #breadcrumbs, html.dash .sidebar { + display: none; } +html.dash .main-content { + width: 980px; + margin-left: 0; + border: none; + width: 100%; + top: 0; + padding-bottom: 0; } +html.dash .height-container { + display: block; } +html.dash .item .token { + margin-left: 0; } +html.dash .content-wrapper { + width: auto; } +html.dash #footer { + position: static; } diff --git a/docs/docsets/SwiftyGit.docset/Contents/Info.plist b/docs/docsets/SwiftyGit.docset/Contents/Info.plist new file mode 100644 index 0000000..d51f7f1 --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleIdentifier + com.jazzy.swiftygit + CFBundleName + SwiftyGit + DocSetPlatformFamily + swiftygit + isDashDocset + + dashIndexFilePath + index.html + isJavaScriptEnabled + + DashDocSetFamily + dashtoc + + diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes.html b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes.html new file mode 100644 index 0000000..33cf312 --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes.html @@ -0,0 +1,255 @@ + + + + Classes Reference + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

Classes

+

The following classes are available globally.

+ +
+
+
+
    +
  • +
    + + + + PullRequest + +
    +
    +
    +
    +
    +
    +

    Represents a Github PR’s basic information

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    class PullRequest: Decodable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + RepositoryResponse + +
    +
    +
    +
    +
    +
    +

    Wrapper containing the list of repository and other useful info

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    class RepositoryResponse: Decodable
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + Repository + +
    +
    +
    +
    +
    +
    +

    Represents a Github Repository’s basic information

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    class Repository: Decodable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + User + +
    +
    +
    +
    +
    +
    +

    A Github User

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    class User: Decodable
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + APIClient + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    class APIClient
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes/APIClient.html b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes/APIClient.html new file mode 100644 index 0000000..3deda2b --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes/APIClient.html @@ -0,0 +1,326 @@ + + + + APIClient Class Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

APIClient

+
+
+
class APIClient
+ +
+
+ +
+
+
+
    +
  • + +
    +
    +
    +
    +
    +

    Lists the Swift repositories

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func repositories(page: Int,
    +                  completion:@escaping (RepositoryResponse) -> Void,
    +                  failure:@escaping (APIError) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + page + + +
    +

    The page requested

    +
    +
    + + completion + + +
    +

    A RepositoryResponse object

    +
    +
    + + error + + +
    +

    APIError: An eventual request error

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Lists the Pull Requests of a Repository

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func pullRequests(for repository: Repository,
    +                  completion:@escaping ([PullRequest]) -> Void,
    +                  failure:@escaping (APIError) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + repository + + +
    +

    The repository containing the pull requests

    +
    +
    + + completion + + +
    +

    A PullRequest Array

    +
    +
    + + error + + +
    +

    APIError: An eventual request error

    +
    +
    +
    +
    +
    +
  • +
  • + +
    +
    +
    +
    +
    +

    Sends a request, completes with data or a specific error.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    internal func makeRequest(url: String,
    +                          completion:@escaping (Data) -> Void,
    +                          failure:@escaping (APIError) -> Void)
    + +
    +
    +
    +

    Parameters

    + + + + + + + + + + + + + + + +
    + + url + + +
    +

    The request’s url

    +
    +
    + + completion + + +
    +

    Response Data

    +
    +
    + + error + + +
    +

    APIError: An eventual request error

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes/PullRequest.html b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes/PullRequest.html new file mode 100644 index 0000000..111f699 --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes/PullRequest.html @@ -0,0 +1,273 @@ + + + + PullRequest Class Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

PullRequest

+
+
+
class PullRequest: Decodable
+ +
+
+

Represents a Github PR’s basic information

+ +
+
+
+
    +
  • +
    + + + + identifier + +
    +
    +
    +
    +
    +
    +

    The numeric unique identifier

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let identifier: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + title + +
    +
    +
    +
    +
    +
    +

    PR’s title

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let title: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + body + +
    +
    +
    +
    +
    +
    +

    PR’s body : A description of what this PR contains

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let body: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + user + +
    +
    +
    +
    +
    +
    +

    The user who created the PR

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let user: User
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + creationDate + +
    +
    +
    +
    +
    +
    +

    The creationdate

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let creationDate: Date
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + htmlURL + +
    +
    +
    +
    +
    +
    +

    The HTML URL

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let htmlURL: URL
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes/Repository.html b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes/Repository.html new file mode 100644 index 0000000..cebc788 --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes/Repository.html @@ -0,0 +1,300 @@ + + + + Repository Class Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

Repository

+
+
+
class Repository: Decodable
+ +
+
+

Represents a Github Repository’s basic information

+ +
+
+
+
    +
  • +
    + + + + identifier + +
    +
    +
    +
    +
    +
    +

    The numeric unique identifier

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let identifier: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + name + +
    +
    +
    +
    +
    +
    +

    The repo’s name

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let name: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + description + +
    +
    +
    +
    +
    +
    +

    The repo’s description

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let description: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + pullsUrl + +
    +
    +
    +
    +
    +
    +

    The PR’s URL

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let pullsUrl: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + forks + +
    +
    +
    +
    +
    +
    +

    The total number of forks

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let forks: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + stargazers + +
    +
    +
    +
    +
    +
    +

    The total number of stars

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let stargazers: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + owner + +
    +
    +
    +
    +
    +
    +

    The owner/creator of the repo

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let owner: User
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes/RepositoryResponse.html b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes/RepositoryResponse.html new file mode 100644 index 0000000..52b1d3d --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes/RepositoryResponse.html @@ -0,0 +1,192 @@ + + + + RepositoryResponse Class Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

RepositoryResponse

+
+
+
class RepositoryResponse: Decodable
+ +
+
+

Wrapper containing the list of repository and other useful info

+ +
+
+
+
    +
  • +
    + + + + incompleteResults + +
    +
    +
    +
    +
    +
    +

    Number of imcomplete results

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let incompleteResults: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + totalCount + +
    +
    +
    +
    +
    +
    +

    Total number of Repositories included in the query

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let totalCount: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + items + +
    +
    +
    +
    +
    +
    +

    Repositories in that response

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let items: [Repository]
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes/User.html b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes/User.html new file mode 100644 index 0000000..9ac6629 --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Classes/User.html @@ -0,0 +1,265 @@ + + + + User Class Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

User

+
+
+
class User: Decodable
+ +
+
+

A Github User

+ +
+
+
+
    +
  • +
    + + + + identifier + +
    +
    +
    +
    +
    +
    +

    The numeric unique identifier

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let identifier: Int
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + login + +
    +
    +
    +
    +
    +
    +

    Login

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let login: String
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + avatarUrl + +
    +
    +
    +
    +
    +
    +

    The user’s avatar URL

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let avatarUrl: URL
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + type + +
    +
    +
    +
    +
    +
    +

    The account type

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    let type: UserType
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + init(from:) + +
    +
    +
    +
    +
    +
    +

    Initialises from a decoder object

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    required init(from decoder: Decoder) throws
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + decoder + + +
    +

    The decoder used to initialise

    +
    +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Enums.html b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Enums.html new file mode 100644 index 0000000..788879b --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Enums.html @@ -0,0 +1,164 @@ + + + + Enumerations Reference + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

Enumerations

+

The following enumerations are available globally.

+ +
+
+
+
    +
  • +
    + + + + UserType + +
    +
    +
    +
    +
    +
    +

    Different user types

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    enum UserType: String
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + APIError + +
    +
    +
    +
    +
    +
    +

    The type of possible ApiError

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public enum APIError: Error
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Enums/APIError.html b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Enums/APIError.html new file mode 100644 index 0000000..e2c38d8 --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Enums/APIError.html @@ -0,0 +1,261 @@ + + + + APIError Enumeration Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

APIError

+
+
+
public enum APIError: Error
+ +
+
+

The type of possible ApiError

+ +
+
+
+
    +
  • +
    + + + + timedOut + +
    +
    +
    +
    +
    +
    +

    The request timed out

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case timedOut
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + connectionFailed + +
    +
    +
    +
    +
    +
    +

    An error related to internet connectivity

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case connectionFailed
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + parsingFailed + +
    +
    +
    +
    +
    +
    +

    The parsing failed

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case parsingFailed
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + noResultsFound + +
    +
    +
    +
    +
    +
    +

    No results/data was found

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case noResultsFound
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + message() + +
    +
    +
    +
    +
    +
    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func message() -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Enums/UserType.html b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Enums/UserType.html new file mode 100644 index 0000000..09d84ae --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Enums/UserType.html @@ -0,0 +1,200 @@ + + + + UserType Enumeration Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

UserType

+
+
+
enum UserType: String
+ +
+
+

Different user types

+ +
+
+
+
    +
  • +
    + + + + user + +
    +
    +
    +
    +
    +
    +

    A standard user

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case user = "User"
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + organisation + +
    +
    +
    +
    +
    +
    +

    An organisation user (a company)

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case organisation = "Organisation"
    + +
    +
    +
    +
    +
  • +
+
+
+
    +
  • +
    + + + + unknown + +
    +
    +
    +
    +
    +
    +

    Unknown type (only used when the API sends new data)

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    case unknown
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Extensions.html b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Extensions.html new file mode 100644 index 0000000..e9cb56d --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Extensions.html @@ -0,0 +1,155 @@ + + + + Extensions Reference + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

Extensions

+

The following extensions are available globally.

+ +
+
+
+ +
+
+
    +
  • +
    + + + + Date + +
    +
    +
    +
    +
    +
    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    struct Date : ReferenceConvertible, Comparable, Equatable
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Extensions/Date.html b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Extensions/Date.html new file mode 100644 index 0000000..ecd40e2 --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Extensions/Date.html @@ -0,0 +1,137 @@ + + + + Date Extension Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

Date

+
+
+
struct Date : ReferenceConvertible, Comparable, Equatable
+ +
+
+ +
+
+
+
    +
  • +
    + + + + formatted() + +
    +
    +
    +
    +
    +
    +

    Formats all dates to the same format

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func formatted() -> String
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Extensions/UIViewController.html b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Extensions/UIViewController.html new file mode 100644 index 0000000..9d6bcc8 --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Extensions/UIViewController.html @@ -0,0 +1,186 @@ + + + + UIViewController Extension Reference + + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

UIViewController

+

Wrapper to show a loader in any UIViewController

+ +
+
+
+
    +
  • +
    + + + + showLoader(_:) + +
    +
    +
    +
    +
    +
    +

    Shows a loader

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func showLoader(_ message: String)
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + hideLoader() + +
    +
    +
    +
    +
    +
    +

    Hides the loader

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func hideLoader()
    + +
    +
    +
    +
    +
  • +
  • +
    + + + + showError(_:) + +
    +
    +
    +
    +
    +
    +

    Shows an error message

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    func showError(_ message: String)
    + +
    +
    +
    +
    +
  • +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Guides.html b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Guides.html new file mode 100644 index 0000000..2c3a9ea --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/Guides.html @@ -0,0 +1,100 @@ + + + + Guides Reference + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+

Guides

+

The following guides are available globally.

+ +
+
+
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/css/highlight.css b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/css/highlight.css new file mode 100644 index 0000000..d0db0e1 --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/css/highlight.css @@ -0,0 +1,200 @@ +/* Credit to https://gist.github.com/wataru420/2048287 */ +.highlight { + /* Comment */ + /* Error */ + /* Keyword */ + /* Operator */ + /* Comment.Multiline */ + /* Comment.Preproc */ + /* Comment.Single */ + /* Comment.Special */ + /* Generic.Deleted */ + /* Generic.Deleted.Specific */ + /* Generic.Emph */ + /* Generic.Error */ + /* Generic.Heading */ + /* Generic.Inserted */ + /* Generic.Inserted.Specific */ + /* Generic.Output */ + /* Generic.Prompt */ + /* Generic.Strong */ + /* Generic.Subheading */ + /* Generic.Traceback */ + /* Keyword.Constant */ + /* Keyword.Declaration */ + /* Keyword.Pseudo */ + /* Keyword.Reserved */ + /* Keyword.Type */ + /* Literal.Number */ + /* Literal.String */ + /* Name.Attribute */ + /* Name.Builtin */ + /* Name.Class */ + /* Name.Constant */ + /* Name.Entity */ + /* Name.Exception */ + /* Name.Function */ + /* Name.Namespace */ + /* Name.Tag */ + /* Name.Variable */ + /* Operator.Word */ + /* Text.Whitespace */ + /* Literal.Number.Float */ + /* Literal.Number.Hex */ + /* Literal.Number.Integer */ + /* Literal.Number.Oct */ + /* Literal.String.Backtick */ + /* Literal.String.Char */ + /* Literal.String.Doc */ + /* Literal.String.Double */ + /* Literal.String.Escape */ + /* Literal.String.Heredoc */ + /* Literal.String.Interpol */ + /* Literal.String.Other */ + /* Literal.String.Regex */ + /* Literal.String.Single */ + /* Literal.String.Symbol */ + /* Name.Builtin.Pseudo */ + /* Name.Variable.Class */ + /* Name.Variable.Global */ + /* Name.Variable.Instance */ + /* Literal.Number.Integer.Long */ } + .highlight .c { + color: #999988; + font-style: italic; } + .highlight .err { + color: #a61717; + background-color: #e3d2d2; } + .highlight .k { + color: #000000; + font-weight: bold; } + .highlight .o { + color: #000000; + font-weight: bold; } + .highlight .cm { + color: #999988; + font-style: italic; } + .highlight .cp { + color: #999999; + font-weight: bold; } + .highlight .c1 { + color: #999988; + font-style: italic; } + .highlight .cs { + color: #999999; + font-weight: bold; + font-style: italic; } + .highlight .gd { + color: #000000; + background-color: #ffdddd; } + .highlight .gd .x { + color: #000000; + background-color: #ffaaaa; } + .highlight .ge { + color: #000000; + font-style: italic; } + .highlight .gr { + color: #aa0000; } + .highlight .gh { + color: #999999; } + .highlight .gi { + color: #000000; + background-color: #ddffdd; } + .highlight .gi .x { + color: #000000; + background-color: #aaffaa; } + .highlight .go { + color: #888888; } + .highlight .gp { + color: #555555; } + .highlight .gs { + font-weight: bold; } + .highlight .gu { + color: #aaaaaa; } + .highlight .gt { + color: #aa0000; } + .highlight .kc { + color: #000000; + font-weight: bold; } + .highlight .kd { + color: #000000; + font-weight: bold; } + .highlight .kp { + color: #000000; + font-weight: bold; } + .highlight .kr { + color: #000000; + font-weight: bold; } + .highlight .kt { + color: #445588; } + .highlight .m { + color: #009999; } + .highlight .s { + color: #d14; } + .highlight .na { + color: #008080; } + .highlight .nb { + color: #0086B3; } + .highlight .nc { + color: #445588; + font-weight: bold; } + .highlight .no { + color: #008080; } + .highlight .ni { + color: #800080; } + .highlight .ne { + color: #990000; + font-weight: bold; } + .highlight .nf { + color: #990000; } + .highlight .nn { + color: #555555; } + .highlight .nt { + color: #000080; } + .highlight .nv { + color: #008080; } + .highlight .ow { + color: #000000; + font-weight: bold; } + .highlight .w { + color: #bbbbbb; } + .highlight .mf { + color: #009999; } + .highlight .mh { + color: #009999; } + .highlight .mi { + color: #009999; } + .highlight .mo { + color: #009999; } + .highlight .sb { + color: #d14; } + .highlight .sc { + color: #d14; } + .highlight .sd { + color: #d14; } + .highlight .s2 { + color: #d14; } + .highlight .se { + color: #d14; } + .highlight .sh { + color: #d14; } + .highlight .si { + color: #d14; } + .highlight .sx { + color: #d14; } + .highlight .sr { + color: #009926; } + .highlight .s1 { + color: #d14; } + .highlight .ss { + color: #990073; } + .highlight .bp { + color: #999999; } + .highlight .vc { + color: #008080; } + .highlight .vg { + color: #008080; } + .highlight .vi { + color: #008080; } + .highlight .il { + color: #009999; } diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/css/jazzy.css b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/css/jazzy.css new file mode 100644 index 0000000..d628282 --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/css/jazzy.css @@ -0,0 +1,337 @@ +html, body, div, span, h1, h3, h4, p, a, code, em, img, ul, li, table, tbody, tr, td { + background: transparent; + border: 0; + margin: 0; + outline: 0; + padding: 0; + vertical-align: baseline; } + +body { + background-color: #f2f2f2; + font-family: Helvetica, freesans, Arial, sans-serif; + font-size: 14px; + -webkit-font-smoothing: subpixel-antialiased; + word-wrap: break-word; } + +h1, h2, h3 { + margin-top: 0.8em; + margin-bottom: 0.3em; + font-weight: 100; + color: black; } + +h1 { + font-size: 2.5em; } + +h2 { + font-size: 2em; + border-bottom: 1px solid #e2e2e2; } + +h4 { + font-size: 13px; + line-height: 1.5; + margin-top: 21px; } + +h5 { + font-size: 1.1em; } + +h6 { + font-size: 1.1em; + color: #777; } + +.section-name { + color: gray; + display: block; + font-family: Helvetica; + font-size: 22px; + font-weight: 100; + margin-bottom: 15px; } + +pre, code { + font: 0.95em Menlo, monospace; + color: #777; + word-wrap: normal; } + +p code, li code { + background-color: #eee; + padding: 2px 4px; + border-radius: 4px; } + +a { + color: #0088cc; + text-decoration: none; } + +ul { + padding-left: 15px; } + +li { + line-height: 1.8em; } + +img { + max-width: 100%; } + +blockquote { + margin-left: 0; + padding: 0 10px; + border-left: 4px solid #ccc; } + +.content-wrapper { + margin: 0 auto; + width: 980px; } + +header { + font-size: 0.85em; + line-height: 26px; + background-color: #414141; + position: fixed; + width: 100%; + z-index: 1; } + header img { + padding-right: 6px; + vertical-align: -4px; + height: 16px; } + header a { + color: #fff; } + header p { + float: left; + color: #999; } + header .header-right { + float: right; + margin-left: 16px; } + +#breadcrumbs { + background-color: #f2f2f2; + height: 27px; + padding-top: 17px; + position: fixed; + width: 100%; + z-index: 1; + margin-top: 26px; } + #breadcrumbs #carat { + height: 10px; + margin: 0 5px; } + +.sidebar { + background-color: #f9f9f9; + border: 1px solid #e2e2e2; + overflow-y: auto; + overflow-x: hidden; + position: fixed; + top: 70px; + bottom: 0; + width: 230px; + word-wrap: normal; } + +.nav-groups { + list-style-type: none; + background: #fff; + padding-left: 0; } + +.nav-group-name { + border-bottom: 1px solid #e2e2e2; + font-size: 1.1em; + font-weight: 100; + padding: 15px 0 15px 20px; } + .nav-group-name > a { + color: #333; } + +.nav-group-tasks { + margin-top: 5px; } + +.nav-group-task { + font-size: 0.9em; + list-style-type: none; + white-space: nowrap; } + .nav-group-task a { + color: #888; } + +.main-content { + background-color: #fff; + border: 1px solid #e2e2e2; + margin-left: 246px; + position: absolute; + overflow: hidden; + padding-bottom: 60px; + top: 70px; + width: 734px; } + .main-content p, .main-content a, .main-content code, .main-content em, .main-content ul, .main-content table, .main-content blockquote { + margin-bottom: 1em; } + .main-content p { + line-height: 1.8em; } + .main-content section .section:first-child { + margin-top: 0; + padding-top: 0; } + .main-content section .task-group-section .task-group:first-of-type { + padding-top: 10px; } + .main-content section .task-group-section .task-group:first-of-type .section-name { + padding-top: 15px; } + .main-content section .heading:before { + content: ""; + display: block; + padding-top: 70px; + margin: -70px 0 0; } + +.section { + padding: 0 25px; } + +.highlight { + background-color: #eee; + padding: 10px 12px; + border: 1px solid #e2e2e2; + border-radius: 4px; + overflow-x: auto; } + +.declaration .highlight { + overflow-x: initial; + padding: 0 40px 40px 0; + margin-bottom: -25px; + background-color: transparent; + border: none; } + +.section-name { + margin: 0; + margin-left: 18px; } + +.task-group-section { + padding-left: 6px; + border-top: 1px solid #e2e2e2; } + +.task-group { + padding-top: 0px; } + +.task-name-container a[name]:before { + content: ""; + display: block; + padding-top: 70px; + margin: -70px 0 0; } + +.item { + padding-top: 8px; + width: 100%; + list-style-type: none; } + .item a[name]:before { + content: ""; + display: block; + padding-top: 70px; + margin: -70px 0 0; } + .item code { + background-color: transparent; + padding: 0; } + .item .token { + padding-left: 3px; + margin-left: 15px; + font-size: 11.9px; } + .item .declaration-note { + font-size: .85em; + color: gray; + font-style: italic; } + +.pointer-container { + border-bottom: 1px solid #e2e2e2; + left: -23px; + padding-bottom: 13px; + position: relative; + width: 110%; } + +.pointer { + background: #f9f9f9; + border-left: 1px solid #e2e2e2; + border-top: 1px solid #e2e2e2; + height: 12px; + left: 21px; + top: -7px; + -webkit-transform: rotate(45deg); + -moz-transform: rotate(45deg); + -o-transform: rotate(45deg); + transform: rotate(45deg); + position: absolute; + width: 12px; } + +.height-container { + display: none; + left: -25px; + padding: 0 25px; + position: relative; + width: 100%; + overflow: hidden; } + .height-container .section { + background: #f9f9f9; + border-bottom: 1px solid #e2e2e2; + left: -25px; + position: relative; + width: 100%; + padding-top: 10px; + padding-bottom: 5px; } + +.aside, .language { + padding: 6px 12px; + margin: 12px 0; + border-left: 5px solid #dddddd; + overflow-y: hidden; } + .aside .aside-title, .language .aside-title { + font-size: 9px; + letter-spacing: 2px; + text-transform: uppercase; + padding-bottom: 0; + margin: 0; + color: #aaa; + -webkit-user-select: none; } + .aside p:last-child, .language p:last-child { + margin-bottom: 0; } + +.language { + border-left: 5px solid #cde9f4; } + .language .aside-title { + color: #4b8afb; } + +.aside-warning { + border-left: 5px solid #ff6666; } + .aside-warning .aside-title { + color: #ff0000; } + +.graybox { + border-collapse: collapse; + width: 100%; } + .graybox p { + margin: 0; + word-break: break-word; + min-width: 50px; } + .graybox td { + border: 1px solid #e2e2e2; + padding: 5px 25px 5px 10px; + vertical-align: middle; } + .graybox tr td:first-of-type { + text-align: right; + padding: 7px; + vertical-align: top; + word-break: normal; + width: 40px; } + +.slightly-smaller { + font-size: 0.9em; } + +#footer { + position: absolute; + bottom: 10px; + margin-left: 25px; } + #footer p { + margin: 0; + color: #aaa; + font-size: 0.8em; } + +html.dash header, html.dash #breadcrumbs, html.dash .sidebar { + display: none; } +html.dash .main-content { + width: 980px; + margin-left: 0; + border: none; + width: 100%; + top: 0; + padding-bottom: 0; } +html.dash .height-container { + display: block; } +html.dash .item .token { + margin-left: 0; } +html.dash .content-wrapper { + width: auto; } +html.dash #footer { + position: static; } diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/img/carat.png b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/img/carat.png new file mode 100755 index 0000000..29d2f7f Binary files /dev/null and b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/img/carat.png differ diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/img/dash.png b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/img/dash.png new file mode 100755 index 0000000..6f694c7 Binary files /dev/null and b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/img/dash.png differ diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/img/gh.png b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/img/gh.png new file mode 100755 index 0000000..628da97 Binary files /dev/null and b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/img/gh.png differ diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/index.html b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/index.html new file mode 100644 index 0000000..a9fd36b --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/index.html @@ -0,0 +1,158 @@ + + + + SwiftyGit Reference + + + + + + + + + +
+
+

SwiftyGit Docs (100% documented)

+

View on GitHub

+
+
+
+ +
+
+ +
+
+
+ +

Desafio de programação mobile iOS

+ +

A idéia deste desafio é nos permitir avaliar melhor as habilidades de candidatos à vagas de programador, de vários níveis.

+ +

Este desafio deve ser feito por você em sua casa. O tempo limite é de três dias, porém normalmente você não deve precisar de mais do que algumas horas.

+

Instruções de entrega do desafio

+ +
    +
  1. Primeiro, faça um fork deste projeto para sua conta no GitHub (crie uma se você não possuir).
  2. +
  3. Em seguida, implemente o projeto tal qual descrito abaixo, em seu próprio fork.
  4. +
  5. Por fim, empurre todas as suas alterações para o seu fork no GitHub e envie um pull request para este repositório original.
  6. +
+

Descrição do projeto

+ +

Você deve criar um aplicativo que irá listar os repositórios públicos mais populares relacionados à Swift no GitHub, usando a API do GitHub para buscar os dados necessários.

+ +

O aplicativo deve exibir inicialmente uma lista paginada dos repositórios, ordenados por popularidade decrescente (exemplo de chamada da API: https://api.github.com/search/repositories?q=language:Swift&sort=stars&page=1).

+ +

Cada repositório deve exibir Nome do repositório, Descrição do Repositório, Nome / Foto do autor, Número de Stars, Número de Forks.

+ +

Ao tocar em um item, deve levar a lista de Pull Requests do repositório. Cada item da lista deve exibir Nome / Foto do autor do PR, Título do PR, Data do PR e Body do PR.

+ +

Ao tocar em um item, deve abrir no browser a página do Pull Request em questão.

+ +

Você pode se basear neste mockup para criar as telas:

+ +

mockup

+ +

Sua aplicação deve:

+ +
    +
  • suportar versão mínima do iOS: 9.*
  • +
  • usar um arquivo .gitignore no seu repositório
  • +
  • usar Storyboard e Autolayout
  • +
  • usar gestão de dependências no projeto. Ex: Cocoapods
  • +
  • usar um Framework para Comunicação com API. Ex: Alamofire
  • +
  • possuir boa cobertura de testes unitários no projeto. Ex: XCTests / Quick + Nimble
  • +
+ +

Você ganha mais pontos se:

+ +
    +
  • utilizar RxSwift.
  • +
  • persistir os dados localmente usando Core Data / Realm / Firebase
  • +
  • fazer um app Universal, Ipad | Iphone | Landscape | Portrait (Size Classes)
  • +
  • fazer cache de imagens. Ex: SDWebImage/Kingfisher/AlamofireImage
  • +
  • utilizar alguma biblioteca de injeção de dependência. Ex: Swinject https://github.com/Swinject/Swinject
  • +
+ +

As sugestões de bibliotecas fornecidas são só um guideline, sinta-se a vontade para usar soluções diferentes e nos surpreender. O importante de fato é que os objetivos macros sejam atingidos.

+

Avaliação

+ +

Seu projeto será avaliado de acordo com os seguintes critérios.

+ +
    +
  1. Sua aplicação preenche os requerimentos básicos?
  2. +
  3. Você documentou a maneira de configurar o ambiente e rodar sua aplicação?
  4. +
  5. Você seguiu as instruções de envio do desafio?
  6. +
+ +

Adicionalmente, tentaremos verificar a sua familiarização com as bibliotecas padrões (standard libs), bem como sua experiência com programação orientada a objetos a partir da estrutura de seu projeto.

+ +
+
+ +
+
+ + + diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/js/jazzy.js b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/js/jazzy.js new file mode 100755 index 0000000..3965b5f --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/js/jazzy.js @@ -0,0 +1,46 @@ +window.jazzy = {'docset': false} +if (typeof window.dash != 'undefined') { + document.documentElement.className += ' dash' + window.jazzy.docset = true +} +if (navigator.userAgent.match(/xcode/i)) { + document.documentElement.className += ' xcode' + window.jazzy.docset = true +} + +// On doc load, toggle the URL hash discussion if present +$(document).ready(function() { + if (!window.jazzy.docset) { + var linkToHash = $('a[href="' + window.location.hash +'"]'); + linkToHash.trigger("click"); + } +}); + +// On token click, toggle its discussion and animate token.marginLeft +$(".token").click(function(event) { + if (window.jazzy.docset) { + return; + } + var link = $(this); + var animationDuration = 300; + var tokenOffset = "15px"; + var original = link.css('marginLeft') == tokenOffset; + link.animate({'margin-left':original ? "0px" : tokenOffset}, animationDuration); + $content = link.parent().parent().next(); + $content.slideToggle(animationDuration); + + // Keeps the document from jumping to the hash. + var href = $(this).attr('href'); + if (history.pushState) { + history.pushState({}, '', href); + } else { + location.hash = href; + } + event.preventDefault(); +}); + +// Dumb down quotes within code blocks that delimit strings instead of quotations +// https://github.com/realm/jazzy/issues/714 +$("code q").replaceWith(function () { + return ["\"", $(this).contents(), "\""]; +}); diff --git a/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/js/jquery.min.js b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/js/jquery.min.js new file mode 100755 index 0000000..ab28a24 --- /dev/null +++ b/docs/docsets/SwiftyGit.docset/Contents/Resources/Documents/js/jquery.min.js @@ -0,0 +1,4 @@ +/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.1",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="
",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h; +if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML="
a",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function ab(){return!0}function bb(){return!1}function cb(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]","i"),hb=/^\s+/,ib=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jb=/<([\w:]+)/,kb=/\s*$/g,rb={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:k.htmlSerialize?[0,"",""]:[1,"X
","
"]},sb=db(y),tb=sb.appendChild(y.createElement("div"));rb.optgroup=rb.option,rb.tbody=rb.tfoot=rb.colgroup=rb.caption=rb.thead,rb.th=rb.td;function ub(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ub(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function vb(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wb(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xb(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function yb(a){var b=pb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function zb(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Ab(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Bb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xb(b).text=a.text,yb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(tb.innerHTML=a.outerHTML,tb.removeChild(f=tb.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ub(f),h=ub(a),g=0;null!=(e=h[g]);++g)d[g]&&Bb(e,d[g]);if(b)if(c)for(h=h||ub(a),d=d||ub(f),g=0;null!=(e=h[g]);g++)Ab(e,d[g]);else Ab(a,f);return d=ub(f,"script"),d.length>0&&zb(d,!i&&ub(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=db(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(lb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(jb.exec(f)||["",""])[1].toLowerCase(),l=rb[i]||rb._default,h.innerHTML=l[1]+f.replace(ib,"<$1>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&hb.test(f)&&p.push(b.createTextNode(hb.exec(f)[0])),!k.tbody){f="table"!==i||kb.test(f)?""!==l[1]||kb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ub(p,"input"),vb),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ub(o.appendChild(f),"script"),g&&zb(h),c)){e=0;while(f=h[e++])ob.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ub(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&zb(ub(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ub(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof a||mb.test(a)||!k.htmlSerialize&&gb.test(a)||!k.leadingWhitespace&&hb.test(a)||rb[(jb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ib,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ub(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ub(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&nb.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ub(i,"script"),xb),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ub(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,yb),j=0;f>j;j++)d=g[j],ob.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qb,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Cb,Db={};function Eb(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fb(a){var b=y,c=Db[a];return c||(c=Eb(a,b),"none"!==c&&c||(Cb=(Cb||m("