-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathURLPatterns.podspec
22 lines (19 loc) · 1.19 KB
/
URLPatterns.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Pod::Spec.new do |s|
s.name = "URLPatterns"
s.version = "0.2.1"
s.summary = "A small library to enable more idiomatic Swift pattern matching of URL path elements."
s.description = <<-DESC
URLPatterns is a small library to enable more idiomatic Swift pattern matching of URL path elements.
`NSURL` is extended with the method `countedPathElements()`, which converts the URL's' array of path elements
into a `Counted` enum. Each case in `Counted` has a different number of associated values, which makes
pattern-matching each element easy, including wildcard, value-binding, begins and ends patterns.
DESC
s.homepage = "https://github.com/johnpatrickmorgan/URLPatterns"
s.license = 'MIT'
s.author = { "johnmorgan" => "[email protected]" }
s.source = { :git => "https://github.com/johnpatrickmorgan/URLPatterns.git", :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/jpmmusic'
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.10'
s.source_files = 'Sources/URLPatterns/**/*'
end