Skip to content

Commit

Permalink
[CleanUp] Updated more specs for FileList 3
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiopelosin committed May 16, 2013
1 parent 6141686 commit 707c4e0
Show file tree
Hide file tree
Showing 42 changed files with 146 additions and 248 deletions.
6 changes: 3 additions & 3 deletions MKNetworkKit/0.82/MKNetworkKit.podspec
Expand Up @@ -6,9 +6,9 @@ Pod::Spec.new do |s|
s.author = { 'Mugunth Kumar' => 'mugunth@steinlogic.com' }
s.source = { :git => 'https://github.com/MugunthKumar/MKNetworkKit.git', :tag => 'v0.82' }

files = FileList['MKNetworkKit/*.{h,m}', 'MKNetworkKit/Categories/*.{h,m}']
s.ios.source_files = files.dup.exclude(/NSAlert/)
s.osx.source_files = files.dup.exclude(/UIAlertView/)
s.source_files = 'MKNetworkKit/*.{h,m}', 'MKNetworkKit/Categories/*.{h,m}'
s.ios.exclude_files = '**/*NSAlert*'
s.osx.exclude_files = '**/*UIAlertView*'
s.ios.frameworks = 'CFNetwork', 'Security'
s.osx.frameworks = 'CoreServices', 'Security'

Expand Down
6 changes: 3 additions & 3 deletions MKNetworkKit/0.83/MKNetworkKit.podspec
Expand Up @@ -6,9 +6,9 @@ Pod::Spec.new do |s|
s.author = { 'Mugunth Kumar' => 'mugunth@steinlogic.com' }
s.source = { :git => 'https://github.com/MugunthKumar/MKNetworkKit.git', :tag => 'v0.83' }

files = FileList['MKNetworkKit/*.{h,m}', 'MKNetworkKit/Categories/*.{h,m}']
s.ios.source_files = files.dup.exclude(/NSAlert/)
s.osx.source_files = files.dup.exclude(/UIAlertView/)
s.source_files = 'MKNetworkKit/*.{h,m}', 'MKNetworkKit/Categories/*.{h,m}'
s.ios.exclude_files = '**/*NSAlert*'
s.osx.exclude_files = '**/*UIAlertView*'
s.ios.frameworks = 'CFNetwork', 'Security'
s.osx.frameworks = 'CoreServices', 'Security'

Expand Down
39 changes: 0 additions & 39 deletions MKNetworkKit/0.85.1/MKNetworkKit.podspec

This file was deleted.

6 changes: 3 additions & 3 deletions MKNetworkKit/0.85/MKNetworkKit.podspec
Expand Up @@ -6,9 +6,9 @@ Pod::Spec.new do |s|
s.author = { 'Mugunth Kumar' => 'mugunth@steinlogic.com' }
s.source = { :git => 'https://github.com/MugunthKumar/MKNetworkKit.git', :tag => 'v0.85' }

files = FileList['MKNetworkKit/*.{h,m}', 'MKNetworkKit/Categories/*.{h,m}']
s.ios.source_files = files.dup.exclude(/NSAlert/)
s.osx.source_files = files.dup.exclude(/UIAlertView/)
s.source_files = 'MKNetworkKit/*.{h,m}', 'MKNetworkKit/Categories/*.{h,m}'
s.ios.exclude_files = '**/*NSAlert*'
s.osx.exclude_files = '**/*UIAlertView*'
s.ios.frameworks = 'CFNetwork', 'Security'
s.osx.frameworks = 'CoreServices', 'Security'

Expand Down
6 changes: 3 additions & 3 deletions MKNetworkKit/0.87/MKNetworkKit.podspec
Expand Up @@ -6,9 +6,9 @@ Pod::Spec.new do |s|
s.author = { 'Mugunth Kumar' => 'mugunth@steinlogic.com' }
s.source = { :git => 'https://github.com/MugunthKumar/MKNetworkKit.git', :tag => '0.87' }

files = FileList['MKNetworkKit/*.{h,m}', 'MKNetworkKit/Categories/*.{h,m}']
s.ios.source_files = files.dup.exclude(/NSAlert/)
s.osx.source_files = files.dup.exclude(/UIAlertView/)
s.source_files = 'MKNetworkKit/*.{h,m}', 'MKNetworkKit/Categories/*.{h,m}'
s.ios.exclude_files = '**/*NSAlert*'
s.osx.exclude_files = '**/*UIAlertView*'
s.ios.frameworks = 'CFNetwork', 'Security'
s.osx.frameworks = 'CoreServices', 'Security'

Expand Down
5 changes: 3 additions & 2 deletions MapBox/0.4.0/MapBox.podspec
Expand Up @@ -71,7 +71,8 @@ Pod::Spec.new do |m|

m.subspec 'Proj4' do |p|
p.platform = :ios, '4.0'
p.source_files = FileList['Proj4/*.{h,c}'].exclude(/nad2nad/)
p.source_files = 'Proj4/*.{h,c}'
p.exclude_files = 'Proj4/**/*nad2nad*'
end

end
end
5 changes: 3 additions & 2 deletions MapBox/0.4.1/MapBox.podspec
Expand Up @@ -71,7 +71,8 @@ Pod::Spec.new do |m|

m.subspec 'Proj4' do |p|
p.platform = :ios, '4.0'
p.source_files = FileList['Proj4/*.{h,c}'].exclude(/nad2nad/)
p.source_files = 'Proj4/*.{h,c}'
p.exclude_files = 'Proj4/**/*nad2nad*'
end

end
end
5 changes: 3 additions & 2 deletions MapBox/0.4.2/MapBox.podspec
Expand Up @@ -71,7 +71,8 @@ Pod::Spec.new do |m|

m.subspec 'Proj4' do |p|
p.platform = :ios, '4.0'
p.source_files = FileList['Proj4/*.{h,c}'].exclude(/nad2nad/)
p.source_files = 'Proj4/*.{h,c}'
p.exclude_files = 'Proj4/**/*nad2nad*'
end

end
end
5 changes: 3 additions & 2 deletions MapBox/0.4.3/MapBox.podspec
Expand Up @@ -71,7 +71,8 @@ Pod::Spec.new do |m|

m.subspec 'Proj4' do |p|
p.platform = :ios, '4.0'
p.source_files = FileList['Proj4/*.{h,c}'].exclude(/nad2nad/)
p.source_files = 'Proj4/*.{h,c}'
p.exclude_files = 'Proj4/**/*nad2nad*'
end

end
end
11 changes: 0 additions & 11 deletions Rakefile
Expand Up @@ -66,21 +66,10 @@ PODS_ALLOWED_TO_FAIL = {
'vfrReader',
],

# Many of these just need to the support for dashes introduced in CP 0.17
"The version should be included in the Git tag." => [
'iOS-Hierarchy-Viewer',
],

"Rake::FileList is deprecated, use `exclude_files` (source_files)." => [
"libsodium",
"MapBox",
"MAZeroingWeakRef",
"MKNetworkKit",
"ReactiveCocoa",
"SinglySDK",
"TwUI",
"UrbanAirship-iOS-SDK",
],
}


Expand Down
6 changes: 3 additions & 3 deletions ReactiveCocoa/0.0.1/ReactiveCocoa.podspec
Expand Up @@ -13,9 +13,9 @@ Pod::Spec.new do |s|
"4. A unified, high-level interface for asynchronous operations.\n" \
"5. A lovely API on top of KVO.\n"

files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']
s.ios.source_files = files.dup.exclude(/NSButton/, /AppKit/)
s.osx.source_files = files.dup.exclude(/UIControl/, /UITextField/)
s.source_files = 'ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}'
s.ios.exclude_files = '**/*{NSButton,AppKit}*'
s.osx.exclude_files = '**/*{UIControl,UITextField}*'
s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'
s.requires_arc = true
end
13 changes: 6 additions & 7 deletions ReactiveCocoa/0.10.0/ReactiveCocoa.podspec
Expand Up @@ -16,11 +16,11 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.ios.deployment_target = '5.0'
s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'

s.subspec 'Core' do |sp|
files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']
sp.ios.source_files = files.dup.exclude(/NSButton/, /AppKit/)
sp.osx.source_files = files.dup.exclude(/UIControl/, /UIText/, /Event/, /DelegateProxy/)
s.source_files = 'ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}'
s.ios.exclude_files = '**/*{NSButton,AppKit}*'
s.osx.exclude_files = '**/*{UIControl,UIText,Event,DelegateProxy}*'
sp.header_dir = 'ReactiveCocoa'

sp.dependency 'JRSwizzle', '~> 1.0'
Expand All @@ -30,9 +30,8 @@ Pod::Spec.new do |s|
end

s.subspec 'RACExtensions' do |sp|
files = FileList['RACExtensions/*.{h,m}']
sp.ios.source_files = files.dup.exclude(/NSTask/)
sp.osx.source_files = files
sp.source_files = 'RACExtensions/*.{h,m}'
sp.ios.exclude_files = '**/*{NSTask}*'
sp.dependency 'ReactiveCocoa/Core'
end

Expand Down
15 changes: 7 additions & 8 deletions ReactiveCocoa/0.12.0/ReactiveCocoa.podspec
Expand Up @@ -16,11 +16,11 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.ios.deployment_target = '5.0'
s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'

s.subspec 'Core' do |sp|
files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']
sp.ios.source_files = files.dup.exclude(/NSButton/, /AppKit/)
sp.osx.source_files = files.dup.exclude(/UIControl/, /UIText/, /Event/, /DelegateProxy/)
s.source_files = 'ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}'
s.ios.exclude_files = '**/*{NSButton,AppKit}*'
s.osx.exclude_files = '**/*{UIControl,UIText,Event,DelegateProxy}*'
sp.header_dir = 'ReactiveCocoa'

sp.dependency 'JRSwizzle', '~> 1.0'
Expand All @@ -30,9 +30,8 @@ Pod::Spec.new do |s|
end

s.subspec 'RACExtensions' do |sp|
files = FileList['RACExtensions/*.{h,m}']
sp.ios.source_files = files.dup.exclude(/NSTask/)
sp.osx.source_files = files
sp.source_files = 'RACExtensions/*.{h,m}'
sp.ios.exclude_files = '**/*{NSTask}*'
sp.dependency 'ReactiveCocoa/Core'
end

Expand All @@ -43,4 +42,4 @@ Pod::Spec.new do |s|
contents = contents.gsub('ReactiveCocoa/EXTKeyPathCoding.h', 'EXTKeyPathCoding.h')
File.open(header, 'w') { |file| file.puts(contents) }
end
end
end
13 changes: 6 additions & 7 deletions ReactiveCocoa/0.13.1/ReactiveCocoa.podspec
Expand Up @@ -18,9 +18,9 @@ Pod::Spec.new do |s|
s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'

s.subspec 'Core' do |sp|
files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']
sp.ios.source_files = files.dup.exclude(/NSButton/, /AppKit/)
sp.osx.source_files = files.dup.exclude(/UIControl/, /UIText/, /Event/, /DelegateProxy/)
s.source_files = 'ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}'
s.ios.exclude_files = '**/*{NSButton,AppKit}*'
s.osx.exclude_files = '**/*{UIControl,UIText,Event,DelegateProxy}*'
sp.header_dir = 'ReactiveCocoa'

sp.dependency 'JRSwizzle', '~> 1.0'
Expand All @@ -30,9 +30,8 @@ Pod::Spec.new do |s|
end

s.subspec 'RACExtensions' do |sp|
files = FileList['RACExtensions/*.{h,m}']
sp.ios.source_files = files.dup.exclude(/NSTask/)
sp.osx.source_files = files
sp.source_files = 'RACExtensions/*.{h,m}'
sp.ios.exclude_files = '**/*{NSTask}*'
sp.dependency 'ReactiveCocoa/Core'
end

Expand All @@ -43,4 +42,4 @@ Pod::Spec.new do |s|
contents = contents.gsub('ReactiveCocoa/EXTKeyPathCoding.h', 'EXTKeyPathCoding.h')
File.open(header, 'w') { |file| file.puts(contents) }
end
end
end
11 changes: 5 additions & 6 deletions ReactiveCocoa/0.16.1/ReactiveCocoa.podspec
Expand Up @@ -18,9 +18,9 @@ Pod::Spec.new do |s|
s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'

s.subspec 'Core' do |sp|
files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']
sp.ios.source_files = files.dup.exclude(/NSButton/, /AppKit/)
sp.osx.source_files = files.dup.exclude(/UIControl/, /UIText/, /RACEventTrampoline/, /RACDelegateProxy/)
s.source_files = 'ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}'
s.ios.exclude_files = '**/*{NSButton,AppKit}*'
s.osx.exclude_files = '**/*{UIControl,UIText,RACEventTrampoline,RACDelegateProxy}*'
sp.header_dir = 'ReactiveCocoa'

sp.dependency 'JRSwizzle', '~> 1.0'
Expand All @@ -30,9 +30,8 @@ Pod::Spec.new do |s|
end

s.subspec 'RACExtensions' do |sp|
files = FileList['RACExtensions/*.{h,m}']
sp.ios.source_files = files.dup.exclude(/NSTask/)
sp.osx.source_files = files
sp.source_files = 'RACExtensions/*.{h,m}'
sp.ios.exclude_files = '**/*{NSTask}*'
sp.dependency 'ReactiveCocoa/Core'
end

Expand Down
11 changes: 5 additions & 6 deletions ReactiveCocoa/0.17.1/ReactiveCocoa.podspec
Expand Up @@ -19,9 +19,9 @@ Pod::Spec.new do |s|
s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'

s.subspec 'Core' do |sp|
files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']
sp.ios.source_files = files.dup.exclude(/NSButton/, /AppKit/)
sp.osx.source_files = files.dup.exclude(/UIControl/, /UIText/, /RACEventTrampoline/, /RACDelegateProxy/)
s.source_files = 'ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}'
s.ios.exclude_files = '**/*{NSButton,AppKit}*'
s.osx.exclude_files = '**/*{UIControl,UIText,RACEventTrampoline,RACDelegateProxy}*'
sp.header_dir = 'ReactiveCocoa'

sp.dependency 'JRSwizzle', '~> 1.0'
Expand All @@ -31,9 +31,8 @@ Pod::Spec.new do |s|
end

s.subspec 'RACExtensions' do |sp|
files = FileList['RACExtensions/*.{h,m}']
sp.ios.source_files = files.dup.exclude(/NSTask/)
sp.osx.source_files = files
sp.source_files = 'RACExtensions/*.{h,m}'
sp.ios.exclude_files = '**/*{NSTask}*'
sp.dependency 'ReactiveCocoa/Core'
end

Expand Down
6 changes: 3 additions & 3 deletions ReactiveCocoa/0.5.0/ReactiveCocoa.podspec
Expand Up @@ -13,9 +13,9 @@ Pod::Spec.new do |s|
"4. A unified, high-level interface for asynchronous operations.\n" \
"5. A lovely API on top of KVO.\n"

files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']
s.ios.source_files = files.dup.exclude(/NSButton/, /AppKit/)
s.osx.source_files = files.dup.exclude(/UIControl/, /UITextField/)
s.source_files = 'ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}'
s.ios.exclude_files = '**/*{NSButton,AppKit}*'
s.osx.exclude_files = '**/*{UIControl,UITextField}*'
s.requires_arc = true
s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'
end
6 changes: 3 additions & 3 deletions ReactiveCocoa/0.6.0/ReactiveCocoa.podspec
Expand Up @@ -13,9 +13,9 @@ Pod::Spec.new do |s|
"4. A unified, high-level interface for asynchronous operations.\n" \
"5. A lovely API on top of KVO.\n"

files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']
s.ios.source_files = files.dup.exclude(/NSButton/, /AppKit/,/NSTask/)
s.osx.source_files = files.dup.exclude(/UIControl/, /UIText/, /Event/, /DelegateProxy/)
s.source_files = 'ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}'
s.ios.exclude_files = '**/*{NSButton,AppKit,NSTask}*'
s.osx.exclude_files = '**/*{UIControl,UIText,Event,DelegateProxy}*'
s.requires_arc = true
s.dependency 'JRSwizzle', '~> 1.0'
s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'
Expand Down
11 changes: 5 additions & 6 deletions ReactiveCocoa/0.8.0/ReactiveCocoa.podspec
Expand Up @@ -17,19 +17,18 @@ Pod::Spec.new do |s|
s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'

s.subspec 'Core' do |sp|
files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']
sp.ios.source_files = files.dup.exclude(/NSButton/, /AppKit/)
sp.osx.source_files = files.dup.exclude(/UIControl/, /UIText/, /Event/, /DelegateProxy/)
s.source_files = 'ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}'
s.ios.exclude_files = '**/*{NSButton,AppKit}*'
s.osx.exclude_files = '**/*{UIControl,UIText,Event,DelegateProxy}*'
sp.header_dir = 'ReactiveCocoa'

sp.dependency 'JRSwizzle', '~> 1.0'
sp.dependency 'libextobjc/EXTConcreteProtocol', '~> 0.1.0'
end

s.subspec 'RACExtensions' do |sp|
files = FileList['RACExtensions/*.{h,m}']
sp.ios.source_files = files.dup.exclude(/NSTask/)
sp.osx.source_files = files
sp.source_files = 'RACExtensions/*.{h,m}'
sp.ios.exclude_files = '**/*{NSTask}*'
sp.dependency 'ReactiveCocoa/Core'
end
end
11 changes: 5 additions & 6 deletions ReactiveCocoa/0.9.0/ReactiveCocoa.podspec
Expand Up @@ -18,9 +18,9 @@ Pod::Spec.new do |s|
s.compiler_flags = '-DOS_OBJECT_USE_OBJC=0'

s.subspec 'Core' do |sp|
files = FileList['ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}']
sp.ios.source_files = files.dup.exclude(/NSButton/, /AppKit/)
sp.osx.source_files = files.dup.exclude(/UIControl/, /UIText/, /Event/, /DelegateProxy/)
s.source_files = 'ReactiveCocoaFramework/ReactiveCocoa/*.{h,m}'
s.ios.exclude_files = '**/*{NSButton,AppKit}*'
s.osx.exclude_files = '**/*{UIControl,UIText,Event,DelegateProxy}*'
sp.header_dir = 'ReactiveCocoa'

sp.dependency 'JRSwizzle', '~> 1.0'
Expand All @@ -30,9 +30,8 @@ Pod::Spec.new do |s|
end

s.subspec 'RACExtensions' do |sp|
files = FileList['RACExtensions/*.{h,m}']
sp.ios.source_files = files.dup.exclude(/NSTask/)
sp.osx.source_files = files
sp.source_files = 'RACExtensions/*.{h,m}'
sp.ios.exclude_files = '**/*{NSTask}*'
sp.dependency 'ReactiveCocoa/Core'
end

Expand Down

0 comments on commit 707c4e0

Please sign in to comment.