66#
77
88Pod ::Spec . new do |s |
9- s . name = " p2.OAuth2"
10- s . version = "4.0.1"
11- s . summary = " OAuth2 framework for macOS, iOS and tvOS, written in Swift."
9+ s . name = ' p2.OAuth2'
10+ s . version = '4.2.0'
11+ s . summary = ' OAuth2 framework for macOS, iOS and tvOS, written in Swift.'
1212 s . description = <<-DESC
1313 OAuth2 frameworks for macOS, iOS and tvOS written in Swift.
1414
@@ -19,21 +19,37 @@ Pod::Spec.new do |s|
1919 Start with `import p2_OAuth2` in your source files. Code documentation is available from within
2020 Xcode (ALT + click on symbols) and on [p2.github.io/OAuth2/](http://p2.github.io/OAuth2/).
2121 DESC
22- s . homepage = "https://github.com/p2/OAuth2"
23- s . documentation_url = "http://p2.github.io/OAuth2/"
24- s . license = "Apache 2"
25- s . author = { "Pascal Pfiffner" => "[email protected] " } 26- s . source = { :git => "https://github.com/p2/OAuth2.git" , :tag => "#{ s . version } " , :submodules => true }
22+ s . homepage = 'https://github.com/p2/OAuth2'
23+ s . documentation_url = 'http://p2.github.io/OAuth2/'
24+ s . license = 'Apache 2'
25+ s . author = {
26+ 'Pascal Pfiffner' => '[email protected] ' 27+ }
2728
28- s . ios . deployment_target = "8.0"
29- s . osx . deployment_target = "10.10"
30- s . tvos . deployment_target = "9.0"
31- s . pod_target_xcconfig = { "OTHER_SWIFT_FLAGS" => "-DNO_MODULE_IMPORT -DNO_KEYCHAIN_IMPORT" }
29+ s . source = {
30+ :git => 'https://github.com/p2/OAuth2.git' ,
31+ :tag => s . version . to_s ,
32+ :submodules => true
33+ }
34+ s . swift_version = '4.2'
35+ s . cocoapods_version = '>= 1.4.0'
3236
33- s . source_files = "SwiftKeychain/Keychain/*.swift" , "Sources/Base/*.swift" , "Sources/Flows/*.swift" , "Sources/DataLoader/*.swift"
34- s . ios . source_files = "Sources/iOS/*.swift"
35- s . osx . source_files = "Sources/macOS/*.swift"
36- s . tvos . source_files = "Sources/tvOS/*.swift"
37+ s . ios . deployment_target = '8.0'
38+ s . osx . deployment_target = '10.10'
39+ s . tvos . deployment_target = '9.0'
40+ s . pod_target_xcconfig = {
41+ 'OTHER_SWIFT_FLAGS' => '-DNO_MODULE_IMPORT -DNO_KEYCHAIN_IMPORT'
42+ }
3743
38- s . ios . framework = "SafariServices"
44+ s . source_files = [
45+ 'SwiftKeychain/Keychain/*.swift' ,
46+ 'Sources/Base/*.swift' ,
47+ 'Sources/Flows/*.swift' ,
48+ 'Sources/DataLoader/*.swift'
49+ ]
50+ s . ios . source_files = 'Sources/iOS/*.swift'
51+ s . osx . source_files = 'Sources/macOS/*.swift'
52+ s . tvos . source_files = 'Sources/tvOS/*.swift'
53+
54+ s . ios . framework = 'SafariServices'
3955end
0 commit comments