From fcf4a94d8e0cdd4e312286668340609bb54ff417 Mon Sep 17 00:00:00 2001
From: Srdan Rasic <srdan.rasic@gmail.com>
Date: Sat, 13 Oct 2018 09:39:34 +0200
Subject: [PATCH] Update to Swift 4.2

---
 .swift-version                        | 2 +-
 ReactiveKit.podspec                   | 4 ++--
 ReactiveKit.xcodeproj/project.pbxproj | 4 +++-
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/.swift-version b/.swift-version
index 5186d07..bf77d54 100644
--- a/.swift-version
+++ b/.swift-version
@@ -1 +1 @@
-4.0
+4.2
diff --git a/ReactiveKit.podspec b/ReactiveKit.podspec
index ea4c77f..b29b4ff 100644
--- a/ReactiveKit.podspec
+++ b/ReactiveKit.podspec
@@ -1,12 +1,12 @@
 Pod::Spec.new do |s|
   s.name             = "ReactiveKit"
-  s.version          = "3.9.6"
+  s.version          = "3.9.7"
   s.summary          = "A Swift Reactive Programming Framework"
   s.description      = "ReactiveKit is a Swift framework for reactive and functional reactive programming."
   s.homepage         = "https://github.com/DeclarativeHub/ReactiveKit"
   s.license          = 'MIT'
   s.author           = { "Srdan Rasic" => "srdan.rasic@gmail.com" }
-  s.source           = { :git => "https://github.com/DeclarativeHub/ReactiveKit.git", :tag => "v3.9.6" }
+  s.source           = { :git => "https://github.com/DeclarativeHub/ReactiveKit.git", :tag => "v3.9.7" }
 
   s.ios.deployment_target       = '8.0'
   s.osx.deployment_target       = '10.9'
diff --git a/ReactiveKit.xcodeproj/project.pbxproj b/ReactiveKit.xcodeproj/project.pbxproj
index 41f36bb..e4c15f7 100644
--- a/ReactiveKit.xcodeproj/project.pbxproj
+++ b/ReactiveKit.xcodeproj/project.pbxproj
@@ -411,7 +411,7 @@
 					};
 					16C33B231BEFBA0100A0DBE0 = {
 						CreatedOnToolsVersion = 7.1;
-						LastSwiftMigration = 0800;
+						LastSwiftMigration = 1000;
 					};
 					ECBCCDCF1BEB6B9A00723476 = {
 						CreatedOnToolsVersion = 7.1;
@@ -724,6 +724,7 @@
 				SDKROOT = macosx;
 				SKIP_INSTALL = YES;
 				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+				SWIFT_VERSION = 4.2;
 			};
 			name = Debug;
 		};
@@ -746,6 +747,7 @@
 				SDKROOT = macosx;
 				SKIP_INSTALL = YES;
 				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+				SWIFT_VERSION = 4.2;
 			};
 			name = Release;
 		};