Skip to content

Commit 3af591c

Browse files
committed
update podspec
1 parent b390728 commit 3af591c

File tree

2 files changed

+22
-124
lines changed

2 files changed

+22
-124
lines changed

GCD.podspec

+2-124
Original file line numberDiff line numberDiff line change
@@ -1,136 +1,14 @@
1-
#
2-
# Be sure to run `pod spec lint GCD.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-
91
Pod::Spec.new do |s|
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-
182
s.name = "GCD"
193
s.version = "0.1"
204
s.summary = "A wrapper of Grand Central Dispatch written in Swift"
21-
22-
s.description = <<-DESC
23-
A longer description of GCD in Markdown format.
24-
25-
* Think: Why did you write this? What is the focus? What does it do?
26-
* CocoaPods will be using this to generate tags, and improve search results.
27-
* Try to keep it short, snappy and to the point.
28-
* Finally, don't worry about the indent, CocoaPods strips it!
29-
DESC
30-
315
s.homepage = "https://github.com/nghialv/GCD"
32-
# s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
33-
34-
35-
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
36-
#
37-
# Licensing your code is important. See http://choosealicense.com for more info.
38-
# CocoaPods will detect a license file if there is a named LICENSE*
39-
# Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
40-
#
41-
42-
s.license = "MIT"
43-
# s.license = { :type => "MIT", :file => "FILE_LICENSE" }
44-
45-
46-
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
47-
#
48-
# Specify the authors of the library, with email addresses. Email addresses
49-
# of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
50-
# accepts just a name if you'd rather not provide an email address.
51-
#
52-
# Specify a social_media_url where others can refer to, for example a twitter
53-
# profile URL.
54-
#
55-
6+
s.license = { :type => "MIT", :file => "LICENSE" }
567
s.author = { "nghialv" => "[email protected]" }
57-
# Or just: s.author = "Le Van Nghia"
58-
# s.authors = { "Le Van Nghia" => "[email protected]" }
598
s.social_media_url = "https://twitter.com/nghialv2607"
60-
61-
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
62-
#
63-
# If this Pod runs only on iOS or OS X, then specify the platform and
64-
# the deployment target. You can optionally include the target after the platform.
65-
#
66-
679
s.platform = :ios
68-
# s.platform = :ios, "5.0"
69-
70-
# When using multiple platforms
7110
s.ios.deployment_target = "7.0"
72-
# s.osx.deployment_target = "10.7"
73-
74-
75-
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
76-
#
77-
# Specify the location from where the source should be retrieved.
78-
# Supports git, hg, bzr, svn and HTTP.
79-
#
80-
81-
s.source = { :git => "http://EXAMPLE/GCD.git", :tag => "0.1" }
82-
83-
84-
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
85-
#
86-
# CocoaPods is smart about how it includes source code. For source files
87-
# giving a folder will include any h, m, mm, c & cpp files. For header
88-
# files it will include any header in the folder.
89-
# Not including the public_header_files will make all headers public.
90-
#
91-
11+
s.source = { :git => "https://github.com/nghialv/GCD.git", :tag => "0.1" }
9212
s.source_files = "GCD.swift"
93-
#s.exclude_files = "Classes/Exclude"
94-
95-
# s.public_header_files = "Classes/**/*.h"
96-
97-
98-
# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
99-
#
100-
# A list of resources included with the Pod. These are copied into the
101-
# target bundle with a build phase script. Anything else will be cleaned.
102-
# You can preserve files from being cleaned, please don't preserve
103-
# non-essential files like tests, examples and documentation.
104-
#
105-
106-
# s.resource = "icon.png"
107-
# s.resources = "Resources/*.png"
108-
109-
# s.preserve_paths = "FilesToSave", "MoreFilesToSave"
110-
111-
112-
# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
113-
#
114-
# Link your library with frameworks, or libraries. Libraries do not include
115-
# the lib prefix of their name.
116-
#
117-
118-
# s.framework = "SomeFramework"
119-
# s.frameworks = "SomeFramework", "AnotherFramework"
120-
121-
# s.library = "iconv"
122-
# s.libraries = "iconv", "xml2"
123-
124-
125-
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
126-
#
127-
# If your library depends on compiler flags you can set them in the xcconfig hash
128-
# where they will only apply to your library. If you depend on other Podspecs
129-
# you can include multiple dependencies to ensure it works.
130-
13113
s.requires_arc = true
132-
133-
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
134-
# s.dependency "JSONKit", "~> 1.4"
135-
13614
end

LICENSE

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2014 Le Van Nghia
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software is furnished to do so,
10+
subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)