From 15dfcfef3ea5f964a2fb61baa1c787b3ede766fe Mon Sep 17 00:00:00 2001 From: Fabio Pelosin Date: Fri, 27 Jul 2012 17:52:12 +0200 Subject: [PATCH] [Fix] MWFeedParser. --- MWFeedParser/0.0.1/MWFeedParser.podspec | 38 ++++++++++++++++++------- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/MWFeedParser/0.0.1/MWFeedParser.podspec b/MWFeedParser/0.0.1/MWFeedParser.podspec index 694ae5c6..62435c5f 100644 --- a/MWFeedParser/0.0.1/MWFeedParser.podspec +++ b/MWFeedParser/0.0.1/MWFeedParser.podspec @@ -1,15 +1,31 @@ Pod::Spec.new do |s| - s.name = 'MWFeedParser' - s.version = '0.0.1' - s.license = 'MIT' - s.summary = 'An Objective-C RSS / Atom Feed Parser for iOS.' - s.homepage = 'https://github.com/mwaterfall/MWFeedParser' - s.author = { 'Michael Waterfall' => 'mw@d3i.com' } - s.source = { :git => 'https://github.com/mwaterfall/MWFeedParser.git', :commit => '0b1d301877c43c80e5fe5c7f294a2a34fa62f5a7' } - s.platform = :ios - - s.source_files = 'Classes' + s.name = 'MWFeedParser' + s.version = '0.0.1' + s.license = 'MIT' + s.summary = 'An Objective-C RSS / Atom Feed Parser for iOS.' + s.homepage = 'https://github.com/mwaterfall/MWFeedParser' + s.author = { 'Michael Waterfall' => 'mw@d3i.com' } + s.source = { :git => 'https://github.com/mwaterfall/MWFeedParser.git', :commit => '0b1d301877c43c80e5fe5c7f294a2a34fa62f5a7' } + s.platform = :ios + s.compiler_flags = '-Wno-format', '-Wno-format-extra-args' + s.framework = 'Foundation' - s.framework = 'Foundation' + s.subspec 'NSString+HTML' do |ss| + ss.source_files = 'Classes/NSString+HTML.{h,m}', 'Classes/GTMNSString+HTML.{h,m}' + end + s.subspec 'NSString+XMLEntities' do |ss| + ss.source_files = 'Classes/NSString+XMLEntities.h{h,m}' + dependencies = 'MWFeedParser/NSString+HTML' + end + + s.subspec 'NSDate+InternetDateTime' do |ss| + ss.source_files = 'Classes/NSDate+InternetDateTime.{h,m}' + end + + s.subspec 'Feed' do |ss| + ss.source_files = 'Classes/MWFeedInfo.{h,m}', 'Classes/MWFeedItem.{h,m}', 'Classes/MWFeedParser.{h,m}', 'Classes/MWFeedParser_Private.h' + dependency = 'NSString+XMLEntities' + dependency = 'NSDate+InternetDateTime' + end end