-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1549 from ruuvi/beta
v2.2.0
- Loading branch information
Showing
114 changed files
with
3,334 additions
and
436 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'RuuviDiscover' | ||
s.version = '0.0.1' | ||
s.version = '0.0.2' | ||
s.summary = 'Ruuvi Discover' | ||
s.homepage = 'https://ruuvi.com' | ||
s.author = { 'Rinat Enikeev' => '[email protected]' } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'RuuviCloud' | ||
s.version = '0.0.7' | ||
s.version = '0.0.8' | ||
s.summary = 'Ruuvi Cloud' | ||
s.homepage = 'https://ruuvi.com' | ||
s.author = { 'Rinat Enikeev' => '[email protected]' } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...viCloud/Sources/RuuviCloudApi/URLSession/Models/Request/RuuviCloudApiContestRequest.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import Foundation | ||
|
||
public struct RuuviCloudApiContestRequest: Codable { | ||
let sensor: String | ||
let secret: String | ||
|
||
public init(sensor: String, secret: String) { | ||
self.sensor = sensor | ||
self.secret = secret | ||
} | ||
} |
10 changes: 9 additions & 1 deletion
10
...ud/Sources/RuuviCloudApi/URLSession/Models/Request/RuuviCloudPNTokenRegisterRequest.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,26 @@ | ||
import Foundation | ||
|
||
// swiftlint:disable:next type_name | ||
public enum RuuviCloudPNTokenRegisterRequestParamsKey: String { | ||
case sound = "soundFile" | ||
} | ||
|
||
public struct RuuviCloudPNTokenRegisterRequest: Encodable { | ||
let token: String | ||
let type: String | ||
let name: String? | ||
let data: String? | ||
let params: [String: String]? | ||
|
||
public init(token: String, | ||
type: String, | ||
name: String? = nil, | ||
data: String? = nil) { | ||
data: String? = nil, | ||
params: [String: String]? = nil) { | ||
self.token = token | ||
self.type = type | ||
self.name = name | ||
self.data = data | ||
self.params = params | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
...Cloud/Sources/RuuviCloudApi/URLSession/Models/Response/RuuviCloudApiContestResponse.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import Foundation | ||
|
||
public struct RuuviCloudApiContestResponse: Decodable { | ||
public let sensor: String | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.