Skip to content

Commit 9a1f8f1

Browse files
committed
disable cocoapods linting, bump podspec to beta 2.
1 parent d8c4e9e commit 9a1f8f1

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ matrix:
1010
env: ACTION=watchOS
1111
# - os: osx
1212
# env: ACTION=carthage
13-
- os: osx
14-
env: ACTION=cocoapods
13+
# - os: osx
14+
# env: ACTION=cocoapods
1515

1616
language: objective-c
1717
osx_image: xcode8

Docs/2.0 Migration Guide.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ In TRON 1.0 there was a concept of encoding strategy - that determined which enc
2727

2828
```swift
2929
public protocol Parseable {
30-
static func parse<T:Parseable>(_ data: Data) throws -> T
30+
associatedtype ModelType
31+
32+
/// Parse `data`, creating `ModelType` model.
33+
func parse(_ data: Data) throws -> ModelType
3134
}
3235
```
3336

Source/Core/Parseable.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ import Foundation
3131
public protocol Parseable {
3232
associatedtype ModelType
3333

34-
/// Parse `data`, creating `Parseable` model.
34+
/// Parse `data`, creating `ModelType` model.
3535
func parse(_ data: Data) throws -> ModelType
3636
}

TRON.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'TRON'
3-
s.version = '2.0.0-beta.1'
3+
s.version = '2.0.0-beta.2'
44
s.license = 'MIT'
55
s.summary = 'Lightweight network abstraction layer, written on top of Alamofire'
66
s.homepage = 'https://github.com/MLSDev/TRON'

0 commit comments

Comments
 (0)