31 lines
1.5 KiB
Ruby
31 lines
1.5 KiB
Ruby
Pod::Spec.new do |s|
|
|
s.name = "Dip"
|
|
s.version = "3.1.0"
|
|
s.summary = "A simple Dependency Resolver: Dependency Injection using Protocol resolution."
|
|
|
|
s.description = <<-DESC
|
|
Dip is a Swift framework to manage your Dependencies between your classes
|
|
in your app using Dependency Injection.
|
|
|
|
It's aimed to be very simple to use while improving testability
|
|
of your app by allowing you to get rid of those sharedInstances and instead
|
|
inject values based on protocol resolution.
|
|
|
|
Define your API using a protocol, then ask Dip to resolve this protocol into
|
|
an instance dynamically in your classes. Then your App and your Tests can be
|
|
configured to resolve the protocol using a different instance or class so this
|
|
improve testability by decoupling the API and the concrete class used to implement it.
|
|
DESC
|
|
|
|
s.homepage = "https://github.com/AliSoftware/Dip"
|
|
s.license = 'MIT'
|
|
s.authors = { "Olivier Halligon" => "olivier@halligon.net", "Ilya Puchka" => "ilya@puchka.me" }
|
|
s.source = { :git => "https://github.com/AliSoftware/Dip.git", :tag => s.version.to_s }
|
|
s.social_media_url = 'https://twitter.com/aligatr'
|
|
|
|
s.platform = :ios, '8.0'
|
|
s.requires_arc = true
|
|
|
|
s.source_files = 'Dip/Dip/**/*'
|
|
end
|