Skip to content

Commit

Permalink
Updated pods
Browse files Browse the repository at this point in the history
Added a new field
Updated logging
  • Loading branch information
jonasman committed Sep 23, 2017
1 parent e3ed737 commit bcb8cf1
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ target 'TeslaSwift' do
use_frameworks!

pod 'PromiseKit/CorePromise' , '~> 4.4'
pod 'ObjectMapper' , '~> 2.2'
pod 'ObjectMapper' , '~> 3.0'

target 'TeslaSwiftTests' do

Expand All @@ -16,5 +16,5 @@ target 'TeslaSwiftMac' do
use_frameworks!

pod 'PromiseKit/CorePromise' , '~> 4.4'
pod 'ObjectMapper' , '~> 2.2'
pod 'ObjectMapper' , '~> 3.0'
end
10 changes: 4 additions & 6 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- ObjectMapper (2.2.9)
- ObjectMapper (3.0.0)
- OHHTTPStubs (6.0.0):
- OHHTTPStubs/Default (= 6.0.0)
- OHHTTPStubs/Core (6.0.0)
Expand All @@ -18,18 +18,16 @@ PODS:
- PromiseKit/CorePromise (4.4.0)

DEPENDENCIES:
- ObjectMapper (~> 2.0)
- ObjectMapper (~> 2.2)
- ObjectMapper (~> 3.0)
- OHHTTPStubs
- OHHTTPStubs/Swift
- PromiseKit/CorePromise (~> 4.0)
- PromiseKit/CorePromise (~> 4.4)

SPEC CHECKSUMS:
ObjectMapper: 63cfe41bc6f8e7c8f44344c49901b8ae7de14c52
ObjectMapper: 92230db59bf8f341a5c3a3cf0b9fbdde3cf0d87f
OHHTTPStubs: 752f9b11fd810a15162d50f11c06ff94f8e012eb
PromiseKit: ecf5fe92275d57ee77c9ede858af47a162e9b97e

PODFILE CHECKSUM: 4c5edb1b5f11f1dd925b8bdd375ad5431b212e6b
PODFILE CHECKSUM: 09c407e26ca13b4a9df0d56ed121cd81b340dd97

COCOAPODS: 1.3.1
2 changes: 1 addition & 1 deletion Sources/TeslaSwift.swift
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,6 @@ extension TeslaSwift {

func logDebug(_ format: String, debuggingEnabled: Bool) {
if debuggingEnabled {
NSLog(format)
print(format)
}
}
2 changes: 2 additions & 0 deletions Sources/VehicleConfig.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ open class VehicleConfig: Mappable {
open var hasLudicoursMode: Bool?
open var motorizedChargePort: Bool?
open var perfConfig: String?
open var plg: Int?
open var rearSeatHeaters: Bool?
open var rearSeatType: Int?
open var rhd: Bool?
Expand All @@ -43,6 +44,7 @@ open class VehicleConfig: Mappable {
hasLudicoursMode <- map["has_ludicrous_mode"]
motorizedChargePort <- map["motorized_charge_port"]
perfConfig <- map["perf_config"]
plg <- map["plg"]
rearSeatHeaters <- map["rear_seat_heaters"]
rearSeatType <- map["rear_seat_type"]
rhd <- map["rhd"]
Expand Down
4 changes: 2 additions & 2 deletions TeslaSwift.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "TeslaSwift"
s.version = "3.6.0"
s.version = "3.6.1"
s.summary = "Swift library to access the Tesla Model S API."

s.homepage = "https://github.com/jonasman/TeslaSwift"
Expand All @@ -24,6 +24,6 @@ Pod::Spec.new do |s|
s.requires_arc = true

s.dependency 'PromiseKit/CorePromise', '~> 4.4'
s.dependency 'ObjectMapper', '~> 2.2'
s.dependency 'ObjectMapper', '~> 3.0'

end

0 comments on commit bcb8cf1

Please sign in to comment.