mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-04-24 04:05:16 +08:00
Move references to old url (#1652)
This commit is contained in:
@@ -11,7 +11,7 @@ import Foundation
|
||||
enum Constants {
|
||||
|
||||
enum URLs {
|
||||
static let repository = "https://github.com/rnystrom/GitHawk/"
|
||||
static let repository = "https://github.com/GitHawkApp/GitHawk/"
|
||||
static let website = "http://www.githawk.com/"
|
||||
static let blog = "http://blog.githawk.com/"
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ class ReactionTests: XCTestCase {
|
||||
|
||||
private static func createReactionViewModel(users _users: [String]) -> ReactionViewModel {
|
||||
let count = _users.count
|
||||
let users: [String] // the logic below mimicks the users.count capping at 3: https://github.com/rnystrom/GitHawk/issues/541#issuecomment-336378078
|
||||
let users: [String] // the logic below mimicks the users.count capping at 3: https://github.com/GitHawkApp/GitHawk/issues/541#issuecomment-336378078
|
||||
if _users.count > 3 {
|
||||
users = Array(_users.prefix(3))
|
||||
} else {
|
||||
|
||||
@@ -2,10 +2,10 @@ Pod::Spec.new do |spec|
|
||||
spec.name = 'GitHubAPI'
|
||||
spec.version = '0.1.0'
|
||||
spec.license = { :type => 'MIT' }
|
||||
spec.homepage = 'https://github.com/rnystrom/githawk'
|
||||
spec.homepage = 'https://github.com/GitHawkApp/githawk'
|
||||
spec.authors = { 'Ryan Nystrom' => 'rnystrom@whoisryannystrom.com' }
|
||||
spec.summary = '.'
|
||||
spec.source = { :git => 'https://github.com/rnystrom/githawk/githawk.git', :tag => '#{s.version}' }
|
||||
spec.source = { :git => 'https://github.com/GitHawkApp/githawk/githawk.git', :tag => '#{s.version}' }
|
||||
spec.source_files = 'GitHubAPI/*.swift'
|
||||
spec.platform = :ios, '10.0'
|
||||
spec.dependency 'Alamofire', '~> 4.4.0'
|
||||
|
||||
@@ -2,10 +2,10 @@ Pod::Spec.new do |spec|
|
||||
spec.name = 'GitHubSession'
|
||||
spec.version = '0.1.0'
|
||||
spec.license = { :type => 'MIT' }
|
||||
spec.homepage = 'https://github.com/rnystrom/githawk'
|
||||
spec.homepage = 'https://github.com/GitHawkApp/githawk'
|
||||
spec.authors = { 'Ryan Nystrom' => 'rnystrom@whoisryannystrom.com' }
|
||||
spec.summary = '.'
|
||||
spec.source = { :git => 'https://github.com/rnystrom/githawk/githawk.git', :tag => spec.version.to_s }
|
||||
spec.source = { :git => 'https://github.com/GitHawkApp/githawk/githawk.git', :tag => spec.version.to_s }
|
||||
spec.source_files = 'GitHubSession/*.swift'
|
||||
spec.platform = :ios, '11.0'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user