|
1 | 1 | Pod::Spec.new do |s|
|
2 | 2 | s.name = 'InflectorKit'
|
3 | 3 | s.version = '0.0.1'
|
4 |
| - s.license = 'MIT' |
5 |
| - s.summary = 'Efficiently Singularize and Pluralize Strings.' |
| 4 | + s.license = { type: 'MIT', file: 'LICENSE' } |
| 5 | + s.summary = 'Get the singular and plural forms of English words.' |
6 | 6 | s.homepage = 'https://github.com/mattt/InflectorKit'
|
7 | 7 | s.social_media_url = 'https://twitter.com/mattt'
|
8 | 8 | s.authors = { 'Mattt' => '[email protected]' }
|
9 |
| - s.source = { :git => 'https://github.com/mattt/InflectorKit.git', :tag => '0.0.1' } |
10 |
| - s.source_files = 'Sources/InflectorKit' |
| 9 | + s.source = { git: 'https://github.com/mattt/InflectorKit.git', tag: "#{s.version}" } |
| 10 | + s.source_files = 'Sources/**/*.{swift,h,m}' |
| 11 | + s.public_header_files = [ |
| 12 | + 'Sources/InflectorKit/include/InflectorKit.h', |
| 13 | + 'Sources/InflectorKit/include/NSString+InflectorKit.h', |
| 14 | + 'Sources/InflectorKit/include/TTTStringInflector.h' |
| 15 | + ] |
11 | 16 | s.requires_arc = true
|
| 17 | + s.framework = "Foundation" |
| 18 | + s.pod_target_xcconfig = { |
| 19 | + 'APPLICATION_EXTENSION_API_ONLY' => 'YES', |
| 20 | + 'DEFINES_MODULE' => 'YES', |
| 21 | + 'ENABLE_BITCODE' => 'NO', |
| 22 | + 'ENABLE_TESTING_SEARCH_PATHS' => 'YES', |
| 23 | + 'OTHER_LDFLAGS' => '$(inherited) -Xlinker -no_application_extension', |
| 24 | + } |
| 25 | + |
| 26 | + s.ios.deployment_target = "9.0" |
| 27 | + s.osx.deployment_target = "10.10" |
| 28 | + s.tvos.deployment_target = '9.0' |
| 29 | + |
| 30 | + s.cocoapods_version = '>= 1.4.0' |
| 31 | + if s.respond_to?(:swift_versions) then |
| 32 | + s.swift_versions = ['5.0'] |
| 33 | + else |
| 34 | + s.swift_version = '5.0' |
| 35 | + end |
12 | 36 | end
|
0 commit comments