[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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user