From 6d8184892d43a0f1342b6760bc37c7ac5e155d5b Mon Sep 17 00:00:00 2001 From: Leah Culver Date: Fri, 26 Sep 2014 14:11:00 -0700 Subject: [PATCH] Podspec for CocoaPods. Fixes #10 --- zxcvbn-ios.podspec | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 zxcvbn-ios.podspec diff --git a/zxcvbn-ios.podspec b/zxcvbn-ios.podspec new file mode 100644 index 0000000..a4ac37d --- /dev/null +++ b/zxcvbn-ios.podspec @@ -0,0 +1,25 @@ +Pod::Spec.new do |s| + s.name = "zxcvbn-ios" + s.version = "1.0.1" + s.summary = "A realistic password strength estimator." + s.description = <<-DESC + An obj-c port of zxcvbn, a password strength estimation library, + designed for iOS. + + DBZxcvbn attempts to give sound password advice through pattern + matching and conservative entropy calculations. It finds 10k common + passwords, common American names and surnames, common English words, + and common patterns like dates, repeats (aaa), sequences (abcd), + and QWERTY patterns. + DESC + s.homepage = "https://github.com/dropbox/zxcvbn-ios" + s.screenshots = "https://raw.githubusercontent.com/dropbox/zxcvbn-ios/master/Zxcvbn/zxcvbn-example.png" + s.license = "MIT" + s.author = { "Leah Culver" => "leah@dropbox.com" } + s.platform = :ios, "7.0" + s.source = { :git => "https://github.com/dropbox/zxcvbn-ios.git", :tag => "v1.0.1"} + s.source_files = "Zxcvbn/**/*.{h,m}" + s.exclude_files = "Zxcvbn/main.m", "Zxcvbn/DBAppDelegate.{h,m}", "Zxcvbn/DBCreateAccountViewController.{h,m}" + s.resources = "Zxcvbn/Zxcvbn/generated/*.json" + s.requires_arc = true +end