[Fix] MKNetworkKit

The hooks of 0.82 and 0.83 were removed because they reference a non existent
variable. The specs lint without them.
This commit is contained in:
Fabio Pelosin
2013-03-20 20:48:17 +01:00
parent 4cd38bef7e
commit 4bc4ff50e0
5 changed files with 0 additions and 38 deletions
-13
View File
@@ -16,21 +16,8 @@ Pod::Spec.new do |s|
s.prefix_header_contents = '#import "MKNetworkKit.h"'
def s.copy_header_mapping(from)
from.sub('MKNetworkKit/', '')
end
s.dependency 'Reachability', '~> 3.0'
def s.post_install(target)
# Fix an import statement which is used inconsistently in MKNetworkKit
# TODO create a ticket for this upstream
header = (pod_destroot + 'MKNetworkKit/MKNetworkKit.h')
header_contents = header.read.sub('Reachability/Reachability.h', 'Reachability.h')
header.open('w') do |file|
file.puts(header_contents)
end
end
s.license = { :type => 'MIT',
:text => 'MKNetworkKit is licensed under MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
-13
View File
@@ -16,21 +16,8 @@ Pod::Spec.new do |s|
s.prefix_header_contents = '#import "MKNetworkKit.h"'
def s.copy_header_mapping(from)
from.sub('MKNetworkKit/', '')
end
s.dependency 'Reachability', '~> 3.0'
def s.post_install(target)
# Fix an import statement which is used inconsistently in MKNetworkKit
# TODO create a ticket for this upstream
header = (pod_destroot + 'MKNetworkKit/MKNetworkKit.h')
header_contents = header.read.sub('Reachability/Reachability.h', 'Reachability.h')
header.open('w') do |file|
file.puts(header_contents)
end
end
s.license = { :type => 'MIT',
:text => 'MKNetworkKit is licensed under MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
-4
View File
@@ -14,10 +14,6 @@ Pod::Spec.new do |s|
s.requires_arc = true
def s.copy_header_mapping(from)
from.sub('MKNetworkKit/', '')
end
s.dependency 'Reachability', '~> 3.0'
s.license = { :type => 'MIT',
-4
View File
@@ -16,10 +16,6 @@ Pod::Spec.new do |s|
#s.prefix_header_contents = '#import "MKNetworkKit.h"'
def s.copy_header_mapping(from)
from.sub('MKNetworkKit/', '')
end
s.dependency 'Reachability', '~> 3.0'
s.license = { :type => 'MIT',
-4
View File
@@ -14,10 +14,6 @@ Pod::Spec.new do |s|
s.requires_arc = true
def s.copy_header_mapping(from)
from.sub('MKNetworkKit/', '')
end
s.dependency 'Reachability', '~> 3.1.0'
s.license = { :type => 'MIT',