diff --git a/BeappCache.podspec b/BeappCache.podspec
index 6d93357..5f42675 100644
--- a/BeappCache.podspec
+++ b/BeappCache.podspec
@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = 'BeappCache'
- s.version = '0.5'
+ s.version = '0.6'
s.summary = 'This library provides a cache mechanism relying on RxSwift'
# This description is used to generate tags and improve search results.
@@ -32,5 +32,5 @@ Pod::Spec.new do |s|
s.frameworks = 'Foundation'
s.dependency 'Cache', '~> 5.2.0'
s.dependency 'RxSwift', '~> 4.5' #for cache library
- s.dependency 'RxSwift', '~> 5.0'
+ s.dependency 'RxSwift', '~> 6.0'
end
diff --git a/Example/BeappCache.xcodeproj/project.pbxproj b/Example/BeappCache.xcodeproj/project.pbxproj
index bb87a5b..390a9d3 100644
--- a/Example/BeappCache.xcodeproj/project.pbxproj
+++ b/Example/BeappCache.xcodeproj/project.pbxproj
@@ -312,8 +312,6 @@
buildActionMask = 2147483647;
files = (
);
- inputFileListPaths = (
- );
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-BeappCache_Example/Pods-BeappCache_Example-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/BeappCache/BeappCache.framework",
@@ -321,8 +319,6 @@
"${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework",
);
name = "[CP] Embed Pods Frameworks";
- outputFileListPaths = (
- );
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/BeappCache.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Cache.framework",
diff --git a/Example/BeappCache.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/BeappCache.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..919434a
--- /dev/null
+++ b/Example/BeappCache.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/Example/BeappCache.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/BeappCache.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/Example/BeappCache.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/Example/BeappCache.xcodeproj/project.xcworkspace/xcuserdata/cederache.xcuserdatad/UserInterfaceState.xcuserstate b/Example/BeappCache.xcodeproj/project.xcworkspace/xcuserdata/cederache.xcuserdatad/UserInterfaceState.xcuserstate
new file mode 100644
index 0000000..b4df6d2
Binary files /dev/null and b/Example/BeappCache.xcodeproj/project.xcworkspace/xcuserdata/cederache.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/Example/BeappCache.xcworkspace/contents.xcworkspacedata b/Example/BeappCache.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..33088c6
--- /dev/null
+++ b/Example/BeappCache.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
diff --git a/Example/BeappCache.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Example/BeappCache.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/Example/BeappCache.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/Example/BeappCache.xcworkspace/xcuserdata/cederache.xcuserdatad/UserInterfaceState.xcuserstate b/Example/BeappCache.xcworkspace/xcuserdata/cederache.xcuserdatad/UserInterfaceState.xcuserstate
new file mode 100644
index 0000000..05eed74
Binary files /dev/null and b/Example/BeappCache.xcworkspace/xcuserdata/cederache.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/Example/BeappCache/ViewController.swift b/Example/BeappCache/ViewController.swift
index 3f1db0c..0975947 100644
--- a/Example/BeappCache/ViewController.swift
+++ b/Example/BeappCache/ViewController.swift
@@ -34,7 +34,7 @@ class ViewController: UIViewController {
.withAsync(singleString)
.withStrategy(.asyncOrCache)
.fetch()
- .observeOn(MainScheduler.instance)
+ .observe(on: MainScheduler.instance)
.subscribe(onNext: { (_) in
print("Success async request or data from cache")
}, onError: { (error) in
@@ -49,7 +49,7 @@ class ViewController: UIViewController {
.withAsync(singleString)
.withStrategy(.justAsync)
.fetch()
- .observeOn(MainScheduler.instance)
+ .observe(on: MainScheduler.instance)
.subscribe(onNext: { (_) in
print("Success async request")
}, onError: { (error) in
@@ -64,7 +64,7 @@ class ViewController: UIViewController {
.withAsync(singleString)
.withStrategy(.justCache)
.fetch()
- .observeOn(MainScheduler.instance)
+ .observe(on: MainScheduler.instance)
.subscribe(onNext: { (_) in
print("Success to get data from cache")
}, onError: { (error) in
diff --git a/Example/Tests/XCCache.swift b/Example/Tests/XCCache.swift
index c653b14..8cb0f71 100644
--- a/Example/Tests/XCCache.swift
+++ b/Example/Tests/XCCache.swift
@@ -37,7 +37,7 @@ class XCCache {
.withAsync(Single.just("Data for key \(key) is saved"))
.withStrategy(strategy)
.fetch()
- .observeOn(MainScheduler.instance)
+ .observe(on: MainScheduler.instance)
.subscribe(onNext: { (result) in
print("Data is created for key \(key)")
}, onError: { (error) in
@@ -54,7 +54,7 @@ class XCCache {
.withAsync(Single.just(String()))
.withStrategy(.justCache)
.fetch()
- .observeOn(MainScheduler.instance)
+ .observe(on: MainScheduler.instance)
.subscribe(onNext: { (keyValue) in
callBack(keyValue)
}, onError: { (error) in