Skip to content

Commit a193df7

Browse files
committed
chore: RxSwift 6 ready
BREAKING CHANGE: RxSwift 6
1 parent 16858a7 commit a193df7

File tree

14 files changed

+317
-454
lines changed

14 files changed

+317
-454
lines changed

Cartfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
github "ReactiveX/RxSwift" ~> 5.1
1+
github "ReactiveX/RxSwift" "6.0.0"
22
github "Alamofire/Alamofire" ~> 5.4

Cartfile.resolved

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
github "Alamofire/Alamofire" "5.4.0"
1+
github "Alamofire/Alamofire" "5.4.1"
22
github "AliSoftware/OHHTTPStubs" "9.1.0"
3-
github "ReactiveX/RxSwift" "5.1.1"
3+
github "ReactiveX/RxSwift" "6.0.0"

Examples/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ end
99
def common_tests
1010
pod "OHHTTPStubs", "~> 9.1"
1111
pod "OHHTTPStubs/Swift", "~> 9.1"
12-
pod "RxBlocking", "~> 5.1"
12+
pod "RxBlocking", "~> 6.0"
1313
end
1414

1515
target "RxAlamofireDemo-iOS" do

Examples/Podfile.lock

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
PODS:
2-
- Alamofire (5.4.0)
3-
- RxAlamofire/Core (5.0.0):
2+
- Alamofire (5.4.1)
3+
- RxAlamofire/Core (5.7.1):
44
- Alamofire (~> 5.4)
5-
- RxSwift (~> 5.1)
6-
- RxAlamofire/RxCocoa (5.0.0):
5+
- RxSwift (~> 6.0)
6+
- RxAlamofire/RxCocoa (5.7.1):
77
- RxAlamofire/Core
8-
- RxCocoa (~> 5.1)
9-
- RxCocoa (5.1.1):
10-
- RxRelay (~> 5)
11-
- RxSwift (~> 5)
12-
- RxRelay (5.1.1):
13-
- RxSwift (~> 5)
14-
- RxSwift (5.1.1)
8+
- RxCocoa (~> 6.0)
9+
- RxCocoa (6.0.0):
10+
- RxRelay (= 6.0.0)
11+
- RxSwift (= 6.0.0)
12+
- RxRelay (6.0.0):
13+
- RxSwift (= 6.0.0)
14+
- RxSwift (6.0.0)
1515

1616
DEPENDENCIES:
1717
- RxAlamofire/RxCocoa (from `../`)
@@ -28,12 +28,12 @@ EXTERNAL SOURCES:
2828
:path: "../"
2929

3030
SPEC CHECKSUMS:
31-
Alamofire: 3b6a534a3df22db367e4dedeeca73d1ddfcf0e2f
32-
RxAlamofire: 94b1d6c9d4cada13fad706f6ca0df777ba25427a
33-
RxCocoa: 32065309a38d29b5b0db858819b5bf9ef038b601
34-
RxRelay: d77f7d771495f43c556cbc43eebd1bb54d01e8e9
35-
RxSwift: 81470a2074fa8780320ea5fe4102807cb7118178
31+
Alamofire: 2291f7d21ca607c491dd17642e5d40fdcda0e65c
32+
RxAlamofire: 2dbdd68051f7e7779fdd2b7bda9b93ac1e533a19
33+
RxCocoa: 3f79328fafa3645b34600f37c31e64c73ae3a80e
34+
RxRelay: 8d593be109c06ea850df027351beba614b012ffb
35+
RxSwift: c14e798c59b9f6e9a2df8fd235602e85cc044295
3636

37-
PODFILE CHECKSUM: 9140f995889a245f4d0dc5f05c91c276c4aa4d63
37+
PODFILE CHECKSUM: a7610a5168228508e279f8c77f56aa8c67f26640
3838

3939
COCOAPODS: 1.10.0

Examples/RxAlamofireDemo-iOS/MasterViewController.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class MasterViewController: UIViewController, UITextFieldDelegate {
5858
self?.toTextField.text = "\(rate * fromValue)"
5959
}, onError: { [weak self] e in
6060
self?.displayError(e as NSError)
61-
})
61+
})
6262
.disposed(by: disposeBag)
6363
}
6464

@@ -213,17 +213,17 @@ class MasterViewController: UIViewController, UITextFieldDelegate {
213213

214214
let postInfo = NSMutableString()
215215
if let postDict = postJSON as? [String: AnyObject],
216-
let commentsArray = commentsJSON as? [[String: AnyObject]],
217-
let postTitle = postDict["title"] as? String,
218-
let postBody = postDict["body"] as? String {
216+
let commentsArray = commentsJSON as? [[String: AnyObject]],
217+
let postTitle = postDict["title"] as? String,
218+
let postBody = postDict["body"] as? String {
219219
postInfo.append("Title: ")
220220
postInfo.append(postTitle)
221221
postInfo.append("\n\n")
222222
postInfo.append(postBody)
223223
postInfo.append("\n\n\nComments:\n")
224224
for comment in commentsArray {
225225
if let email = comment["email"] as? String,
226-
let body = comment["body"] as? String {
226+
let body = comment["body"] as? String {
227227
postInfo.append(email)
228228
postInfo.append(": ")
229229
postInfo.append(body)
@@ -236,7 +236,7 @@ class MasterViewController: UIViewController, UITextFieldDelegate {
236236
}, onError: { e in
237237
self.dummyDataTextView.text = "An Error Occurred"
238238
self.displayError(e as NSError)
239-
}).disposed(by: disposeBag)
239+
}).disposed(by: disposeBag)
240240
}
241241

242242
// MARK: - Utils

Examples/RxAlamofireDemo.xcodeproj/project.pbxproj

Lines changed: 70 additions & 62 deletions
Large diffs are not rendered by default.

Gemfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
source 'https://rubygems.org'
22

3-
gem 'cocoapods', '~> 1.9'
3+
gem 'cocoapods', '~> 1.10'
44
gem 'danger', '~> 8.0'
55
gem 'danger-swiftlint', '~> 0.20'
6-
gem 'jazzy', '~> 0.13'
7-
gem 'xcov', '~> 1.7.3'
8-
gem 'danger-xcov', '~> 0.5'
6+
gem 'jazzy', '~> 0.13'

Gemfile.lock

Lines changed: 16 additions & 168 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,6 @@ GEM
1313
httpclient (~> 2.8, >= 2.8.3)
1414
json (>= 1.5.1)
1515
atomos (0.1.3)
16-
aws-eventstream (1.1.0)
17-
aws-partitions (1.402.0)
18-
aws-sdk-core (3.110.0)
19-
aws-eventstream (~> 1, >= 1.0.2)
20-
aws-partitions (~> 1, >= 1.239.0)
21-
aws-sigv4 (~> 1.1)
22-
jmespath (~> 1.0)
23-
aws-sdk-kms (1.39.0)
24-
aws-sdk-core (~> 3, >= 3.109.0)
25-
aws-sigv4 (~> 1.1)
26-
aws-sdk-s3 (1.86.0)
27-
aws-sdk-core (~> 3, >= 3.109.0)
28-
aws-sdk-kms (~> 1)
29-
aws-sigv4 (~> 1.1)
30-
aws-sigv4 (1.2.2)
31-
aws-eventstream (~> 1, >= 1.0.2)
32-
babosa (1.0.4)
3316
claide (1.0.3)
3417
claide-plugins (0.9.2)
3518
cork
@@ -72,10 +55,7 @@ GEM
7255
nap (>= 0.8, < 2.0)
7356
netrc (~> 0.11)
7457
cocoapods-try (1.2.0)
75-
colored (1.2)
7658
colored2 (3.1.2)
77-
commander-fastlane (4.4.6)
78-
highline (~> 1.7.2)
7959
concurrent-ruby (1.1.7)
8060
cork (0.3.0)
8161
colored2 (~> 3.1)
@@ -96,107 +76,24 @@ GEM
9676
danger
9777
rake (> 10)
9878
thor (~> 0.19)
99-
danger-xcov (0.5.0)
100-
danger (>= 2.1)
101-
xcov (>= 1.7.3)
102-
declarative (0.0.20)
103-
declarative-option (0.1.0)
104-
digest-crc (0.6.1)
105-
rake (~> 13.0)
106-
domain_name (0.5.20190701)
107-
unf (>= 0.0.5, < 1.0.0)
108-
dotenv (2.7.6)
109-
emoji_regex (3.2.1)
11079
escape (0.0.4)
11180
ethon (0.12.0)
11281
ffi (>= 1.3.0)
113-
excon (0.78.1)
114-
faraday (1.1.0)
82+
faraday (1.3.0)
83+
faraday-net_http (~> 1.0)
11584
multipart-post (>= 1.2, < 3)
11685
ruby2_keywords
117-
faraday-cookie_jar (0.0.7)
118-
faraday (>= 0.8.0)
119-
http-cookie (~> 1.0.0)
12086
faraday-http-cache (2.2.0)
12187
faraday (>= 0.8)
122-
faraday_middleware (1.0.0)
123-
faraday (~> 1.0)
124-
fastimage (2.2.0)
125-
fastlane (2.170.0)
126-
CFPropertyList (>= 2.3, < 4.0.0)
127-
addressable (>= 2.3, < 3.0.0)
128-
aws-sdk-s3 (~> 1.0)
129-
babosa (>= 1.0.3, < 2.0.0)
130-
bundler (>= 1.12.0, < 3.0.0)
131-
colored
132-
commander-fastlane (>= 4.4.6, < 5.0.0)
133-
dotenv (>= 2.1.1, < 3.0.0)
134-
emoji_regex (>= 0.1, < 4.0)
135-
excon (>= 0.71.0, < 1.0.0)
136-
faraday (~> 1.0)
137-
faraday-cookie_jar (~> 0.0.6)
138-
faraday_middleware (~> 1.0)
139-
fastimage (>= 2.1.0, < 3.0.0)
140-
gh_inspector (>= 1.1.2, < 2.0.0)
141-
google-api-client (>= 0.37.0, < 0.39.0)
142-
google-cloud-storage (>= 1.15.0, < 2.0.0)
143-
highline (>= 1.7.2, < 2.0.0)
144-
json (< 3.0.0)
145-
jwt (>= 2.1.0, < 3)
146-
mini_magick (>= 4.9.4, < 5.0.0)
147-
multipart-post (~> 2.0.0)
148-
plist (>= 3.1.0, < 4.0.0)
149-
rubyzip (>= 2.0.0, < 3.0.0)
150-
security (= 0.1.3)
151-
simctl (~> 1.6.3)
152-
slack-notifier (>= 2.0.0, < 3.0.0)
153-
terminal-notifier (>= 2.0.0, < 3.0.0)
154-
terminal-table (>= 1.4.5, < 2.0.0)
155-
tty-screen (>= 0.6.3, < 1.0.0)
156-
tty-spinner (>= 0.8.0, < 1.0.0)
157-
word_wrap (~> 1.0.0)
158-
xcodeproj (>= 1.13.0, < 2.0.0)
159-
xcpretty (~> 0.3.0)
160-
xcpretty-travis-formatter (>= 0.0.3)
161-
ffi (1.13.1)
88+
faraday-net_http (1.0.0)
89+
ffi (1.14.2)
16290
fourflusher (2.3.1)
16391
fuzzy_match (2.0.4)
16492
gh_inspector (1.1.3)
165-
git (1.7.0)
93+
git (1.8.1)
16694
rchardet (~> 1.8)
167-
google-api-client (0.38.0)
168-
addressable (~> 2.5, >= 2.5.1)
169-
googleauth (~> 0.9)
170-
httpclient (>= 2.8.1, < 3.0)
171-
mini_mime (~> 1.0)
172-
representable (~> 3.0)
173-
retriable (>= 2.0, < 4.0)
174-
signet (~> 0.12)
175-
google-cloud-core (1.5.0)
176-
google-cloud-env (~> 1.0)
177-
google-cloud-errors (~> 1.0)
178-
google-cloud-env (1.4.0)
179-
faraday (>= 0.17.3, < 2.0)
180-
google-cloud-errors (1.0.1)
181-
google-cloud-storage (1.29.1)
182-
addressable (~> 2.5)
183-
digest-crc (~> 0.4)
184-
google-api-client (~> 0.33)
185-
google-cloud-core (~> 1.2)
186-
googleauth (~> 0.9)
187-
mini_mime (~> 1.0)
188-
googleauth (0.14.0)
189-
faraday (>= 0.17.3, < 2.0)
190-
jwt (>= 1.4, < 3.0)
191-
memoist (~> 0.16)
192-
multi_json (~> 1.11)
193-
os (>= 0.9, < 2.0)
194-
signet (~> 0.14)
195-
highline (1.7.10)
196-
http-cookie (1.0.3)
197-
domain_name (~> 0.5)
19895
httpclient (2.8.3)
199-
i18n (1.8.5)
96+
i18n (1.8.6)
20097
concurrent-ruby (~> 1.0)
20198
jazzy (0.13.6)
20299
cocoapods (~> 1.5)
@@ -207,82 +104,47 @@ GEM
207104
sassc (~> 2.1)
208105
sqlite3 (~> 1.3)
209106
xcinvoke (~> 0.3.0)
210-
jmespath (1.4.0)
211-
json (2.3.1)
212-
jwt (2.2.2)
107+
json (2.5.1)
213108
kramdown (2.3.0)
214109
rexml
215110
kramdown-parser-gfm (1.1.0)
216111
kramdown (~> 2.0)
217112
liferaft (0.0.6)
218-
memoist (0.16.2)
219-
mini_magick (4.11.0)
220-
mini_mime (1.0.2)
221113
minitest (5.14.2)
222114
molinillo (0.6.6)
223-
multi_json (1.15.0)
224-
multipart-post (2.0.0)
115+
multipart-post (2.1.1)
225116
mustache (1.1.1)
226117
nanaimo (0.3.0)
227118
nap (1.1.0)
228-
naturally (2.2.0)
229119
netrc (0.11.0)
230120
no_proxy_fix (0.1.2)
231-
octokit (4.19.0)
121+
octokit (4.20.0)
232122
faraday (>= 0.9)
233123
sawyer (~> 0.8.0, >= 0.5.3)
234124
open4 (1.3.4)
235-
os (1.1.1)
236-
plist (3.5.0)
237125
public_suffix (4.0.6)
238-
rake (13.0.1)
126+
rake (13.0.3)
239127
rchardet (1.8.0)
240-
redcarpet (3.5.0)
241-
representable (3.0.4)
242-
declarative (< 0.1.0)
243-
declarative-option (< 0.2.0)
244-
uber (< 0.2.0)
245-
retriable (3.1.2)
128+
redcarpet (3.5.1)
246129
rexml (3.2.4)
247-
rouge (2.0.7)
130+
rouge (3.26.0)
248131
ruby-macho (1.4.0)
249132
ruby2_keywords (0.0.2)
250-
rubyzip (2.3.0)
251133
sassc (2.4.0)
252134
ffi (~> 1.9)
253135
sawyer (0.8.2)
254136
addressable (>= 2.3.5)
255137
faraday (> 0.8, < 2.0)
256-
security (0.1.3)
257-
signet (0.14.0)
258-
addressable (~> 2.3)
259-
faraday (>= 0.17.3, < 2.0)
260-
jwt (>= 1.5, < 3.0)
261-
multi_json (~> 1.10)
262-
simctl (1.6.8)
263-
CFPropertyList
264-
naturally
265-
slack-notifier (2.3.2)
266138
sqlite3 (1.4.2)
267-
terminal-notifier (2.0.0)
268139
terminal-table (1.8.0)
269140
unicode-display_width (~> 1.1, >= 1.1.1)
270141
thor (0.20.3)
271142
thread_safe (0.3.6)
272-
tty-cursor (0.7.1)
273-
tty-screen (0.8.1)
274-
tty-spinner (0.9.3)
275-
tty-cursor (~> 0.7)
276143
typhoeus (1.4.0)
277144
ethon (>= 0.9.0)
278-
tzinfo (1.2.8)
145+
tzinfo (1.2.9)
279146
thread_safe (~> 0.1)
280-
uber (0.1.0)
281-
unf (0.1.4)
282-
unf_ext
283-
unf_ext (0.0.7.7)
284147
unicode-display_width (1.7.0)
285-
word_wrap (1.0.0)
286148
xcinvoke (0.3.0)
287149
liferaft (~> 0.0.6)
288150
xcodeproj (1.19.0)
@@ -291,29 +153,15 @@ GEM
291153
claide (>= 1.0.2, < 2.0)
292154
colored2 (~> 3.1)
293155
nanaimo (~> 0.3.0)
294-
xcov (1.7.5)
295-
fastlane (>= 2.141.0, < 3.0.0)
296-
multipart-post
297-
slack-notifier
298-
terminal-table
299-
xcodeproj
300-
xcresult (~> 0.2.0)
301-
xcpretty (0.3.0)
302-
rouge (~> 2.0.7)
303-
xcpretty-travis-formatter (1.0.0)
304-
xcpretty (~> 0.2, >= 0.0.7)
305-
xcresult (0.2.1)
306156

307157
PLATFORMS
308-
ruby
158+
x86_64-darwin-20
309159

310160
DEPENDENCIES
311-
cocoapods (~> 1.9)
161+
cocoapods (~> 1.10)
312162
danger (~> 8.0)
313163
danger-swiftlint (~> 0.20)
314-
danger-xcov (~> 0.5)
315164
jazzy (~> 0.13)
316-
xcov (~> 1.7.3)
317165

318166
BUNDLED WITH
319-
1.17.2
167+
2.2.4

0 commit comments

Comments
 (0)