Skip to content

Commit cc84887

Browse files
committed
Fix CODE_OF_CONDUCT email for enforcement
Add Codacy badge
1 parent 3e1d25c commit cc84887

11 files changed

+9
-14
lines changed

CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
5555
## Enforcement
5656

5757
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58-
reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
58+
reported by contacting the project team at [email protected]. All
5959
complaints will be reviewed and investigated and will result in a response that
6060
is deemed necessary and appropriate to the circumstances. The project team is
6161
obligated to maintain confidentiality with regard to the reporter of an incident.

JamfKit/Tests/Extensions/StringExtensionTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import XCTest
1111
@testable import JamfKit
1212

1313
class StringExtensionTests: XCTestCase {
14-
14+
1515
// MARK: - Tests
1616

1717
func testShouldReturnCleanedUpKey() {

JamfKit/Tests/Models/BaseObjectTests.swift

+1
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,5 @@ class BaseObjectTests: XCTestCase {
4848
XCTAssertNotNil(encodedObject)
4949
XCTAssertEqual(encodedObject?.count, 2)
5050
}
51+
5152
}

JamfKit/Tests/Models/BuildingTests.swift

-4
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,4 @@ class BuildingTests: XCTestCase {
6262
XCTAssertNotNil(encodedObject)
6363
XCTAssertEqual(encodedObject?.count, 2)
6464
}
65-
66-
func testShouldReturnCreateRequest() {
67-
68-
}
6965
}

JamfKit/Tests/Models/HardwareGroup/HardwareGroupTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import XCTest
1111
@testable import JamfKit
1212

1313
class HardwareGroupTests: XCTestCase {
14-
14+
1515
// MARK: - Constants
1616

1717
let subfolder = "ComputerGroup/"

JamfKit/Tests/Models/MobileDevice/MobileDeviceGeneralTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ class MobileDeviceGeneralTests: XCTestCase {
208208

209209
XCTAssertNotNil(encodedObject)
210210
XCTAssertEqual(encodedObject?.count, 48)
211-
211+
212212
XCTAssertNotNil(encodedObject?[BaseObject.CodingKeys.identifier.rawValue])
213213
XCTAssertNotNil(encodedObject?[BaseObject.CodingKeys.name.rawValue])
214214
XCTAssertNotNil(encodedObject?[MobileDeviceGeneral.DeviceNameKey])

JamfKit/Tests/Models/Policy/PolicyGeneralTests.swift

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
//
32
// PolicyGeneralTests.swift
43
// JamfKit

JamfKit/Tests/Models/UserTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class UserTests: XCTestCase {
114114

115115
XCTAssertNotNil(encodedObject)
116116
XCTAssertEqual(encodedObject?.count, 10)
117-
117+
118118
XCTAssertNotNil(encodedObject?[BaseObject.CodingKeys.identifier.rawValue])
119119
XCTAssertNotNil(encodedObject?[BaseObject.CodingKeys.name.rawValue])
120120
XCTAssertNotNil(encodedObject?[User.FullNameKey])

JamfKit/Tests/Session/Requests/ComputerCommand/ComputerCommandRequestsTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class ComputerCommandRequestsTests: XCTestCase {
5959

6060
func testShouldNotReturnReadRequestWithIdentifier() {
6161
let actualValue = element.read()
62-
62+
6363
XCTAssertNil(actualValue)
6464
}
6565
}

JamfKit/Tests/Session/Requests/SMTPServerRequestsTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class SMTPServerRequestsTests: XCTestCase {
5353
XCTAssertEqual(actualValue?.url?.absoluteString, "\(defaultHost)/\(element.endpoint)")
5454
XCTAssertNil(actualValue?.httpBody)
5555
}
56-
56+
5757
func testShouldReturnUpdateRequestWithIdentifier() {
5858
let actualValue = element.update()
5959

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@
88

99
[![Travis branch](https://img.shields.io/travis/Ethenyl/JamfKit/master.svg?style=flat-square)](https://travis-ci.org/Ethenyl/JamfKit)
1010
[![Codecov](https://img.shields.io/codecov/c/github/Ethenyl/JamfKit.svg?style=flat-square)](https://codecov.io/gh/Ethenyl/JamfKit)
11+
[![Codacy grade](https://img.shields.io/codacy/grade/9f7907afc4884c2c9acbf1dc9412519d.svg?style=flat-square)]()
1112
[![Carthage compatible](https://img.shields.io/badge/carthage-compatible-4BC51D.svg?style=flat-square)](https://github.com/Carthage/Carthage)
1213
[![CocoaPods](https://img.shields.io/cocoapods/v/JAMFKit.svg?style=flat-square)](https://cocoapods.org/pods/JamfKit)
1314

14-
[![GitHub license](https://img.shields.io/github/license/Ethenyl/JamfKit.svg?style=flat-square)](https://github.com/Ethenyl/JamfKit/blob/master/LICENSE)
15-
1615
`JamfKit` is an iOS / macOS framework to communicate with the JSS API offered by any Jamf host.
1716

1817
## Summary ##

0 commit comments

Comments
 (0)