Skip to content

Commit

Permalink
version 5.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartosz Stelmaszuk committed Sep 21, 2018
1 parent 0dd8cab commit 77c6f11
Show file tree
Hide file tree
Showing 67 changed files with 735 additions and 702 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 5.1.4
- Updated RxSwift library to version 4.3
- fix API MISUSE when calling stop scan on dispose (#283)
- add option to disable checking of canSendWriteWithoutReponse while writing (#282)

# 5.1.3
- Changed back deployment target from 10.0 to 8.0. (#275)

Expand Down
4 changes: 2 additions & 2 deletions RxBluetoothKit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "RxBluetoothKit"
s.version = "5.1.3"
s.version = "5.1.4"
s.summary = "Bluetooth library for RxSwift"

s.description = <<-DESC
Expand All @@ -9,7 +9,7 @@ Pod::Spec.new do |s|

s.homepage = "https://github.com/polidea/RxBluetoothKit"
s.license = 'Apache License, Version 2.0.'
s.author = { "Przemysław Lenart" => "[email protected]", "Kacper Harasim" => "[email protected]", "Michał Laskowski" => "[email protected]", "Paweł Janeczek" => "[email protected]" }
s.author = { "Przemysław Lenart" => "[email protected]", "Kacper Harasim" => "[email protected]", "Michał Laskowski" => "[email protected]", "Paweł Janeczek" => "[email protected]", "Bartosz Stelmaszuk" => "[email protected]" }
s.source = { :git => "https://github.com/polidea/RxBluetoothKit.git", :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/polidea'

Expand Down
4 changes: 3 additions & 1 deletion Tests/Autogenerated/_CentralManager.generated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ class _CentralManager: _ManagerType {
return Disposables.create { [weak self] in
guard let strongSelf = self else { return }
// When disposed, stop scan and dispose scanning
strongSelf.manager.stopScan()
if strongSelf.state == .poweredOn {
strongSelf.manager.stopScan()
}
do { strongSelf.lock.lock(); defer { strongSelf.lock.unlock() }
strongSelf.scanDisposable?.dispose()
strongSelf.scanDisposable = nil
Expand Down
2 changes: 1 addition & 1 deletion Tests/Autogenerated/_Peripheral.generated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ class _Peripheral {
guard let strongSelf = self else { throw _BluetoothError.destroyed }
return strongSelf.observeWriteWithoutResponseReadiness()
.map { _ in true }
.startWith( canSendWriteWithoutResponseCheckEnabled ? strongSelf.canSendWriteWithoutResponse : true)
.startWith(canSendWriteWithoutResponseCheckEnabled ? strongSelf.canSendWriteWithoutResponse : true)
.filter { $0 }
.take(1)
.flatMap { _ in
Expand Down
18 changes: 9 additions & 9 deletions docs/Classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/CentralManager.swift#L27-L307">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/CentralManager.swift#L27-L309">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -250,7 +250,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/Characteristic.swift#L6-L180">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/Characteristic.swift#L6-L180">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -287,7 +287,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/Descriptor.swift#L8-L104">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/Descriptor.swift#L8-L104">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -322,7 +322,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/Logging.swift#L6-L95">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/Logging.swift#L6-L95">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -358,7 +358,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/Peripheral.swift#L10-L856">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/Peripheral.swift#L10-L858">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -408,7 +408,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/PeripheralManager.swift#L22-L376">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/PeripheralManager.swift#L22-L376">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -444,7 +444,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/ScannedPeripheral.swift#L6-L22">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/ScannedPeripheral.swift#L6-L22">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -479,7 +479,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/Service.swift#L6-L81">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/Service.swift#L6-L81">Show on GitHub</a>
</div>
</section>
</div>
Expand All @@ -489,7 +489,7 @@ <h4>Declaration</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2018 <a class="link" href="https://polidea.com" target="_blank" rel="external">Polidea</a>. All rights reserved. (Last updated: 2018-07-03)</p>
<p>&copy; 2018 <a class="link" href="https://polidea.com" target="_blank" rel="external">Polidea</a>. All rights reserved. (Last updated: 2018-09-21)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
Expand Down
30 changes: 15 additions & 15 deletions docs/Classes/CentralManager.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/CentralManager.swift#L30">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/CentralManager.swift#L30">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -250,7 +250,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/CentralManager.swift#L">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/CentralManager.swift#L">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -329,7 +329,7 @@ <h4>Parameters</h4>
</table>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/CentralManager.swift#L73-L83">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/CentralManager.swift#L73-L83">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -361,7 +361,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/CentralManager.swift#L88-L90">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/CentralManager.swift#L88-L90">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -401,7 +401,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/CentralManager.swift#L94-L96">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/CentralManager.swift#L94-L96">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -430,7 +430,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/CentralManager.swift#L98-L100">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/CentralManager.swift#L98-L100">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -540,7 +540,7 @@ <h4>Return Value</h4>
<p>Infinite stream of scanned peripherals.</p>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/CentralManager.swift#L137-L175">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/CentralManager.swift#L137-L177">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -635,7 +635,7 @@ <h4>Return Value</h4>
<p><code>Observable</code> which emits next event after connection is established.</p>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/CentralManager.swift#L200-L203">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/CentralManager.swift#L202-L205">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -701,7 +701,7 @@ <h4>Return Value</h4>
<code><a href="../Classes/Service.html">Service</a></code>s with UUIDs specified in the <code>serviceUUIDs</code> parameter.</p>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/CentralManager.swift#L213-L216">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/CentralManager.swift#L215-L218">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -754,7 +754,7 @@ <h4>Return Value</h4>
<p>Retrieved <code><a href="../Classes/Peripheral.html">Peripheral</a></code>s.</p>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/CentralManager.swift#L222-L225">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/CentralManager.swift#L224-L227">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -831,7 +831,7 @@ <h4>Return Value</h4>
<p>Observable which emits next events when <code>peripheral</code> was connected.</p>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/CentralManager.swift#L243-L251">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/CentralManager.swift#L245-L253">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -899,7 +899,7 @@ <h4>Return Value</h4>
if it wasn&rsquo;t the <code>cancelPeripheralConnection</code> call.</p>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/CentralManager.swift#L268-L284">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/CentralManager.swift#L270-L286">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -943,7 +943,7 @@ <h4>Declaration</h4>
</div>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/CentralManager+RestoredState.swift#L16-L23">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/CentralManager+RestoredState.swift#L16-L23">Show on GitHub</a>
</div>
</section>
</div>
Expand Down Expand Up @@ -1031,7 +1031,7 @@ <h4>Parameters</h4>
</table>
</div>
<div class="slightly-smaller">
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.3/Source/CentralManager+RestoredState.swift#L35-L42">Show on GitHub</a>
<a href="https://github.com/Polidea/RxBluetoothKit/tree/5.1.4/Source/CentralManager+RestoredState.swift#L35-L42">Show on GitHub</a>
</div>
</section>
</div>
Expand All @@ -1041,7 +1041,7 @@ <h4>Parameters</h4>
</section>
</section>
<section id="footer">
<p>&copy; 2018 <a class="link" href="https://polidea.com" target="_blank" rel="external">Polidea</a>. All rights reserved. (Last updated: 2018-07-03)</p>
<p>&copy; 2018 <a class="link" href="https://polidea.com" target="_blank" rel="external">Polidea</a>. All rights reserved. (Last updated: 2018-09-21)</p>
<p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.9.3</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
</section>
</article>
Expand Down
Loading

0 comments on commit 77c6f11

Please sign in to comment.