Skip to content

Commit ab5ffd4

Browse files
committed
RxNuke 1.0
1 parent c1da34c commit ab5ffd4

File tree

10 files changed

+30
-29
lines changed

10 files changed

+30
-29
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
[Changelog](https://github.com/kean/RxNuke/releases) for all versions
22

3+
## RxNuke 0.13.0
4+
5+
- Update to Nuke 9
6+
- Bump minimum platform version requirements. The minimum iOS version is now iOS 11 which is a 64-bit only system. This is great news if you are installing your dependencies using Carthage as Nuke is now going to compile twice as fast: no need to compile for `i386` and `armv7` anymore.
7+
38
## RxNuke 0.12.0
49

510
- Increase the minimum requirred RxSwift version to 5.1 - the version with hard-deprecated `UIWebView` APIs removed

Cartfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github "kean/Nuke" ~> 8.0
1+
github "kean/Nuke" ~> 9.0.0
22
github "ReactiveX/RxSwift" ~> 5.1.0

Cartfile.resolved

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github "ReactiveX/RxSwift" "5.1.0"
2-
github "kean/Nuke" "8.0.1"
1+
github "ReactiveX/RxSwift" "5.1.1"
2+
github "kean/Nuke" "8.4.1"

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ import PackageDescription
44
let package = Package(
55
name: "RxNuke",
66
platforms: [
7-
.macOS(.v10_12),
8-
.iOS(.v10),
9-
.tvOS(.v10),
10-
.watchOS(.v3)
7+
.macOS(.v10_13),
8+
.iOS(.v11),
9+
.tvOS(.v11),
10+
.watchOS(.v4)
1111
],
1212
products: [
1313
.library(name: "RxNuke", targets: ["RxNuke"]),
1414
],
1515
dependencies: [
1616
.package(
1717
url: "https://github.com/kean/Nuke.git",
18-
from: "8.0.0"
18+
from: "9.0.0"
1919
),
2020
.package(
2121
url: "https://github.com/ReactiveX/RxSwift.git",

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ final class ImageCell: UICollectionViewCell {
178178

179179
| RxNuke | Swift | Xcode | Platforms |
180180
|------------------|-----------------------|----------------------|----------------------------------------------------|
181+
| RxNuke 1.0 | Swift 5.1 | Xcode 11.0 | iOS 11.0 / watchOS 4.0 / macOS 10.13 / tvOS 11.0 |
181182
| RxNuke 0.8 | Swift 4.25.0 | Xcode 10.110.2 | iOS 10.0 / watchOS 3.0 / macOS 10.12 / tvOS 10.0 |
182183
| RxNuke 0.7 | Swift 4.04.2 | Xcode 9.210.1 | iOS 9.0 / watchOS 2.0 / macOS 10.10 / tvOS 9.0 |
183184

RxNuke.podspec

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'RxNuke'
3-
s.version = '0.12.0'
3+
s.version = '0.13.0'
44
s.summary = 'RxSwift extensions for Nuke'
55

66
s.homepage = 'https://github.com/kean/RxNuke'
@@ -9,14 +9,14 @@ Pod::Spec.new do |s|
99
s.source = { :git => 'https://github.com/kean/RxNuke.git', :tag => s.version.to_s }
1010
s.social_media_url = 'https://twitter.com/a_grebenyuk'
1111

12-
s.ios.deployment_target = '10.0'
13-
s.watchos.deployment_target = '3.0'
14-
s.osx.deployment_target = '10.12'
15-
s.tvos.deployment_target = '10.0'
12+
s.ios.deployment_target = '11.0'
13+
s.watchos.deployment_target = '4.0'
14+
s.osx.deployment_target = '10.13'
15+
s.tvos.deployment_target = '11.0'
1616

1717
s.module_name = "RxNuke"
1818

19-
s.dependency 'Nuke', '~> 8.0'
19+
s.dependency 'Nuke', '~> 9.0'
2020
s.dependency 'RxSwift', '~> 5.1.0'
2121

2222
s.source_files = 'Source/**/*'

RxNuke.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@
314314
INFOPLIST_FILE = "Supporting Files/Info.plist";
315315
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
316316
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
317-
MARKETING_VERSION = 0.12.0;
317+
MARKETING_VERSION = 0.13.0;
318318
PRODUCT_BUNDLE_IDENTIFIER = com.github.kean.RxNuke;
319319
PRODUCT_NAME = RxNuke;
320320
SKIP_INSTALL = YES;
@@ -339,7 +339,7 @@
339339
INFOPLIST_FILE = "Supporting Files/Info.plist";
340340
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
341341
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
342-
MARKETING_VERSION = 0.12.0;
342+
MARKETING_VERSION = 0.13.0;
343343
PRODUCT_BUNDLE_IDENTIFIER = com.github.kean.RxNuke;
344344
PRODUCT_NAME = RxNuke;
345345
SKIP_INSTALL = YES;

Source/RxNuke.swift

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ public extension Reactive where Base: ImagePipeline {
2424
/// image was found in memory cache.
2525
func loadImage(with request: ImageRequest) -> Single<ImageResponse> {
2626
return Single<ImageResponse>.create { single in
27-
if let image = self.cachedResponse(for: request) {
28-
single(.success(image)) // return synchronously
27+
if let image = self.base.cachedImage(for: request) {
28+
single(.success(ImageResponse(container: image))) // return synchronously
2929
return Disposables.create() // nop
3030
} else {
3131
let task = self.base.loadImage(with: request) { result in
@@ -40,9 +40,4 @@ public extension Reactive where Base: ImagePipeline {
4040
}
4141
}
4242
}
43-
44-
private func cachedResponse(for request: ImageRequest) -> ImageResponse? {
45-
guard request.options.memoryCacheOptions.isReadAllowed else { return nil }
46-
return base.configuration.imageCache?.cachedResponse(for: request)
47-
}
4843
}

Supporting Files/RxNuke.xcconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ SUPPORTED_PLATFORMS = iphoneos macosx appletvos watchos iphonesimulator appletvs
66

77
SWIFT_VERSION = 5.0
88

9-
IPHONEOS_DEPLOYMENT_TARGET = 10.0
10-
MACOSX_DEPLOYMENT_TARGET = 10.12
11-
TVOS_DEPLOYMENT_TARGET = 10.0
12-
WATCHOS_DEPLOYMENT_TARGET = 3.0
9+
IPHONEOS_DEPLOYMENT_TARGET = 11.0
10+
MACOSX_DEPLOYMENT_TARGET = 10.13
11+
TVOS_DEPLOYMENT_TARGET = 11.0
12+
WATCHOS_DEPLOYMENT_TARGET = 4.0
1313

1414
FRAMEWORK_SEARCH_PATHS[sdk=appletvos*] = $(PROJECT_DIR)/Carthage/Build/tvOS
1515
FRAMEWORK_SEARCH_PATHS[sdk=appletvsimulator*] = $(PROJECT_DIR)/Carthage/Build/tvOS

0 commit comments

Comments
 (0)