Skip to content

Instantly share code, notes, and snippets.

@ricobeck
Created April 2, 2015 09:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ricobeck/37e1ade3014f3c99c4f1 to your computer and use it in GitHub Desktop.
Save ricobeck/37e1ade3014f3c99c4f1 to your computer and use it in GitHub Desktop.
Moya 0.6.1 -> alamofire swift 1.2
Pod::Spec.new do |s|
s.name = "Moya"
s.version = "0.6.1"
s.summary = "Network abstraction layer written in Swift"
s.description = <<-EOS
Moya abstracts network commands using Swift Generics to provide developers
with more compile-time confidence.
A ReactiveCocoa extension exists as well. Instructions for its installation
are in [the README](https://github.com/ashfurrow/Moya).
EOS
s.homepage = "https://github.com/AshFurrow/Moya"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Ash Furrow" => "ash@ashfurrow.com" }
s.social_media_url = "http://twitter.com/ashfurrow"
s.platform = :ios, "8.0"
s.source = { :git => "https://github.com/ashfurrow/Moya.git", :branch => "swift-1.2" }
s.default_subspec = "Core"
s.requires_arc = true
s.subspec "Core" do |ss|
ss.source_files = "Moya.swift", "Endpoint.swift"
ss.dependency "Alamofire", :git => "https://github.com/Alamofire/Alamofire.git", :branch => "xcode-6.3"
ss.framework = "Foundation"
end
s.subspec "Reactive" do |ss|
ss.source_files = "Moya+ReactiveCocoa.swift", "RACSignal+Moya.swift"
ss.dependency "Moya/Core"
ss.dependency "ReactiveCocoa", "3.0.0-alpha.1"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment