Skip to content

Commit 726462d

Browse files
committed
Set podspec version to 4.2.0
1 parent 43b54c5 commit 726462d

File tree

2 files changed

+34
-18
lines changed

2 files changed

+34
-18
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Changelog
44
Version numbering represents the Swift version, plus a running number representing updates, fixes and new features at the same time.
55
You can also refer to commit logs to get details on what was implemented, fixed and improved.
66

7-
### Master
7+
### 4.2.0
88

99
- Swift 4.2 support.
1010
[djbe](https://github.com/djbe)

p2.OAuth2.podspec

Lines changed: 33 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
#
77

88
Pod::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'
3955
end

0 commit comments

Comments
 (0)