File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
3
3
s . name = "IDZSwiftCommonCrypto"
4
- s . version = "0.16.0 "
4
+ s . version = "0.16.1 "
5
5
s . summary = "A wrapper for Apple's Common Crypto library written in Swift."
6
6
7
7
s . homepage = "https://github.com/iosdevzone/IDZSwiftCommonCrypto"
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ public func arrayFrom(string : String) -> [UInt8]
94
94
public func dataFrom( hexString: String ) -> Data
95
95
{
96
96
let a = arrayFrom ( hexString: hexString)
97
- return Data ( bytes : UnsafePointer < UInt8 > ( a ) , count : a . count )
97
+ return Data ( a )
98
98
}
99
99
100
100
///
@@ -105,7 +105,7 @@ public func dataFrom(hexString: String) -> Data
105
105
///
106
106
public func dataFrom( byteArray : [ UInt8 ] ) -> Data
107
107
{
108
- return Data ( bytes : UnsafePointer < UInt8 > ( byteArray) , count : byteArray . count )
108
+ return Data ( byteArray)
109
109
}
110
110
111
111
///
Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ clean:
39
39
push_tags :
40
40
git push origin --tags
41
41
42
+ # Lint the pod locally
43
+ lint_lib :
44
+ pod lib lint --verbose ${NAME} .podspec --sources=https://github.com/iosdevzone/IDZPodspecs.git
45
+
42
46
# Lint the podspec
43
47
lint_pod :
44
48
pod spec lint --verbose ${NAME} .podspec --sources=https://github.com/iosdevzone/IDZPodspecs.git
You can’t perform that action at this time.
0 commit comments