Skip to content

Commit

Permalink
Bump podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
JanGorman committed Jul 4, 2019
1 parent 5af6c2f commit 55564bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Hippolyte.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "Hippolyte"
s.version = "0.7.3"
s.version = "0.8.0"
s.swift_version = "5.0"
s.summary = "HTTP Stubbing in Swift"

Expand Down
9 changes: 4 additions & 5 deletions Hippolyte/Matcher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public protocol Matcheable {
func matcher() -> Matcher
}

public class StringMatcher: Matcher {
public final class StringMatcher: Matcher {

let string: String

Expand Down Expand Up @@ -60,7 +60,7 @@ public class StringMatcher: Matcher {

}

public class RegexMatcher: Matcher {
public final class RegexMatcher: Matcher {

let regex: NSRegularExpression

Expand Down Expand Up @@ -88,7 +88,7 @@ public class RegexMatcher: Matcher {

}

public class DataMatcher: Matcher {
public final class DataMatcher: Matcher {

let data: Data

Expand All @@ -113,7 +113,7 @@ public class DataMatcher: Matcher {

}

public class JsonMatcher<T: Decodable & Hashable>: Matcher {
public final class JsonMatcher<T: Decodable & Hashable>: Matcher {

let decoder: JSONDecoder
let object: T
Expand All @@ -127,7 +127,6 @@ public class JsonMatcher<T: Decodable & Hashable>: Matcher {
guard let data = data, let decodedObject = try? self.decoder.decode(T.self, from: data) else {
return false
}

return object == decodedObject
}

Expand Down
5 changes: 0 additions & 5 deletions HippolyteTests/JSONMatcherTests.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
//
// JSONMatcherTests.swift
// HippolyteTests_iOS
//
// Created by Clemens on 04.07.19.
// Copyright © 2019 Clemens Schulz. All rights reserved.
//

Expand All @@ -12,7 +8,6 @@ import Hippolyte
class JSONMatcherTests: XCTestCase {

private struct TestObject: Codable, Hashable {

let id: Int
let name: String?
let foo: Bool
Expand Down

0 comments on commit 55564bb

Please sign in to comment.