8
8
9
9
Pod ::Spec . new do |s |
10
10
11
- # ――― 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
11
s . name = "PHDiff"
19
- s . version = "1.0.6 "
12
+ s . version = "1.0.7 "
20
13
s . summary = "Lightning fast array diff implementation, works great with UITableView/UICollectionView updates."
21
14
22
15
# This description is used to generate tags and improve search results.
@@ -34,98 +27,18 @@ Pod::Spec.new do |s|
34
27
35
28
s . homepage = "https://github.com/andre-alves/PHDiff"
36
29
37
-
38
- # ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
39
- #
40
- # Licensing your code is important. See http://choosealicense.com for more info.
41
- # CocoaPods will detect a license file if there is a named LICENSE*
42
- # Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
43
- #
44
-
45
30
s . license = { :type => "MIT" , :file => "LICENSE" }
46
31
47
-
48
- # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
49
- #
50
- # Specify the authors of the library, with email addresses. Email addresses
51
- # of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
52
- # accepts just a name if you'd rather not provide an email address.
53
- #
54
- # Specify a social_media_url where others can refer to, for example a twitter
55
- # profile URL.
56
- #
57
-
58
- s . author = { "André Alves" => "[email protected] " }
59
-
60
- # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
61
- #
62
- # If this Pod runs only on iOS or OS X, then specify the platform and
63
- # the deployment target. You can optionally include the target after the platform.
64
- #
32
+ s . author = { "André Alves" => "[email protected] " }
65
33
66
34
# When using multiple platforms
67
35
s . ios . deployment_target = "8.0"
68
36
s . osx . deployment_target = '10.11'
69
-
70
- # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
71
- #
72
- # Specify the location from where the source should be retrieved.
73
- # Supports git, hg, bzr, svn and HTTP.
74
- #
37
+ s . tvos . deployment_target = '9.0'
38
+ s . watchos . deployment_target = '2.0'
75
39
76
40
s . source = { :git => "https://github.com/andre-alves/PHDiff.git" , :tag => s . version . to_s }
77
41
78
-
79
- # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
80
- #
81
- # CocoaPods is smart about how it includes source code. For source files
82
- # giving a folder will include any swift, h, m, mm, c & cpp files.
83
- # For header files it will include any header in the folder.
84
- # Not including the public_header_files will make all headers public.
85
- #
86
-
87
- s . source_files = "PHDiff/PHDiff/**/*.swift"
88
- # s.exclude_files = "Classes/Exclude"
89
-
90
- # s.public_header_files = "Classes/**/*.h"
91
-
92
-
93
- # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
94
- #
95
- # A list of resources included with the Pod. These are copied into the
96
- # target bundle with a build phase script. Anything else will be cleaned.
97
- # You can preserve files from being cleaned, please don't preserve
98
- # non-essential files like tests, examples and documentation.
99
- #
100
-
101
- # s.resource = "icon.png"
102
- # s.resources = "Resources/*.png"
103
-
104
- # s.preserve_paths = "FilesToSave", "MoreFilesToSave"
105
-
106
-
107
- # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
108
- #
109
- # Link your library with frameworks, or libraries. Libraries do not include
110
- # the lib prefix of their name.
111
- #
112
-
113
- # s.framework = "SomeFramework"
114
- # s.frameworks = "SomeFramework", "AnotherFramework"
115
-
116
- # s.library = "iconv"
117
- # s.libraries = "iconv", "xml2"
118
-
119
-
120
- # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
121
- #
122
- # If your library depends on compiler flags you can set them in the xcconfig hash
123
- # where they will only apply to your library. If you depend on other Podspecs
124
- # you can include multiple dependencies to ensure it works.
125
-
126
- # s.requires_arc = true
127
-
128
- # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
129
- # s.dependency "JSONKit", "~> 1.4"
42
+ s . source_files = 'Sources/*.swift'
130
43
131
44
end
0 commit comments