Skip to content

Commit f7b1ce3

Browse files
author
Hadevs
committed
make containerable public
1 parent 4064135 commit f7b1ce3

File tree

3 files changed

+135
-1
lines changed

3 files changed

+135
-1
lines changed

SwiftInjector/Containerable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import Foundation
1010

11-
protocol Containerable: class {
11+
public protocol Containerable: class {
1212
typealias Object = AnyObject
1313
typealias ServiceName = String
1414
typealias Service = (() -> Object)

SwiftInjectorable.podspec

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
#
2+
# Be sure to run `pod spec lint SwiftInjector.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 https://guides.cocoapods.org/syntax/podspec.html
6+
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
7+
#
8+
9+
Pod::Spec.new do |spec|
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+
spec.swift_version = ['4.2', '5.0']
18+
spec.name = "SwiftInjectorable"
19+
spec.version = "0.0.1"
20+
spec.summary = "SwiftInjector - library for dependency injection, maden for convinient and fast properties connection."
21+
22+
# This description is used to generate tags and improve search results.
23+
# * Think: What does it do? Why did you write it? What is the focus?
24+
# * Try to keep it short, snappy and to the point.
25+
# * Write the description between the DESC delimiters below.
26+
# * Finally, don't worry about the indent, CocoaPods strips it!
27+
28+
spec.homepage = "https://github.com/Hadevs/SwiftInjector"
29+
# spec.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif"
30+
31+
32+
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
33+
#
34+
# Licensing your code is important. See https://choosealicense.com for more info.
35+
# CocoaPods will detect a license file if there is a named LICENSE*
36+
# Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'.
37+
#
38+
39+
spec.license = { :type => "MIT", :file => "LICENSE" }
40+
41+
42+
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
43+
#
44+
# Specify the authors of the library, with email addresses. Email addresses
45+
# of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also
46+
# accepts just a name if you'd rather not provide an email address.
47+
#
48+
# Specify a social_media_url where others can refer to, for example a twitter
49+
# profile URL.
50+
#
51+
52+
spec.author = { "Hadevs" => "[email protected]" }
53+
# Or just: spec.author = "Hadevs"
54+
# spec.authors = { "Hadevs" => "[email protected]" }
55+
spec.social_media_url = "https://www.danilkovalev.ru"
56+
57+
# ――― 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+
# spec.platform = :ios
64+
# spec.platform = :ios, "5.0"
65+
66+
# When using multiple platforms
67+
spec.ios.deployment_target = "10.0"
68+
# spec.osx.deployment_target = "10.7"
69+
# spec.watchos.deployment_target = "2.0"
70+
# spec.tvos.deployment_target = "9.0"
71+
72+
73+
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
74+
#
75+
# Specify the location from where the source should be retrieved.
76+
# Supports git, hg, bzr, svn and HTTP.
77+
#
78+
79+
spec.source = { :git => "https://github.com/Hadevs/SwiftInjector.git", :tag => "#{spec.version}" }
80+
81+
82+
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
83+
#
84+
# CocoaPods is smart about how it includes source code. For source files
85+
# giving a folder will include any swift, h, m, mm, c & cpp files.
86+
# For header files it will include any header in the folder.
87+
# Not including the public_header_files will make all headers public.
88+
#
89+
90+
spec.source_files = "SwiftInjector"
91+
# spec.exclude_files = "Classes/Exclude"
92+
93+
# spec.public_header_files = "Classes/**/*.h"
94+
95+
96+
# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
97+
#
98+
# A list of resources included with the Pod. These are copied into the
99+
# target bundle with a build phase script. Anything else will be cleaned.
100+
# You can preserve files from being cleaned, please don't preserve
101+
# non-essential files like tests, examples and documentation.
102+
#
103+
104+
# spec.resource = "icon.png"
105+
# spec.resources = "Resources/*.png"
106+
107+
# spec.preserve_paths = "FilesToSave", "MoreFilesToSave"
108+
109+
110+
# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
111+
#
112+
# Link your library with frameworks, or libraries. Libraries do not include
113+
# the lib prefix of their name.
114+
#
115+
116+
# spec.framework = "SomeFramework"
117+
# spec.frameworks = "SomeFramework", "AnotherFramework"
118+
119+
# spec.library = "iconv"
120+
# spec.libraries = "iconv", "xml2"
121+
122+
123+
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
124+
#
125+
# If your library depends on compiler flags you can set them in the xcconfig hash
126+
# where they will only apply to your library. If you depend on other Podspecs
127+
# you can include multiple dependencies to ensure it works.
128+
129+
# spec.requires_arc = true
130+
131+
# spec.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
132+
# spec.dependency "JSONKit", "~> 1.4"
133+
134+
end

0 commit comments

Comments
 (0)