forked from adamwaite/Validator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Validator.podspec
40 lines (36 loc) · 1.3 KB
/
Validator.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Pod::Spec.new do |s|
s.name = 'Validator'
s.platform = :ios
s.ios.deployment_target = '9.0'
s.tvos.deployment_target = '10.0'
s.swift_version = '5'
s.version = '3.2.1'
s.summary = 'Validator is a user input validation library written in Swift.'
s.description = <<-DESC
Validator is a user input validation library written in Swift.
Features:
[x] Validation rules:
[x] Required
[x] Equality
[x] Comparison
[x] Length (min, max, range)
[x] Pattern (email, password constraints and more...)
[x] Contains
[x] URL
[x] Payment card (Luhn validated, accepted types)
[x] Condition (quickly write your own)
[x] Swift standard library type extensions with one API (not just strings!)
[x] UIKit element extensions
[x] Open validation error types
[x] An open protocol-oriented implementation
[x] Comprehensive test coverage
[x] Comprehensive code documentation
DESC
s.homepage = 'https://github.com/adamwaite/Validator'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Adam Waite' => '[email protected]' }
s.social_media_url = 'http://twitter.com/AdamWaite'
s.source = { :git => 'https://github.com/adamwaite/Validator.git', :tag => 'v3.2.1' }
s.source_files = 'Validator', 'Validator/Sources/**/*.swift'
s.framework = 'UIKit'
end