diff --git a/MKNetworkKit/0.82/MKNetworkKit.podspec b/MKNetworkKit/0.82/MKNetworkKit.podspec index 96cbf2bb..a68fd560 100644 --- a/MKNetworkKit/0.82/MKNetworkKit.podspec +++ b/MKNetworkKit/0.82/MKNetworkKit.podspec @@ -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 diff --git a/MKNetworkKit/0.83/MKNetworkKit.podspec b/MKNetworkKit/0.83/MKNetworkKit.podspec index 06a96975..7b740a38 100644 --- a/MKNetworkKit/0.83/MKNetworkKit.podspec +++ b/MKNetworkKit/0.83/MKNetworkKit.podspec @@ -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 diff --git a/MKNetworkKit/0.85.1/MKNetworkKit.podspec b/MKNetworkKit/0.85.1/MKNetworkKit.podspec index ba9055d9..fb836d37 100644 --- a/MKNetworkKit/0.85.1/MKNetworkKit.podspec +++ b/MKNetworkKit/0.85.1/MKNetworkKit.podspec @@ -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', diff --git a/MKNetworkKit/0.85/MKNetworkKit.podspec b/MKNetworkKit/0.85/MKNetworkKit.podspec index caaec6f1..914a9feb 100644 --- a/MKNetworkKit/0.85/MKNetworkKit.podspec +++ b/MKNetworkKit/0.85/MKNetworkKit.podspec @@ -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', diff --git a/MKNetworkKit/0.87/MKNetworkKit.podspec b/MKNetworkKit/0.87/MKNetworkKit.podspec index 61f3d237..1c5c10e9 100644 --- a/MKNetworkKit/0.87/MKNetworkKit.podspec +++ b/MKNetworkKit/0.87/MKNetworkKit.podspec @@ -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',