Skip to content

Commit 2c2e1d8

Browse files
author
Kacper
authored
SPM support and Signal extensions
1 parent 1bf1498 commit 2c2e1d8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1680
-863
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ language: swift
22
osx_image: xcode10
33

44
script:
5-
- xcodebuild test -workspace Futura.xcworkspace -scheme Futura -destination "platform=iOS Simulator,name=iPhone X" ONLY_ACTIVE_ARCH=NO
5+
- swift test -c release -v --sanitize=thread

Futura.podspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Pod::Spec.new do |s|
22

33
s.name = "Futura"
4-
s.version = "1.1.0"
5-
s.summary = "Simple yet powerful promise library in Swift"
6-
s.description = "Futura is a small library that provides simple yet powerful implementation of promises for iOS and macOS."
4+
s.version = "2.1.0"
5+
s.summary = "Asynchronous Swift made easy "
6+
s.description = "Futura is a library that provides simple yet powerful tools for working with asynchronous and concurrent code in Swift."
77
s.homepage = "https://www.miquido.com/"
88
s.license = { :type => "Apache 2.0", :file => "LICENSE" }
99
s.author = { "Kacper Kaliński" => "kacper.kalinski@miquido.com" }
1010
s.source = { :git => "https://github.com/miquido/futura.git", :tag => "#{s.version}" }
11-
s.source_files = "Futura/Futura/*.swift"
11+
s.source_files = "Sources/Futura/*.swift"
1212

1313
end
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<plist version="1.0">
3+
<dict>
4+
<key>CFBundleDevelopmentRegion</key>
5+
<string>en</string>
6+
<key>CFBundleExecutable</key>
7+
<string>$(EXECUTABLE_NAME)</string>
8+
<key>CFBundleIdentifier</key>
9+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
10+
<key>CFBundleInfoDictionaryVersion</key>
11+
<string>6.0</string>
12+
<key>CFBundleName</key>
13+
<string>$(PRODUCT_NAME)</string>
14+
<key>CFBundlePackageType</key>
15+
<string>BNDL</string>
16+
<key>CFBundleShortVersionString</key>
17+
<string>1.0</string>
18+
<key>CFBundleSignature</key>
19+
<string>????</string>
20+
<key>CFBundleVersion</key>
21+
<string>$(CURRENT_PROJECT_VERSION)</string>
22+
<key>NSPrincipalClass</key>
23+
<string></string>
24+
</dict>
25+
</plist>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<plist version="1.0">
3+
<dict>
4+
<key>CFBundleDevelopmentRegion</key>
5+
<string>en</string>
6+
<key>CFBundleExecutable</key>
7+
<string>$(EXECUTABLE_NAME)</string>
8+
<key>CFBundleIdentifier</key>
9+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
10+
<key>CFBundleInfoDictionaryVersion</key>
11+
<string>6.0</string>
12+
<key>CFBundleName</key>
13+
<string>$(PRODUCT_NAME)</string>
14+
<key>CFBundlePackageType</key>
15+
<string>BNDL</string>
16+
<key>CFBundleShortVersionString</key>
17+
<string>1.0</string>
18+
<key>CFBundleSignature</key>
19+
<string>????</string>
20+
<key>CFBundleVersion</key>
21+
<string>$(CURRENT_PROJECT_VERSION)</string>
22+
<key>NSPrincipalClass</key>
23+
<string></string>
24+
</dict>
25+
</plist>

Futura.xcodeproj/Futura_Info.plist

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<plist version="1.0">
3+
<dict>
4+
<key>CFBundleDevelopmentRegion</key>
5+
<string>en</string>
6+
<key>CFBundleExecutable</key>
7+
<string>$(EXECUTABLE_NAME)</string>
8+
<key>CFBundleIdentifier</key>
9+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
10+
<key>CFBundleInfoDictionaryVersion</key>
11+
<string>6.0</string>
12+
<key>CFBundleName</key>
13+
<string>$(PRODUCT_NAME)</string>
14+
<key>CFBundlePackageType</key>
15+
<string>FMWK</string>
16+
<key>CFBundleShortVersionString</key>
17+
<string>1.0</string>
18+
<key>CFBundleSignature</key>
19+
<string>????</string>
20+
<key>CFBundleVersion</key>
21+
<string>$(CURRENT_PROJECT_VERSION)</string>
22+
<key>NSPrincipalClass</key>
23+
<string></string>
24+
</dict>
25+
</plist>

Futura.xcodeproj/project.pbxproj

Lines changed: 746 additions & 0 deletions
Large diffs are not rendered by default.

Futura.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded</key>
6+
<false/>
7+
</dict>
8+
</plist>

Futura/Futura.xcodeproj/xcshareddata/xcschemes/Futura.xcscheme renamed to Futura.xcodeproj/xcshareddata/xcschemes/Futura-Package.xcscheme

Lines changed: 15 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1010"
3+
LastUpgradeVersion = "9999"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -14,7 +14,7 @@
1414
buildForAnalyzing = "YES">
1515
<BuildableReference
1616
BuildableIdentifier = "primary"
17-
BlueprintIdentifier = "404B948E215A351100640928"
17+
BlueprintIdentifier = "Futura::Futura"
1818
BuildableName = "Futura.framework"
1919
BlueprintName = "Futura"
2020
ReferencedContainer = "container:Futura.xcodeproj">
@@ -27,38 +27,37 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
enableThreadSanitizer = "YES"
30-
disableMainThreadChecker = "YES"
3130
codeCoverageEnabled = "YES"
3231
shouldUseLaunchSchemeArgsEnv = "YES">
3332
<Testables>
3433
<TestableReference
3534
skipped = "NO">
3635
<BuildableReference
3736
BuildableIdentifier = "primary"
38-
BlueprintIdentifier = "404B9497215A351100640928"
37+
BlueprintIdentifier = "Futura::FuturaTests"
3938
BuildableName = "FuturaTests.xctest"
4039
BlueprintName = "FuturaTests"
4140
ReferencedContainer = "container:Futura.xcodeproj">
4241
</BuildableReference>
4342
</TestableReference>
43+
<TestableReference
44+
skipped = "NO">
45+
<BuildableReference
46+
BuildableIdentifier = "primary"
47+
BlueprintIdentifier = "Futura::FuturaPerformanceTests"
48+
BuildableName = "FuturaPerformanceTests.xctest"
49+
BlueprintName = "FuturaPerformanceTests"
50+
ReferencedContainer = "container:Futura.xcodeproj">
51+
</BuildableReference>
52+
</TestableReference>
4453
</Testables>
45-
<MacroExpansion>
46-
<BuildableReference
47-
BuildableIdentifier = "primary"
48-
BlueprintIdentifier = "404B948E215A351100640928"
49-
BuildableName = "Futura.framework"
50-
BlueprintName = "Futura"
51-
ReferencedContainer = "container:Futura.xcodeproj">
52-
</BuildableReference>
53-
</MacroExpansion>
5454
<AdditionalOptions>
5555
</AdditionalOptions>
5656
</TestAction>
5757
<LaunchAction
58-
buildConfiguration = "Release"
58+
buildConfiguration = "Debug"
5959
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
6060
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
61-
disableMainThreadChecker = "YES"
6261
launchStyle = "0"
6362
useCustomWorkingDirectory = "NO"
6463
ignoresPersistentStateOnLaunch = "NO"
@@ -68,7 +67,7 @@
6867
<MacroExpansion>
6968
<BuildableReference
7069
BuildableIdentifier = "primary"
71-
BlueprintIdentifier = "404B948E215A351100640928"
70+
BlueprintIdentifier = "Futura::Futura"
7271
BuildableName = "Futura.framework"
7372
BlueprintName = "Futura"
7473
ReferencedContainer = "container:Futura.xcodeproj">
@@ -83,15 +82,6 @@
8382
savedToolIdentifier = ""
8483
useCustomWorkingDirectory = "NO"
8584
debugDocumentVersioning = "YES">
86-
<MacroExpansion>
87-
<BuildableReference
88-
BuildableIdentifier = "primary"
89-
BlueprintIdentifier = "404B948E215A351100640928"
90-
BuildableName = "Futura.framework"
91-
BlueprintName = "Futura"
92-
ReferencedContainer = "container:Futura.xcodeproj">
93-
</BuildableReference>
94-
</MacroExpansion>
9585
</ProfileAction>
9686
<AnalyzeAction
9787
buildConfiguration = "Debug">

Futura.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)