Skip to content

Commit

Permalink
Add podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
rnapier committed Jan 1, 2014
1 parent 3990635 commit eccbd4a
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
41 changes: 41 additions & 0 deletions RNPinnedCertValidator.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Pod::Spec.new do |s|

# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
#
# These will help people to find your library, and whilst it
# can feel like a chore to fill in it's definitely to your advantage. The
# summary should be tweet-length, and the description more in depth.
#

s.name = "RNPinnedCertValidator"
s.version = "1.0.0"
s.summary = "Simplify validating pinned SSL certificates."

s.description = <<-DESC
RNPinnedCertValidator simplifies validating "pinned" SSL
certificates. A pinned certificate means that your app
only trusts a specific list of certificates rather than
the entire trusted root store for the device. This
improves security by limiting the number of trusted
certificates, and frustrates attacks that modify the
trusted root store.
DESC

s.homepage = "http://github.com/rnapier/RNPinnedCertValidator"
s.license = 'MIT (example)'

s.author = { "Rob Napier" => "[email protected]" }
s.social_media_url = "http://twitter.com/cocoaphony"

s.platform = :ios, '7.0'


s.source = { :git => "https://github.com/rnapier/RNPinnedCertValidator.git", :tag => "1.0.0" }

s.source_files = 'RNPinnedCertValidator'

s.framework = 'Security'

s.requires_arc = true

end
1 change: 0 additions & 1 deletion RNPinnedCertValidatorTests/RNPinnedCertValidatorTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ - (void)tearDown {

- (NSString *)certPathForName:(NSString *)name {
return [[NSBundle bundleForClass:[self class]] pathForResource:name ofType:@"cer"];

}

- (NSString *)goodCertPath {
Expand Down

0 comments on commit eccbd4a

Please sign in to comment.