Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
bundler-cache: true

- run: bundle exec fastlane test
timeout-minutes: 25

- if: github.event_name == 'push'
run: |
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.9.4

- Feat: use `Locale.current` as default value for `locale` param in `HCaptcha` constructor

# 2.9.3

- Feat: Carthage BUILD_LIBRARY_FOR_DISTRIBUTION = YES
Expand Down
5 changes: 5 additions & 0 deletions Example/HCaptcha_Tests/HCaptcha_Tests.xctestplan
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
"testTargets" : [
{
"parallelizable" : false,
"skippedTests" : [
"HCaptcha_Rx__Tests\/test__Did_Finish_Loading__Multiple()",
"HCaptcha_Rx__Tests\/test__Dispose()",
"HCaptcha_Rx__Tests\/test__Reset()"
],
"target" : {
"containerPath" : "container:HCaptcha.xcodeproj",
"identifier" : "F2ECCF751E9FC47B0097B199",
Expand Down
3 changes: 2 additions & 1 deletion Example/HCaptcha_Tests/RxSwift/HCaptcha+Rx__Tests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ class HCaptcha_Rx__Tests: XCTestCase {
exp.fulfill()
}

waitForExpectations(timeout: 5)

do {
// Validate
_ = try hcaptcha.rx.validate(on: presenterView, resetOnError: false)
Expand All @@ -101,7 +103,6 @@ class HCaptcha_Rx__Tests: XCTestCase {
catch let error {
XCTAssertEqual(error as? HCaptchaError, .wrongMessageFormat)
}
waitForExpectations(timeout: 0)
}

// MARK: - Did Finish Loading
Expand Down
10 changes: 5 additions & 5 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PODS:
- AppSwizzle (1.3.1)
- HCaptcha (2.9.3):
- HCaptcha/Core (= 2.9.3)
- HCaptcha/Core (2.9.3)
- HCaptcha/RxSwift (2.9.3):
- HCaptcha (2.9.4):
- HCaptcha/Core (= 2.9.4)
- HCaptcha/Core (2.9.4)
- HCaptcha/RxSwift (2.9.4):
- HCaptcha/Core
- RxSwift (~> 6.2.0)
- RxBlocking (6.2.0):
Expand Down Expand Up @@ -40,7 +40,7 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
AppSwizzle: db36e436f56110d93e5ae0147683435df593cabc
HCaptcha: 4086a1a60511ce75f0c4caae800e972ec680989b
HCaptcha: 616cd7106d54d7e52cc25a460dc5b40b3b48a7c0
RxBlocking: 0b29f7d2079109a8de49c411381bed7c33ef1eeb
RxCocoa: 4baf94bb35f2c0ab31bc0cb9f1900155f646ba42
RxRelay: e72dbfd157807478401ef1982e1c61c945c94b2f
Expand Down
2 changes: 1 addition & 1 deletion HCaptcha.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'HCaptcha'
s.version = '2.9.3'
s.version = '2.9.4'
s.summary = 'HCaptcha for iOS'
s.swift_version = '5.0'

Expand Down
20 changes: 12 additions & 8 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,18 @@ platform :ios do
code_coverage: true,
)

scan(
test_without_building: true,
devices: self.select_similar_simulator(devices),
scheme: "HCaptcha-RxSwift-Example",
workspace: "Example/HCaptcha.xcworkspace",
code_coverage: true,
skip_testing: ["HCaptcha_Tests/HCaptcha__Bench"],
)
50.times do |i|
puts "Running tests #{i} time"
scan(
test_without_building: true,
devices: self.select_similar_simulator(devices),
scheme: "HCaptcha-RxSwift-Example",
workspace: "Example/HCaptcha.xcworkspace",
code_coverage: true,
disable_concurrent_testing: true,
skip_testing: ["HCaptcha_Tests/HCaptcha__Bench"],
)
end

scan(
test_without_building: true,
Expand Down
Loading