|
1 | | -# |
2 | | -# Be sure to run `pod spec lint TGPControls.podspec' to ensure this is a |
3 | | -# valid spec and to remove all comments including this before submitting the spec. |
4 | | -# |
5 | | -# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html |
6 | | -# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/ |
7 | | -# |
8 | | - |
9 | | -Pod::Spec.new do |s| |
| 1 | +Pod::Spec.new do |spec| |
10 | 2 |
|
11 | 3 | # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
12 | | - # |
13 | | - # These will help people to find your library, and whilst it |
14 | | - # can feel like a chore to fill in it's definitely to your advantage. The |
15 | | - # summary should be tweet-length, and the description more in depth. |
16 | | - # |
17 | | - |
18 | | - s.name = "TGPControls" |
19 | | - s.version = "3.0.0" |
20 | | - s.summary = "Custom Awesome iOS Controls: Animated discrete slider, animated labels" |
| 4 | + spec.name = "TGPControls" |
| 5 | + spec.version = "3.0.0" |
| 6 | + spec.summary = "Custom Awesome iOS Controls: Animated discrete slider, animated labels" |
21 | 7 |
|
22 | | - s.description = <<-DESC |
| 8 | + spec.description = <<-DESC |
23 | 9 | Provide an iOS looking UISlider with discrete, controlable steps |
24 | 10 | Provide dynamic, animated labels for discrete slider |
25 | 11 | Entirely compatible with UISlider |
26 | | -
|
27 | 12 | DESC |
28 | | - |
29 | | - s.homepage = "https://github.com/SwiftArchitect/TGPControls" |
30 | | - s.screenshots = "https://cloud.githubusercontent.com/assets/4073988/5912371/144aaf24-a588-11e4-9a22-42832eb2c235.gif", "https://cloud.githubusercontent.com/assets/4073988/5912454/15774398-a589-11e4-8f08-18c9c7b59871.gif", "https://cloud.githubusercontent.com/assets/4073988/6628373/183c7452-c8c2-11e4-9a63-107805bc0cc4.gif", "https://cloud.githubusercontent.com/assets/4073988/5912297/c3f21bb2-a586-11e4-8eb1-a1f930ccbdd5.gif" |
31 | | - |
| 13 | + spec.homepage = "https://github.com/SwiftArchitect/TGPControls" |
| 14 | + spec.screenshots = "https://cloud.githubusercontent.com/assets/4073988/5912371/144aaf24-a588-11e4-9a22-42832eb2c235.gif", "https://cloud.githubusercontent.com/assets/4073988/5912454/15774398-a589-11e4-8f08-18c9c7b59871.gif", "https://cloud.githubusercontent.com/assets/4073988/6628373/183c7452-c8c2-11e4-9a63-107805bc0cc4.gif", "https://cloud.githubusercontent.com/assets/4073988/5912297/c3f21bb2-a586-11e4-8eb1-a1f930ccbdd5.gif" |
32 | 15 |
|
33 | 16 | # ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
34 | | - # |
35 | | - # Licensing your code is important. See http://choosealicense.com for more info. |
36 | | - # CocoaPods will detect a license file if there is a named LICENSE* |
37 | | - # Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'. |
38 | | - # |
39 | | - |
40 | | - s.license = { :type => "MIT", :file => "TGPControls_License.txt" } |
41 | | - |
| 17 | + spec.license = { :type => "MIT", :file => "LICENSE" } |
42 | 18 |
|
43 | 19 | # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
44 | | - # |
45 | | - # Specify the authors of the library, with email addresses. Email addresses |
46 | | - # of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also |
47 | | - # accepts just a name if you'd rather not provide an email address. |
48 | | - # |
49 | | - # Specify a social_media_url where others can refer to, for example a twitter |
50 | | - # profile URL. |
51 | | - # |
52 | | - |
53 | | - s.author = { "Xavier Schott" => "http://swiftarchitect.com/swiftarchitect/" } |
54 | | - #s.social_media_url = "https://twitter.com/swiftarchitect" |
55 | | - |
| 20 | + spec.author = { "Xavier Schott" => "http://swiftarchitect.com/swiftarchitect/" } |
56 | 21 |
|
57 | 22 | # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
58 | | - # |
59 | | - # If this Pod runs only on iOS or OS X, then specify the platform and |
60 | | - # the deployment target. You can optionally include the target after the platform. |
61 | | - # |
62 | | - |
63 | | - s.platform = :ios |
64 | | - s.ios.deployment_target = '8.0' |
65 | | - s.requires_arc = true |
66 | | - |
| 23 | + spec.platform = :ios |
| 24 | + spec.ios.deployment_target = '8.0' |
| 25 | + spec.requires_arc = true |
67 | 26 |
|
68 | 27 | # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
69 | | - # |
70 | | - # Specify the location from where the source should be retrieved. |
71 | | - # Supports git, hg, bzr, svn and HTTP. |
72 | | - # |
73 | | - |
74 | | - s.source = { :git => "https://github.com/SwiftArchitect/TGPControls.git", :tag => "v3.0.0" } |
75 | | - |
76 | | - |
77 | | - # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
78 | | - # |
79 | | - # CocoaPods is smart about how it includes source code. For source files |
80 | | - # giving a folder will include any h, m, mm, c & cpp files. For header |
81 | | - # files it will include any header in the folder. |
82 | | - # Not including the public_header_files will make all headers public. |
83 | | - # |
84 | | - |
85 | | - s.source_files = "TGPControls/**/*.{swift}" |
86 | | - s.exclude_files = "TGPControlsDemo7/*", "TGPControlsDemo/*" |
| 28 | + spec.source = { :git => "https://github.com/SwiftArchitect/TGPControls.git", :tag => "v3.0.0" } |
| 29 | + spec.source_files = "TGPControls/**/*.{swift}" |
| 30 | + spec.exclude_files = "TGPControlsDemo7/*", "TGPControlsDemo/*" |
87 | 31 |
|
88 | 32 | # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
89 | | - # |
90 | | - # Link your library with frameworks, or libraries. Libraries do not include |
91 | | - # the lib prefix of their name. |
92 | | - # |
93 | | - |
94 | | - s.framework = "UIKit" |
95 | | - # s.framework = "SomeFramework" |
96 | | - # s.frameworks = "SomeFramework", "AnotherFramework" |
97 | | - |
98 | | - # s.library = "iconv" |
99 | | - # s.libraries = "iconv", "xml2" |
100 | | - |
101 | | - |
102 | | - # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
103 | | - # |
104 | | - # If your library depends on compiler flags you can set them in the xcconfig hash |
105 | | - # where they will only apply to your library. If you depend on other Podspecs |
106 | | - # you can include multiple dependencies to ensure it works. |
107 | | - |
108 | | - # s.requires_arc = true |
109 | | - |
110 | | - # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" } |
111 | | - # s.dependency "JSONKit", "~> 1.4" |
112 | | - |
| 33 | + spec.framework = "UIKit" |
113 | 34 |
|
114 | 35 | end |
0 commit comments