Skip to content

Commit

Permalink
Remove platform restriction and validate CocoaPod spec
Browse files Browse the repository at this point in the history
  • Loading branch information
oleander committed Jan 26, 2017
1 parent 2cdec29 commit 412df66
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0
5 changes: 2 additions & 3 deletions SwiftTryCatch.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Expand All @@ -25,7 +25,6 @@
*/

#import <Foundation/Foundation.h>
@import UIKit;

@interface SwiftTryCatch : NSObject

Expand Down
21 changes: 9 additions & 12 deletions SwiftTryCatch.podspec
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
Pod::Spec.new do |s|
s.name = "SwiftTryCatch"
s.version = "1.0.0"
s.summary = "Adds try/catch support for Swift."
s.homepage = "https://github.com/williamFalcon/SwiftTryCatch"
s.license = 'MIT'
s.author = { "William Falcon" => "[email protected]" }
s.source = { :git => "https://github.com/cfr/SwiftTryCatch.git",
:tag => 'master' }
s.platform = :ios, '7.0'
s.requires_arc = true
s.source_files = 'SwiftTryCatch.{h,m}'
s.name = 'SwiftTryCatch'
s.version = '1.0.0'
s.summary = 'Adds try-catch support for Swift'
s.description = s.summary + ' via CocoaPods'
s.homepage = 'https://github.com/williamFalcon/SwiftTryCatch'
s.license = 'MIT'
s.author = { 'William Falcon' => '[email protected]' }
s.source = { git: 'https://github.com/williamFalcon/SwiftTryCatch.git', branch: 'master' }
s.source_files = 'SwiftTryCatch.{h,m}'
end

0 comments on commit 412df66

Please sign in to comment.