-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
166 changed files
with
11,517 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
{ | ||
"id": 10824973, | ||
"name": "Test", | ||
"full_name": "mietzmithut/Test", | ||
"owner": { | ||
"login": "mietzmithut", | ||
"id": 4672699, | ||
"avatar_url": "https://avatars.githubusercontent.com/u/4672699?v=3", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/mietzmithut", | ||
"html_url": "https://github.com/mietzmithut", | ||
"followers_url": "https://api.github.com/users/mietzmithut/followers", | ||
"following_url": "https://api.github.com/users/mietzmithut/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/mietzmithut/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/mietzmithut/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/mietzmithut/subscriptions", | ||
"organizations_url": "https://api.github.com/users/mietzmithut/orgs", | ||
"repos_url": "https://api.github.com/users/mietzmithut/repos", | ||
"events_url": "https://api.github.com/users/mietzmithut/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/mietzmithut/received_events", | ||
"type": "User", | ||
"site_admin": false | ||
}, | ||
"private": false, | ||
"html_url": "https://github.com/mietzmithut/Test", | ||
"description": "", | ||
"fork": false, | ||
"url": "https://api.github.com/repos/mietzmithut/Test", | ||
"forks_url": "https://api.github.com/repos/mietzmithut/Test/forks", | ||
"keys_url": "https://api.github.com/repos/mietzmithut/Test/keys{/key_id}", | ||
"collaborators_url": "https://api.github.com/repos/mietzmithut/Test/collaborators{/collaborator}", | ||
"teams_url": "https://api.github.com/repos/mietzmithut/Test/teams", | ||
"hooks_url": "https://api.github.com/repos/mietzmithut/Test/hooks", | ||
"issue_events_url": "https://api.github.com/repos/mietzmithut/Test/issues/events{/number}", | ||
"events_url": "https://api.github.com/repos/mietzmithut/Test/events", | ||
"assignees_url": "https://api.github.com/repos/mietzmithut/Test/assignees{/user}", | ||
"branches_url": "https://api.github.com/repos/mietzmithut/Test/branches{/branch}", | ||
"tags_url": "https://api.github.com/repos/mietzmithut/Test/tags", | ||
"blobs_url": "https://api.github.com/repos/mietzmithut/Test/git/blobs{/sha}", | ||
"git_tags_url": "https://api.github.com/repos/mietzmithut/Test/git/tags{/sha}", | ||
"git_refs_url": "https://api.github.com/repos/mietzmithut/Test/git/refs{/sha}", | ||
"trees_url": "https://api.github.com/repos/mietzmithut/Test/git/trees{/sha}", | ||
"statuses_url": "https://api.github.com/repos/mietzmithut/Test/statuses/{sha}", | ||
"languages_url": "https://api.github.com/repos/mietzmithut/Test/languages", | ||
"stargazers_url": "https://api.github.com/repos/mietzmithut/Test/stargazers", | ||
"contributors_url": "https://api.github.com/repos/mietzmithut/Test/contributors", | ||
"subscribers_url": "https://api.github.com/repos/mietzmithut/Test/subscribers", | ||
"subscription_url": "https://api.github.com/repos/mietzmithut/Test/subscription", | ||
"commits_url": "https://api.github.com/repos/mietzmithut/Test/commits{/sha}", | ||
"git_commits_url": "https://api.github.com/repos/mietzmithut/Test/git/commits{/sha}", | ||
"comments_url": "https://api.github.com/repos/mietzmithut/Test/comments{/number}", | ||
"issue_comment_url": "https://api.github.com/repos/mietzmithut/Test/issues/comments/{number}", | ||
"contents_url": "https://api.github.com/repos/mietzmithut/Test/contents/{+path}", | ||
"compare_url": "https://api.github.com/repos/mietzmithut/Test/compare/{base}...{head}", | ||
"merges_url": "https://api.github.com/repos/mietzmithut/Test/merges", | ||
"archive_url": "https://api.github.com/repos/mietzmithut/Test/{archive_format}{/ref}", | ||
"downloads_url": "https://api.github.com/repos/mietzmithut/Test/downloads", | ||
"issues_url": "https://api.github.com/repos/mietzmithut/Test/issues{/number}", | ||
"pulls_url": "https://api.github.com/repos/mietzmithut/Test/pulls{/number}", | ||
"milestones_url": "https://api.github.com/repos/mietzmithut/Test/milestones{/number}", | ||
"notifications_url": "https://api.github.com/repos/mietzmithut/Test/notifications{?since,all,participating}", | ||
"labels_url": "https://api.github.com/repos/mietzmithut/Test/labels{/name}", | ||
"releases_url": "https://api.github.com/repos/mietzmithut/Test/releases{/id}", | ||
"created_at": "2013-06-20T17:05:03Z", | ||
"updated_at": "2014-06-13T21:10:35Z", | ||
"pushed_at": "2013-06-20T20:04:46Z", | ||
"git_url": "git://github.com/mietzmithut/Test.git", | ||
"ssh_url": "[email protected]:mietzmithut/Test.git", | ||
"clone_url": "https://github.com/mietzmithut/Test.git", | ||
"svn_url": "https://github.com/mietzmithut/Test", | ||
"homepage": null, | ||
"size": 132, | ||
"stargazers_count": 0, | ||
"watchers_count": 0, | ||
"language": "Ruby", | ||
"has_issues": true, | ||
"has_downloads": true, | ||
"has_wiki": true, | ||
"has_pages": false, | ||
"forks_count": 0, | ||
"mirror_url": null, | ||
"open_issues_count": 0, | ||
"forks": 0, | ||
"open_issues": 0, | ||
"watchers": 0, | ||
"default_branch": "master", | ||
"network_count": 0, | ||
"subscribers_count": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"login": "pietbrauer", | ||
"id": 759730, | ||
"avatar_url": "https://avatars.githubusercontent.com/u/759730?v=3", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/pietbrauer", | ||
"html_url": "https://github.com/pietbrauer", | ||
"followers_url": "https://api.github.com/users/pietbrauer/followers", | ||
"following_url": "https://api.github.com/users/pietbrauer/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/pietbrauer/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/pietbrauer/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/pietbrauer/subscriptions", | ||
"organizations_url": "https://api.github.com/users/pietbrauer/orgs", | ||
"repos_url": "https://api.github.com/users/pietbrauer/repos", | ||
"events_url": "https://api.github.com/users/pietbrauer/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/pietbrauer/received_events", | ||
"type": "User", | ||
"site_admin": false, | ||
"name": "Piet Brauer", | ||
"company": "XING AG", | ||
"blog": "xing.to/PietBrauer", | ||
"location": "Hamburg", | ||
"email": null, | ||
"hireable": true, | ||
"bio": null, | ||
"public_repos": 6, | ||
"public_gists": 10, | ||
"followers": 41, | ||
"following": 19, | ||
"created_at": "2011-04-29T20:58:36Z", | ||
"updated_at": "2015-01-12T19:42:23Z", | ||
"private_gists": 7, | ||
"total_private_repos": 4, | ||
"owned_private_repos": 4, | ||
"disk_usage": 49064, | ||
"collaborators": 2, | ||
"plan": { | ||
"name": "micro", | ||
"space": 614400, | ||
"collaborators": 0, | ||
"private_repos": 5 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"login": "mietzmithut", | ||
"id": 4672699, | ||
"avatar_url": "https://avatars.githubusercontent.com/u/4672699?v=3", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/mietzmithut", | ||
"html_url": "https://github.com/mietzmithut", | ||
"followers_url": "https://api.github.com/users/mietzmithut/followers", | ||
"following_url": "https://api.github.com/users/mietzmithut/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/mietzmithut/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/mietzmithut/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/mietzmithut/subscriptions", | ||
"organizations_url": "https://api.github.com/users/mietzmithut/orgs", | ||
"repos_url": "https://api.github.com/users/mietzmithut/repos", | ||
"events_url": "https://api.github.com/users/mietzmithut/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/mietzmithut/received_events", | ||
"type": "User", | ||
"site_admin": false, | ||
"name": "Julia Kallenberg", | ||
"company": "", | ||
"blog": "", | ||
"location": "Hamburg", | ||
"email": "", | ||
"hireable": false, | ||
"bio": null, | ||
"public_repos": 7, | ||
"public_gists": 0, | ||
"followers": 7, | ||
"following": 8, | ||
"created_at": "2013-06-11T18:02:51Z", | ||
"updated_at": "2014-12-22T18:53:41Z" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
[ | ||
{ | ||
"id": 10824973, | ||
"name": "Test", | ||
"full_name": "mietzmithut/Test", | ||
"owner": { | ||
"login": "mietzmithut", | ||
"id": 4672699, | ||
"avatar_url": "https://avatars.githubusercontent.com/u/4672699?v=3", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/mietzmithut", | ||
"html_url": "https://github.com/mietzmithut", | ||
"followers_url": "https://api.github.com/users/mietzmithut/followers", | ||
"following_url": "https://api.github.com/users/mietzmithut/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/mietzmithut/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/mietzmithut/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/mietzmithut/subscriptions", | ||
"organizations_url": "https://api.github.com/users/mietzmithut/orgs", | ||
"repos_url": "https://api.github.com/users/mietzmithut/repos", | ||
"events_url": "https://api.github.com/users/mietzmithut/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/mietzmithut/received_events", | ||
"type": "User", | ||
"site_admin": false | ||
}, | ||
"private": false, | ||
"html_url": "https://github.com/mietzmithut/Test", | ||
"description": "", | ||
"fork": false, | ||
"url": "https://api.github.com/repos/mietzmithut/Test", | ||
"forks_url": "https://api.github.com/repos/mietzmithut/Test/forks", | ||
"keys_url": "https://api.github.com/repos/mietzmithut/Test/keys{/key_id}", | ||
"collaborators_url": "https://api.github.com/repos/mietzmithut/Test/collaborators{/collaborator}", | ||
"teams_url": "https://api.github.com/repos/mietzmithut/Test/teams", | ||
"hooks_url": "https://api.github.com/repos/mietzmithut/Test/hooks", | ||
"issue_events_url": "https://api.github.com/repos/mietzmithut/Test/issues/events{/number}", | ||
"events_url": "https://api.github.com/repos/mietzmithut/Test/events", | ||
"assignees_url": "https://api.github.com/repos/mietzmithut/Test/assignees{/user}", | ||
"branches_url": "https://api.github.com/repos/mietzmithut/Test/branches{/branch}", | ||
"tags_url": "https://api.github.com/repos/mietzmithut/Test/tags", | ||
"blobs_url": "https://api.github.com/repos/mietzmithut/Test/git/blobs{/sha}", | ||
"git_tags_url": "https://api.github.com/repos/mietzmithut/Test/git/tags{/sha}", | ||
"git_refs_url": "https://api.github.com/repos/mietzmithut/Test/git/refs{/sha}", | ||
"trees_url": "https://api.github.com/repos/mietzmithut/Test/git/trees{/sha}", | ||
"statuses_url": "https://api.github.com/repos/mietzmithut/Test/statuses/{sha}", | ||
"languages_url": "https://api.github.com/repos/mietzmithut/Test/languages", | ||
"stargazers_url": "https://api.github.com/repos/mietzmithut/Test/stargazers", | ||
"contributors_url": "https://api.github.com/repos/mietzmithut/Test/contributors", | ||
"subscribers_url": "https://api.github.com/repos/mietzmithut/Test/subscribers", | ||
"subscription_url": "https://api.github.com/repos/mietzmithut/Test/subscription", | ||
"commits_url": "https://api.github.com/repos/mietzmithut/Test/commits{/sha}", | ||
"git_commits_url": "https://api.github.com/repos/mietzmithut/Test/git/commits{/sha}", | ||
"comments_url": "https://api.github.com/repos/mietzmithut/Test/comments{/number}", | ||
"issue_comment_url": "https://api.github.com/repos/mietzmithut/Test/issues/comments/{number}", | ||
"contents_url": "https://api.github.com/repos/mietzmithut/Test/contents/{+path}", | ||
"compare_url": "https://api.github.com/repos/mietzmithut/Test/compare/{base}...{head}", | ||
"merges_url": "https://api.github.com/repos/mietzmithut/Test/merges", | ||
"archive_url": "https://api.github.com/repos/mietzmithut/Test/{archive_format}{/ref}", | ||
"downloads_url": "https://api.github.com/repos/mietzmithut/Test/downloads", | ||
"issues_url": "https://api.github.com/repos/mietzmithut/Test/issues{/number}", | ||
"pulls_url": "https://api.github.com/repos/mietzmithut/Test/pulls{/number}", | ||
"milestones_url": "https://api.github.com/repos/mietzmithut/Test/milestones{/number}", | ||
"notifications_url": "https://api.github.com/repos/mietzmithut/Test/notifications{?since,all,participating}", | ||
"labels_url": "https://api.github.com/repos/mietzmithut/Test/labels{/name}", | ||
"releases_url": "https://api.github.com/repos/mietzmithut/Test/releases{/id}", | ||
"created_at": "2013-06-20T17:05:03Z", | ||
"updated_at": "2014-06-13T21:10:35Z", | ||
"pushed_at": "2013-06-20T20:04:46Z", | ||
"git_url": "git://github.com/mietzmithut/Test.git", | ||
"ssh_url": "[email protected]:mietzmithut/Test.git", | ||
"clone_url": "https://github.com/mietzmithut/Test.git", | ||
"svn_url": "https://github.com/mietzmithut/Test", | ||
"homepage": null, | ||
"size": 132, | ||
"stargazers_count": 0, | ||
"watchers_count": 0, | ||
"language": "Ruby", | ||
"has_issues": true, | ||
"has_downloads": true, | ||
"has_wiki": true, | ||
"has_pages": false, | ||
"forks_count": 0, | ||
"mirror_url": null, | ||
"open_issues_count": 0, | ||
"forks": 0, | ||
"open_issues": 0, | ||
"watchers": 0, | ||
"default_branch": "master", | ||
"permissions": { | ||
"admin": false, | ||
"push": true, | ||
"pull": true | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
[ | ||
{ | ||
"login": "pietbrauer", | ||
"id": 759730, | ||
"avatar_url": "https://avatars.githubusercontent.com/u/759730?v=3", | ||
"gravatar_id": "", | ||
"url": "https://api.github.com/users/pietbrauer", | ||
"html_url": "https://github.com/pietbrauer", | ||
"followers_url": "https://api.github.com/users/pietbrauer/followers", | ||
"following_url": "https://api.github.com/users/pietbrauer/following{/other_user}", | ||
"gists_url": "https://api.github.com/users/pietbrauer/gists{/gist_id}", | ||
"starred_url": "https://api.github.com/users/pietbrauer/starred{/owner}{/repo}", | ||
"subscriptions_url": "https://api.github.com/users/pietbrauer/subscriptions", | ||
"organizations_url": "https://api.github.com/users/pietbrauer/orgs", | ||
"repos_url": "https://api.github.com/users/pietbrauer/repos", | ||
"events_url": "https://api.github.com/users/pietbrauer/events{/privacy}", | ||
"received_events_url": "https://api.github.com/users/pietbrauer/received_events", | ||
"type": "User", | ||
"site_admin": false, | ||
"name": "Piet Brauer", | ||
"company": "XING AG", | ||
"blog": "xing.to/PietBrauer", | ||
"location": "Hamburg", | ||
"email": null, | ||
"hireable": true, | ||
"bio": null, | ||
"public_repos": 6, | ||
"public_gists": 10, | ||
"followers": 41, | ||
"following": 19, | ||
"created_at": "2011-04-29T20:58:36Z", | ||
"updated_at": "2015-01-12T19:42:23Z", | ||
"private_gists": 7, | ||
"total_private_repos": 4, | ||
"owned_private_repos": 4, | ||
"disk_usage": 49064, | ||
"collaborators": 2, | ||
"plan": { | ||
"name": "micro", | ||
"space": 614400, | ||
"collaborators": 0, | ||
"private_repos": 5 | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// | ||
// TestHelper.swift | ||
// GithubPilot | ||
// | ||
// Created by yansong li on 2016-02-20. | ||
// Copyright © 2016 yansong li. All rights reserved. | ||
// | ||
|
||
|
||
// Get From: https://github.com/nerdishbynature/octokit.swift | ||
import Foundation | ||
|
||
internal class Helper { | ||
internal class func stringFromFile(name: String) -> String? { | ||
let bundle = NSBundle(forClass: self) | ||
let path = bundle.pathForResource(name, ofType: "json") | ||
if let path = path { | ||
let string = try? String(contentsOfFile: path, encoding: NSUTF8StringEncoding) | ||
return string | ||
} | ||
return nil | ||
} | ||
|
||
internal class func JSONFromFile(name: String) -> AnyObject { | ||
let bundle = NSBundle(forClass: self) | ||
let path = bundle.pathForResource(name, ofType: "json")! | ||
let data = NSData(contentsOfFile: path)! | ||
let dict: AnyObject? = try? NSJSONSerialization.JSONObjectWithData(data, | ||
options: NSJSONReadingOptions.MutableContainers) | ||
return dict! | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Uncomment this line to define a global platform for your project | ||
# platform :ios, '8.0' | ||
# Uncomment this line if you're using Swift | ||
use_frameworks! | ||
|
||
target 'GithubPilot' do | ||
pod 'Alamofire' | ||
end | ||
|
||
target 'GithubPilotTests' do | ||
pod 'Nocilla' | ||
pod 'GithubPilot', '~>0.1.1' | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
PODS: | ||
- Alamofire (3.2.0) | ||
- GithubPilot (0.1.1): | ||
- Alamofire (~> 3.0) | ||
- Nocilla (0.10.0) | ||
|
||
DEPENDENCIES: | ||
- Alamofire | ||
- GithubPilot (~> 0.1.1) | ||
- Nocilla | ||
|
||
SPEC CHECKSUMS: | ||
Alamofire: 4da478599fccddff361205c8929333d7fe18dceb | ||
GithubPilot: 03674649f3df996c717cfc24c7804bffb033620a | ||
Nocilla: ae0a2b05f3087b473624ac2b25903695df51246a | ||
|
||
COCOAPODS: 0.39.0 |
Oops, something went wrong.