24 lines
1.3 KiB
Ruby
24 lines
1.3 KiB
Ruby
Pod::Spec.new do |s|
|
|
s.name = "TwistedOakCollapsingFutures"
|
|
s.version = "1.0.0"
|
|
s.summary = "Futures without nesting issues."
|
|
s.description = <<-DESC
|
|
Makes representing and consuming asynchronous results simpler.
|
|
|
|
* #import "CollapsingFutures.h"
|
|
* Eventual results and failures are represented as a TOCFuture.
|
|
* Produce and control a TOCFuture with a new TOCFutureSource.
|
|
* Hook work-to-eventually-do onto a future using then/catch/finally methods.
|
|
* Chain more work onto the future results of then/catch/finally.
|
|
* No need to track if a TOCFuture has a result of type TOCFuture: always automatically flattened.
|
|
* Cancel operations by giving them a TOCCancelToken controlled by a TOCCancelTokenSource.
|
|
DESC
|
|
s.homepage = "https://github.com/Strilanc/ObjC-CollapsingFutures"
|
|
s.license = { :type => 'BSD', :file => 'License.txt' }
|
|
s.author = { "Craig Gidney" => "craig.gidney@gmail.com" }
|
|
s.source = { :git => "https://github.com/Strilanc/ObjC-CollapsingFutures.git", :tag => "v1.0.0" }
|
|
s.source_files = 'src', 'src/**/*.{h,m}'
|
|
s.requires_arc = true
|
|
s.dependency 'UnionFind', '~> 1.0'
|
|
end
|